/*
Theme Name: Polette Studio Child
Template: hello-elementor
Author: Polette Studio
Version: 1.0.0
Description: Child theme Hello Elementor pour Polette Studio. Tokens, typographie, grain, hover panel.
*/

@font-face {
  font-family: 'Gulfs Display';
  src: url('fonts/gulfs-display-normal-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════
   POLETTE STUDIO — Design System
   Architecture d'Intérieur · Résidentiel & Hôtellerie
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --cream:    #FFF9F1;
  --blue:     #9BC1F9;
  --bordeaux: #841432;
  --mid:      #6B6560;
  --light:    #B0AAA4;
  --stone:    #E5E0DA;
  --rule:     rgba(132,20,50,0.09);
  --fd: 'Gulfs Display', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --pad: clamp(1.6rem, 5.5vw, 6rem);
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream) !important;
  color: var(--mid);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── GRAIN TEXTURE ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── HOVER PANEL (projets) ─── */
.ps-hover-panel {
  position: fixed;
  top: 0; right: 0;
  width: 34vw;
  height: 100vh;
  pointer-events: none;
  z-index: 150;
  overflow: hidden;
}
.ps-hover-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.ps-hover-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,200,100,0.06) 0%, transparent 50%, rgba(132,20,50,0.04) 100%);
  pointer-events: none;
  z-index: 1;
}
.ps-hover-panel img.on { opacity: 1; }

/* ─── HALO SOLEIL ─── */
@keyframes ps-soleil {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.13; }
  40%  { opacity: 0.18; }
  100% { transform: translate(-4vw, 6vh) scale(1.12); opacity: 0.11; }
}

/* ─── CLASSES UTILITAIRES POLETTE ─── */

/* Logo / titre affichage */
.ps-display {
  font-family: var(--fd) !important;
  font-weight: 300;
}

/* Label section (ex: "Projets sélectionnés") */
.ps-label {
  font-size: 0.62rem !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordeaux) !important;
  opacity: 0.5;
}

/* Lien avec flèche */
.ps-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bordeaux) !important;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.18rem;
  transition: gap 0.5s ease;
  white-space: nowrap;
}
.ps-link:hover { gap: 1.4rem; }

/* ─── HERO ─── */
.ps-hero {
  min-height: 100svh;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  position: relative;
  overflow: hidden;
  background: var(--cream) !important;
}
.ps-hero::before {
  content: '';
  position: absolute;
  top: -15%; right: -5%;
  width: 70vw; height: 70vw;
  background: radial-gradient(ellipse at center, rgba(255,200,100,0.22) 0%, rgba(255,230,160,0.10) 35%, transparent 70%);
  pointer-events: none;
  animation: ps-soleil 22s ease-in-out infinite alternate;
  border-radius: 50%;
  filter: blur(40px);
}
.ps-hero-eyebrow {
  font-size: 0.66rem !important;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordeaux) !important;
  opacity: 0.65;
}
.ps-hero-title {
  font-family: var(--fd) !important;
  font-weight: 300 !important;
  font-size: clamp(3.8rem, 8vw, 10.5rem) !important;
  line-height: 0.93 !important;
  letter-spacing: -0.015em !important;
  color: var(--blue) !important;
}
.ps-hero-desc {
  font-size: 0.9375rem !important;
  color: var(--mid) !important;
  line-height: 1.75;
}

/* ─── SIGNAL LINE ─── */
.ps-signal {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}
.ps-signal-item {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.ps-signal-sep {
  width: 1px;
  height: 14px;
  background: var(--stone);
  flex-shrink: 0;
}

/* ─── PROJECT LIST ─── */
.ps-project-list { border-top: 1px solid var(--stone); }
.ps-project-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--stone);
  position: relative;
  transition: padding-left 0.6s ease;
}
.ps-project-row:hover { padding-left: 0.8rem; }
.ps-project-row::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--bordeaux);
  transition: width 0.45s ease;
}
.ps-project-row:hover::after { width: 100%; }
.ps-project-num {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--bordeaux);
  opacity: 0.4;
}
.ps-project-name {
  font-family: var(--fd) !important;
  font-weight: 300;
  font-size: clamp(2rem, 3.8vw, 5rem) !important;
  color: var(--blue) !important;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: opacity 0.25s;
}
.ps-project-row:hover .ps-project-name { opacity: 0.6; }
.ps-project-info { text-align: right; line-height: 1.5; }
.ps-project-city { display: block; font-size: 0.875rem; color: var(--mid); }
.ps-project-cat { display: block; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-top: 0.15rem; }

