/* ==========================================================
   LES PHOENIX DU CHÂTEAU — feuille de style (thème pastel)
   Tons adoucis tirés de l'illustration : ciel poudré, lilas
   du château, abricot du couchant, voile multicolore pastel.
   ========================================================== */

:root {
  /* fonds */
  --cream: #fbf5ec;
  --paper: #fffdf9;
  --sand: #f6eadb;
  --lav-50: #f1ecf8;
  --powder-50: #eaf2f9;
  --line: #e7dccd;

  /* texte */
  --ink: #26304a;
  --ink-soft: #565d76;
  --muted: #868aa0;

  /* couleurs du logo, saturation moyenne (fonds, bandes, pastilles) */
  --apricot: #f29c52;
  --peach: #f8cc9e;
  --rose: #e07aa2;
  --lilac: #a595d1;
  --powder: #6cb4dc;
  --sage: #98c862;
  --butter: #f2cb52;
  --periwinkle: #7f93d6;

  /* tons profonds (texte d'accent, liens) */
  --terracotta: #bf5626;
  --plum: #5e3f86;
  --dusk: #2e3a5c;
  --dusk-2: #4a3d73;

  /* alias conservés pour les styles en ligne */
  --night: var(--dusk);
  --slate: var(--powder-50);
  --castle: var(--lilac);
  --ember: var(--apricot);
  --flame: var(--apricot);
  --gold: var(--butter);
  --blood: var(--terracotta);
  --sky: var(--powder);
  --lime: var(--sage);
  --royal: var(--periwinkle);

  --voile: linear-gradient(100deg,
    var(--powder) 0 12.5%, var(--butter) 12.5% 25%, #e2684f 25% 37.5%, var(--sage) 37.5% 50%,
    var(--rose) 50% 62.5%, var(--apricot) 62.5% 75%, var(--periwinkle) 75% 87.5%, var(--lilac) 87.5% 100%);

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --radius: 20px;
  --shadow: 0 1px 2px rgba(47,48,72,.05), 0 10px 30px -12px rgba(47,48,72,.18);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--cream); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- typographie ---------- */
h1, h2, h3, .display {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .015em; line-height: .95; margin: 0 0 .4em; color: var(--ink);
}
h1 { font-size: clamp(3rem, 8.5vw, 7rem); }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); line-height: 1.02; }
p { margin: 0 0 1em; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.accent { color: var(--terracotta); }
.accent-plum { color: var(--plum); }
.fire { color: var(--terracotta); }
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-display); font-weight: 700; font-size: .98rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--plum); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1.08rem, 1.9vw, 1.25rem); max-width: 60ch; color: var(--ink-soft); }

/* ---------- bande « voile » ---------- */
.voile-band { height: 6px; background: var(--voile); }
.voile-band.thin { height: 4px; }

/* ---------- en-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 236, .9);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(38,48,74,.45); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.brand span { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.22rem; line-height: .95; letter-spacing: .03em; }
.brand small { display: block; font-size: .7rem; letter-spacing: .28em; color: var(--plum); font-weight: 700; }

.nav { display: flex; gap: .15rem; align-items: center; }
.nav a {
  text-decoration: none; font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 1.02rem; padding: .5rem .85rem; border-radius: 999px; color: var(--ink-soft); transition: background .2s, color .2s;
}
.nav a:hover { background: var(--lav-50); color: var(--ink); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 1.5px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover { background: none; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); text-decoration: none; background: var(--paper); cursor: pointer; }
.cart-link:hover { border-color: var(--apricot); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--terracotta); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.cart-count[data-n="0"] { display: none; }
.menu-toggle { display: none; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .25s, opacity .25s; }

@media (max-width: 920px) {
  .menu-toggle { display: block; order: 3; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 1rem var(--gutter) 2rem; gap: .3rem; box-shadow: 0 20px 40px -20px rgba(47,48,72,.3);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
  }
  .nav a { font-size: 1.5rem; padding: .7rem 1rem; }
  body.menu-open .nav { transform: none; visibility: visible; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .brand span { font-size: 1.05rem; }
}

/* ---------- héros ---------- */
.hero {
  position: relative; min-height: min(88vh, 860px); display: flex; align-items: center;
  overflow: hidden; isolation: isolate; padding: clamp(3rem, 8vw, 6rem) 0 clamp(8rem, 16vw, 12rem);
}
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; animation: drift 40s ease-in-out infinite alternate; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(38,48,74,.82) 0%, rgba(38,48,74,.5) 42%, rgba(38,48,74,0) 72%),
              linear-gradient(0deg, var(--dusk) 0%, rgba(46,58,92,0) 30%);
}
.hero h1, .hero .lead { color: #fbf5ec; }
.hero .lead { color: #ece4da; }
.hero .kicker { color: var(--peach); }
.hero .chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; }
.hero .btn--ghost { --bg: rgba(255,255,255,.08); --fg: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
@media (max-width: 720px) {
  .hero__img img { object-position: 72% 50%; }
  .hero::after { background: linear-gradient(180deg, rgba(38,48,74,.82) 0%, rgba(38,48,74,.66) 60%, var(--dusk) 100%); }
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.07) translateX(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero__img img { animation: none; } html { scroll-behavior: auto; } }
.hero h1 { max-width: 12ch; }
.hero h1 .serif { display: block; font-size: .4em; line-height: 1.15; margin-bottom: .15em; color: var(--peach); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45em; padding: .35em .9em; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; backdrop-filter: blur(6px);
}
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--apricot)); }

