/* =====================================================================
   NLB STUDIO — Design system
   Direction artistique : éditoriale, premium, neutre & chaleureuse.
   Serif expressive (Fraunces) pour les titres, sans-serif nette (Inter)
   pour le corps. Une seule couleur d'accent (terracotta), beaucoup d'air.
   Mobile-first : le socle vise le mobile, les media queries enrichissent.
   ===================================================================== */

/* ----------------------------------------------------------------------
   1. Tokens
   ---------------------------------------------------------------------- */
:root {
  /* Palette — neutres chauds + un seul accent maîtrisé */
  --paper:       #F4F0E8;   /* fond crème */
  --paper-soft:  #EDE7DB;   /* alternance de section */
  --surface:     #FBF9F4;   /* cartes claires */
  --ink:         #1C1A16;   /* encre, titres */
  --ink-soft:    #4A453D;   /* texte courant foncé */
  --muted:       #6B6253;   /* texte secondaire (contraste AA sur crème) */
  --line:        #E2DACB;   /* filets / bordures */
  --line-strong: #D2C7B3;
  --accent:      #B5482A;   /* terracotta */
  --accent-deep: #97391F;   /* hover / texte accent (AA) */
  --accent-wash: #F0E3D8;   /* fond accent très doux */
  --ink-invert:  #F4F0E8;   /* texte sur fond foncé */

  /* Typographie */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rythme & rayon */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);
  --radius: 14px;
  --radius-lg: 22px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s var(--ease);
  --t-med: 0.45s var(--ease);
}

/* ----------------------------------------------------------------------
   2. Reset & base
   ---------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----------------------------------------------------------------------
   3. Typographie
   ---------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 380;
  line-height: 1.07;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

em, .italic {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--ink);
}

/* ----------------------------------------------------------------------
   4. Layout
   ---------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--soft { background: var(--paper-soft); }
.section--ink { background: var(--ink); color: var(--ink-invert); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  margin-top: 1.1rem;
}
.section-head p { margin-top: 1.2rem; max-width: 40rem; }

.divider { height: 1px; background: var(--line); border: 0; }

/* ----------------------------------------------------------------------
   5. Boutons & liens
   ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  transition: transform var(--t-fast), background var(--t-fast),
              color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(149, 57, 31, 0.55);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--invert {
  background: var(--paper);
  color: var(--ink);
}
.btn--invert:hover { transform: translateY(-2px); background: #fff; }

.btn--block { width: 100%; }

/* CTA principal "Démarrer un projet" — pastille flèche animée + dégradé au survol */
.btn--cta {
  position: relative;
  isolation: isolate;                 /* contient le voile en z-index négatif */
  background: var(--accent);
  color: var(--paper);
  padding: 0.45rem 0.5rem 0.45rem 1.55rem;
  gap: 0.8em;
  box-shadow: 0 2px 10px -5px rgba(149, 57, 31, 0.5);
}
/* Voile dégradé révélé au survol (sous le texte, au-dessus du fond) */
.btn--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg, var(--accent) 0%, var(--accent-deep) 100%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(149, 57, 31, 0.6);
}
.btn--cta:hover::before { opacity: 1; }
.btn--cta:active { transform: translateY(0); }

/* Pastille circulaire contenant la flèche (taille fixe, indépendante du texte) */
.btn--cta .arrow {
  position: relative;
  overflow: hidden;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(244, 240, 232, 0.22);
  color: transparent;                 /* masque le glyphe brut, les ::before/::after l'affichent */
  transition: background var(--t-med);
}
.btn--cta .arrow::before,
.btn--cta .arrow::after {
  content: "→";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.45s var(--ease), color var(--t-med);
}
/* La 2e flèche patiente en bas-à-gauche, prête à entrer */
.btn--cta .arrow::after { transform: translate(-145%, 145%); }
/* Au survol : pastille claire, la 1re flèche sort, la 2e la remplace */
.btn--cta:hover .arrow { transform: none; background: var(--paper); }
.btn--cta:hover .arrow::before,
.btn--cta:hover .arrow::after { color: var(--accent-deep); }
.btn--cta:hover .arrow::before { transform: translate(145%, -145%); }
.btn--cta:hover .arrow::after { transform: translate(0, 0); }

