/* ============================================================
   Studio Decamps — Global Stylesheet
   Haute esthétique automobile · Thil · Depuis 2009
   ============================================================ */

/* ============ TOKENS ============ */
:root {
  --paper-cream:   #F5F1EA;
  --paper-warm:    #EDE7DB;
  --ink-deep:      #1C1A17;
  --ink-soft:      #3A362F;
  --ink-mute:      #6B6458;
  --line-subtle:   #D9D2C3;
  --accent-bronze: #8B6F47;

  --font-serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --container-max:  1280px;
  --container-pad:  24px;
  --container-pad-md: 48px;

  --space-sm:  80px;
  --space-md:  120px;
  --space-lg:  180px;
}

/* ============ RESET ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* Lenis handles this */
}

body {
  background-color: var(--paper-cream);
  color: var(--ink-deep);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a { color: inherit; }

/* ============ PAPER GRAIN ============ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.055;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ink-deep);
  color: var(--paper-cream);
  padding: 0.5rem 1rem;
  z-index: 10000;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 2px;
}
.skip-link:focus {
  top: 1rem;
}

/* ============ CONTAINER ============ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (min-width: 768px) {
  .container {
    padding: 0 var(--container-pad-md);
  }
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
}

h1 { font-size: clamp(52px, 8vw, 108px); }

h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
}

h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

p {
  color: var(--ink-soft);
  max-width: 62ch;
}

.overline {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}

/* ============ HEADER ============ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 28px 0;
  transition: background 400ms ease, padding 300ms ease, border-color 400ms ease;
  border-bottom: 1px solid transparent;
}

#site-header.scrolled {
  background: rgba(245, 241, 234, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 0;
  border-bottom-color: var(--line-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* Logo image — mix-blend-mode: multiply rend le fond blanc transparent sur fond crème */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  transition: opacity 300ms ease;
}

.logo:hover .logo-img { opacity: 0.8; }

@media (max-width: 767px) {
  .logo-img { height: 38px; }
}

/* Sur le hero (fond sombre) : invert + screen → logo apparaît en crème */
#site-header.on-hero .logo-img {
  filter: invert(1);
  mix-blend-mode: screen;
}

/* Footer : logo légèrement plus grand */
.footer-logo .logo-img {
  height: 64px;
}

/* Main nav */
.main-nav { display: none; }
@media (min-width: 768px) { .main-nav { display: block; } }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 300ms;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink-deep);
  transition: width 400ms ease;
}

.main-nav a:hover,
.main-nav a.active { color: var(--ink-deep); }

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.main-nav a:focus-visible {
  outline: 2px solid var(--accent-bronze);
  outline-offset: 4px;
  border-radius: 2px;
}

/* On hero (transparent header), nav links are cream */
#site-header.on-hero .main-nav a {
  color: rgba(245,241,234,0.75);
}
#site-header.on-hero .main-nav a::after {
  background: rgba(245,241,234,0.75);
}
#site-header.on-hero .main-nav a:hover {
  color: rgba(245,241,234,1);
}

/* Menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.menu-word {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-deep);
}

.menu-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-lines span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink-deep);
  transition: transform 300ms ease, opacity 300ms ease;
  transform-origin: center;
}

.menu-toggle.open .menu-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.open .menu-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.open .menu-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* On hero, hamburger lines are cream */
#site-header.on-hero .menu-lines span { background: rgba(245,241,234,0.85); }
#site-header.on-hero .menu-word       { color: rgba(245,241,234,0.75); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--paper-cream);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.mobile-overlay nav a {
  font-family: var(--font-serif);
  font-size: clamp(40px, 9vw, 64px);
  font-weight: 300;
  color: var(--ink-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color 300ms;
}

.mobile-overlay nav a:hover { color: var(--accent-bronze); }

/* ============ FOOTER ============ */
footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--line-subtle);
  padding: 80px 0;
}

.footer-inner {
  display: grid;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.footer-logo { margin-bottom: 24px; }

footer address {
  font-style: normal;
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
}

footer address a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-subtle);
  transition: border-color 300ms;
}
footer address a:hover { border-color: var(--ink-soft); }

.footer-note {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  max-width: none;
  margin-bottom: 24px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 300ms;
}
.footer-nav a:hover { border-color: var(--ink-mute); }

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 300ms;
}
.footer-instagram:hover { color: var(--ink-soft); }
.footer-instagram svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-copy {
  font-size: 12px;
  color: var(--ink-mute);
  max-width: none;
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-subtle);
  padding-top: 32px;
}

