/* Cabinet Delaunay — famille confiance-sobre, tokens « modern-treasury » : papier blanc, grille 1 px visible, Manrope 450, boutons à 2 px, un panneau glacé. */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --papier: #ffffff; --encre: #151515; --graphite: #424242; --acier: #6a6969; --trait: #dcdcdc; --bord: #cbcac8; --glace: #f0f8f9; --gris: #f7f7f6;
  --police: "Manrope", "Segoe UI", system-ui, sans-serif;
  --t-1: clamp(2.5rem, 1.3rem + 4.4vw, 4.5rem); --t-2: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); --t-3: 1.25rem;
  --e-1: 8px; --e-2: 16px; --e-3: 24px; --e-4: 32px; --e-6: 48px; --e-8: 64px; --section: clamp(56px, 6vw + 24px, 112px);
  --largeur: 1200px; --gouttiere: clamp(16px, 4vw, 40px); --r: 2px; --r-carte: 8px; --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font-family: var(--police); font-size: 1.0625rem; line-height: 1.62; font-weight: 400; padding-bottom: 76px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--bord); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--encre); }
h1, h2, h3 { font-weight: 450; margin: 0; text-wrap: balance; color: var(--encre); }
h1 { font-size: var(--t-1); line-height: 1.06; letter-spacing: -.025em; }
h2 { font-size: var(--t-2); line-height: 1.1; letter-spacing: -.02em; margin-bottom: var(--e-3); }
h3 { font-size: var(--t-3); line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 var(--e-2); max-width: 62ch; color: var(--graphite); }
b { font-weight: 600; color: var(--encre); }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
.contenu { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }
section { padding-block: var(--section); position: relative; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lien-saut { position: absolute; left: -999px; top: 8px; background: var(--encre); color: #fff; padding: 8px 12px; } .lien-saut:focus { left: 8px; z-index: 60; }
.petit { font-size: .875rem; color: var(--acier); }

.entete { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--trait); }
.entete .contenu { display: flex; align-items: center; justify-content: space-between; gap: var(--e-3); min-height: 72px; }
.marque { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-decoration: none; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.marque-carre { grid-row: span 2; width: 18px; height: 18px; border: 1.5px solid var(--encre); position: relative; } .marque-carre::after { content: ""; position: absolute; inset: 4px; background: var(--encre); }
.marque small { font-weight: 400; font-size: .75rem; color: var(--acier); letter-spacing: 0; }
.menu { display: none; gap: var(--e-3); align-items: center; margin: 0; padding: 0; list-style: none; }
.menu a:not(.bouton) { text-decoration: none; font-size: .9375rem; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease); } .menu a:not(.bouton):hover, .menu a[aria-current] { border-color: var(--encre); }
.menu-bouton { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--encre); border-radius: var(--r); padding: 0 14px; min-height: 44px; font-weight: 500; } .menu-bouton svg { width: 20px; height: 20px; }
.menu-mobile { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease); background: #fff; } .menu-mobile[data-ouvert] { grid-template-rows: 1fr; border-top: 1px solid var(--trait); }
.menu-mobile > div { overflow: hidden; } .menu-mobile ul { margin: 0; padding: var(--e-1) var(--gouttiere) var(--e-3); list-style: none; }
.menu-mobile a { display: block; padding: 14px 0; text-decoration: none; font-size: 1.125rem; border-bottom: 1px solid var(--trait); }

.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; background: var(--encre); color: #fff; border: 1px solid var(--encre); border-radius: var(--r); font-weight: 500; text-decoration: none; transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 160ms var(--ease); }
.bouton:hover { background: #fff; color: var(--encre); } .bouton:active { transform: translateY(1px); } .bouton:disabled { opacity: .45; cursor: not-allowed; }
.bouton-grand { min-height: 54px; padding-inline: 28px; }
.lien { font-weight: 500; padding: 12px 0; }

/* premier écran : la feuille quadrillée se trace, la photo s'éclaircit, la ligne de la séance se déroule */
.hero { padding-block: var(--e-4) var(--e-6); overflow: clip; }
.hero-grille { position: relative; display: grid; gap: var(--e-3); }
.hero-texte { padding: 0; align-self: start; position: relative; }
.hero h1 .ligne { display: block; } .hero h1 .ligne > span { display: block; }
.chapo { font-size: 1.1875rem; max-width: 46ch; margin: var(--e-3) 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-1) var(--e-4); }
.prochain { margin: var(--e-3) 0 0; padding-top: var(--e-2); border-top: 1px solid var(--trait); font-size: .9375rem; color: var(--graphite); }
.cadre { position: relative; margin: 0; padding: 0; display: contents; }
.photo { position: relative; order: -2; }
.hero-texte { order: -1; }
.cadre figcaption { order: 0; }
.photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--cadrage, 50% 30%); border: 1px solid var(--encre); background: #e9ecec; }
.noeud { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--encre); z-index: 2; } .n1 { left: -5px; top: -5px; } .n2 { right: -5px; top: -5px; } .n3 { left: -5px; top: calc(100% - 4px - 0px); display: none; } .n4 { display: none; }
.cadre figcaption { background: #fff; }
.feuille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--trait); border-top: 0; }
.feuille li { position: relative; padding: 22px 12px 14px; display: grid; gap: 2px; border-right: 1px solid var(--trait); font-size: .875rem; } .feuille li:last-child { border-right: 0; }
.feuille b { font-weight: 600; font-size: 1rem; } .feuille span { color: var(--acier); line-height: 1.35; }
.feuille i { position: absolute; left: 12px; top: -5px; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--encre); z-index: 1; }
.feuille li::before { content: ""; position: absolute; left: 21px; right: 0; top: -1px; height: 1px; background: var(--encre); transform-origin: left; }
.feuille li:last-child::before { right: 100%; }

.soins-grille { display: grid; gap: var(--e-6); align-items: start; }
.panneau { background: #fff; border: 1px solid var(--bord); border-radius: var(--r-carte); padding: var(--e-3); margin-top: var(--e-4); } .panneau h3 { margin-bottom: var(--e-2); } .panneau-glace { background: var(--glace); border-color: #d3e4e6; margin-top: 0; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--trait); vertical-align: top; font-weight: 400; } th { font-weight: 600; padding-right: var(--e-2); } td { color: var(--graphite); } tr:last-child th, tr:last-child td { border-bottom: 0; }
.liste-soins { margin: 0; border-top: 1px solid var(--encre); } .liste-soins > div { padding: var(--e-3) 0; border-bottom: 1px solid var(--trait); display: grid; gap: 6px; }
.liste-soins dt { font-size: 1.5rem; font-weight: 450; letter-spacing: -.015em; line-height: 1.2; } .liste-soins dd { margin: 0; color: var(--graphite); max-width: 52ch; }

.rdv { background: var(--gris); border-block: 1px solid var(--trait); }
.rdv-intro { max-width: 70ch; }
.rdv-form { background: #fff; border: 1px solid var(--bord); border-radius: var(--r-carte); padding: var(--e-3); display: grid; gap: var(--e-4); margin-top: var(--e-3); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; } legend { font-weight: 600; padding: 0 0 12px; }
.choix { display: flex; flex-wrap: wrap; gap: var(--e-1); }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--bord); border-radius: var(--r); background: #fff; color: var(--encre); font-weight: 500; transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease); } .chip:hover { border-color: var(--encre); } .chip[aria-pressed=true] { background: var(--encre); border-color: var(--encre); color: #fff; }
.matrice { display: grid; border-top: 1px solid var(--encre); }
.jour-l { display: grid; gap: var(--e-1); padding: 14px 0; border-bottom: 1px solid var(--trait); align-items: center; }
.jour-l > b { font-weight: 600; } .jour-l > b::first-letter { text-transform: uppercase; }
.heures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--bord); border: 1px solid var(--bord); }
.h { min-height: 44px; border: 0; border-radius: 0; background: #fff; font-weight: 500; color: var(--encre); transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.h:hover:not(:disabled) { background: var(--glace); } .h[aria-pressed=true] { background: var(--encre); color: #fff; }
.h:disabled { color: #8d8c8c; background: var(--gris); text-decoration: line-through; cursor: not-allowed; }
.coordonnees-form { display: grid; gap: var(--e-2); } .coordonnees-form .ordo { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; }
input[type=text], input[type=email], textarea { font: inherit; font-weight: 400; padding: 12px 14px; min-height: 48px; border: 1px solid var(--bord); border-radius: 0; background: #fff; color: var(--encre); width: 100%; } input:focus, textarea:focus { outline: 2px solid var(--encre); outline-offset: 1px; border-color: var(--encre); } textarea { min-height: 130px; resize: vertical; }
label.case { grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-weight: 400; } label.case input { width: 22px; height: 22px; margin-top: 2px; accent-color: #151515; }
.recap { display: grid; gap: var(--e-2); background: var(--glace); border: 1px solid #d3e4e6; border-radius: var(--r-carte); padding: var(--e-3); } .recap-t { margin: 0; font-weight: 600; color: var(--encre); }
.confirmation { display: none; margin: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--encre); font-weight: 500; color: var(--encre); max-width: none; }
form[data-envoye] .confirmation { display: block; } form[data-envoye] button[type=submit] { display: none; }
.erreur-rdv { color: #8a1c1c; font-weight: 600; margin: 0; }

.visite-grille, .equipe-grille, .acces-grille, .faq-grille, .contact-grille { display: grid; gap: var(--e-4); align-items: start; }
.liste-controle { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--encre); } .liste-controle li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--trait); color: var(--graphite); }
.liste-controle li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 6px; border-left: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: rotate(-45deg); }
.visite { background: var(--gris); border-top: 1px solid var(--trait); }
.portrait { margin: 0; } .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--cadrage, 50% 30%); border: 1px solid var(--encre); background: #e9ecec; }
figcaption { font-size: .875rem; color: var(--acier); padding-top: 8px; }
.faits { margin: var(--e-3) 0 0; border-top: 1px solid var(--encre); } .faits > div { padding: 14px 0; border-bottom: 1px solid var(--trait); display: grid; gap: 2px; } .faits dt { font-weight: 600; } .faits dd { margin: 0; color: var(--graphite); }
.galerie { padding-top: 0; } .mosaique { list-style: none; margin: var(--e-4) 0 0; padding: 0; display: grid; gap: var(--e-3) var(--e-2); } .mosaique figure { margin: 0; } .mosaique img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--cadrage, 50% 40%); border: 1px solid var(--trait); background: #e9ecec; }
.adresse { font-size: 1.1875rem; color: var(--encre); } .acces .liste-controle { margin-top: var(--e-3); }
.horaires th { width: 9rem; }
.faq-liste { border-top: 1px solid var(--encre); max-width: 820px; } .faq-liste details { border-bottom: 1px solid var(--trait); }
.faq-liste summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--e-2); padding: 18px 0; min-height: 56px; font-weight: 500; font-size: 1.125rem; } .faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform 200ms var(--ease); } .faq-liste details[open] summary::after { transform: rotate(45deg); }
.faq-liste details div { padding: 0 0 var(--e-3); animation: ouvrir 200ms var(--ease); } .faq-liste details p { margin: 0; } @keyframes ouvrir { from { opacity: 0; transform: translateY(-4px); } }
.contact { background: var(--gris); border-top: 1px solid var(--trait); } .formulaire { background: #fff; border: 1px solid var(--bord); border-radius: var(--r-carte); padding: var(--e-3); display: grid; gap: var(--e-2); } .coord { color: var(--graphite); }
.pied { padding: var(--e-4) 0 var(--e-6); border-top: 1px solid var(--trait); font-size: .875rem; color: var(--acier); } .pied p { margin-bottom: 6px; max-width: none; color: var(--acier); }
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--trait); transition: transform 260ms var(--ease); } .barre-mobile::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; } .barre-mobile[data-cachee] { transform: translateY(130%); } .barre-mobile .bouton { width: 100%; }

@media (prefers-reduced-motion: no-preference) {
    .photo > img { animation: eclaircir 1800ms cubic-bezier(.45, 0, .25, 1) 150ms both; }
  .hero h1 .ligne > span { animation: monter 800ms var(--ease) both; } .hero h1 .ligne:first-child > span { animation-delay: 200ms; } .hero h1 .ligne:nth-child(2) > span { animation-delay: 330ms; }
  .chapo, .hero-actions, .prochain { animation: deposer 700ms var(--ease) both; } .chapo { animation-delay: 520ms; } .hero-actions { animation-delay: 640ms; } .prochain { animation-delay: 760ms; }
  .noeud, .feuille i { animation: poser 400ms var(--ease) both; } .noeud { animation-delay: 700ms; }
  .feuille li::before { animation: derouler 700ms var(--ease) both; } .feuille li:nth-child(1)::before { animation-delay: 700ms; } .feuille li:nth-child(2)::before { animation-delay: 1050ms; } .feuille li:nth-child(3)::before { animation-delay: 1400ms; }
  .feuille i { animation-delay: 650ms; } .feuille li:nth-child(2) i { animation-delay: 1000ms; } .feuille li:nth-child(3) i { animation-delay: 1350ms; }
  @keyframes eclaircir { from { filter: grayscale(1) contrast(.85) brightness(1.15); transform: scale(1.03); } to { filter: none; transform: none; } }
  @keyframes monter { from { transform: translateY(45%); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0 0 -.2em 0); } }
  @keyframes deposer { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes poser { from { transform: scale(0); } to { transform: none; } }
  @keyframes derouler { from { transform: scaleX(0); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; } html { scroll-behavior: auto; } }

@media (min-width: 560px) { .heures { grid-template-columns: repeat(7, 1fr); } .jour-l { grid-template-columns: 11rem 1fr; } }
@media (min-width: 960px) {
  body { padding-bottom: 0; } .barre-mobile { display: none; } .menu { display: flex; } .menu-bouton, .menu-mobile { display: none; }
  .hero { padding-block: var(--e-6) var(--e-8); } .hero-grille { grid-template-columns: 5fr 7fr; gap: var(--e-8); align-items: center; } .cadre { display: block; } .photo, .hero-texte { order: 0; }
  .n3, .n4 { display: none; }
  .soins-grille { grid-template-columns: 5fr 6fr; gap: var(--e-8); } .soins-titre { position: sticky; top: 100px; }
  .rdv-form { padding: var(--e-6); } .coordonnees-form { grid-template-columns: 1fr 1fr; }
  .visite-grille { grid-template-columns: 1fr 1fr; gap: var(--e-8); }
  .equipe-grille { grid-template-columns: 4fr 6fr; gap: var(--e-8); }
  .mosaique { grid-template-columns: repeat(5, 1fr); } .mosaique .grande { grid-column: span 3; } .mosaique li:not(.grande) { grid-column: span 2; }
  .acces-grille { grid-template-columns: 1.2fr .8fr; gap: var(--e-8); } .faq-grille { grid-template-columns: .8fr 1.2fr; gap: var(--e-8); } .contact-grille { grid-template-columns: 1fr 1fr; gap: var(--e-8); }
}
