/* ConsultIng – bordeaux & blanc */
:root {
  --wine: #5b0f1b;
  --wine-deep: #3a0910;
  --wine-soft: #7a2230;
  --rose: #f1c4cb;
  --white: #ffffff;
  --blush: #f6edee;
  --ink: #2b1519;
  --ink-soft: #5c4549;
  --line: rgba(91, 15, 27, 0.18);
  --line-light: rgba(255, 255, 255, 0.28);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--wine); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 52rem; }

/* Wordmark: le I est la signature */
.i { font-weight: 700; color: #f1c4cb; }

/* Boutons */
.btn {
  display: inline-block;
  font: 600 1rem/1 var(--sans);
  padding: 1.05rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-light { background: var(--white); color: var(--wine); }
.btn-light:hover { background: var(--blush); }
.btn-outline { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn-outline:hover { background: var(--wine); color: var(--white); }
.btn-small { padding: .75rem 1.1rem; font-size: .9375rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem var(--gutter);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s, padding .3s;
}
.site-header.stuck { background: rgba(58, 9, 16, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); padding-top: .8rem; padding-bottom: .8rem; }
.brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: inherit; text-decoration: none; }
.nav { display: flex; gap: 2rem; margin-left: auto; }
.nav a { color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* Hero */
.hero {
  --mx: 70%; --my: 40%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(1rem, 4vw, 4rem);
  min-height: 100vh; min-height: 100svh;
  padding: 7rem var(--gutter) 0;
  background: var(--wine);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40rem circle at var(--mx) var(--my), rgba(177, 73, 91, .38), transparent 62%);
}
.hero-copy { position: relative; align-self: center; max-width: 38rem; padding-bottom: 2rem; }
.hero h1 { font-size: clamp(3rem, 6.6vw, 6.2rem); font-weight: 500; line-height: 1.02; margin-bottom: 1.8rem; }
.hero h1 .line { display: block; }
.hero-sub { font-size: 1.125rem; max-width: 33rem; color: rgba(255, 255, 255, .9); margin-bottom: 2rem; }
.hero-slogan {
  grid-column: 1 / -1; position: relative;
  max-width: none; margin: 0; padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--line-light);
  font-size: 1.05rem; color: rgba(255, 255, 255, .82);
}

/* Scène 3D */
.stage { position: relative; min-height: 30rem; margin-right: calc(var(--gutter) * -1); }
.stage canvas { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.stage.ready canvas { opacity: 1; }
.stage-caption { position: absolute; left: 0; bottom: 1.2rem; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: rgba(255, 255, 255, .8); }
.stage-fallback { display: none; position: absolute; inset: 0; place-items: center; font-family: var(--serif); font-weight: 700; font-size: clamp(12rem, 28vw, 22rem); color: #f1c4cb; }
.stage.no-webgl .stage-fallback { display: grid; }

/* Bande défilante */
.band { overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.band-track { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); width: max-content; padding: clamp(1.4rem, 3vw, 2.4rem) 0; will-change: transform; }
.band-track span { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1; color: var(--wine); white-space: nowrap; }
.band-track svg { flex: none; width: clamp(3.5rem, 8vw, 7rem); fill: none; stroke: var(--wine-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 22ch; margin-bottom: 3rem; }
.section-intro { max-width: 40rem; color: var(--ink-soft); margin: -1.5rem 0 3rem; }

/* Manifeste */
.manifeste h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 2.5rem; color: var(--wine); }
.manifeste-text { font-size: 1.15rem; max-width: 40rem; }
.manifeste-text .lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--wine); margin-top: 1.8rem; }

/* Piliers */
.piliers { background: var(--blush); }
.piliers-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.piliers-grid article { padding: 0 clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.piliers-grid article:first-child { padding-left: 0; border-left: 0; }
.piliers-grid article:last-child { padding-right: 0; }
.icon { width: 3rem; height: 3rem; fill: none; stroke: var(--wine); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.5rem; }
.piliers h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.metaphor { font-family: var(--serif); font-style: italic; color: var(--wine-soft); margin-bottom: 1.2rem; font-size: 1.1rem; }
.piliers-grid p:last-child { margin: 0; color: var(--ink-soft); }

/* À propos */
.apropos-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.portrait { margin: 0; position: sticky; top: 5.5rem; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-bottom: 10px solid var(--wine); }
.apropos h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--wine); margin-bottom: 1.8rem; }
.apropos-text { max-width: 40rem; }
.apropos-text .lead { font-family: var(--serif); font-size: 1.4rem; line-height: 1.45; }
.apropos-text .closing { font-family: var(--serif); font-size: 1.3rem; color: var(--wine); border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; }

/* Tarifs */
.tarifs { background: var(--blush); }
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.formule {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  padding: 2.2rem 2rem 2rem;
}
.formule h3 { font-size: 1.8rem; }
.formule .sub { color: var(--wine-soft); font-weight: 500; margin: .35rem 0 1.2rem; }
.formule .who { font-size: .98rem; color: var(--ink-soft); }
.formule ul { margin: .4rem 0 1.5rem; }
.formule li { position: relative; padding-left: 1.2rem; margin-bottom: .6rem; font-size: .98rem; }
.formule li::before { content: ""; position: absolute; left: 0; top: .72em; width: .5rem; height: 2px; background: var(--wine); }
.formule dl { margin: auto 0 1.6rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.formule dl > div { margin-bottom: .9rem; }
.formule dt { font-size: .875rem; color: var(--ink-soft); }
.formule dd { margin: 0; font-weight: 500; }
.formule dd.price { font-family: var(--serif); font-size: 1.35rem; color: var(--wine); }
.formule dd.note { font-size: .875rem; color: var(--ink-soft); font-weight: 400; }

.formule.featured { background: var(--wine); color: var(--white); border-color: var(--wine); }
.formule.featured .sub, .formule.featured .who, .formule.featured dt, .formule.featured dd.note { color: rgba(255, 255, 255, .8); }
.formule.featured li::before { background: var(--white); }
.formule.featured dl { border-color: var(--line-light); }
.formule.featured dd.price { color: var(--white); }
.badge { align-self: flex-start; margin: 0 0 1rem; padding: .3rem .7rem; background: var(--white); color: var(--wine); font-size: .85rem; font-weight: 600; }

/* Contact */
.contact { background: var(--wine); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: 1.5rem; }
.contact-grid > div p { color: rgba(255, 255, 255, .85); max-width: 30rem; }
.form { display: flex; flex-direction: column; gap: .45rem; }
.form label { font-weight: 500; font-size: .95rem; margin-top: .7rem; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid transparent; border-radius: 2px; padding: .8rem .9rem; width: 100%;
}
.form textarea { resize: vertical; }
.form .btn { margin-top: 1.4rem; align-self: flex-start; }
.form-error { margin: .8rem 0 0; padding: .7rem .9rem; background: var(--wine-deep); border-left: 4px solid var(--white); }

.contact-links { display: grid; gap: .8rem; margin: 2rem 0 0; max-width: 26rem; }
.contact-links a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; color: var(--white); text-decoration: none; border: 1px solid var(--line-light); border-radius: 2px; transition: background-color .2s, border-color .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.contact-links a:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); transform: translateX(6px); }
.contact-links svg { flex: none; width: 1.8rem; height: 1.8rem; fill: none; stroke: #f1c4cb; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-links span { display: flex; flex-direction: column; font-weight: 600; line-height: 1.3; }
.contact-links small { font-weight: 400; font-size: .9rem; color: rgba(255, 255, 255, .8); }

/* Footer */
.foot-links { display: flex; gap: 1.4rem; margin-left: auto; }
.foot-links a { color: var(--white); text-underline-offset: 4px; }
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem;
  padding: 2rem var(--gutter); background: var(--wine-deep); color: rgba(255, 255, 255, .85);
}
.site-footer p { margin: 0; font-size: .95rem; }
.site-footer .legal { flex-basis: 100%; font-size: .85rem; opacity: .8; }
.site-footer .brand { color: var(--white); }


/* Mouvement */
.js .hero h1 .line > span { display: inline-block; transform: translateY(110%); }
.js .hero h1 .line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hero-sub, .js .hero-copy .btn { opacity: 0; translate: 0 18px; }
.js.loaded .hero h1 .line > span { transform: none; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.js.loaded .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.js.loaded .hero h1 .line:nth-child(3) > span { transition-delay: .24s; }
.js.loaded .hero-sub, .js.loaded .hero-copy .btn { opacity: 1; translate: 0 0; transition: opacity .9s .7s, translate .9s .7s cubic-bezier(.2, .8, .2, 1), background-color .2s, color .2s; }

.js [data-reveal] { opacity: 0; translate: 0 36px; transition: opacity .9s var(--d, 0s), translate .9s var(--d, 0s) cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* Inclinaison 3D des cartes */
[data-tilt] { position: relative; transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--glare, 0); transition: opacity .35s; background: radial-gradient(22rem circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 60%); }
.formule:not(.featured)::after { background: radial-gradient(22rem circle at var(--gx, 50%) var(--gy, 50%), rgba(177, 73, 91, .14), transparent 60%); }
[data-tilt].tilting { transition: transform .08s linear; }
.formule { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.formule:hover { box-shadow: 0 30px 50px -28px rgba(58, 9, 16, .55); }
.portrait::after { display: none; }

/* Icônes des piliers : rotation 3D au survol */
.piliers-grid article { perspective: 600px; }
.icon { transition: transform .8s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.piliers-grid article:hover .icon { transform: rotateY(360deg); }

.magnetic { transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .2s, color .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero h1 .line > span { transform: none; }
  .js .hero-sub, .js .hero-copy .btn, .js [data-reveal] { opacity: 1; translate: 0 0; }
  [data-tilt], .icon { transition: none; }
}

/* Tablette et mobile */
@media (max-width: 62rem) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .contact-grid, .apropos-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: 6rem; }
  .hero-copy { padding-bottom: 0; }
  .stage { min-height: 24rem; margin: 0 calc(var(--gutter) * -1); }
  .stage-caption { left: var(--gutter); }
  .portrait { position: static; max-width: 26rem; }
  .formules { grid-template-columns: 1fr; max-width: 34rem; }
  .piliers-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .piliers-grid article, .piliers-grid article:first-child, .piliers-grid article:last-child { padding: 2rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .piliers-grid article:first-child { border-top: 0; padding-top: 0; }
}
@media (max-width: 30rem) {
  .brand { font-size: 1.3rem; }
  .btn-small { padding: .65rem .85rem; font-size: .875rem; }
  .site-footer .legal, .foot-links { margin-left: 0; }
}

/* ---------- Vidéo d'introduction ---------- */
.video { background: var(--wine-deep); color: var(--white); padding: clamp(3rem, 6vw, 5rem) 0; }
.video h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 2rem; max-width: 24ch; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 14px 14px 0 var(--wine-soft); }
.player video, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }

/* ---------- Autodiagnostic ---------- */
.outils { background: var(--white); }
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; border-bottom: 2px solid var(--wine); }
.tab { font: 600 1rem/1 var(--sans); padding: 1rem 1.5rem; background: transparent; color: var(--wine); border: 0; cursor: pointer; }
.tab:hover { background: var(--blush); }
.tab[aria-selected="true"] { background: var(--wine); color: var(--white); }
.panel { padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--blush); }
.panel[hidden] { display: none; }
.panel-head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; margin-bottom: 2rem; }
.panel-head h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.panel-head p { margin: 0; color: var(--ink-soft); max-width: 40rem; }
.seg { display: inline-flex; border: 1.5px solid var(--wine); }
.seg button { font: 600 .9rem/1 var(--sans); padding: .6rem 1rem; background: transparent; color: var(--wine); border: 0; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--wine); color: var(--white); }

.bfr-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.slider { background: var(--white); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.s-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .7rem; }
.s-top label { font-weight: 600; }
.s-top output { font: 600 1.05rem var(--serif); color: var(--wine); white-space: nowrap; }
.slider input[type="range"] { width: 100%; accent-color: var(--wine); height: 1.6rem; cursor: pointer; }
.slider p { margin: .3rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.s-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-soft); }
.formula { font-size: .9rem; color: var(--ink-soft); font-style: italic; margin: 1rem 0 0; }