.page-hero { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4.5rem, 10vw, 8rem); overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #f5c08e 0%, #e9a3a6 38%, #b8a6d8 72%, var(--cream) 100%); }
.page-hero .kicker { color: var(--plum); }
.page-hero .lead { color: #3c3f58; max-width: 44ch; }
@media (min-width: 721px) { .page-hero .wrap > * { max-width: min(100%, calc(100% - min(44vw, 520px))); } }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); }
.page-hero__sun {
  position: absolute; right: -6vw; top: 50%; transform: translateY(-50%); z-index: -1;
  width: min(48vw, 560px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 14px rgba(255,255,255,.45), 0 0 0 30px rgba(255,255,255,.2);
}
.page-hero__sun img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .page-hero__sun { opacity: .35; right: -30vw; width: 90vw; } }

/* ---------- boutons ---------- */
.btn {
  --bg: var(--apricot); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .9em 1.55em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1.02rem;
  box-shadow: 0 4px 14px -6px rgba(47,48,72,.35); transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(47,48,72,.4); filter: brightness(1.03); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: rgba(255,255,255,.6); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--plum); }
.btn--rose { --bg: var(--rose); }
.btn--night { --bg: var(--dusk); --fg: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.on-paper { background: var(--cream); }
.on-lav { background: var(--lav-50); }
.on-powder { background: var(--powder-50); }
.on-sand { background: var(--sand); }
.section-head { display: grid; gap: .8rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); max-width: 820px; }

.ridge { display: block; width: 100%; height: clamp(40px, 6vw, 80px); margin-top: -1px; }

/* ---------- intro asso ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.intro-art { position: relative; }
.intro-art .arch {
  border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 4/5;
  border: 8px solid var(--paper); box-shadow: var(--shadow), 18px 18px 0 var(--peach);
}
.intro-art .arch img { width: 100%; height: 100%; object-fit: cover; }
.intro-art .stamp {
  position: absolute; left: -22px; bottom: 40px; width: 124px; height: 124px; border-radius: 50%;
  background: var(--paper); color: var(--plum); display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .9; font-size: 1.05rem;
  transform: rotate(-10deg); border: 2px dashed var(--lilac); box-shadow: var(--shadow);
}
.intro-art .stamp b { display: block; font-size: 2.1rem; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.fact { border-top: 2px solid var(--line); padding-top: .7rem; }
.fact b { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; display: block; color: var(--terracotta); font-weight: 700; }
.fact span { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-art { max-width: 420px; margin: 0 auto; }
  .intro-art .stamp { left: -8px; }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- activités ---------- */
