/* ==========================================================
   MAISON ANNA · Feuille de style
   Couleurs : modifiez-les ici, tout le site suit.
   ========================================================== */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --creme: #EEE4DA;
  --creme-clair: #F6F0EA;
  --sand: #D8C4AC;
  --pink: #C8A49F;
  --burgundy: #4D0E13;
  --burgundy-2: #6A1E24;
  --texte: #3A2A27;
  --texte-doux: #6E5B55;
  --ligne: rgba(77, 14, 19, .18);

  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 12vw, 160px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--burgundy); color: var(--creme); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--burgundy);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 300; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 300; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1.2em; }
em, .italic { font-family: var(--serif); font-style: italic; font-size: 1.12em; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--pink);
  vertical-align: middle;
  margin-right: 14px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--texte-doux); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
section { padding: var(--section) 0; position: relative; }
.bg-sand { background: var(--sand); }
.bg-clair { background: var(--creme-clair); }
.bg-burgundy { background: var(--burgundy); color: var(--creme); }
.bg-burgundy h2, .bg-burgundy h3, .bg-burgundy .eyebrow { color: var(--creme); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: .74rem; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  padding: 18px 34px;
  border: 1px solid var(--burgundy);
  background: var(--burgundy); color: var(--creme);
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: transparent; color: var(--burgundy); }
.btn--ghost { background: transparent; color: var(--burgundy); }
.btn--ghost:hover { background: var(--burgundy); color: var(--creme); }
.btn--light { background: var(--creme); color: var(--burgundy); border-color: var(--creme); }
.btn--light:hover { background: transparent; color: var(--creme); }
.link {
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--burgundy);
  border-bottom: 1px solid var(--pink);
  padding-bottom: 6px;
  transition: border-color .3s;
}
.link:hover { border-color: var(--burgundy); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding: 22px 0;
}
.header.scrolled { background: rgba(238, 228, 218, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--ligne); padding: 12px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span {
  font-family: var(--serif); font-size: 1.35rem; letter-spacing: .14em;
  color: var(--burgundy); text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--burgundy); position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--burgundy);
  transition: width .4s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: 12px 22px; color: var(--creme); }
.nav .btn::after { display: none; }
.nav .btn:hover { color: var(--burgundy); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--burgundy); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; z-index: 60; }
  .brand span { display: none; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--creme);
    opacity: 0; pointer-events: none;
    transition: opacity .5s var(--ease);
  }
  .nav a { font-size: .9rem; }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  .menu-open { overflow: hidden; }
}

/* ---------- Héros (accueil) ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr;
  padding: 0;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px var(--gutter) 80px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero__text h1 { margin-bottom: .35em; }
.hero__text h1 em { font-size: 1em; color: var(--burgundy-2); }
.hero__text .lead { margin-bottom: 2.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.hero__visual { position: relative; padding: 120px var(--gutter) 60px 0; }
.hero__visual .ph { height: 100%; min-height: 480px; border-radius: 999px 999px 0 0; }
.hero__badge {
  position: absolute; left: -64px; bottom: 90px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--creme); padding: 18px; z-index: 2;
  box-shadow: 0 20px 50px rgba(77, 14, 19, .12);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--texte-doux);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--burgundy), transparent); animation: cue 2.4s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { padding: 130px var(--gutter) 40px; }
  .hero__visual { padding: 0 var(--gutter) 70px; }
  .hero__visual .ph { min-height: 420px; }
  .hero__badge { left: auto; right: calc(var(--gutter) + 10px); bottom: 40px; width: 104px; height: 104px; padding: 12px; }
  .scroll-cue { display: none; }
}

/* ---------- En-tête de page intérieure ---------- */
.page-hero { padding: clamp(150px, 20vw, 220px) 0 clamp(60px, 8vw, 100px); text-align: center; }
.page-hero .lead { margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 2.4rem auto 0; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: var(--pink); }
.ornament img { width: 34px; height: 34px; opacity: .8; }

/* ---------- Emplacements photo ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(160deg, var(--sand), var(--pink));
  min-height: 200px;
}
.ph::before {
  content: attr(data-file);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(77, 14, 19, .55);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 1.2s var(--ease); }
.arch { border-radius: 999px 999px 0 0; }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-paysage { aspect-ratio: 3 / 2; }
.ratio-carre { aspect-ratio: 1; }

/* ---------- Manifeste ---------- */
.manifesto { text-align: center; }
.manifesto p.quote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.35; color: var(--burgundy);
  max-width: 28ch; margin: 0 auto 2rem;
}
.manifesto p.quote em { font-size: 1em; }