/* ─── MÉTHODE ─── */
.ps-methode-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone);
}
.ps-methode-cell { background: var(--cream); padding: 3.5rem 2.8rem; }
.ps-cell-phase { font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bordeaux); opacity: 0.4; margin-bottom: 1.6rem; }
.ps-cell-title { font-family: var(--fd) !important; font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 3.2rem) !important; color: var(--blue) !important; line-height: 1.05; margin-bottom: 1.4rem; }
.ps-cell-body { font-size: 0.9375rem; color: var(--mid); line-height: 1.8; }

/* ─── PRESTATIONS ─── */
.ps-prestation-list { border-top: 1px solid var(--stone); }
.ps-prestation-row {
  display: grid;
  grid-template-columns: 28ch 1fr;
  gap: 3rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--stone);
  align-items: baseline;
}
.ps-prestation-name { font-family: var(--fd) !important; font-weight: 300; font-size: clamp(1.3rem, 2vw, 2rem) !important; color: var(--blue) !important; line-height: 1.1; }
.ps-prestation-desc { font-size: 0.9375rem; color: var(--mid); line-height: 1.75; max-width: 56ch; }

/* ─── STUDIO ─── */
.ps-studio { display: grid; grid-template-columns: 45fr 55fr; min-height: 80vh; }
.ps-studio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ps-studio-name { font-family: var(--fd) !important; font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 5rem) !important; color: var(--blue) !important; line-height: 1.02; }
.ps-studio-bio { font-size: 0.9375rem !important; color: var(--mid) !important; line-height: 1.8; max-width: 42ch; }
.ps-credential { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bordeaux); opacity: 0.45; }

/* ─── CONTACT ─── */
.ps-contact-title { font-family: var(--fd) !important; font-weight: 300; font-size: clamp(3rem, 7vw, 9.5rem) !important; line-height: 0.92 !important; letter-spacing: -0.02em !important; color: var(--blue) !important; }
.ps-contact-intro { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bordeaux); opacity: 0.5; }

/* ─── FOOTER ─── */
.ps-footer { background: var(--stone) !important; }
.ps-footer-name { font-family: var(--fd) !important; font-weight: 300; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--light) !important; }
.ps-footer-note { font-size: 0.62rem; letter-spacing: 0.06em; color: var(--stone); filter: brightness(0.8); }

/* ─── SECTIONS BORDURES ─── */
.ps-section { padding: 7rem var(--pad); }
.ps-section--border { border-top: 1px solid var(--rule); }
.ps-contact-section { padding: 9rem var(--pad); border-top: 1px solid var(--rule); }

/* ─── RESPONSIVE ─── */
@media (max-width: 800px) {
  .ps-hover-panel { display: none; }
  .ps-signal { flex-wrap: wrap; gap: 1rem; }
  .ps-project-row { grid-template-columns: 2.5rem 1fr; }
  .ps-project-info { display: none; }
  .ps-methode-cols { grid-template-columns: 1fr; }
  .ps-studio { grid-template-columns: 1fr; }
  .ps-prestation-row { grid-template-columns: 1fr; gap: 0.8rem; }
}


/* ─── FOOTER PERSONNALISÉ ─── */
footer.polette-custom-footer,
.site-footer { display: none !important; }

.ps-site-footer {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  padding: 4rem var(--pad) 3rem;
}
.ps-site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.ps-site-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}
.ps-site-footer-logo {
  display: block;
  text-decoration: none;
}
.ps-site-footer-wordmark {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.4;
}
.ps-site-footer-wordmark small {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--mid);
  display: block;
  text-transform: uppercase;
}
.ps-site-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
  padding-top: 0.3rem;
}
.ps-site-footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}
.ps-site-footer-nav a:hover { color: var(--blue); }
.ps-site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.ps-site-footer-copy,
.ps-site-footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--light);
}
@media (max-width: 800px) {
  .ps-site-footer-top { flex-direction: column; }
  .ps-site-footer-nav {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
  }
  .ps-site-footer-bottom { flex-direction: column; align-items: flex-start; }
}