/* ============ HERO (video/image) ============ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink-deep);
}

.hero-media-wrap {
  position: absolute;
  inset: 0;
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video { display: none; }
@media (min-width: 768px) { .hero-video { display: block; } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,26,23,0.55) 0%,
    rgba(28,26,23,0.15) 50%,
    rgba(28,26,23,0.08) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  width: 100%;
}
@media (min-width: 768px) { .hero-content { padding-bottom: 100px; } }

.hero-content .overline {
  color: rgba(245,241,234,0.65);
  margin-bottom: 20px;
}

.hero-content h1 {
  color: var(--paper-cream);
  font-weight: 300;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 32px);
  color: rgba(245,241,234,0.78);
  font-weight: 300;
}

/* Logo dans le hero — invert(1) + screen rend le fond blanc transparent sur fond sombre */
.hero-logo-img {
  display: block;
  width: clamp(220px, 42vw, 540px);
  height: auto;
  filter: invert(1);
  mix-blend-mode: screen;
  margin-top: 28px;
}
@media (max-width: 767px) {
  .hero-logo-img {
    width: clamp(200px, 74vw, 300px);
    margin-top: 20px;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 44px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
@media (max-width: 767px) { .scroll-indicator { display: none; } }

.scroll-indicator span {
  font-size: 10px;
  text-transform: lowercase;
  letter-spacing: 0.2em;
  color: rgba(245,241,234,0.5);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 64px;
  background: rgba(245,241,234,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245,241,234,0.7);
  animation: scrollDown 2.4s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* ============ SECTION SPACING ============ */
.section-pad {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}
@media (min-width: 768px) {
  .section-pad {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }
}
@media (min-width: 1024px) {
  .section-pad {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
}

/* ============ MANIFESTE (Home écran 2) ============ */
.manifeste-section {
  text-align: center;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}
@media (min-width: 1024px) {
  .manifeste-section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
}

.manifeste-block {
  max-width: 54ch;
  margin: 0 auto;
}

.manifeste-block p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-deep);
  max-width: none;
}

.manifeste-sep {
  width: 60px;
  height: 1px;
  background: var(--line-subtle);
  margin: 52px auto;
}

/* ============ ANCRAGE (Home écran 3) ============ */
.ancrage-section {
  background: var(--paper-warm);
}

.two-col {
  display: grid;
  gap: 64px;
  align-items: center;
}
@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 100px;
  }
}

.ancrage-text p {
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: none;
}
.ancrage-text p + p { margin-top: 1.5em; }

.triptyque { display: flex; flex-direction: column; }

.triptyque-item {
  padding: 28px 0;
  border-top: 1px solid var(--line-subtle);
}
.triptyque-item:last-child { border-bottom: 1px solid var(--line-subtle); }

.triptyque-item p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 300;
  color: var(--ink-deep);
  max-width: none;
}

.closing-phrase {
  text-align: center;
  margin-top: 80px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--ink-soft);
}

/* ============ RUBRIQUES BLOCS (Home écran 4) ============ */
.rubriques-intro {
  text-align: center;
  padding-top: var(--space-md);
  padding-bottom: 80px;
}

.rubriques-intro p {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink-deep);
  max-width: none;
  margin: 0 auto;
}

.rubrique-block {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
}

.rubrique-block:not(:last-child) {
  border-bottom: 1px solid var(--paper-cream);
}

.rubrique-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
@media (min-width: 768px) {
  .rubrique-image-wrap { aspect-ratio: 21/9; }
}

.rubrique-image-wrap img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 900ms ease, opacity 600ms ease;
}

.rubrique-block:hover .rubrique-image-wrap img {
  transform: scale(1.03);
  opacity: 0.6;
}

.rubrique-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.rubrique-content .overline {
  color: rgba(245,241,234,0.55);
  margin-bottom: 16px;
}

.rubrique-content h2 {
  color: var(--paper-cream);
  margin-bottom: 20px;
}

.rubrique-content .excerpt {
  font-size: clamp(16px, 1.8vw, 20px);
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(245,241,234,0.75);
  max-width: 36ch;
  margin: 0 auto 40px;
  font-weight: 300;
}

/* ============ CTA LINK ============ */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-deep);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.cta-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 400ms ease;
}
.cta-link:hover::after { width: 100%; }