.activities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.act {
  --c: var(--apricot);
  position: relative; padding: 1.6rem 1.4rem 1.4rem; border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; min-height: 360px; transition: transform .25s;
}
.act:hover { transform: translateY(-5px); }
.act::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c); }
.act__num { font-family: var(--f-display); font-weight: 700; font-size: 4.2rem; line-height: .8; color: var(--c); margin-bottom: 1rem; }
.act p { color: var(--ink-soft); font-size: .97rem; }
.act ul { list-style: none; padding: 0; margin: auto 0 1.2rem; font-size: .92rem; color: var(--ink-soft); }
.act li { padding: .35rem 0; border-top: 1px dashed var(--line); display: flex; gap: .5rem; }
.act li::before { content: "●"; color: var(--c); font-size: .7em; line-height: 2.1; }
.act .act__cta { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.act .act__cta:hover { color: var(--terracotta); }
.act__icon { position: absolute; right: 1rem; top: 1.3rem; width: 56px; height: 56px; padding: 10px; border-radius: 50%; background: color-mix(in srgb, var(--c) 35%, white); color: var(--dusk); }
@media (max-width: 1040px) { .activities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .activities { grid-template-columns: 1fr; } .act { min-height: 0; } }

/* ---------- navette (bloc détaillé) ---------- */
.navette { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.navette__card { background: var(--paper); border-radius: 26px; box-shadow: var(--shadow); padding: 1.8rem; position: relative; overflow: hidden; }
.navette__van { width: 100%; max-width: 420px; margin: 0 auto 1rem; display: block; }
.navette__steps { display: grid; gap: .8rem; counter-reset: n; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.navette__steps li { counter-increment: n; display: grid; grid-template-columns: 38px 1fr; gap: .8rem; align-items: start; }
.navette__steps li::before { content: counter(n); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--butter); font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.price-pair { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.price-pair div { flex: 1 1 140px; padding: .9rem 1rem; border-radius: 14px; background: var(--lav-50); }
.price-pair div:first-child { background: color-mix(in srgb, var(--sage) 45%, white); }
.price-pair b { display: block; font-family: var(--f-display); font-size: 1.8rem; line-height: 1; }
.price-pair small { color: var(--ink-soft); }
@media (max-width: 860px) { .navette { grid-template-columns: 1fr; } }

/* ---------- chantier Tuchan ---------- */
.chantier { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: .9rem; }
.chantier figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: var(--line); }
.chantier img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.chantier figure:hover img { transform: scale(1.04); }
.chantier figcaption {
  position: absolute; left: .7rem; bottom: .7rem; right: .7rem; width: fit-content; max-width: calc(100% - 1.4rem);
  background: rgba(38,48,74,.78); color: #fff; font-size: .82rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.chantier__big { grid-row: span 2; }
.chantier__tall { grid-column: 3; grid-row: 1 / span 2; }
.chantier figure:nth-child(2) { grid-column: 2; grid-row: 1; }
.chantier figure:nth-child(3) { grid-column: 2; grid-row: 2; }
.chantier figure:nth-child(4) { display: none; }
@media (min-width: 1000px) {
  .chantier { grid-template-columns: 1.8fr 1fr 1fr .8fr; }
  .chantier figure:nth-child(4) { display: block; grid-column: 3; grid-row: 1 / span 2; }
  .chantier__tall { grid-column: 4; }
}
@media (max-width: 700px) {
  .chantier { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .chantier__big { grid-column: 1 / -1; grid-row: 1; }
  .chantier figure:nth-child(2) { grid-column: 1; grid-row: 2; }
  .chantier figure:nth-child(3) { grid-column: 2; grid-row: 2; }
  .chantier figure:nth-child(4) { display: block; grid-column: 1; grid-row: 3; }
  .chantier__tall { grid-column: 2; grid-row: 3; }
}
.chantier__cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.2rem; margin-top: 1.6rem; }
@media (max-width: 800px) { .chantier__cols { grid-template-columns: 1fr; } }
.chantier__card { background: var(--paper); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.chantier__card--next { background: linear-gradient(150deg, var(--paper) 0%, color-mix(in srgb, var(--peach) 40%, white) 100%); }
.chantier__card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; }
.chantier__card .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.checks, .todo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--ink-soft); }
.checks li, .todo-list li { position: relative; padding-left: 1.8rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--sage); color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.todo-list li::before { content: ""; position: absolute; left: .25rem; top: .45rem; width: .8rem; height: .8rem; border-radius: 50%; border: 2.5px solid var(--apricot); }

/* ---------- déroulé / planning ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 1.5rem 0 0; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.9rem;
  margin-bottom: 1.2rem; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--powder-50), 0 0 0 7px var(--powder);
}
.steps::before { content: ""; position: absolute; top: 30px; left: 30px; right: 10%; border-top: 2px dashed var(--powder); }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { top: 30px; bottom: 30px; left: 30px; right: auto; border-top: 0; border-left: 2px dashed var(--powder); }
  .step { padding-left: 86px; }
  .step::before { position: absolute; left: 0; top: 0; }
}
.notice {
  display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.2rem; padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
}
.notice svg { flex: none; width: 26px; height: 26px; color: var(--plum); }
.notice a { color: var(--terracotta); }

/* ---------- formulaires ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: linear-gradient(160deg, var(--dusk) 0%, var(--dusk-2) 100%); color: #f4f1fa; border-radius: var(--radius); padding: 1.8rem; position: relative; overflow: hidden; }
.contact-card h3 { color: var(--peach); }
.contact-line { display: flex; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line svg { width: 24px; height: 24px; color: var(--peach); flex: none; }
.contact-line b { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.2rem; font-weight: 700; }
.contact-line small { color: #c9c6dc; word-break: break-all; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem;
  background: var(--paper); color: var(--ink); padding: clamp(1.3rem, 3vw, 2.2rem); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; align-content: start; }
.field label, .form legend { font-weight: 700; font-size: .88rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--cream); border-radius: 12px; padding: .72rem .9rem; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: #fff; }
.field input:user-invalid, .field select:user-invalid { border-color: var(--terracotta); }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.pills legend { margin-bottom: .5rem; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; transition: all .15s; background: var(--cream);
}
.pill span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--apricot)); }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:focus-visible + span { outline: 3px solid var(--plum); outline-offset: 2px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.check input { margin-top: .3rem; accent-color: var(--plum); width: 18px; height: 18px; flex: none; }
.form-status { grid-column: 1 / -1; font-weight: 600; padding: .8rem 1rem; border-radius: 12px; display: none; }
.form-status.ok { display: block; background: #e7f2df; color: #3d6229; }
.form-status.err { display: block; background: #f8e3dc; color: #8a3a22; }
.hp { position: absolute; left: -9999px; }
.form-sub { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; padding: 1rem; border-radius: 14px; background: var(--lav-50); }
@media (max-width: 560px) { .form-sub { grid-template-columns: 1fr; } }

/* ---------- bandeau instagram ---------- */
.social-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.social-strip a { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; display: block; background: var(--paper); }
.social-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.social-strip a:hover img { transform: scale(1.06); }
@media (max-width: 640px) { .social-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- pied de page ---------- */
.site-footer { background: var(--dusk); padding: 4rem 0 2rem; color: #d6d3e6; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .12em; color: var(--peach); margin: 0 0 .9rem; font-size: 1.05rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 1rem; box-shadow: 0 0 0 3px rgba(255,255,255,.2); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); }
.socials a:hover { border-color: var(--peach); color: var(--peach); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: #aeaac6; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- SITES : Balise Watch ---------- */
.balise-cta {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; margin-bottom: 2rem;
  padding: 1.2rem 1.5rem; border-radius: 24px; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.balise-cta:hover { transform: translateY(-3px); border-color: var(--apricot); }
.balise-cta__logo { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.balise-cta__logo img { width: 72px; height: 72px; border-radius: 20px; position: relative; z-index: 1; box-shadow: 0 8px 20px -8px rgba(47,48,72,.4); }
.balise-cta__logo i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--apricot); opacity: 0; animation: radar 2.6s ease-out infinite; }
.balise-cta__logo i:nth-child(2) { animation-delay: .87s; }
.balise-cta__logo i:nth-child(3) { animation-delay: 1.74s; }
@keyframes radar { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
.balise-cta b { display: block; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 2.1rem; line-height: 1; margin: .2rem 0; }
.balise-cta small { color: var(--ink-soft); }
@media (max-width: 640px) { .balise-cta { grid-template-columns: auto 1fr; } .balise-cta .btn { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .balise-cta__logo i { animation: none; } }
.live-dot { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--sage-d, #5f8a4c); }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8fbf6e; box-shadow: 0 0 0 0 rgba(143,191,110,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(143,191,110,0); } }

/* ---------- SITES : onglets & fiches ---------- */
.site-tabs { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.site-tab {
  --c: var(--apricot);
  flex: 1 1 200px; text-align: left; padding: 1rem 1.2rem; border-radius: var(--radius); cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line); transition: all .2s; position: relative; overflow: hidden;
}
.site-tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.site-tab b { display: block; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.site-tab small { color: var(--ink-soft); }
.site-tab[aria-selected="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 22%, white); }
.site-tab:hover { border-color: var(--c); }

.site-panel[hidden] { display: none; }
.site-panel { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.5rem; align-items: start; }
@media (max-width: 960px) { .site-panel { grid-template-columns: 1fr; } }
.site-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.site-card__img { aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--lav-50); }
.site-card__img img { width: 100%; height: 100%; object-fit: cover; }
.site-card__img .alt-badge {
  position: absolute; right: 1rem; bottom: 1rem; background: rgba(255,255,255,.85); color: var(--ink); border-radius: 999px; padding: .25rem .9rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; backdrop-filter: blur(4px);
}
.site-card__body { padding: 1.5rem; }
.site-card__body h2 { font-size: clamp(2.1rem, 4.6vw, 3rem); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1rem; margin: 1rem 0 1.2rem; }
.spec div { padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.spec dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.spec dd { margin: 0; font-weight: 600; }
.todo { background: #fbf0c9; border-radius: 6px; padding: 0 .35em; font-size: .85em; font-weight: 600; color: #7a5a00; }

.meteo-box { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.meteo-box__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.meteo-box__head h3 { margin: 0; font-size: 1.4rem; }
.meteo-box__head a { font-size: .85rem; font-weight: 700; color: var(--plum); }
.meteo-frame { position: relative; height: clamp(460px, 70vh, 640px); background: var(--lav-50); }
.meteo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.meteo-frame .loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.tool {
  --c: var(--powder);
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: 16px;
  background: var(--paper); border: 1.5px solid var(--line); text-decoration: none; transition: all .2s;
}
.tool:hover { border-color: var(--c); transform: translateY(-2px); }
.tool__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--c); color: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; overflow: hidden; }
.tool__ico img { width: 100%; height: 100%; object-fit: cover; }
.tool b { display: block; line-height: 1.2; }
.tool small { color: var(--ink-soft); font-size: .8rem; line-height: 1.3; display: block; }
.tool .arrow { color: var(--plum); }
.tools-title { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; font-size: 1rem; color: var(--plum); margin: 2rem 0 .8rem; display: flex; gap: .6rem; align-items: center; }
.tools-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.map-overview { position: relative; background: var(--paper); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.map-overview svg { width: 100%; height: auto; display: block; }

/* ---------- ADHÉSION ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.plan {
  --c: var(--apricot);
  position: relative; background: var(--paper); border-radius: 26px; padding: 2.1rem 1.6rem 1.6rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow); border-top: 8px solid var(--c); transition: transform .2s;
}
.plan:hover { transform: translateY(-4px); }
.plan__tag { position: absolute; top: -18px; left: 1.4rem; background: var(--c); color: var(--ink); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: .22rem .9rem; border-radius: 999px; font-size: .92rem; }
.plan h3 { font-size: 2.1rem; margin-top: .4rem; }
.plan__price { font-family: var(--f-display); font-weight: 700; font-size: 3.6rem; line-height: 1; display: flex; align-items: baseline; gap: .3rem; margin: .4rem 0 .4rem; }
.plan__price small { font-family: var(--f-body); font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.plan > p { color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: .5rem 0 1.6rem; display: grid; gap: .55rem; }
.plan li { position: relative; padding-left: 30px; font-size: .96rem; }
.plan li svg { position: absolute; left: 0; top: .2rem; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--c) 45%, white); color: var(--ink); }
.plan .btn { margin-top: auto; }
.plan--featured { background: linear-gradient(180deg, color-mix(in srgb, var(--apricot) 14%, white), var(--paper)); }

.goodie {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; margin-top: 3rem; padding: 1.4rem 1.6rem;
  border-radius: var(--radius); background: var(--lav-50);
}
.goodie img { width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 0 0 4px #fff; }
.goodie a { color: var(--terracotta); }
@media (max-width: 520px) { .goodie { grid-template-columns: 1fr; text-align: center; } .goodie img { margin: 0 auto; } }

.faq details { border-top: 1.5px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--plum); font-size: 2rem; line-height: .8; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--ink-soft); max-width: 70ch; }

/* ---------- BOUTIQUE ---------- */
.shop-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 700; color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem; }
.product { display: flex; flex-direction: column; }
.product__visual {
  --bg: var(--lav-50);
  position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--bg);
  display: grid; place-items: center; isolation: isolate;
}
.product__visual .tee { width: 72%; filter: drop-shadow(0 16px 18px rgba(47,48,72,.18)); transition: transform .35s; }
.product:hover .tee { transform: translateY(-5px) rotate(-2deg); }
.product__visual .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .5s; }
.product:hover .product__visual .ph { transform: scale(1.05); }
.product__badge { position: absolute; top: .9rem; left: .9rem; background: #fff; color: var(--ink); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; padding: .25rem .7rem; border-radius: 999px; }
.product__body { padding: 1rem .2rem 0; display: flex; flex-direction: column; flex: 1; }
.product__body h3 { font-size: 1.55rem; margin-bottom: .2rem; }
.product__body p { color: var(--ink-soft); font-size: .92rem; margin-bottom: .8rem; }
.product__row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; flex-wrap: wrap; }
.price { font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; }
.size-select { border: 1.5px solid var(--line); border-radius: 10px; padding: .4rem .5rem; background: #fff; color: var(--ink); }
.add-btn { padding: .7em 1.1em; font-size: .95rem; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(47, 48, 72, .35); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); color: var(--ink); z-index: 90;
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: -20px 0 60px rgba(47,48,72,.25);
}
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1.5px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 2.1rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.line__thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--lav-50); overflow: hidden; display: grid; place-items: center; }
.line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.line b { display: block; line-height: 1.2; }
.line small { color: var(--ink-soft); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; margin-top: .35rem; background: #fff; }
.qty button { width: 30px; height: 28px; border: 0; background: none; cursor: pointer; font-weight: 800; color: var(--ink); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.line__price { font-weight: 800; text-align: right; }
.line__remove { display: block; border: 0; background: none; color: var(--terracotta); font-size: .78rem; cursor: pointer; text-decoration: underline; margin-top: .3rem; margin-left: auto; }
.drawer__empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.drawer__empty img { width: 110px; margin: 0 auto 1rem; border-radius: 50%; opacity: .9; }
.drawer__foot { padding: 1.2rem 1.4rem 1.6rem; border-top: 1.5px solid var(--line); background: var(--paper); }
.totals { display: grid; gap: .3rem; margin-bottom: 1rem; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; }
.delivery { display: grid; gap: .4rem; margin-bottom: 1rem; }
.delivery label { display: flex; gap: .6rem; align-items: center; font-size: .92rem; cursor: pointer; }
.delivery input { accent-color: var(--plum); }
.secure { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .78rem; color: var(--ink-soft); margin-top: .8rem; }
.secure svg { width: 16px; height: 16px; }

.modal { border: 0; border-radius: 22px; padding: 0; max-width: min(520px, calc(100% - 32px)); width: 100%; background: var(--cream); color: var(--ink); }
.modal::backdrop { background: rgba(47,48,72,.45); }
.modal__body { padding: 1.8rem; }
.modal__body h2 { font-size: 2.3rem; }
.modal .form { box-shadow: none; padding: 0; background: transparent; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 150%); background: var(--dusk); color: #fff;
  padding: .8rem 1.2rem; border-radius: 999px; z-index: 120; font-weight: 600; display: flex; gap: .6rem; align-items: center;
  box-shadow: 0 10px 30px rgba(47,48,72,.3); transition: transform .35s cubic-bezier(.2,.8,.2,1); max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- MENTIONS ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.legal nav { position: sticky; top: 100px; display: grid; gap: .3rem; }
.legal nav a { text-decoration: none; padding: .45rem .8rem; border-left: 3px solid var(--line); font-weight: 600; color: var(--ink-soft); }
.legal nav a:hover { border-color: var(--apricot); color: var(--ink); }
.legal article h2 { font-size: 2.3rem; margin-top: 2.4rem; scroll-margin-top: 100px; }
.legal article h2:first-child { margin-top: 0; }
.legal article p, .legal article li { color: var(--ink-soft); }
.legal article a { color: var(--plum); }
.legal dl { display: grid; grid-template-columns: 200px 1fr; gap: 0; margin: 0 0 1rem; border-top: 1.5px solid var(--ink); }
.legal dl dt, .legal dl dd { padding: .7rem 0; border-bottom: 1px dashed var(--line); margin: 0; }
.legal dl dt { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal nav { position: static; } }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dl dt { border-bottom: 0; padding-bottom: 0; } }
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; margin: 1rem 0; }
.link-card { display: flex; gap: .8rem; align-items: center; padding: 1rem; border-radius: 14px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink) !important; background: var(--paper); transition: transform .15s, border-color .15s; }
.link-card:hover { transform: translateY(-2px); border-color: var(--apricot); }
.link-card svg { width: 24px; height: 24px; flex: none; color: var(--plum); }
.link-card small { display: block; color: var(--ink-soft); word-break: break-all; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