.result { background: var(--wine-deep); color: var(--white); padding: 1.8rem; position: sticky; top: 5.5rem; }
.r-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-size: .95rem; color: rgba(255,255,255,.8); margin-bottom: 1.2rem; }
.badge-state { padding: .3rem .7rem; font-weight: 600; font-size: .85rem; border: 1.5px solid currentColor; }
[data-state="good"] { --st: #7ed3a9; } [data-state="warn"] { --st: #f2c26b; } [data-state="bad"] { --st: #ff9a8f; }
.badge-state { color: var(--st); }
.r-label { margin: 0; font-size: .95rem; color: rgba(255,255,255,.75); }
.r-days { font: 500 2.3rem/1.1 var(--serif); margin: .2rem 0; }
.r-cash { font: 600 1.35rem var(--serif); color: var(--rose); margin: 0; }
.r-note { font-size: .9rem; color: rgba(255,255,255,.7); margin: .5rem 0 1.4rem; }
.gauge-wrap .g-top { display: flex; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: .4rem; }
.gauge { height: .7rem; background: rgba(255,255,255,.15); overflow: hidden; }
.gauge > div { height: 100%; background: var(--st, var(--rose)); transition: width .5s ease, background-color .3s; }
.rx-box { margin: 1.4rem 0; padding: 1rem 1.2rem; border-left: 3px solid var(--rose); background: rgba(255,255,255,.07); }
.rx-box h4 { font: 600 1rem var(--serif); margin-bottom: .4rem; color: var(--rose); }
.rx-box p { margin: 0; font-size: .95rem; line-height: 1.55; }

.q-progress { text-align: right; font-weight: 600; color: var(--wine); font-size: .9rem; }
.gauge.small { width: 9rem; margin: .4rem 0 0 auto; background: rgba(91,15,27,.15); }
.gauge.small > div { background: var(--wine); }
.q-title { font: 500 1.5rem/1.3 var(--serif); margin-bottom: 1.3rem; max-width: 46rem; }
.q-options { display: grid; gap: .8rem; max-width: 48rem; }
.q-opt { display: flex; gap: 1rem; align-items: flex-start; text-align: left; font: 500 1rem/1.5 var(--sans); padding: 1.1rem 1.3rem; background: var(--white); color: var(--ink); border: 1.5px solid transparent; cursor: pointer; transition: border-color .2s, transform .2s; }
.q-opt:hover { border-color: var(--wine); transform: translateX(4px); }
.q-key { flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; font: 600 .9rem var(--serif); color: var(--wine); border: 1.5px solid var(--wine); }
.score-head { text-align: center; max-width: 40rem; margin: 0 auto 2.2rem; }
.score { display: inline-grid; place-items: center; width: 7rem; height: 7rem; background: var(--wine); color: var(--white); font: 500 1.9rem var(--serif); margin-bottom: 1rem; border-radius: 50%; }
.score-head h3 { font-size: 1.8rem; }
.score-head p { color: var(--ink-soft); margin: .6rem 0 0; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.res-card { background: var(--white); padding: 1.6rem; }
.res-card.dark { background: var(--wine-deep); color: var(--white); display: flex; flex-direction: column; }
.res-card h4 { font: 600 1.15rem var(--serif); margin-bottom: 1rem; color: var(--wine); }
.res-card.dark h4 { color: var(--rose); }
.findings { display: grid; gap: .5rem; }
.findings li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; font-weight: 500; border-left: 4px solid; }
.findings li.ok { background: #eaf6ef; color: #1f5c40; border-color: #2f7d5b; }
.findings li.ko { background: #fbeceb; color: #8a2a21; border-color: #c0392b; }
.findings b { font-weight: 600; font-size: .85rem; }
.presc { display: grid; gap: .8rem; margin-bottom: 1.6rem; }
.presc li { position: relative; padding-left: 1.2rem; line-height: 1.55; }
.presc li::before { content: ""; position: absolute; left: 0; top: .7em; width: .5rem; height: 2px; background: var(--rose); }
.res-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- L'Œil de la Consultante ---------- */
.apropos { background: var(--blush); }
.oeil { background: var(--white); }
.feed-fallback { padding: 2.4rem; border: 1.5px dashed var(--line); text-align: center; }
.feed-fallback p { font: 400 1.3rem/1.4 var(--serif); color: var(--wine); margin-bottom: 1.4rem; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.posts iframe { width: 100%; border: 1px solid var(--line); background: #fff; }

/* ---------- Formulaire ---------- */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.row2 > div { display: flex; flex-direction: column; gap: .45rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form select:invalid { color: #6b5559; }
.form-error a { color: var(--white); }
.form-ok { padding: 2rem; background: var(--white); color: var(--ink); border-top: 5px solid var(--rose); }
.form-ok:focus-visible { outline-offset: 4px; }
.form-ok svg { width: 3rem; height: 3rem; fill: none; stroke: var(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.form-ok p { margin: 0; font: 400 1.3rem/1.5 var(--serif); color: var(--wine); }
.btn[disabled] { opacity: .65; cursor: wait; }

@media (max-width: 62rem) {
  .bfr-grid, .res-grid, .posts { grid-template-columns: 1fr; }
  .result { position: static; }
  .player { box-shadow: 8px 8px 0 var(--wine-soft); }
}
@media (max-width: 40rem) {
  .row2 { grid-template-columns: 1fr; }
  .tab { flex: 1; padding: .9rem .8rem; font-size: .92rem; }
}

.form[hidden], .form-ok[hidden], .feed-fallback[hidden] { display: none; }
.findings li.mid { background: #fdf4e3; color: #7a5410; border-color: #c98a1b; }
.contact-grid .form-ok p { color: var(--wine); max-width: none; font-size: 1.3rem; line-height: 1.5; }
