/* Site vitrine de Justine Dupont-Druaux, neuropsychologue.
   Polices hébergées ici (aucune requête vers un service tiers) : Cormorant Garamond (texte et titres, serif) et Figtree
   (boutons d'action uniquement, en capitales). Licence SIL OFL 1.1. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/cormorant-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 600; font-display: swap; src: url('../fonts/cormorant-italic.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/figtree-normal.woff2') format('woff2'); }

/* Palette : couleurs PRÉLEVÉES sur les images de référence de Justine (pipette sur les pixels), sous les noms de sa maquette.
   Canyon Clay, Coffee Bean et Vintage Blush : l'image aux étoiles (étoiles rouges, étoiles brunes, dégradé rose).
   Aged Ochre et Oatmeal : le motif floral (feuilles ocre, fond crème). Ivory : le blanc cassé des étoiles. */
:root {
  --oatmeal: #FAE8DE;
  --ivory: #FBF9F5;
  --ochre: #8A6211;
  --honey: #8B7347;   /* Honey Gold de la planche (#947B50), très légèrement assombri : blanc dessus = 4,7:1 */
  --clay: #CA615A;
  --clay-deep: #A94A44;   /* survol des boutons */
  --blush: #E3BDB7;
  --coffee: #5E2D22;
  --ink: #3F1D15;         /* texte courant : le Coffee Bean approfondi, pour la lisibilité */

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-cta: 'Figtree', -apple-system, 'Segoe UI', system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --wave: clamp(36px, 6vw, 84px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--oatmeal); color: var(--ink);
  font: 500 1.25rem/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); color: var(--coffee); font-weight: 700; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coffee); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--coffee); color: var(--ivory); padding: .6rem 1rem; border-radius: .5rem; z-index: 20; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.star { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; }

/* --- Boutons d'action : capitales, sans empattement ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .7rem 1.7rem;
  border-radius: 999px; background: var(--clay); color: #fff; border: 0; cursor: pointer; text-decoration: none;
  font: 700 .84rem/1 var(--font-cta); letter-spacing: .14em; text-transform: uppercase; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--clay-deep); }
.btn:active { transform: translateY(1px); }
.btn.plus { width: 2.9rem; height: 2.9rem; min-height: 0; padding: 0; font-size: 1.5rem; font-weight: 500; letter-spacing: 0; line-height: 1; }

/* --- En-tête ---------------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--oatmeal) 94%, transparent); backdrop-filter: blur(8px); }
/* Trait discret (noir léger) sous l'en-tête, sur 95 % de la largeur, effacé dès qu'on défile. */
.site-header::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 95%; height: 1px; background: rgb(0 0 0 / .16); transform: translateX(-50%); transition: opacity .25s; }
.site-header.is-scrolled::after { opacity: 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .8rem; }
.brand { text-decoration: none; line-height: 1; display: inline-grid; justify-items: end; gap: .24rem; }
.brand b { font: 700 clamp(1.1rem, 2.4vw, 1.4rem)/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--coffee); }
.brand > span { font: italic 600 1.15rem/1 var(--font-display); color: var(--ochre); letter-spacing: .03em; }
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.2rem); }
.nav a:not(.btn) { text-decoration: none; font: 700 1.2rem/1 var(--font-display); letter-spacing: .04em; color: var(--coffee); padding-block: .3rem; background: linear-gradient(var(--clay), var(--clay)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.nav a:not(.btn):hover { background-size: 100% 2px; }
.menu-toggle { display: none; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--coffee); background: transparent; color: var(--coffee); cursor: pointer; }
  .menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; content: ''; position: relative; transition: transform .2s, opacity .2s; }
  .menu-toggle i::before { position: absolute; top: -6px; }
  .menu-toggle i::after { position: absolute; top: 6px; }
  .menu-toggle[aria-expanded='true'] i { background: transparent; }
  .menu-toggle[aria-expanded='true'] i::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] i::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem var(--gutter) 1.4rem; background: var(--oatmeal); border-bottom: 1px solid rgb(0 0 0 / .16); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { font-size: 1.4rem; padding-block: .7rem; border-bottom: 1px solid color-mix(in srgb, var(--ochre) 35%, transparent); background: none; }
  .nav .btn { margin-top: .6rem; }
}

/* --- Vagues entre les bandes ------------------------------------------------------------------------------ */
.band { position: relative; }
.wave { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: var(--wave); transform: translateY(-99%); fill: var(--band-bg); pointer-events: none; }
/* Le bas d'une bande est recouvert par la vague de la suivante : on compte sa hauteur dans le bas de la bande. */
.band { padding-block: 2rem calc(var(--wave) + 1.8rem); }

