/* FLAMARE Secrétariat — site vitrine
   Couleurs et polices issues de la charte graphique fournie par la cliente :
   brun café #4E3529 · taupe #937966 · sable #C4A377 · ivoire #F7F1E6 · blanc
   Cormorant Garamond (titres) · Montserrat (texte) · Parisienne (signature, une seule fois par visuel)
   Pas de doré, pas de bordeaux, pas de rose. */

/* Polices hébergées sur le site (aucun appel à Google Fonts : pas de transfert d'IP, conforme RGPD) */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Parisienne"; src: url("../fonts/parisienne.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ivory: #f7f1e6;
  --ivory-2: #efe5d3;
  --ivory-3: #e7dac4;
  --white: #ffffff;
  --brown: #4e3529;
  --brown-2: #634536;
  --espresso: #2c1e17;
  --taupe: #937966;
  --sand: #c4a377;
  --sand-ink: #93734a;       /* sable assombri pour le texte (contraste suffisant sur ivoire) */
  --line: rgba(196, 163, 119, .45);
  --line-soft: rgba(147, 121, 102, .18);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Parisienne", "Snell Roundhand", cursive;

  --shadow-sm: 0 1px 2px rgba(78, 53, 41, .06), 0 8px 24px -14px rgba(78, 53, 41, .25);
  --shadow: 0 2px 6px rgba(78, 53, 41, .05), 0 30px 60px -30px rgba(78, 53, 41, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: 20px;
  --r: 22px;
  --header: 72px;
  --demo: 0px;             /* hauteur du bandeau « maquette » (copie de démonstration uniquement) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + var(--demo) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--brown);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "lnum" 1; /* chiffres alignés (Cormorant utilise des chiffres elzéviriens par défaut) ; le raccourci font: ne réinitialise pas cette propriété */
  overflow-x: hidden;
}
/* Grain papier très léger : donne de la matière au fond ivoire */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .15 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 1; }
::selection { background: var(--ivory-3); color: var(--brown); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; color: var(--brown); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.center { display: flex; justify-content: center; margin-top: 40px; }
.muted { color: var(--taupe); font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brown); color: var(--ivory); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Mot mis en valeur : même famille, graisse légère, couleur sable */
em { font-style: normal; font-weight: 400; color: var(--sand-ink); }

.eyebrow {
  font: 600 .72rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .22em; color: var(--taupe);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sand); }
.eyebrow--light { color: var(--sand); }
.h2 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin-bottom: 20px; text-wrap: balance; }
.lead { font-size: 1.05rem; color: var(--brown-2); max-width: 60ch; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }

/* Titres centrés sur mobile */
@media (max-width: 1023px) {
  .section__head, .services__side, .faq__side, .contact__info > .eyebrow, .contact__info > .h2, .contact__info > .lead,
  .constat__copy > .eyebrow, .constat__copy > .h2, .about__copy > .eyebrow, .about__copy > .h2, .secret__copy > .eyebrow, .secret__copy > .h2 { text-align: center; }
  .section__head .lead, .services__side .lead, .faq__side .lead, .contact__info > .lead { margin-left: auto; margin-right: auto; }
  .eyebrow { display: flex; justify-content: center; text-align: center; }
  .eyebrow::before { display: none; }
}