.cta-link .arrow {
  display: inline-block;
  transition: transform 300ms ease;
}
.cta-link:hover .arrow { transform: translateX(4px); }

.cta-link:focus-visible {
  outline: 2px solid var(--accent-bronze);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Cream variant (on dark backgrounds) */
.cta-link-cream {
  color: rgba(245,241,234,0.8);
}
.cta-link-cream::after { background: rgba(245,241,234,0.8); }

/* ============ CONTACT INVITE (Home écran 5) ============ */
.contact-invite {
  text-align: center;
  padding: 120px 24px;
}
@media (min-width: 1024px) { .contact-invite { padding: 180px 48px; } }

.contact-invite p {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-soft);
  max-width: none;
  margin: 0 auto;
}
.contact-invite p + p { margin-top: 0.75em; margin-bottom: 52px; }

/* ============ PAGE HERO (text) ============ */
.page-hero {
  padding-top: calc(80px + 80px);
  padding-bottom: 80px;
}
@media (min-width: 768px) {
  .page-hero {
    padding-top: calc(80px + 130px);
    padding-bottom: 100px;
  }
}
@media (min-width: 1024px) {
  .page-hero {
    padding-top: calc(80px + 180px);
    padding-bottom: 120px;
  }
}

.page-hero .overline { margin-bottom: 22px; }

/* ============ FULL-WIDTH IMAGE ============ */
.full-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 60px rgba(28,26,23,0.08);
}
@media (min-width: 768px) { .full-image { aspect-ratio: 21/9; } }

/* ============ CONTENT BLOCK ============ */
.content-block {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
}

.content-block p {
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: none;
  margin-bottom: 1.6em;
}
.content-block p:last-child { margin-bottom: 0; }

/* ============ SERVICE LIST (Respecter) ============ */
.service-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}

.service-item {
  padding: 36px 0;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.service-item:last-child { border-bottom: 1px solid var(--line-subtle); }

.service-arrow {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent-bronze);
  flex-shrink: 0;
  line-height: 1;
}

.service-name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  color: var(--ink-deep);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ============ DIPTYQUE ============ */
.diptyque {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.diptyque img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}

@media (max-width: 479px) {
  .diptyque {
    grid-template-columns: 1fr;
  }
  .diptyque img {
    aspect-ratio: 4/3;
  }
}

/* ============ FAQ ============ */
.faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--line-subtle);
}
@media (min-width: 768px) {
  .faq-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.faq-inner { max-width: 56ch; margin: 0 auto; }

.faq-title {
  font-size: clamp(14px, 1.5vw, 16px);
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 64px;
}

.faq-item {
  padding: 36px 0;
  border-top: 1px solid var(--line-subtle);
}
.faq-item:last-child { border-bottom: 1px solid var(--line-subtle); }

.faq-question {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  color: var(--ink-deep);
  margin-bottom: 16px;
  line-height: 1.3;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: none;
}

/* ============ CONTINUE READING ============ */
.continue-section {
  background: var(--paper-warm);
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (min-width: 768px) {
  .continue-section { padding-top: 120px; padding-bottom: 120px; }
}

.continue-label {
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  margin-bottom: 48px;
  display: block;
}

.continue-grid {
  display: grid;
  gap: 2px;
}
@media (min-width: 768px) {
  .continue-grid { grid-template-columns: 1fr 1fr; }
}

.continue-card {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  min-height: 360px;
}

.continue-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 600ms ease, transform 600ms ease;
  position: absolute;
  inset: 0;
}

.continue-card:hover img {
  opacity: 0.38;
  transform: scale(1.03);
}

.continue-card-body {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 1;
}

.continue-card-body .overline {
  color: rgba(245,241,234,0.5);
  margin-bottom: 10px;
}

.continue-card-body h3 {
  color: var(--paper-cream);
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
}

/* ============ CONTACT PAGE ============ */
.contact-page-hero {
  padding-top: calc(80px + 80px);
  padding-bottom: 60px;
}
@media (min-width: 768px) {
  .contact-page-hero { padding-top: calc(80px + 120px); }
}

.contact-form-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.form-group {
  margin-bottom: 40px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-subtle);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-deep);
  outline: none;
  transition: border-color 300ms;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink-deep);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B6458'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 18px;
  cursor: pointer;
}