/* ---------- Cartes prestations ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--creme-clair);
  padding: 44px 34px 38px;
  display: flex; flex-direction: column;
  border: 1px solid transparent;
  transition: transform .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--ligne); box-shadow: 0 30px 60px -30px rgba(77, 14, 19, .25); }
.card .num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--pink); margin-bottom: 1.6rem; }
.card h3 { font-size: 1.75rem; }
.card p { color: var(--texte-doux); font-size: .97rem; flex: 1; }
.card .price { font-family: var(--serif); font-size: 1.25rem; color: var(--burgundy); margin: .4rem 0 1.4rem; }
.card .price small { font-family: var(--sans); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-doux); display: block; }

/* ---------- Bloc prestation détaillé ---------- */
.service { padding: var(--section) 0; border-top: 1px solid var(--ligne); }
.service:first-of-type { border-top: 0; }
.service__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: end; margin-bottom: clamp(50px, 7vw, 90px); }
.service__head .subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--burgundy-2); margin-bottom: 1.2rem; }
@media (max-width: 860px) { .service__head { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--ligne); }
.step { padding: 36px 30px 34px 0; border-right: 1px solid var(--ligne); margin-right: 30px; }
.step:last-child { border-right: 0; margin-right: 0; }
.step .roman { font-family: var(--serif); font-size: 3rem; font-weight: 300; color: var(--pink); line-height: 1; margin-bottom: 1rem; }
.step h4 { margin-bottom: .7rem; }
.step p { font-size: .95rem; color: var(--texte-doux); margin: 0; }
@media (max-width: 760px) { .step { border-right: 0; border-bottom: 1px solid var(--ligne); margin-right: 0; padding-right: 0; } }

.list-fine { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.list-fine li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--ligne); position: relative; }
.list-fine li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1px; background: var(--burgundy); }
.list-fine li strong { font-weight: 500; color: var(--burgundy); }

.box { background: var(--sand); padding: clamp(32px, 4vw, 52px); }
.box--clair { background: var(--creme-clair); }
.box h4 { margin-bottom: 1rem; }
.box p:last-child { margin-bottom: 0; }

.note { font-size: .85rem; color: var(--texte-doux); font-style: normal; }

details.conditions { border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); margin-top: 2.6rem; }
details.conditions summary {
  list-style: none; cursor: pointer;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--burgundy);
}
details.conditions summary::-webkit-details-marker { display: none; }
details.conditions summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; transition: transform .4s var(--ease); }
details.conditions[open] summary::after { transform: rotate(45deg); }
details.conditions .inner { padding: 0 0 26px; font-size: .93rem; color: var(--texte-doux); }
details.conditions .inner ul { padding-left: 1.1rem; margin: 0; }
details.conditions .inner li { margin-bottom: .6rem; }

