/* ==========================================================================
   TEFFO — Gestion Locative & Sous-location
   Feuille de style principale
   ========================================================================== */

:root {
  /* Palette */
  --black: #0a0a0a;
  --ink: #121212;
  --ink-2: #1b1b1b;
  --ivory: #f5f1ea;
  --paper: #faf8f4;
  --white: #ffffff;
  --g100: #e8e4dd;
  --g300: #c8c3ba;
  --g500: #8b877f;
  --g700: #45433e;
  --gold: #b8975a;
  --gold-2: #d8c08a;
  --accent: var(--gold);

  /* Typographie */
  --font-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 10vw, 150px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--g700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; color: var(--black); }
strong { font-weight: 500; }

/* ---------- Utilitaires ---------- */
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 26px;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; }

.title-xl { font-size: clamp(2.7rem, 6.2vw, 5.2rem); font-weight: 300; letter-spacing: -0.01em; line-height: 1.04; }
.title-lg { font-size: clamp(2.2rem, 4.2vw, 3.7rem); font-weight: 300; line-height: 1.1; }
.title-md { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 400; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.8; color: var(--g500); }
.muted { color: var(--g500); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.dark { background: var(--black); color: rgba(255, 255, 255, 0.72); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead { color: rgba(255, 255, 255, 0.66); }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 24px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 19px 36px;
  font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
  border: 1px solid currentColor; background: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  cursor: pointer; white-space: nowrap;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), background-color 0.45s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); }