/* --- Titres en arc de cercle (SVG, texte posé sur un arc) -------------------------------------------------- */
.arc-title { margin: 0 auto; display: block; width: min(100%, 560px); line-height: 0; }
.arc-title svg { width: 100%; height: auto; overflow: visible; }
.arc-text { font-family: var(--font-display); font-weight: 700; fill: var(--ivory); letter-spacing: .06em; }
.arc-star { fill: var(--clay); }
.arc-title.wide { width: min(100%, 820px); }
.arc-title.on-light .arc-text { fill: var(--coffee); }
.arc-title.on-light .arc-star { fill: var(--ivory); }
.arc-fallback { display: none; text-align: center; }
.arc-fallback .star { display: block; margin: .6rem auto 0; width: 2.4rem; height: 2.4rem; color: var(--ivory); }
@media (max-width: 560px) {
  .arc-title.fallback-on-small { display: none; }
  .arc-fallback { display: block; }
  .arc-fallback h2 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
}

/* --- Accueil ---------------------------------------------------------------------------------------------- */
.hero { padding-block: clamp(2rem, 5vw, 4rem) calc(var(--wave) + 2rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-art { justify-self: center; width: min(100%, 352px); margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-text { text-align: center; display: grid; justify-items: center; }
.hero h1 { font: 700 clamp(1.9rem, 3.6vw, 2.8rem)/1.15 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--coffee); }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .first, .hero h1 .last { display: block; }
.hero h1 .nb { white-space: nowrap; }
.hero .intro { max-width: 40rem; margin-bottom: 1.4rem; font-size: 1.15rem; line-height: 1.5; }
.hero .intro p { margin: 0 0 .75em; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { width: min(64%, 288px); }
}

/* --- Services --------------------------------------------------------------------------------------------- */
.services { --band-bg: var(--ochre); background: var(--ochre); color: var(--ivory); }
.services .head { text-align: center; margin-bottom: clamp(1.2rem, 3vw, 2rem); }
.tiles { list-style: none; margin: 0 auto; padding: 0; max-width: 800px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.7rem, 1.6vw, 1rem); }
.tile { position: relative; min-height: clamp(13rem, 24vw, 15.5rem); border-radius: 1.5rem 2.4rem 1.7rem 2.2rem; }
.tile:nth-child(2) { border-radius: 2.3rem 1.6rem 2.4rem 1.8rem; }
.tile:nth-child(3) { border-radius: 1.8rem 2.3rem 2rem 1.5rem; }
.tile:nth-child(4) { border-radius: 2.4rem 1.7rem 2.1rem 2rem; }
.tile:nth-child(5) { border-radius: 2rem 2.4rem 1.6rem 2.3rem; }
.tile:nth-child(6) { border-radius: 1.6rem 2.2rem 2.4rem 1.8rem; }
.tile:nth-child(7) { border-radius: 2.4rem 1.8rem 2rem 1.7rem; }
.tile:nth-child(8) { border-radius: 1.8rem 2.1rem 1.5rem 2.5rem; }
.tile.motif { background: var(--blush) center / cover no-repeat; overflow: hidden; }
.tile.motif-1 { background-image: url('../img/motif-1.webp'); }
.tile.motif-2 { background-image: url('../img/motif-2.webp'); }
.tile.motif-3 { background-image: url('../img/motif-3.webp'); }

/* Carte qui se retourne : devant, le numéro et le nom ; derrière (fond Canyon Clay), le résumé et le « + » vers la page dédiée. */
.tile.card { perspective: 900px; outline-offset: 4px; cursor: default; }
.flip { position: absolute; inset: 0; border-radius: inherit; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4, .1, .2, 1); }
.face { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem .7rem; }
.face.front { background: var(--ivory); color: var(--coffee); }
.face.back { background: var(--clay); color: #fff; transform: rotateY(180deg); justify-content: space-between; }
.tile.card:focus-visible .flip, .tile.card:has(:focus-visible) .flip, .tile.card.is-flipped .flip { transform: rotateY(180deg); }
@media (hover: hover) { .tile.card:hover .flip { transform: rotateY(180deg); } }
.tile .num { font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); color: var(--clay-deep); letter-spacing: .02em; font-variant-numeric: lining-nums; margin-top: .1rem; }
/* Le numéro est le plus gros élément de la case ; le nom de la prestation, en capitales, se lit dessous. */
.tile .name { flex: 1; display: grid; place-items: center; margin: .2rem 0 .5rem; font: 700 clamp(.84rem, 1.3vw, .98rem)/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; hyphens: manual; text-wrap: balance; }
.tile .summary { margin: .3rem 0 0; font: 600 clamp(1.02rem, 1.5vw, 1.12rem)/1.28 var(--font-display); }
.face.back .btn.plus { background: #fff; color: var(--clay-deep); flex: none; }
.face.back .btn.plus:hover { background: var(--ivory); }
@media (prefers-reduced-motion: reduce) { .flip { transition: none; } }
.services .more { text-align: center; margin: 1.4rem 0 0; font-size: 1.05rem; }
.services .more a { color: var(--ivory); text-underline-offset: .22em; }
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, 1fr); max-width: 440px; }
  .tile { min-height: 14.5rem; }
  .tile .name { font-size: .92rem; }
  .tile .summary { font-size: .98rem; }
}

/* --- À propos --------------------------------------------------------------------------------------------- */
.about { --band-bg: var(--oatmeal); background: var(--oatmeal); }
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .72fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about h2, .cabinet h2 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin-bottom: 1.1rem; }

.about-portrait { justify-self: center; width: min(100%, 340px); height: auto; display: block; }
@media (max-width: 820px) { .about .wrap { grid-template-columns: 1fr; } .about-portrait { order: -1; width: min(66%, 280px); } }

/* --- Prendre rendez-vous ---------------------------------------------------------------------------------- */
.rdv { --band-bg: var(--blush); background: var(--blush); color: var(--coffee); text-align: center; }
/* Titre en arc : sa boîte contient du vide au-dessus des lettres ; on le remonte de cette quantité (mesuré à l'écran) pour que le contenu soit centré dans le rose visible. */
.rdv { padding-top: calc(2rem - clamp(13px, 3vw, 18px)); }
.rdv .head { margin-bottom: 1.1rem; }
.rdv p { max-width: 44ch; margin: 0 auto 1.6rem; }
.rdv .arc-fallback h2 { color: var(--coffee); }
.rdv .arc-fallback .star { color: var(--ivory); }

/* --- Le cabinet ------------------------------------------------------------------------------------------- */
.cabinet { --band-bg: var(--oatmeal); background: var(--oatmeal); }
.cabinet-top { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.access { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); text-align: center; }
.access h3 { font: 700 .86rem/1.2 var(--font-cta); letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: .6rem; }
.access p { margin: 0 0 .6em; font-size: 1.1rem; line-height: 1.4; text-align: justify; text-align-last: center; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 820px) { .access { grid-template-columns: 1fr; } }
.map { margin: 0; justify-self: center; width: min(100%, 440px); }
.map img { width: 100%; height: auto; display: block; }
.cabinet .text { text-align: center; }
.cabinet .text p { max-width: 46ch; margin-inline: auto; }
/* Coordonnées en deux colonnes : l'adresse d'un côté, les moyens de contact de l'autre. */
.contact { margin: 1.5rem auto 0; max-width: 640px; background: var(--honey); color: #fff; border-radius: 1.8rem 2.8rem 2rem 2.4rem; padding: clamp(1.6rem, 3.4vw, 2.4rem) clamp(1rem, 3vw, 1.6rem); display: grid; grid-template-columns: auto auto; justify-content: center; font-style: normal; text-align: center; }
.contact .col { padding-inline: clamp(.5rem, 2vw, 1.2rem); display: grid; align-content: start; justify-items: center; gap: .5rem; }
.contact .col + .col { border-left: 1px solid rgb(255 255 255 / .45); }
.contact .star { color: #fff; width: 1rem; height: 1rem; }
.contact h3 { font: 700 .78rem/1 var(--font-cta); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: .1rem; }
.contact p { margin: 0; font-size: 1.2rem; font-weight: 600; }
.contact p.where { font-style: italic; color: var(--blush); font-size: 1.05rem; line-height: 1.3; margin-top: .35rem; }
.contact a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
.contact .mail { white-space: nowrap; font-size: clamp(.92rem, 1.9vw, 1.1rem); }
.contact a:hover { color: var(--coffee); }
@media (max-width: 820px) { .cabinet-top { grid-template-columns: 1fr; } .map { width: min(86%, 380px); } }
@media (max-width: 480px) {
  .contact { grid-template-columns: 1fr; gap: 1.1rem; }
  .contact .col + .col { border-left: 0; border-top: 1px solid rgb(255 255 255 / .45); padding-top: 1.1rem; }
}

/* --- Mobile : paragraphes justifiés (coupure des mots pour éviter les grands blancs) ---------------------------------- */
@media (max-width: 820px) {
  .rdv p, .cabinet .text p, .page-head p, .prose p, .access p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
  /* Les blocs centrés gardent leur dernière ligne centrée. */
  .rdv p, .cabinet .text p, .page-head p, .access p { text-align-last: center; }
}

/* --- Pages de prestations ------------------------------------------------------------------------------------- */
.prose-band { --band-bg: var(--ivory); background: var(--ivory); }
.prose { max-width: 66ch; margin-inline: auto; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 .8rem; }
.prose p { margin: 0 0 1.05em; text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; }
.prose p.cta-row { text-align: center; text-align-last: center; margin-top: 1.8rem; }
.also { max-width: 66ch; margin: 2.4rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgb(0 0 0 / .12); text-align: center; }
.also h2 { font: 700 .86rem/1 var(--font-cta); letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: .8rem; }
.also ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.4rem; }
.also a { font-size: 1.12rem; text-underline-offset: .22em; }
/* « Comprendre » : second niveau, volontairement plus discret que les prestations. */
.also h2.understand { margin: 1.3rem 0 .5rem; color: var(--ochre); letter-spacing: .14em; font-size: .78rem; }
.also .understand-list a { font-size: 1rem; font-style: italic; color: var(--ink); text-decoration: none; background: linear-gradient(var(--clay), var(--clay)) 0 100% / 0 1px no-repeat; transition: background-size .25s, color .2s; }
.also .understand-list a:hover, .also .understand-list a:focus-visible { color: var(--clay-deep); background-size: 100% 1px; }

/* --- Mots-liens vers les pages de sujets (maillage interne) ------------------------------------------------------ */
.term { font-weight: 700; color: var(--clay-deep); text-decoration: none; background: linear-gradient(var(--clay), var(--clay)) 0 100% / 0 2px no-repeat; transition: background-size .25s, color .2s; }
/* Au survol et au clavier : un trait plein se dessine sous le mot (au repos : gras seulement). */
.term:hover, .term:focus-visible { color: var(--coffee); background-size: 100% 2px; }

/* --- Pied de page ----------------------------------------------------------------------------------------- */
.site-footer { --band-bg: var(--ochre); background: var(--ochre); color: var(--ivory); font-size: 1.05rem; padding-block: calc(var(--wave) * .4 + 1.4rem) 2.4rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; }
.site-footer p { margin: 0; }
.site-footer a { text-underline-offset: .2em; }
.site-footer .legal-links { order: 2; }
.todo { background: #fff0b8; color: #6b4300; padding: .05em .35em; border-radius: .3em; font-weight: 600; }

/* --- Pages secondaires (demande, services à venir) ------------------------------------------------------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) calc(var(--wave) + 1.6rem); text-align: center; }
.page-head .head-star { width: 2.4rem; height: 2.4rem; color: var(--clay); margin-bottom: .4rem; }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); color: var(--coffee); }
.page-head p { max-width: 54ch; margin: 1rem auto 0; text-align: justify; text-align-last: center; hyphens: auto; -webkit-hyphens: auto; }
.page-head .btn { margin-top: 1.4rem; }
.form-band { --band-bg: var(--ivory); background: var(--ivory); }
.form-card { max-width: 720px; margin-inline: auto; display: grid; gap: 1.15rem; }
.form-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 640px) { .form-card .two { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: .35rem; color: var(--coffee); }
.field .hint { font-weight: 500; color: var(--ochre); }
.field input, .field select, .field textarea { width: 100%; font: 500 1.15rem/1.4 var(--font-body); color: var(--ink); background: #fff; border: 2px solid color-mix(in srgb, var(--ochre) 45%, transparent); border-radius: 1rem; padding: .7rem 1rem; min-height: 52px; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 22%, transparent); }
.field-error { color: #8a2f3c; font-size: 1rem; margin: .3rem 0 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #8a2f3c; }
/* Sélecteur de date */
.datefield { position: relative; }
.datefield input { padding-right: 3.4rem; font-variant-numeric: lining-nums tabular-nums; }
.date-toggle { position: absolute; top: 50%; right: .45rem; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ochre); cursor: pointer; }
.date-toggle:hover { background: color-mix(in srgb, var(--blush) 55%, transparent); color: var(--clay-deep); }
.date-toggle:focus-visible, .cal-nav:focus-visible, .cal-title:focus-visible, .cal-day:focus-visible, .cal-month:focus-visible, .cal-year:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }
.calendar { position: absolute; z-index: 30; top: calc(100% + .5rem); left: 0; width: min(20.5rem, calc(100vw - 2 * var(--gutter))); padding: .9rem .9rem 1rem; background: #fff; border: 1.5px solid color-mix(in srgb, var(--ochre) 30%, transparent); border-radius: 1.4rem; box-shadow: 0 24px 48px -16px color-mix(in srgb, var(--coffee) 40%, transparent); font-family: var(--font-cta); font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.calendar[hidden] { display: none; }
.cal-head { display: grid; grid-template-columns: 2.5rem 1fr 2.5rem; align-items: center; gap: .25rem; margin-bottom: .6rem; }
.cal-title { height: 2.5rem; border: 0; border-radius: 999px; background: transparent; color: var(--coffee); font: 700 1rem/1 var(--font-cta); text-transform: capitalize; cursor: pointer; }
.cal-title:hover:not(:disabled) { background: color-mix(in srgb, var(--blush) 45%, transparent); }
.cal-title.is-static { cursor: default; }
.cal-nav { width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: transparent; color: var(--coffee); font: 400 1.6rem/1 var(--font-cta); cursor: pointer; }
.cal-nav:hover:not(:disabled) { background: color-mix(in srgb, var(--blush) 55%, transparent); }
.cal-nav:disabled { color: color-mix(in srgb, var(--ink) 25%, transparent); cursor: default; }
.cal-grid { display: grid; gap: .2rem; text-align: center; }
.cal-days { grid-template-columns: repeat(7, 2.5rem); justify-content: space-between; }
.cal-months, .cal-years { grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.cal-years { grid-template-columns: repeat(4, 1fr); }
.cal-dow { font: 700 .75rem/2.2 var(--font-cta); color: var(--ochre); text-transform: uppercase; letter-spacing: .04em; }
.cal-dow abbr { text-decoration: none; }
.cal-day, .cal-month, .cal-year { border: 0; background: transparent; color: var(--ink); font: 500 .95rem/1 var(--font-cta); cursor: pointer; }
.cal-day { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.cal-month, .cal-year { height: 2.9rem; border-radius: 999px; }
.cal-day:hover:not(:disabled), .cal-month:hover:not(:disabled), .cal-year:hover:not(:disabled) { background: color-mix(in srgb, var(--blush) 55%, transparent); }
.cal-day.is-today, .cal-month.is-current, .cal-year.is-current { box-shadow: inset 0 0 0 1.5px var(--ochre); }
.cal-day.is-selected, .cal-month.is-selected, .cal-year.is-selected { background: var(--clay-deep); color: #fff; font-weight: 700; box-shadow: none; }
.cal-day:disabled, .cal-month:disabled, .cal-year:disabled { color: color-mix(in srgb, var(--ink) 25%, transparent); cursor: default; }

/* Boutons radio : trois pastilles */
.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { padding: 0; font-weight: 700; font-size: 1.05rem; margin-bottom: .45rem; color: var(--coffee); }
.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.field .choice { position: relative; display: inline-block; margin: 0; font-weight: 600; }
.field .choice input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.choice span { display: block; padding: .7rem 1.3rem; background: #fff; border: 2px solid color-mix(in srgb, var(--ochre) 45%, transparent); border-radius: 999px; font: 500 1.15rem/1.3 var(--font-body); color: var(--ink); transition: background-color .15s, border-color .15s, color .15s; }
.choice:hover span { border-color: var(--clay); }
.choice input:checked + span { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; font-weight: 700; }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 30%, transparent); border-color: var(--clay); }
.field.invalid .choice span { border-color: #8a2f3c; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: 1.05rem; }
.check input { width: 1.3rem; height: 1.3rem; margin-top: .25rem; accent-color: var(--clay); }
.consent-label { font-weight: 500 !important; margin: 0 !important; }
.trap { position: absolute; left: -9999px; }
.form-note { font-size: 1rem; color: var(--ochre); margin: .3rem 0 0; }
.alert { padding: .9rem 1.1rem; border-radius: 1rem; font-size: 1.05rem; }
.alert.error { background: #f1dfdf; color: #7d2a35; }
.thanks { max-width: 620px; margin-inline: auto; text-align: center; }
.thanks h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .4rem 0 1rem; }
.thanks .star { width: 2.6rem; height: 2.6rem; color: var(--clay); }
.thanks .btn { margin-top: .6rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