/* ---------- Tarifs ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 22px 0; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.price-table th { font-weight: 400; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--texte-doux); padding-bottom: 14px; }
.price-table td:first-child { font-family: var(--serif); font-size: 1.4rem; color: var(--burgundy); padding-right: 20px; }
.price-table td.ex { color: var(--texte-doux); font-size: .95rem; padding-right: 20px; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-family: var(--serif); font-size: 1.4rem; color: var(--burgundy); }
.price-table th:last-child { font-family: var(--sans); font-size: .7rem; color: var(--texte-doux); }
@media (max-width: 640px) {
  .price-table td.ex { display: block; padding-top: 0; border: 0; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--ligne); padding: 16px 0; }
  .price-table td { border: 0; padding: 4px 0; }
  .price-table td.ex { grid-column: 1 / -1; order: 3; }
  .price-table thead { display: none; }
}

.formulas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ligne); }
.formula { padding: 50px 38px 44px; border-right: 1px solid var(--ligne); display: flex; flex-direction: column; background: var(--creme-clair); position: relative; }
.formula:last-child { border-right: 0; }
.formula--featured { background: var(--sand); }
.formula .tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--burgundy); color: var(--creme); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; padding: 8px 16px; white-space: nowrap; }
.formula h3 { font-size: 2rem; margin-bottom: .2rem; }
.formula .scope { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 1.6rem; }
.formula .amount { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--burgundy); line-height: 1; margin-bottom: 1.8rem; }
.formula .amount small { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 8px; }
.formula ul { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.formula li { font-size: .93rem; padding: 10px 0; border-bottom: 1px solid var(--ligne); color: var(--texte); }
@media (max-width: 900px) {
  .formulas { grid-template-columns: 1fr; }
  .formula { border-right: 0; border-bottom: 1px solid var(--ligne); }
  .formula:last-child { border-bottom: 0; }
}

.menu-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); }
.menu-card { background: var(--creme-clair); padding: 40px 30px; display: flex; flex-direction: column; }
.menu-card h4 { font-size: 1.55rem; }
.menu-card p { font-size: .93rem; color: var(--texte-doux); flex: 1; }
.menu-card .amount { font-family: var(--serif); font-size: 1.9rem; color: var(--burgundy); }
.menu-card .amount span { font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
@media (max-width: 1000px) { .menu-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .menu-cards { grid-template-columns: 1fr; } }

.tva { text-align: center; font-size: .82rem; color: var(--texte-doux); margin-top: 2.4rem; letter-spacing: .04em; }

.big-price { text-align: center; padding: 60px 30px; border: 1px solid var(--ligne); background: var(--creme-clair); }
.big-price .amount { font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 300; color: var(--burgundy); line-height: 1; margin: 1rem 0; }
.big-price .amount small { font-size: .4em; }

/* ---------- Réalisations ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 6vw, 90px) clamp(28px, 4vw, 60px); }
.project:nth-child(even) { margin-top: clamp(0px, 10vw, 140px); }
.project .ph { aspect-ratio: 4 / 5; cursor: zoom-in; }
.project:hover .ph img { transform: scale(1.04); }
.project__meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-doux); }
.project h3 { margin: 10px 0 .5rem; }
.project p { color: var(--texte-doux); font-size: .97rem; }
.project__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.project__thumbs .ph { aspect-ratio: 1; min-height: 0; }
.project__thumbs .ph::before { font-size: .5rem; letter-spacing: .08em; padding: 6px; }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } .project:nth-child(even) { margin-top: 0; } }

.home-projects { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: end; }
.home-projects .ph { aspect-ratio: 3 / 4; }
.home-projects a:first-child .ph { aspect-ratio: 4 / 5; }
.home-projects h4 { margin-top: 18px; font-size: 1.45rem; }
.home-projects span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-doux); }
@media (max-width: 860px) { .home-projects { grid-template-columns: 1fr; } }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(30, 6, 8, .94); display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 92vw; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--creme); font-family: var(--serif); font-size: 2.6rem; cursor: pointer; padding: 10px 18px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 14px; right: 18px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--creme); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.coords { list-style: none; padding: 0; margin: 2rem 0; }
.coords li { padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.coords span { display: block; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--texte-doux); margin-bottom: 4px; }
.coords a, .coords p { font-family: var(--serif); font-size: 1.45rem; color: var(--burgundy); margin: 0; }

.form { background: var(--sand); padding: clamp(32px, 5vw, 60px); position: relative; overflow: hidden; }
.form::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 300px; height: 300px; background: url("../img/monogramme-bordeaux.png") center / contain no-repeat; opacity: .05; pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 26px; position: relative; z-index: 1; }
.field label { display: block; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(77, 14, 19, .35);
  padding: 10px 0; font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--texte);
  border-radius: 0; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234D0E13'/%3E%3C/svg%3E") right 4px center no-repeat; cursor: pointer; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--burgundy); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--texte); margin-bottom: 30px; position: relative; z-index: 1; }
.check input { margin-top: 5px; accent-color: var(--burgundy); width: 16px; height: 16px; flex: none; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; }
.alert { padding: 18px 22px; margin-bottom: 28px; font-size: .95rem; position: relative; z-index: 1; display: none; }
.alert.show { display: block; }
.alert--ok { background: var(--creme-clair); border-left: 2px solid var(--burgundy); color: var(--burgundy); }
.alert--err { background: #f3dcd8; border-left: 2px solid #8b1d24; color: #6b141a; }

/* ---------- Bandeau CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta h2 { max-width: 18ch; margin: 0 auto .6em; }
.cta p { max-width: 50ch; margin: 0 auto 2.4rem; opacity: .85; }
.cta__mono { position: absolute; width: 520px; height: 520px; right: -140px; top: 50%; transform: translateY(-50%); opacity: .06; pointer-events: none; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 2.6em; padding-top: 1.4em; border-top: 1px solid var(--ligne); }
.legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p, .legal li { font-size: .98rem; }
.legal ul { padding-left: 1.2rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .95rem; }
.legal td { padding: 12px 0; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.legal td:first-child { width: 42%; color: var(--texte-doux); padding-right: 20px; }
.todo { background: rgba(200, 164, 159, .45); color: var(--burgundy); padding: 1px 6px; font-weight: 400; font-size: .92em; }

/* ---------- Pied de page ---------- */
.footer { background: var(--burgundy); color: var(--creme); padding: clamp(70px, 9vw, 110px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(238, 228, 218, .18); }
.footer__logo { width: 170px; }
.footer h5 { font-family: var(--sans); font-weight: 400; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--pink); margin: 0 0 1.4rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .7rem; font-size: .93rem; }
.footer a { opacity: .85; transition: opacity .3s; }
.footer a:hover { opacity: 1; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: .74rem; letter-spacing: .08em; opacity: .7; }
.footer__bottom a { margin-left: 20px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom a { margin: 0 16px 0 0; } }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
}