.btn--light { color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--black); border-color: #fff; }
.btn--dark { color: var(--black); border-color: var(--black); }
.btn--dark::before { background: var(--black); }
.btn--dark:hover { color: #fff; }
.btn--gold { color: var(--black); background: var(--gold); border-color: var(--gold); }
.btn--gold::before { background: var(--black); }
.btn--gold:hover { color: #fff; border-color: var(--black); }
.btn--sm { padding: 13px 24px; font-size: 10.5px; }
.btn svg { width: 16px; height: 16px; }
.btn:disabled { opacity: 0.6; cursor: wait; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--black); padding-bottom: 6px; border-bottom: 1px solid var(--g300);
  transition: border-color 0.4s, gap 0.4s var(--ease);
}
.link-arrow:hover { border-color: var(--black); gap: 18px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  padding: 26px 0;
  transition: background-color 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.header.is-scrolled, .header--solid {
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: 14px 0;
  border-color: rgba(255, 255, 255, 0.07);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: inline-flex; flex-direction: column; line-height: 1; color: #fff; }
.brand__name {
  font-family: var(--font-serif); font-size: 30px; letter-spacing: 0.34em; font-weight: 500;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.brand__name::after { content: ''; width: 6px; height: 6px; background: var(--gold); margin-left: -0.2em; }
.brand__tag { font-size: 8.5px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.58); margin-top: 7px; font-weight: 400; }

.nav { display: flex; gap: 34px; }
.nav a {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400;
  color: rgba(255, 255, 255, 0.82); position: relative; padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 20px; }

.burger {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.burger span { width: 26px; height: 1px; background: #fff; transition: transform 0.4s var(--ease), opacity 0.3s; }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: var(--black);
  display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 60px;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
.mobile-nav a {
  font-family: var(--font-serif); font-size: clamp(2rem, 8vw, 3rem); color: #fff; font-weight: 300;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(16px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
body.nav-open .mobile-nav a { transform: none; opacity: 1; }
.mobile-nav a:nth-child(2) { transition-delay: 0.05s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.1s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.15s; }
.mobile-nav a:nth-child(5) { transition-delay: 0.2s; }
.mobile-nav a:nth-child(6) { transition-delay: 0.25s; }
.mobile-nav .btn { margin-top: 36px; align-self: flex-start; font-family: var(--font-sans); font-size: 11.5px; border-bottom: 1px solid; padding: 19px 36px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 180px 0 140px; color: #fff; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--ink); overflow: hidden; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero__video.is-ready { opacity: 1; }
.hero__fallback {
  display: none; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12); animation: hero-zoom 14s var(--ease) forwards;
}
.hero--no-video .hero__video { display: none; }
.hero--no-video .hero__fallback { display: block; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(10, 10, 10, 0.92) 100%);
}
.hero__content { max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 30px; }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--gold-2); }
.hero .lead { color: rgba(255, 255, 255, 0.8); max-width: 660px; margin-bottom: 48px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero [data-anim] { opacity: 0; animation: fade-up 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
}
.hero__scroll span { width: 1px; height: 56px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: scroll-line 2.4s var(--ease) infinite; }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 60% { transform: translateY(100%); } 100% { transform: translateY(100%); } }
.hero__meta {
  position: absolute; right: var(--gutter); bottom: 44px;
  display: flex; gap: 40px; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}

/* ---------- Introduction ---------- */
.intro { padding: var(--section) 0; background: var(--white); }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.intro__text p + p { margin-top: 24px; }
.intro__text { font-size: 1.05rem; }
.statement {
  margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--g100);
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
}
.statement__mark { font-family: var(--font-serif); font-size: 7rem; line-height: 0.5; color: var(--gold); font-weight: 300; transform: translateY(14px); }
.statement blockquote {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-style: italic; font-weight: 300;
  color: var(--black); line-height: 1.3; max-width: 980px;
}

/* ---------- Services ---------- */
.services { padding: var(--section) 0; background: var(--ivory); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 6vw, 72px); }
.services__head .section-head { margin-bottom: 0; }
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.service {
  grid-column: span 2; background: var(--white); padding: 44px 40px 40px; border: 1px solid var(--g100);
  position: relative; display: flex; flex-direction: column; min-height: 360px;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.4s;
}
.service:nth-child(4), .service:nth-child(5) { grid-column: span 3; }
.service:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(0, 0, 0, 0.3); border-color: transparent; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.service__num { font-family: var(--font-serif); font-size: 14px; letter-spacing: 0.22em; color: var(--gold); padding-top: 6px; }
.service__icon { width: 44px; height: 44px; color: var(--gold); }
.service__icon svg { width: 100%; height: 100%; stroke-width: 1; }
.service h3 { font-size: 1.75rem; margin: 56px 0 14px; line-height: 1.15; }
.service p { color: var(--g500); font-size: 15px; line-height: 1.7; }
.service::after {
  content: ''; position: absolute; left: 40px; right: 40px; bottom: -1px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.service:hover::after { transform: scaleX(1); }

/* ---------- Univers (photos d'illustration) ---------- */
.univers { padding: var(--section) 0; background: var(--white); }
.univers__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 20vw, 270px); gap: 14px; }
.tile { position: relative; overflow: hidden; background: var(--g100); display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 55%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.tile__label {
  position: absolute; left: 22px; bottom: 20px; z-index: 1; color: #fff;
  font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.tile:hover::after, .tile:hover .tile__label { opacity: 1; transform: none; }
.tile--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile--2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.tile--3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.tile--4 { grid-column: 3 / 4; grid-row: 2 / 4; }
.tile--5 { grid-column: 4 / 5; grid-row: 2 / 3; }
.tile--6 { grid-column: 1 / 3; grid-row: 3 / 4; }
.tile--7 { grid-column: 4 / 5; grid-row: 3 / 4; }
.photo-note {
  margin-top: 28px; display: flex; align-items: center; gap: 14px;
  font-size: 12px; color: var(--g500); letter-spacing: 0.04em;
}
.photo-note::before { content: ''; width: 24px; height: 1px; background: var(--g300); }
.dark .photo-note { color: rgba(255, 255, 255, 0.45); }
.dark .photo-note::before { background: rgba(255, 255, 255, 0.2); }

/* ---------- Pourquoi TEFFO ---------- */
.why { padding: var(--section) 0; }
.why__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(48px, 8vw, 130px); align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.why__media::after {
  content: ''; position: absolute; inset: 28px -28px -28px 28px;
  border: 1px solid var(--gold); pointer-events: none; opacity: 0.8;
}
.why__caption {
  position: absolute; left: 32px; bottom: 32px; z-index: 1; background: rgba(10, 10, 10, 0.85);
  padding: 18px 24px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.why__caption strong { display: block; font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: 0; text-transform: none; font-weight: 400; margin-bottom: 2px; }
.why__list { margin-top: 44px; }
.why__list li {
  display: flex; gap: 22px; align-items: flex-start; padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-serif); font-size: clamp(1.35rem, 1.8vw, 1.7rem); color: #fff; font-weight: 300; line-height: 1.3;
}
.why__list li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.check {
  flex: 0 0 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold); margin-top: 3px;
}
.check svg { width: 13px; height: 13px; }
.why .btn { margin-top: 44px; }

/* ---------- Méthode ---------- */
.method { padding: var(--section) 0; background: var(--ivory); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--g300); }
.step { padding: 44px 36px 8px 0; position: relative; }
.step + .step { border-left: 1px solid var(--g300); padding-left: 36px; }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--gold); }
.step + .step::before { left: 36px; }
.step__num { font-family: var(--font-serif); font-size: 4.2rem; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 28px; letter-spacing: -0.02em; }
.step h3 { font-size: 1.7rem; margin-bottom: 14px; }
.step p { color: var(--g500); font-size: 15px; }

/* ---------- À propos ---------- */
.about { padding: var(--section) 0; background: var(--white); }
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(48px, 8vw, 130px); align-items: center; }
.portrait { position: relative; max-width: 480px; isolation: isolate; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.85); }
.portrait::after { content: ''; position: absolute; inset: 32px -32px -32px 32px; border: 1px solid var(--gold); z-index: -1; }
.portrait__badge {
  position: absolute; right: -16px; top: 40px; background: var(--black); color: #fff; padding: 22px 26px;
  font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.2; font-weight: 300; max-width: 190px;
}
.portrait__badge small { display: block; font-family: var(--font-sans); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.about__role { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin: 16px 0 36px; font-weight: 500; }
.about__text p + p { margin-top: 22px; }
.about__text { font-size: 1.05rem; }
.signature { margin-top: 40px; display: flex; align-items: center; gap: 24px; }
.signature__name { font-family: var(--font-serif); font-style: italic; font-size: 1.9rem; color: var(--black); font-weight: 300; }
.signature::before { content: ''; width: 48px; height: 1px; background: var(--gold); }

/* ---------- Section propriétaires ---------- */
.owners { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 680px; background: var(--black); color: #fff; }
.owners__text {
  padding: clamp(72px, 9vw, 140px) clamp(40px, 6vw, 100px) clamp(72px, 9vw, 140px) max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: flex; flex-direction: column; justify-content: center;
}
.owners__text h2 { color: #fff; margin-bottom: 28px; }
.owners__text .lead { color: rgba(255, 255, 255, 0.68); max-width: 560px; }
.owners__text .lead strong { color: #fff; font-weight: 400; display: block; margin-top: 16px; font-family: var(--font-serif); font-size: 1.5em; }
.owners__text .btn { align-self: flex-start; margin-top: 44px; }
.owners__media { position: relative; overflow: hidden; }
.owners__media img { width: 100%; height: 100%; object-fit: cover; }
.owners__media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, 0.5), transparent 40%); z-index: 1; }

/* ---------- Galerie ---------- */
.gallery { padding: var(--section) 0; background: var(--white); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 56px; }
.gallery__grid .tile { aspect-ratio: 3 / 4; }
.gallery__grid .tile:nth-child(4n + 2), .gallery__grid .tile:nth-child(4n + 4) { transform: translateY(56px); }

/* ---------- Témoignages ---------- */
.testimonials { padding: var(--section) 0; background: var(--ivory); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: var(--white); padding: 52px 44px 44px; border: 1px solid var(--g100); display: flex; flex-direction: column; }
.testi__mark { font-family: var(--font-serif); font-size: 5.5rem; line-height: 0.55; color: var(--gold); margin-bottom: 32px; font-weight: 300; }
.testi blockquote { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.45; color: var(--black); font-weight: 400; font-style: italic; flex: 1; }
.testi figcaption { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--g100); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g500); }
.testi figcaption strong { display: block; color: var(--black); font-weight: 500; margin-bottom: 4px; letter-spacing: 0.14em; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; background: var(--white); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__aside { position: sticky; top: 120px; }
.faq__aside .section-head { margin-bottom: 32px; }
.faq__item { border-bottom: 1px solid var(--g100); }
.faq__item:first-child { border-top: 1px solid var(--g100); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-serif); font-size: clamp(1.25rem, 1.7vw, 1.55rem); color: var(--black); font-weight: 400; line-height: 1.25;
  transition: color 0.3s;
}
.faq__q:hover { color: var(--gold); }
.faq__icon { flex: 0 0 34px; height: 34px; border: 1px solid var(--g300); border-radius: 50%; position: relative; transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--black); transition: background-color 0.3s, transform 0.4s var(--ease); }
.faq__icon::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1px; height: 12px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__icon { background: var(--black); border-color: var(--black); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.55s var(--ease); }
.faq__a p { padding: 0 60px 30px 0; color: var(--g500); font-size: 15.5px; max-width: 680px; }

/* ---------- Contact ---------- */
.contact { padding: var(--section) 0; background: var(--ivory); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__aside .section-head { margin-bottom: 40px; }
.channels { display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px;
  background: var(--white); border: 1px solid var(--g100); transition: border-color 0.4s, transform 0.4s var(--ease);
}
.channel:hover { border-color: var(--gold); transform: translateX(4px); }
.channel__icon { flex: 0 0 46px; height: 46px; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; border-radius: 50%; }
.channel__icon svg { width: 18px; height: 18px; }
.channel small { display: block; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--g500); margin-bottom: 3px; }
.channel strong { font-weight: 500; color: var(--black); font-size: 15px; }
.contact__hours { margin-top: 28px; font-size: 13px; color: var(--g500); }

.form { background: var(--white); padding: clamp(32px, 4.5vw, 60px); border: 1px solid var(--g100); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.field label { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--g500); font-weight: 500; }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--g300); padding: 12px 0; background: transparent;
  font-size: 15px; color: var(--black); border-radius: 0; outline: none; width: 100%;
  transition: border-color 0.3s; -webkit-appearance: none; appearance: none; font-weight: 400;
}
.field input::placeholder, .field textarea::placeholder { color: var(--g300); font-weight: 300; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--black); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b877f' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center; padding-right: 24px; cursor: pointer;
}
.field textarea { min-height: 120px; resize: vertical; }
.form__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form__note { font-size: 12px; color: var(--g500); max-width: 360px; line-height: 1.6; }
.form__note a { text-decoration: underline; text-underline-offset: 3px; }
.form__success { display: none; text-align: center; padding: 56px 0; }
.form__success .check { margin: 0 auto 24px; width: 56px; height: 56px; flex-basis: 56px; }
.form__success .check svg { width: 22px; height: 22px; }
.form__success h3 { font-size: 2rem; margin-bottom: 12px; }
.form.is-sent form { display: none; }
.form.is-sent .form__success { display: block; }

/* ---------- CTA final ---------- */
.cta { position: relative; padding: clamp(130px, 17vw, 240px) 0; color: #fff; text-align: center; isolation: isolate; overflow: hidden; }
.cta__media { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0.82)); }
.cta .eyebrow { justify-content: center; }
.cta h2 { color: #fff; max-width: 980px; margin: 0 auto 26px; }
.cta .lead { max-width: 660px; margin: 0 auto 48px; color: rgba(255, 255, 255, 0.76); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.58); padding: 88px 0 32px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer .brand { margin-bottom: 22px; }
.footer__desc { max-width: 340px; line-height: 1.75; }
.footer h4 { font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: #fff; margin-bottom: 24px; font-weight: 500; }
.footer li + li { margin-top: 12px; }
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--gold-2); }
.social { display: flex; gap: 12px; margin-top: 28px; }
.social a { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, 0.7); transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.social a:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-3px); }
.social svg { width: 16px; height: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.42); }
.footer__bottom a { color: rgba(255, 255, 255, 0.55); }

/* ---------- Pages internes (mentions légales, confidentialité) ---------- */
.page-hero { background: var(--black); color: #fff; padding: 190px 0 90px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.6); margin-top: 20px; }
.page-content { padding: clamp(64px, 8vw, 110px) 0; }
.page-content h2 { font-size: 1.9rem; margin: 48px 0 16px; }
.page-content h2:first-child { margin-top: 0; }
.page-content p + p { margin-top: 16px; }
.page-content ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.page-content li + li { margin-top: 6px; }
.page-content .placeholder { background: rgba(184, 151, 90, 0.15); padding: 0 4px; color: var(--g700); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.gallery__grid .tile.reveal:nth-child(4n + 2).is-visible, .gallery__grid .tile.reveal:nth-child(4n + 4).is-visible { transform: translateY(56px); }
.gallery__grid .tile.reveal:nth-child(4n + 2), .gallery__grid .tile.reveal:nth-child(4n + 4) { transform: translateY(90px); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero [data-anim] { opacity: 1; transform: none; transition: none; animation: none; }
  .hero__video { display: none; }
  .hero__fallback { display: block; animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__actions .btn { display: none; }
  .burger { display: flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .intro__grid, .why__grid, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .services__head { flex-direction: column; align-items: flex-start; }
  .services__grid { gap: 14px; }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: span 3; min-height: 0; }
  .service:nth-child(5) { grid-column: span 6; }
  .service h3 { margin-top: 36px; }
  .univers__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(160px, 28vw, 240px); }
  .tile--1, .tile--2, .tile--3, .tile--4, .tile--5, .tile--6, .tile--7 { grid-column: auto; grid-row: auto; }
  .tile--1, .tile--6 { grid-column: span 2; }
  .why__media { max-width: 520px; }
  .steps { grid-template-columns: 1fr 1fr; border-top: 0; }
  .step { border-top: 1px solid var(--g300); padding: 36px 24px 36px 0; }
  .step + .step { border-left: 0; padding-left: 0; }
  .step + .step::before { left: 0; }
  .step:nth-child(even) { border-left: 1px solid var(--g300); padding-left: 24px; }
  .step:nth-child(even)::before { left: 24px; }
  .portrait { max-width: 420px; }
  .owners { grid-template-columns: 1fr; }
  .owners__media { min-height: 380px; order: -1; }
  .owners__text { padding: clamp(56px, 8vw, 96px) var(--gutter); }
  .gallery__grid { grid-template-columns: 1fr 1fr; padding-bottom: 40px; }
  .gallery__grid .tile:nth-child(4n + 2), .gallery__grid .tile:nth-child(4n + 4) { transform: translateY(40px); }
  .gallery__grid .tile.reveal:nth-child(4n + 2).is-visible, .gallery__grid .tile.reveal:nth-child(4n + 4).is-visible { transform: translateY(40px); }
  .testi__grid { grid-template-columns: 1fr; max-width: 640px; }
  .faq__aside { position: static; }
  .hero__meta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { padding: 150px 0 100px; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .eyebrow { align-items: flex-start; }
  .eyebrow::before { flex: 0 0 24px; margin-top: 0.55em; }
  .brand__name { font-size: 26px; }
  .statement { grid-template-columns: 1fr; gap: 12px; }
  .statement__mark { transform: none; font-size: 5rem; line-height: 0.7; }
  .service { padding: 34px 28px 32px; }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: span 6; }
  .why__media::after, .portrait::after { inset: 18px -12px -12px 18px; }
  .portrait__badge { right: 0; top: auto; bottom: -20px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { border-left: 0; padding-left: 0; }
  .step:nth-child(even)::before { left: 0; }
  .testi { padding: 40px 28px 32px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .faq__a p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .why__list li { font-size: 1.25rem; }
  .cta { padding: 110px 0; }
}