/* Lien texte souligné animé */
.link-underline {
  position: relative;
  font-weight: 500;
  color: var(--ink);
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ----------------------------------------------------------------------
   6. Header
   ---------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(244, 240, 232, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 420;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand b { font-weight: 460; }
.brand span { color: var(--muted); font-weight: 400; }

.nav { display: none; }
@media (min-width: 920px) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2.4rem);
  }
  .nav a {
    font-size: 0.92rem;
    font-weight: 450;
    color: var(--ink-soft);
    position: relative;
    transition: color var(--t-fast);
  }
  .nav a::after {
    content: "";
    position: absolute; left: 0; bottom: -6px;
    width: 100%; height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--t-med);
  }
  .nav a:hover { color: var(--ink); }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}

.header-cta { display: none; }
@media (min-width: 920px) { .header-cta { display: inline-flex; } }

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
}
@media (min-width: 920px) { .burger { display: none; } }
.burger span {
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: 96px var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t-med), opacity var(--t-med), visibility var(--t-med);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--ink);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
/* Le CTA ne doit pas hériter du style des liens de nav (serif/large/encre) */
.mobile-menu .btn {
  margin-top: 1.8rem;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--paper);
  border-bottom: 0;
  padding: 0.5rem 0.5rem 0.5rem 1.6rem;
}
@media (min-width: 920px) { .mobile-menu { display: none; } }

/* ----------------------------------------------------------------------
   7. Hero
   ---------------------------------------------------------------------- */
.hero {
  padding-top: clamp(8rem, 18vh, 12rem);
  padding-bottom: var(--section-y);
  position: relative;
}
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; }
}

.hero h1 {
  font-size: clamp(2.9rem, 8.5vw, 6rem);
  letter-spacing: -0.025em;
  margin-top: 1.6rem;
}
.hero h1 em { font-weight: 380; }
.hero .lead { margin-top: 1.8rem; max-width: 34rem; }

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-meta {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

/* Carte aside du hero : preuve typographique plutôt qu'illustration */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  box-shadow: 0 30px 60px -40px rgba(28,26,22,0.35);
}
.hero-card .quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-card .quote::before { content: "“"; color: var(--accent); }
.hero-card .quote::after { content: "”"; color: var(--accent); }
.hero-card .by {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-card .by strong { color: var(--ink); font-weight: 600; display: block; }

/* ----------------------------------------------------------------------
   8. Approche
   ---------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: none; }
}
.step {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
@media (min-width: 800px) {
  .step { padding: 2rem clamp(1rem, 2vw, 1.8rem) 2.4rem; }
  .step:nth-child(odd) { padding-left: 0; }
}
@media (min-width: 1100px) {
  .step {
    border-bottom: none;
    border-top: 1px solid var(--line);
    padding: 2.2rem clamp(1rem,2vw,1.6rem) 0 0;
  }
  .step:not(:last-child) { border-right: 1px solid var(--line); }
  /* Réinitialise la règle "odd" héritée du palier 800px (sinon l'étape 3 colle à gauche) */
  .step,
  .step:nth-child(odd) { padding-left: clamp(1rem,2vw,1.6rem); }
  .step:first-child { padding-left: 0; }
}
.step-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.step h3 {
  font-size: 1.4rem;
  margin: 1rem 0 0.7rem;
}
.step p { font-size: 0.97rem; color: var(--muted); }

.approche-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  line-height: 1.25;
  color: var(--ink);
  max-width: 30rem;
}
.approche-note em { color: var(--accent); }

/* ----------------------------------------------------------------------
   9. Services
   ---------------------------------------------------------------------- */
.services-grid { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 50px -34px rgba(28,26,22,0.4);
}
.service-card .num {
  font-family: var(--font-serif);
  font-size: 0.9rem; color: var(--muted);
}
.service-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0.6rem 0 0.8rem;
}
.service-card p { color: var(--muted); margin-bottom: 1.6rem; }
.service-card .price-hint {
  font-size: 0.88rem; color: var(--accent-deep); font-weight: 500;
}