.form-group select option {
  background: var(--paper-cream);
  color: var(--ink-deep);
}

/* Honeypot */
.form-honeypot { display: none !important; }

/* RGPD checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 48px;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid var(--line-subtle);
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin-top: 3px;
  border-radius: 2px;
  transition: background 200ms, border-color 200ms;
}

.form-check input[type="checkbox"]:checked {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 4L11 1' stroke='%23F5F1EA' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.form-check label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.form-check label a {
  color: var(--ink-soft);
  text-decoration: underline;
}

/* Submit */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 1px solid var(--line-subtle);
  padding: 18px 44px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-deep);
  cursor: pointer;
  transition: border-color 300ms, background 300ms;
  border-radius: 2px;
  white-space: nowrap;
}

.btn-submit:hover {
  border-color: var(--ink-deep);
  background: rgba(28,26,23,0.04);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-submit:focus-visible {
  outline: 2px solid var(--accent-bronze);
  outline-offset: 4px;
}

/* Messages */
.form-success,
.form-error {
  display: none;
  padding: 24px 28px;
  border-left: 2px solid;
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.form-success { border-color: var(--accent-bronze); }
.form-error   { border-color: var(--ink-soft); }

/* Contact alternatives */
.contact-alts {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 640px) {
  .contact-alts {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }
}

.contact-alt { display: flex; flex-direction: column; gap: 6px; }

.contact-alt-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
}

.contact-alt-value {
  font-size: 16px;
  color: var(--ink-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 2px;
  transition: border-color 300ms;
  align-self: flex-start;
}
.contact-alt-value:hover { border-color: var(--ink-deep); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-deep);
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid var(--line-subtle);
  transition: border-color 300ms;
  border-radius: 2px;
  align-self: flex-start;
  margin-top: 6px;
}
.btn-whatsapp:hover { border-color: var(--ink-deep); }

/* ============ LEGAL PAGES ============ */
.legal-content {
  max-width: 56ch;
  margin: 0 auto;
  padding-top: calc(80px + 80px);
  padding-bottom: 120px;
}
@media (min-width: 768px) {
  .legal-content { padding-top: calc(80px + 120px); }
}

.legal-content h1 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 64px;
}

.legal-content h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 20px;
  margin-top: 56px;
}
.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1em;
  max-width: none;
}
.legal-content a {
  color: var(--ink-soft);
  text-decoration: underline;
}

/* ============ SCREEN READER ONLY ============ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ MAISON SECTION (Entrer dans la maison) ============ */

.maison-title-wrap {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-md);
  text-align: center;
}
@media (max-width: 767px) {
  .maison-title-wrap {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
  }
}

.maison-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* Blocs vidéo — pleine largeur, CLS-safe via aspect-ratio */
.maison-video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--ink-deep);
  overflow: hidden;
}
@media (min-width: 768px) {
  .maison-video-wrap { aspect-ratio: 21/9; }
}

.maison-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Blocs texte */
.maison-text {
  text-align: center;
  padding: 80px 0;
  max-width: 42ch;
  margin: 0 auto;
}
@media (min-width: 768px) { .maison-text { padding: 120px 0; } }
@media (min-width: 1024px) { .maison-text { padding: 160px 0; } }

.maison-text p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-deep);
  max-width: none;
}

.maison-text-prose p {
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--ink-soft);
}
.maison-text-prose p + p { margin-top: 1.5em; }

/* Galerie photos — pleine largeur, 2 colonnes desktop, 1 mobile */
.maison-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
@media (max-width: 767px) {
  .maison-gallery { grid-template-columns: 1fr; }
}

.maison-gallery img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

/* Signature finale */
.maison-signature {
  text-align: center;
  padding: 80px 24px 120px;
  max-width: 48ch;
  margin: 0 auto;
}
@media (min-width: 768px) { .maison-signature { padding: 120px 0 160px; } }
@media (min-width: 1024px) { .maison-signature { padding: 160px 0 200px; } }

.maison-signature p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: none;
}

.maison-signature em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 300;
  color: var(--ink-deep);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 64px;
}

/* ============ ANIMATION INITIAL STATES ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
}

.fade-in {
  opacity: 0;
}

.scale-in {
  opacity: 0.3;
  transform: scale(1.06);
}

.fade-up-item {
  opacity: 0;
  transform: translateY(20px);
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-in,
  .scale-in,
  .fade-up-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-line::after { animation: none; }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