/* ---------- Boutons : brun / ivoire, inversés au survol (charte) ---------- */
.btn {
  --bg: var(--brown); --fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--brown);
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 .92rem/1.2 var(--sans); letter-spacing: .02em; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { /* reflet qui balaie au survol */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transition: transform .8s var(--ease);
}
.btn:hover { background: var(--ivory); color: var(--brown); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:hover::after { transform: translateX(120%); }
.btn:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--brown); }
.btn--ghost:hover { background: var(--brown); color: var(--ivory); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .84rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: .98rem; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--sand-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Apparition au défilement ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(4px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ============ EN-TÊTE ============ */
.topbar {
  position: fixed; inset: var(--demo) 0 auto; z-index: 50; height: var(--header);
  background: rgba(247, 241, 230, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(78,53,41,.5); }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mono { width: 60px; height: auto; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__title { font: 600 1.32rem/1 var(--serif); letter-spacing: .2em; }
.brand__sub { font: 500 .58rem/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: var(--taupe); margin-top: 5px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-size: .84rem; font-weight: 500; text-decoration: none; padding: 8px 10px; white-space: nowrap; border-radius: 999px; position: relative; color: var(--brown-2); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { color: var(--brown); }
.nav__contact { display: none; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.topbar__tel span { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--brown); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (min-width: 1440px) { .topbar__tel span { display: inline; } }
@media (max-width: 1240px) {
  .nav {
    position: fixed; top: calc(var(--header) + var(--demo)); left: 0; right: 0; height: calc(100dvh - var(--header) - var(--demo));
    flex-direction: column; gap: 0; padding: 24px var(--gutter) 120px; background: var(--ivory);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font: 500 1.9rem/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; color: var(--brown); }
  .nav a::after { display: none; }
  .nav__contact { display: block; }
  .burger { display: block; }
  .topbar__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header: 64px; }
  .topbar__actions .btn:not(.topbar__tel) { display: none; }
  .brand__mono { width: 50px; }
  .brand__title { font-size: 1.15rem; }
}

/* ============ HERO ============ */
.hero { padding: calc(var(--header) + var(--demo) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 110px); position: relative; overflow: clip; }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(196,163,119,.38), rgba(196,163,119,0)); filter: blur(20px); animation: glow 14s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-8%, 10%) scale(1.1); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__title { font-size: clamp(2.7rem, 8.4vw, 5.2rem); font-weight: 600; line-height: .98; letter-spacing: -.02em; margin-bottom: 24px; text-wrap: balance; }
.hero__title em { display: inline; }
.hero__lead { font-size: 1.1rem; max-width: 52ch; color: var(--brown-2); }
.signature { font: 400 clamp(1.7rem, 4.6vw, 2.3rem)/1.2 var(--script); color: var(--sand-ink); margin: 18px 0 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 22px; }
.hero__proof li { flex: 1 1 0; min-width: 120px; padding-right: 18px; display: flex; flex-direction: column; }
.hero__proof li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__proof strong { font: 600 1.7rem/1.1 var(--serif); }
.hero__proof li > span { font-size: .8rem; color: var(--taupe); line-height: 1.4; }

@media (max-width: 1023px) {
  .hero__copy { text-align: center; }
  .hero__lead { margin: 0 auto; }
  .hero__ctas { justify-content: center; }
  .hero__proof li { padding: 0 10px; align-items: center; text-align: center; min-width: 0; }
  .hero__proof li + li { padding-left: 10px; }
}
@media (max-width: 420px) {
  .hero__ctas .btn { width: 100%; }
  .hero__proof strong { font-size: 1.4rem; }
}

/* Visuel : carte « bureau » qui traite les tâches */
.hero__visual { position: relative; max-width: 480px; width: 100%; margin: 0 auto; padding: 36px 0 54px; }
.desk {
  position: relative; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px; padding: 22px; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.desk::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, var(--sand), transparent 40%, transparent 60%, rgba(196,163,119,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.desk__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 8px; }
.desk__kicker { font: 600 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.desk__time { font: 600 2rem/1.1 var(--serif); display: flex; align-items: center; gap: 8px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.desk__time .ico { width: 20px; height: 20px; color: var(--sand); }
.desk__ring { position: relative; width: 56px; height: 56px; display: grid; place-items: center; }
.desk__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.desk__ring circle { fill: none; stroke-width: 3; }
.desk__ring-bg { stroke: var(--ivory-3); }
.desk__ring-fg { stroke: var(--brown); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset .8s var(--ease); }
.desk__ring span { font: 600 .78rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.desk__list li {
  display: grid; grid-template-columns: 40px minmax(0,1fr) 28px; gap: 12px; align-items: center;
  padding: 11px 8px; border-radius: 14px; transition: background .5s var(--ease), opacity .5s;
  opacity: .5;
}
.desk__list li.is-doing { background: var(--ivory); opacity: 1; }
.desk__list li.is-done { opacity: 1; }
.desk__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ivory-2); color: var(--brown); }
.desk__ico svg { width: 20px; height: 20px; }
.desk__txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.desk__txt b { font-weight: 600; font-size: .9rem; }
.desk__txt small { font-size: .76rem; color: var(--taupe); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk__state { width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed var(--sand); position: relative; }
.is-doing .desk__state { border-style: solid; border-color: var(--ivory-3); border-top-color: var(--brown); animation: spin .8s linear infinite; }
.is-done .desk__state { border: 0; background: var(--brown); animation: pop .5s var(--ease); }
.is-done .desk__state::after { content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px; border: solid var(--ivory); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.desk__foot { margin-top: 10px; font-size: .7rem; color: var(--taupe); text-align: center; letter-spacing: .04em; }
.hero__badge {
  position: absolute; left: -18px; bottom: 0; display: flex; align-items: center; gap: 12px;
  background: var(--brown); color: var(--ivory); padding: 8px 18px 8px 8px; border-radius: 999px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero__badge img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sand); }
.hero__badge span { display: flex; flex-direction: column; line-height: 1.25; }
.hero__badge b { font: 600 1.05rem/1.2 var(--serif); letter-spacing: .02em; }
.hero__badge small { font-size: .72rem; color: var(--ivory-3); }
.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 500;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.hero__chip .ico { color: var(--sand-ink); }
.hero__chip--a { top: 0; right: 4px; animation: float 7s ease-in-out infinite; }
.hero__chip--b { bottom: 8px; right: 0; animation: float 8s ease-in-out -2s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 560px) {
  .hero__visual { padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .desk { padding: 16px; width: 100%; }
  .hero__badge { position: relative; left: auto; bottom: auto; margin-top: -30px; animation: none; }
  .hero__chip { position: static; animation: none; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .hero__visual { margin: 0 0 0 auto; }
}

/* ============ BANDEAU DÉFILANT ============ */
.marquee { border-block: 1px solid var(--line); background: var(--white); overflow: hidden; padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); position: relative; z-index: 1; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font: 500 1.45rem/1 var(--serif); padding: 0 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 52px; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sand); margin-left: 0; position: relative; left: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ CONSTAT ============ */
.constat__grid { display: grid; gap: 56px; grid-template-columns: minmax(0,1fr); align-items: center; }
.constat__answer { display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; padding: 22px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-sm); border-left: 3px solid var(--sand); }
.constat__answer img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 520px) { .constat__answer { flex-direction: column; align-items: center; text-align: center; } }
.constat__answer p { font-size: .95rem; }
.constat__answer strong { font: 600 1.25rem/1.2 var(--serif); display: block; margin-bottom: 4px; }
.notifs { position: relative; max-width: 440px; width: 100%; margin: 0 auto; padding: 28px; border-radius: 32px;
  background: linear-gradient(160deg, var(--brown) 0%, var(--espresso) 100%); color: var(--ivory); box-shadow: var(--shadow); overflow: hidden; }
.notifs::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(closest-side, rgba(196,163,119,.35), transparent); }
.notifs__clock { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.notifs__clock #notifs-clock { font: 600 3.4rem/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--white); }
.notifs__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.notifs__list { position: relative; display: grid; gap: 10px; }
.notifs__list li {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.notifs.is-in .notifs__list li { opacity: 1; transform: none; transition-delay: calc(var(--i) * .45s + .2s); }
.notifs__ico { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: rgba(196,163,119,.2); color: var(--sand); }
.notifs__ico svg { width: 18px; height: 18px; }
.notifs__list b { display: block; font-weight: 600; font-size: .9rem; color: var(--white); }
.notifs__list small { font-size: .76rem; color: var(--ivory-3); opacity: .8; }
.notifs__note { position: relative; margin-top: 14px; font-size: .68rem; letter-spacing: .06em; color: var(--ivory-3); opacity: .55; text-align: right; }
@media (min-width: 1024px) { .constat__grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 80px; } }

/* ============ SERVICES : cartes empilées ============ */
.services { background: var(--white); }
.services__grid { display: grid; gap: 48px; grid-template-columns: minmax(0,1fr); }
.services__index { display: none; }
.services__cta { margin-top: 28px; }
.stack { display: grid; gap: 22px; }
.svc {
  position: sticky; top: calc(var(--header) + 16px + var(--i) * 10px);
  background: var(--ivory); border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 -10px 40px -24px rgba(78,53,41,.35);
  transform-origin: 50% 0; transform: scale(calc(1 - var(--depth, 0) * .06)); filter: brightness(calc(1 - var(--depth, 0) * .1));
  will-change: transform;
}
.svc__media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(44,30,23,.35)); }
.svc__pill { position: absolute; left: 16px; bottom: 14px; z-index: 1; font: 600 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--ivory); background: rgba(44,30,23,.45); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 999px; }
.svc__body { padding: 26px 24px 30px; }
.svc h3 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin-bottom: 8px; }
.svc__hook { color: var(--sand-ink); font-weight: 500; margin-bottom: 18px; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; font-size: .95rem; line-height: 1.55; }
@media (max-width: 1023px) {
  /* chaque carte doit tenir entre l'en-tête et la barre d'action mobile */
  .svc__media { aspect-ratio: 12 / 5; }
  .svc__body { padding: 20px 20px 22px; }
  .svc__hook { margin-bottom: 12px; font-size: .92rem; line-height: 1.45; }
  .svc .checks li { font-size: .88rem; line-height: 1.45; margin-bottom: 8px; }
}
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--brown); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--ivory); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
@media (min-width: 1200px) { /* sommaire collant + cartes : seulement quand la colonne des cartes est assez large */
  .services__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .services__side { position: sticky; top: calc(var(--header) + 40px); }
  .services__index { display: grid; gap: 2px; margin-top: 30px; counter-reset: s; }
  .services__index a { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; text-decoration: none; color: var(--taupe); border-bottom: 1px solid var(--line-soft); transition: color .3s, padding .4s var(--ease); font-weight: 500; font-size: .95rem; }
  .services__index span { font: 600 .9rem/1 var(--serif); color: var(--sand); }
  .services__index a.is-active { color: var(--brown); padding-left: 10px; }
  .services__index a.is-active span { color: var(--brown); }
  .svc { top: calc(var(--header) + 40px + var(--i) * 18px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .svc__media { aspect-ratio: auto; min-height: 100%; }
  .svc__body { padding: 34px 34px 36px; }
  .stack { gap: 40px; padding-bottom: 40px; }
}

/* ============ POUR QUI ============ */
.pq { display: grid; gap: 20px; }
.pq__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.pq__tabs::-webkit-scrollbar { display: none; }
.pq__tabs button {
  flex: none; scroll-snap-align: start; position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 11px 18px; font-size: .88rem; font-weight: 500; color: var(--brown-2);
  transition: background .3s, color .3s, border-color .3s;
}
.pq__tabs button[aria-selected="true"] { background: var(--brown); color: var(--ivory); border-color: var(--brown); }
.pq__tabs i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sand); transform: scaleX(0); transform-origin: left; }
.pq__tabs button[aria-selected="true"] i { animation: pqbar var(--pq-dur, 6s) linear forwards; }
.pq.is-paused .pq__tabs i { animation: none; transform: scaleX(0); }
@keyframes pqbar { to { transform: scaleX(1); } }
.pq__panels { position: relative; background: var(--white); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.pq__panel { display: grid; grid-template-columns: minmax(0,1fr); }
.pq__panel[hidden] { display: none; }
.pq__panel.is-active .pq__img img { animation: kenburns 7s var(--ease) both; }
.pq__panel.is-active .pq__txt > * { animation: rise .8s var(--ease) both; }
.pq__panel.is-active .pq__txt > *:nth-child(2) { animation-delay: .08s; }
.pq__panel.is-active .pq__txt > *:nth-child(3) { animation-delay: .16s; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.pq__img { aspect-ratio: 16 / 10; overflow: hidden; }
.pq__img img { width: 100%; height: 100%; object-fit: cover; }
.pq__txt { padding: 28px 24px 32px; }
.pq__txt h3 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 14px; }
.pq__txt p { color: var(--brown-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { font-size: .78rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); }
.pq__also { text-align: center; margin-top: 30px; color: var(--taupe); font-size: .95rem; }
.pq__also strong { color: var(--brown); }
@media (min-width: 1024px) {
  .pq { grid-template-columns: 280px minmax(0,1fr); gap: 28px; align-items: stretch; }
  .pq__tabs { flex-direction: column; margin: 0; padding: 0; overflow: visible; }
  .pq__tabs button { text-align: left; border-radius: 18px; padding: 18px 22px; font: 500 1.35rem/1.15 var(--serif); }
  .pq__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; }
  .pq__img { aspect-ratio: auto; }
  .pq__txt { padding: 48px 44px; align-self: center; }
}

/* ============ INDÉPENDANTE VS SALARIÉE ============ */
.versus { background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%); }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-bottom: 40px; }
.perks li { background: var(--white); border-radius: 22px; padding: 22px 18px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.perks li:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.perks__n { font: 600 .9rem/1 var(--serif); color: var(--sand); }
.perks b { font: 600 1.35rem/1.15 var(--serif); }
.perks small { font-size: .84rem; color: var(--taupe); line-height: 1.45; }
@media (min-width: 1024px) { .perks { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; } .perks li { padding: 28px 24px; } }

.vs { background: var(--white); border-radius: 30px; padding: 22px; box-shadow: var(--shadow); max-width: 940px; margin: 0 auto; }
.vs__switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); border-radius: 999px; padding: 5px; max-width: 360px; margin: 0 auto 20px; }
.vs__switch button { position: relative; z-index: 1; border: 0; background: none; padding: 10px; font-weight: 600; font-size: .9rem; color: var(--taupe); transition: color .3s; border-radius: 999px; }
.vs__switch button.is-on { color: var(--ivory); }
.vs__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--brown); transition: transform .5s var(--ease); transform: translateX(100%); }
.vs[data-side="salariee"] .vs__thumb { transform: translateX(0); }
.vs__row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; align-items: center; padding: 14px 6px; border-top: 1px solid var(--line-soft);
  opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.vs.is-in .vs__row { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * .08s); }
.vs__row--head { display: none; }
.vs__k { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; }
.vs__k svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--ivory); color: var(--brown); flex: none; }
.vs__col { font-size: .92rem; }
@media (max-width: 759px) {
  .vs { padding: 18px 14px; }
  .vs__row { grid-template-columns: 8.6rem minmax(0, 1fr); gap: 10px; padding: 12px 4px; }
  .vs__k { font-size: .84rem; gap: 8px; }
  .vs__k svg { width: 30px; height: 30px; padding: 7px; }
  .vs__col { font-size: .88rem; line-height: 1.45; }
}
.vs__table[data-show="independante"] .vs__col--sal, .vs__table[data-show="salariee"] .vs__col--ind { display: none; }
.vs__table .vs__col { animation: rise .5s var(--ease) both; }
.vs__note { text-align: center; margin-top: 18px; font: 500 1.25rem/1.35 var(--serif); color: var(--brown-2); }
.vs__note strong { display: block; font-weight: 600; color: var(--brown); }
@media (min-width: 760px) {
  .vs { padding: 36px 40px; }
  .vs__switch { display: none; }
  .vs__row { grid-template-columns: minmax(0,.8fr) minmax(0,1fr) minmax(0,1fr); padding: 16px 10px; }
  .vs__row--head { display: grid; border-top: 0; opacity: 1; transform: none; }
  .vs__row--head .vs__col { font: 600 1.5rem/1 var(--serif); text-align: center; padding: 14px; border-radius: 16px; }
  .vs__row--head .vs__col--sal { background: var(--ivory); color: var(--taupe); }
  .vs__row--head .vs__col--ind { background: var(--brown); color: var(--ivory); }
  .vs__table[data-show] .vs__col--sal, .vs__table[data-show] .vs__col--ind { display: block; text-align: center; animation: none; }
  .vs__col--sal { color: var(--taupe); }
  .vs__col--ind { font-weight: 600; position: relative; }
  .vs__row:not(.vs__row--head) .vs__col--ind { background: linear-gradient(90deg, transparent, rgba(196,163,119,.12), transparent); border-radius: 12px; padding: 6px; }
}

/* ============ QUI SUIS-JE ============ */
.about { background: var(--white); }
.about__grid { display: grid; gap: 56px; grid-template-columns: minmax(0,1fr); align-items: center; }
.about__visual { position: relative; max-width: 420px; width: 100%; margin: 0 auto; padding-bottom: 40px; }
.about__arch { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ivory-2); box-shadow: var(--shadow); position: relative; }
.about__arch::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(255,255,255,.7); pointer-events: none; }
.about__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__sign { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) rotate(-4deg); font: 400 2.6rem/1 var(--script); color: var(--sand-ink); white-space: nowrap; }
.about__stat { position: absolute; background: var(--white); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.25; }
.about__stat strong { font: 600 1.9rem/1 var(--serif); }
.about__stat > span { font-size: .74rem; color: var(--taupe); max-width: 14ch; }
.about__stat--a { left: -12px; top: 18%; animation: float 7s ease-in-out infinite; }
.about__stat--b { right: -12px; top: 52%; animation: float 8s ease-in-out -3s infinite; }
.about__copy > p { margin-bottom: 14px; color: var(--brown-2); }
.timeline { margin: 30px 0; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--sand); }
.timeline li:last-child::before { background: var(--brown); border-color: var(--brown); box-shadow: 0 0 0 5px rgba(78,53,41,.12); }
.timeline__k { font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sand-ink); }
.timeline p { font-size: .95rem; margin-top: 4px; }
.about__values { padding: 24px; border-radius: var(--r); background: var(--ivory); border: 1px solid var(--line); }
.about__values h3 { font-size: 1.5rem; margin-bottom: 8px; }
.about__values p { font-size: .95rem; color: var(--brown-2); }
@media (max-width: 520px) { .about__stat--a { left: 0; } .about__stat--b { right: 0; } }
@media (min-width: 1024px) { .about__grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 90px; } }

.reco { margin: clamp(56px, 8vw, 96px) auto 0; max-width: 920px; position: relative; padding: clamp(30px, 5vw, 56px); border-radius: 32px;
  background: linear-gradient(160deg, var(--ivory) 0%, var(--ivory-2) 100%); border: 1px solid var(--line); }
.reco__mark { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); width: 68px; height: 68px; border-radius: 50%; background: var(--brown); color: var(--ivory);
  font: 600 4rem/1 var(--serif); display: grid; place-items: center; padding-top: 22px; box-shadow: var(--shadow-sm); }
.reco blockquote { margin: 0; text-align: center; }
.reco blockquote p { font: 500 clamp(1.3rem, 3vw, 1.75rem)/1.4 var(--serif); margin-bottom: 14px; }
.reco mark { background: linear-gradient(transparent 62%, rgba(196,163,119,.45) 62%) no-repeat 0 0 / 0% 100%; color: inherit; transition: background-size 1.4s var(--ease) .4s; }
.reco.is-in mark { background-size: 100% 100%; }
.reco figcaption { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 16px; font-size: .9rem; }
.reco figcaption small { color: var(--taupe); font-size: .78rem; }
.lightbox { border: 0; padding: 0; border-radius: 18px; max-width: min(92vw, 720px); max-height: 90dvh; background: var(--white); box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(44,30,23,.6); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; height: auto; }
.lightbox__close { position: sticky; top: 10px; float: right; margin: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brown); color: var(--ivory); font-size: 1.5rem; line-height: 1; z-index: 1; }

/* ============ MÉTHODE ============ */
.steps { position: relative; display: grid; gap: 16px; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--ivory-3); }
.steps::after { background: linear-gradient(180deg, var(--sand), var(--brown)); transform-origin: top; transform: scaleY(var(--p)); }
.step { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 16px; position: relative; z-index: 1; }
.step__dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 1.2rem/1 var(--serif);
  background: var(--white); border: 1px solid var(--line); color: var(--taupe); transition: background .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease); }
.step.is-active .step__dot { background: var(--brown); color: var(--ivory); border-color: var(--brown); transform: scale(1.06); }
.step__card { background: var(--white); border-radius: 22px; padding: 20px 22px; border: 1px solid var(--line-soft); transition: box-shadow .5s, border-color .5s, opacity .5s; opacity: .6; }
.step.is-active .step__card { opacity: 1; box-shadow: var(--shadow-sm); border-color: var(--line); }
.step h3 { font-size: 1.5rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--brown-2); }
.step__tag { display: inline-block; margin-top: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sand-ink); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; }
  .steps::before, .steps::after { left: 22px; right: calc(20% - 22px); top: 21px; bottom: auto; width: auto; height: 2px; }
  .steps::after { transform-origin: left; transform: scaleX(var(--p)); }
  .step { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .step__card { height: 100%; }
}

.modes { display: grid; gap: 18px; margin-top: 56px; grid-template-columns: minmax(0,1fr); }
.modes > div { background: var(--white); border-radius: 26px; padding: 28px 24px; border: 1px solid var(--line-soft); }
.modes h3 { font-size: 1.7rem; margin-bottom: 16px; }
.modes__formules li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.modes__formules b { font: 600 1.15rem/1.3 var(--serif); }
.modes__formules span { font-size: .88rem; color: var(--brown-2); }
.zone__map { position: relative; height: 210px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, var(--ivory) 0%, var(--ivory-2) 100%); }
.zone__map::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 26px 26px; }
.zone__ring { position: absolute; border-radius: 50%; border: 1px solid var(--sand); }
.zone__ring--1 { width: 70px; height: 70px; background: rgba(196,163,119,.18); }
.zone__ring--2 { width: 140px; height: 140px; border-style: dashed; }
.zone__ring--3 { width: 70px; height: 70px; animation: ping 3s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.zone__pin { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--brown); color: var(--ivory); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.zone__pin svg { width: 18px; height: 18px; }
.zone__label { position: absolute; top: calc(50% + 22px); font: 600 1.1rem/1 var(--serif); }
.zone__km { position: absolute; top: calc(50% - 82px); right: calc(50% - 98px); font-size: .7rem; font-weight: 600; background: var(--white); padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); }
.zone__legend p { font-size: .88rem; margin-bottom: 8px; color: var(--brown-2); }
.zone__legend b { display: block; font: 600 1.1rem/1.3 var(--serif); color: var(--brown); }
.tools p { font-size: .9rem; color: var(--brown-2); }
.tools__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.tools__list li { font: 600 1.05rem/1 var(--serif); padding: 10px 16px; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line); transition: transform .3s var(--ease), background .3s; }
.tools__list li:hover { transform: translateY(-3px) rotate(-1deg); background: var(--white); }
@media (min-width: 1024px) { .modes { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* ============ CONFIDENTIALITÉ ============ */
.secret { background: linear-gradient(170deg, var(--brown) 0%, var(--espresso) 100%); color: var(--ivory); overflow: clip; }
.secret h2, .secret h3 { color: var(--ivory); }
.secret em { color: var(--sand); }
.secret .lead { color: var(--ivory-3); }
.secret__glow { position: absolute; width: 700px; height: 700px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(196,163,119,.28), transparent); pointer-events: none; }
.secret__grid { display: grid; gap: 48px; grid-template-columns: minmax(0,1fr); }
.secret__seal { margin-top: 36px; display: flex; }
.seal { width: 150px; height: 150px; }
.seal text { font: 600 7.6px var(--sans); fill: var(--sand); }
.seal > text { transform-origin: 60px 60px; animation: rot 26s linear infinite; }
.seal__lock rect, .seal__lock circle { fill: var(--sand); }
.seal__lock path { stroke: var(--sand); stroke-width: 4; stroke-linecap: round; }
@keyframes rot { to { transform: rotate(360deg); } }
.secret__cards { display: grid; gap: 14px; }
.glass { position: relative; padding: 26px 24px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); overflow: hidden; }
.glass::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(196,163,119,.18), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.glass:hover::before { opacity: 1; }
.glass__n { font: 600 .9rem/1 var(--serif); color: var(--sand); }
.glass h3 { font-size: 1.55rem; margin: 8px 0 8px; }
.glass p { font-size: .92rem; color: var(--ivory-3); }
.secret__warn { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; padding: 16px 18px; border-radius: 18px; border: 1px dashed rgba(196,163,119,.55); color: var(--ivory); }
.secret__warn .ico { color: var(--sand); margin-top: 3px; }
@media (max-width: 1023px) { .secret__seal { justify-content: center; } }
@media (min-width: 1024px) { .secret__grid { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 80px; align-items: start; } .secret__copy { position: sticky; top: calc(var(--header) + 40px); } }

/* ============ FAQ ============ */
.faq__grid { display: grid; gap: 40px; grid-template-columns: minmax(0,1fr); }
.faq__side .btn { margin-top: 24px; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 18px; border: 1px solid var(--line-soft); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font: 600 1.2rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center;
  font: 400 1.2rem/1 var(--sans); background: var(--ivory); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--brown); color: var(--ivory); }
.faq details p { padding: 0 22px 20px; color: var(--brown-2); font-size: .95rem; }
.faq details[open] p { animation: rise .5s var(--ease); }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 80px; } .faq__side { position: sticky; top: calc(var(--header) + 40px); align-self: start; } }

/* ============ CONTACT ============ */
.contact { background: var(--white); }
.contact__grid { display: grid; gap: 40px; grid-template-columns: minmax(0,1fr); align-items: start; }
.contact__grid > * { min-width: 0; }
.rdv { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 20px; border-radius: 22px; background: var(--brown); color: var(--ivory); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.rdv:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rdv__ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(196,163,119,.25); display: grid; place-items: center; flex: none; }
.rdv__ico svg { width: 22px; height: 22px; color: var(--sand); }
.rdv b { display: block; font: 600 1.25rem/1.2 var(--serif); }
.rdv small { font-size: .8rem; color: var(--ivory-3); }
.rdv__arrow { margin-left: auto; color: var(--sand); }
.coords { margin: 24px 0; display: grid; gap: 12px; }
.coords li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; overflow-wrap: anywhere; }
.coords .ico { color: var(--sand-ink); margin-top: 4px; }
.coords a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.hours { border-radius: 22px; padding: 20px 22px; background: var(--ivory); border: 1px solid var(--line); }
.hours__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hours__head h3 { font-size: 1.4rem; }
.hours__status { font-size: .76rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; }
.hours__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--taupe); }
.hours__status.is-open::before { background: #5f8a5a; box-shadow: 0 0 0 0 rgba(95,138,90,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(95,138,90,0); } 100% { box-shadow: 0 0 0 0 rgba(95,138,90,0); } }
.hours__table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.hours__table th, .hours__table td { padding: 7px 8px; text-align: left; border-top: 1px solid var(--line-soft); font-weight: 400; }
.hours__table td { text-align: right; font-variant-numeric: tabular-nums; color: var(--brown-2); }
.hours__table tr.is-today { background: var(--white); }
.hours__table tr.is-today th { font-weight: 700; }
.hours__table tr.is-today td { color: var(--brown); font-weight: 600; }
.hours__table tr.is-today th::after { content: "aujourd’hui"; margin-left: 8px; font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sand-ink); }

.form-card { background: var(--ivory); border-radius: 30px; padding: 26px 20px; border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.form, .form fieldset { min-width: 0; }
.form__title { font-size: 1.9rem; margin-bottom: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font-size: .82rem; font-weight: 600; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .84rem; font-weight: 500; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.pills input:checked + span { background: var(--brown); color: var(--ivory); border-color: var(--brown); }
.pills input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.form__row { display: grid; gap: 14px; grid-template-columns: minmax(0,1fr); margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { margin-bottom: 14px; }
.form__row .field--full { margin-bottom: 0; grid-column: 1 / -1; }
.field span { font-size: .82rem; font-weight: 600; }
.field i { font-style: normal; color: var(--sand-ink); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--brown); padding: 13px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white); transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #b5a596; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 4px rgba(196,163,119,.2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #a5523a; box-shadow: 0 0 0 4px rgba(165,82,58,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; margin: 4px 0 12px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brown); flex: none; }
.consent.is-invalid span { color: #a5523a; }
.form__notice { font-size: .76rem; color: var(--taupe); margin-bottom: 18px; line-height: 1.55; }
.form__notice a { color: var(--brown); }
.form__error { font-size: .86rem; color: #a5523a; background: #fbefe9; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.form__error a { color: inherit; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .ico { animation: spin .8s linear infinite; }
.form__done { text-align: center; padding: 30px 10px; outline: none; }
.form__done h3 { font-size: 1.9rem; margin: 18px 0 8px; }
.form__done p { color: var(--brown-2); margin-bottom: 22px; }
.form__check svg { width: 72px; height: 72px; margin: 0 auto; }
.form__check circle { fill: none; stroke: var(--sand); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.form__check path { fill: none; stroke: var(--brown); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (min-width: 600px) { .form__row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .form-card { padding: 34px; } }
@media (max-width: 1023px) {
  /* mobile : titre → rendez-vous en ligne → formulaire → coordonnées et horaires */
  .contact__grid { gap: 0; }
  .contact__info { display: contents; }
  .contact__info > .eyebrow, .contact__info > .h2, .contact__info > .lead, .contact__info > .rdv { order: 0; }
  .form-card { order: 1; margin: 28px 0 8px; }
  .contact__info > .coords, .contact__info > .hours { order: 2; }
  .contact__info .rdv { text-align: left; }
}
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 64px; } .contact__info { position: sticky; top: calc(var(--header) + 30px); } }

/* ============ PIED DE PAGE ============ */
.footer { background: var(--ivory); border-top: 1px solid var(--line); padding: 64px 0 120px; }
.footer__grid { display: grid; gap: 36px; grid-template-columns: minmax(0,1fr); }
.footer__brand img { width: 220px; height: auto; }
.footer__sign { font: 400 1.6rem/1.2 var(--serif); color: var(--sand-ink); margin-top: 10px; }
.footer h3 { font: 600 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; }
.footer li { margin-bottom: 8px; font-size: .92rem; overflow-wrap: anywhere; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--sand-ink); }
.socials a { display: inline-flex; align-items: center; gap: 10px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: .8rem; color: var(--taupe); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer { padding-bottom: 48px; } }

/* ============ BARRE MOBILE ============ */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 10px; padding: 8px; border-radius: 999px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateY(140%); transition: transform .5s var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta__tel { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--brown); border: 1px solid var(--line); }
.sticky-cta__tel svg { width: 20px; height: 20px; }
@media (min-width: 561px) { .sticky-cta { display: none; } } /* au-delà, le bouton « Prendre rendez-vous » de l’en-tête est visible */

/* ============ PAGES LÉGALES ============ */
.legal { padding: calc(var(--header) + var(--demo) + 60px) 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 30px; }
.legal h2 { font-size: 1.7rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--brown-2); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal .todo { background: #fbf3e2; border: 1px dashed var(--sand); border-radius: 12px; padding: 12px 16px; font-size: .9rem; }
.legal .back { display: inline-flex; margin-bottom: 30px; }

/* ============ MOUVEMENT RÉDUIT ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; filter: none; }
  .notifs__list li, .vs__row { opacity: 1; transform: none; }
}

/* ============ BANDEAU MAQUETTE (copie demo.qenivo.fr) ============ */
html[data-demo] { --demo: 28px; }
.demo-banner { position: fixed; inset: 0 0 auto; z-index: 60; height: 28px; display: flex; align-items: center; justify-content: center; padding: 0 12px;
  background: var(--espresso); color: var(--ivory-3); font: 500 .7rem/1.2 var(--sans); letter-spacing: .04em; text-align: center; }

/* ============ TABLETTE (700–1023 px) : deux colonnes là où la place le permet ============ */
@media (min-width: 700px) and (max-width: 1023px) {
  .constat__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; }
  .constat__copy > .eyebrow, .about__copy > .eyebrow { justify-content: flex-start; }
  .constat__copy > .eyebrow::before, .about__copy > .eyebrow::before { display: block; }
  .constat__copy > .h2, .about__copy > .h2 { text-align: left; }
  .constat__answer { flex-direction: row; align-items: flex-start; text-align: left; }
  .notifs { padding: 22px; }
  .notifs__clock #notifs-clock { font-size: 2.8rem; }


  .pq__panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 380px; }
  .pq__img { aspect-ratio: auto; }
  .pq__txt { padding: 32px 30px; align-self: center; }

  .about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; align-items: start; }
  .about__visual { max-width: 340px; position: sticky; top: calc(var(--header) + var(--demo) + 30px); }
  .about__stat strong { font-size: 1.5rem; }

  .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modes .tools { grid-column: 1 / -1; }
  .secret__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .secret__cards .glass:first-child, .secret__warn { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__info > .coords, .contact__info > .hours { max-width: 620px; width: 100%; margin-inline: auto; }
}

@media (min-width: 700px) and (max-width: 1199px) {
  .svc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); top: calc(var(--header) + var(--demo) + 24px + var(--i) * 14px); }
  .svc__media { aspect-ratio: auto; min-height: 100%; }
  .svc__body { padding: 26px 28px 28px; }
  .stack { gap: 32px; }
  .services__side { max-width: 760px; }
}

/* ============ PETITS TÉLÉPHONES (≤ 400 px) ============ */
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .btn--lg { padding: 14px 20px; }
  .hero__title { font-size: 2.5rem; }
  .hero__proof strong { font-size: 1.25rem; }
  .hero__proof li > span { font-size: .72rem; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .perks li { padding: 16px 18px; }
  .vs__row { grid-template-columns: 8.4rem minmax(0, 1fr); gap: 8px; }
  .vs__k { font-size: .8rem; }
  .brand__title { font-size: 1.05rem; letter-spacing: .16em; }
  .brand__mono { width: 44px; }
  .form-card { padding: 22px 16px; }
  .pills span { padding: 8px 12px; font-size: .8rem; }
  .desk__txt small { white-space: normal; }
  .svc__media { aspect-ratio: 3 / 1; }
  .svc__body { padding: 16px 16px 18px; }
  .svc h3 { font-size: 1.45rem; }
  .svc .checks li { font-size: .84rem; margin-bottom: 6px; }
}