/* Bandeau "à-côtés" inclus */
.includes {
  margin-top: 1.2rem;
  background: var(--ink);
  color: var(--ink-invert);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
}
.includes h3 {
  color: var(--ink-invert);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 0.6rem;
}
.includes > p { color: rgba(244,240,232,0.7); max-width: 34rem; margin-bottom: 2rem; }
.includes-list {
  list-style: none;
  display: grid;
  gap: 0.2rem 2rem;
}
@media (min-width: 640px) { .includes-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .includes-list { grid-template-columns: repeat(3, 1fr); } }
.includes-list li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(244,240,232,0.14);
  font-size: 0.98rem;
}
.includes-list li::before {
  content: "→";
  color: var(--accent);
  font-size: 0.9rem;
}

/* ----------------------------------------------------------------------
   10. Réalisations
   ---------------------------------------------------------------------- */
.work-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.4rem); }
@media (min-width: 760px) { .work-grid { grid-template-columns: 1fr 1fr; } }

.work-card { display: block; }
.work-card.is-wide { grid-column: 1 / -1; }
.work-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
  aspect-ratio: 16 / 11;
}
.work-card.is-wide .work-figure { aspect-ratio: 16 / 8; }
.work-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter var(--t-med);
}
.work-card:hover .work-figure img { transform: scale(1.045); }
.work-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(244,240,232,0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
}
.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.3rem;
}
.work-meta h3 { font-size: 1.55rem; }
.work-meta .cat { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }
.work-card p { color: var(--muted); margin-top: 0.5rem; max-width: 38rem; }
.work-card .view {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-deep);
}
.work-card:hover .view .arrow { transform: translateX(4px); }
.work-card .view .arrow { transition: transform var(--t-fast); }

/* Figure typographique (sans photo) */
.work-figure--type {
  display: grid;
  place-items: center;
  background: var(--accent-wash);
}
.work-figure--type img { width: 46%; height: auto; object-fit: contain; }

/* ----------------------------------------------------------------------
   11. Tarifs
   ---------------------------------------------------------------------- */
.pricing-grid { display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 2.8rem);
  display: flex;
  flex-direction: column;
}
.plan--featured {
  background: var(--ink);
  color: var(--ink-invert);
  border-color: var(--ink);
}
.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.plan h3 {
  font-size: 1.7rem;
}
.plan--featured h3 { color: var(--ink-invert); }
.plan .tag {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--accent);
  border: 1px solid currentColor;
  padding: 0.3rem 0.7rem; border-radius: 100px;
}
.plan .desc { color: var(--muted); margin: 0.7rem 0 1.6rem; font-size: 0.96rem; }
.plan--featured .desc { color: rgba(244,240,232,0.65); }

.plan-price {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--font-serif);
}
.plan-price .amount { font-size: clamp(2.6rem, 5vw, 3.4rem); color: var(--ink); letter-spacing: -0.02em; }
.plan--featured .plan-price .amount { color: var(--ink-invert); }
.plan-price .unit { font-size: 0.9rem; font-family: var(--font-sans); color: var(--muted); }
.plan .delai { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }

.plan-feats {
  list-style: none;
  margin: 1.8rem 0;
  display: grid;
  gap: 0.05rem;
  flex: 1;
}
.plan-feats li {
  display: flex; gap: 0.8rem; align-items: baseline;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
}
.plan--featured .plan-feats li { border-top-color: rgba(244,240,232,0.14); }
.plan-feats li::before {
  content: ""; flex: none;
  width: 7px; height: 7px; margin-top: 0.5em;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-foot {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.pricing-foot strong { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------------
   12. Témoignages
   ---------------------------------------------------------------------- */
.quotes { display: grid; gap: 1.4rem; }
@media (min-width: 800px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote-card {
  border: 1px solid rgba(244,240,232,0.16);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
}
.quote-card blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink-invert);
  letter-spacing: -0.01em;
  flex: 1;
}
.quote-by {
  margin-top: 1.8rem;
  display: flex; align-items: center; gap: 0.9rem;
}
.quote-by img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote-by .n { font-weight: 600; color: var(--ink-invert); font-family: var(--font-sans); font-size: 0.95rem; }
.quote-by .r { font-size: 0.85rem; color: rgba(244,240,232,0.6); }

/* ----------------------------------------------------------------------
   13. Contact CTA
   ---------------------------------------------------------------------- */
.cta {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}
.cta h2 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  letter-spacing: -0.025em;
}
.cta p { margin: 1.4rem auto 0; max-width: 30rem; color: var(--muted); }
.cta-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.cta-mail {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.cta-mail a { color: var(--ink); font-weight: 500; }

/* ----------------------------------------------------------------------
   14. Footer
   ---------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(244,240,232,0.7);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
}
.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244,240,232,0.14);
}
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .brand { color: var(--ink-invert); font-size: 1.3rem; }
.footer-brand .brand span { color: rgba(244,240,232,0.55); }
.footer-brand p {
  margin-top: 1.2rem;
  max-width: 24rem;
  font-size: 0.95rem;
}
.footer-col h4 {
  color: var(--ink-invert);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.96rem;
  color: rgba(244,240,232,0.7);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--ink-invert); }
.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(244,240,232,0.5);
}
.footer-bottom .brand-name { font-family: var(--font-serif); }

/* ----------------------------------------------------------------------
   15. Bouton retour haut
   ---------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med), background var(--t-fast);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); }

/* ----------------------------------------------------------------------
   16. Reveals au scroll
   ---------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------------
   17. Page contact
   ---------------------------------------------------------------------- */
.contact-page {
  padding-top: clamp(7rem, 16vh, 10rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.contact-layout { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 940px) {
  .contact-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.contact-intro h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  margin: 1.4rem 0 1.6rem;
  letter-spacing: -0.025em;
}
.contact-intro .lead { max-width: 30rem; }
.contact-points {
  margin-top: 2.6rem;
  display: grid;
  gap: 1.4rem;
  max-width: 26rem;
}
.contact-point { display: flex; gap: 1rem; align-items: flex-start; }
.contact-point .dot {
  flex: none; margin-top: 0.45rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.contact-point strong { color: var(--ink); display: block; font-weight: 600; }
.contact-point span { color: var(--muted); font-size: 0.92rem; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 40px 80px -50px rgba(28,26,22,0.4);
}
.form-card h2 { font-size: 1.7rem; }
.form-card > p { color: var(--muted); margin: 0.6rem 0 2rem; font-size: 0.95rem; }
.form-row { display: grid; gap: 1.2rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field input::placeholder,
.field textarea::placeholder { color: #b3a999; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(181,72,42,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  background: var(--accent-wash);
  border: 1px solid var(--line-strong);
  color: var(--accent-deep);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

/* ----------------------------------------------------------------------
   18. Pages légales / prose
   ---------------------------------------------------------------------- */
.legal { padding-top: clamp(7rem, 16vh, 10rem); }
.legal .legal-head { max-width: 46rem; margin-bottom: 3rem; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.legal-prose { max-width: 46rem; }
.legal-prose h2 {
  font-size: 1.5rem;
  margin: 2.6rem 0 0.9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal-prose h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; font-family: var(--font-sans); font-weight: 600; color: var(--ink); }
.legal-prose p { margin-bottom: 1rem; }
.legal-prose ul { margin: 0 0 1.2rem 1.2rem; }
.legal-prose li { margin-bottom: 0.4rem; }
.legal-prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Merci */
.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: clamp(7rem, 16vh, 10rem);
}
.thanks h1 { font-size: clamp(2.8rem, 8vw, 5rem); }
.thanks p { margin: 1.4rem auto 2.4rem; max-width: 28rem; color: var(--muted); }

/* ----------------------------------------------------------------------
   19. Utilitaires
   ---------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 50%; top: -60px;
  transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.2rem; border-radius: 0 0 10px 10px;
  z-index: 200;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }
