/* Coiffure Bello — voir BRAND.md (fait foi) */
:root {
  --graphite: #121214;   /* 60 % fond */
  --anthracite: #1d1e22; /* surfaces */
  --beton: #2b2c31;      /* bords, puces */
  --halo: #ffffff;       /* texte, anneau */
  --gris: #b4b5bb;       /* texte doux (8,9:1 sur graphite) */
  --citron: #f5d90a;     /* 10 % action — texte graphite dessus (13:1) */
  --citron-doux: #f5d90a26;
  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(18px, 5vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--graphite); color: var(--halo); font: 400 17px/1.55 Figtree, system-ui, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: Archivo, system-ui, sans-serif; font-stretch: 112%; font-weight: 850; margin: 0; letter-spacing: -0.02em; line-height: 1.02; }
h1 em, h2 em { font-style: normal; color: var(--citron); }
h2 { font-size: clamp(30px, 8vw, 52px); margin-bottom: 22px; text-wrap: balance; }
.sur { font: 700 13px/1.3 Figtree, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin: 0 0 10px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--pad); }
.mini { font-size: 14px; color: var(--gris); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--citron); color: var(--graphite); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--citron); outline-offset: 3px; border-radius: 8px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 700 16px/1.1 Figtree, sans-serif; text-decoration: none; border: 0; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .12s var(--ease), background .2s; }
.btn:active { transform: scale(.97); }
.btn-citron { background: var(--citron); color: var(--graphite); box-shadow: 0 0 0 0 var(--citron-doux); }
.btn-ghost { background: transparent; color: var(--halo); box-shadow: inset 0 0 0 2px var(--beton); }
.btn.large { width: 100%; min-height: 56px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .btn-citron:hover { box-shadow: 0 0 0 6px var(--citron-doux); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--halo); }
  .lien:hover { color: var(--citron); }
}

/* En-tête translucide */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: calc(8px + env(safe-area-inset-top, 0px)) var(--pad) 8px; background: rgb(18 18 20 / .78); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
.logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; min-height: 44px; align-items: center; }
.logo-script { font-family: Yellowtail, cursive; color: var(--citron); font-size: 30px; line-height: 1; }
.logo-sub { font: 700 13px/1 Figtree, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.statut { margin: 0 0 0 auto; font-size: 13px; color: var(--gris); text-align: right; line-height: 1.2; }
.statut.ouvert::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5be37d; margin-right: 6px; vertical-align: 1px; }
.bar-tel { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--beton); font-weight: 700; font-size: 14px; text-decoration: none; }

/* Héros : la photo dans l'anneau lumineux */
.hero { position: relative; display: grid; justify-items: center; padding: 10px var(--pad) 40px; overflow: hidden; }
.hero-visuel { position: relative; width: min(66vw, 40svh, 360px); aspect-ratio: 1; margin-top: 14px; }
.hero-photo { margin: 0; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; z-index: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.pret .hero-photo img { transform: scale(1); }
.hero-ring { position: absolute; inset: 0; transform: scale(1.09); z-index: 2; pointer-events: none; }
.hero-ring svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.hero-ring circle { fill: none; stroke: var(--halo); stroke-dasharray: 591; stroke-dashoffset: 591; }
.ring-line { stroke-width: 3; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.ring-glow { stroke-width: 10; filter: blur(8px); opacity: .55; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.pret .hero-ring circle { stroke-dashoffset: 0; }
.hero-text { text-align: center; margin-top: 26px; position: relative; z-index: 3; }
.hero h1 { font-size: clamp(36px, 10.5vw, 76px); }
.hero .sur { margin-bottom: 6px; }
.hero-cta { display: grid; gap: 10px; justify-items: center; margin-top: 18px; }
.note-google { margin: 0; font-size: 15px; color: var(--gris); }
.note-google strong { color: var(--halo); }
@media (prefers-reduced-motion: reduce) { .hero-ring circle, .hero-photo img { transition: none; } }

/* Attente en direct */
.attente { background: var(--anthracite); padding: 56px 0; border-radius: 32px 32px 0 0; }
.file { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-bottom: 28px; }
.cadran { position: relative; width: 132px; aspect-ratio: 1; }
.cadran svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.c-fond, .c-arc { fill: none; stroke-width: 9; }
.c-fond { stroke: var(--beton); }
.c-arc { stroke: var(--citron); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.cadran-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cadran-txt .n { font: 900 46px/1 Archivo, sans-serif; font-stretch: 100%; }
.cadran-txt .l { font-size: 12px; color: var(--gris); max-width: 84px; line-height: 1.2; }
.duree { margin: 0 0 4px; font-size: 16px; color: var(--gris); }
.duree strong { display: block; color: var(--halo); font: 800 26px/1.15 Archivo, sans-serif; font-stretch: 105%; }
.maj { margin: 0 0 10px; font-size: 13px; color: var(--gris); }
.fauteuils { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.fauteuils .pt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: #5be37d; }
.fauteuils .occupe .pt { background: var(--citron); }

.choix { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--graphite); padding: 5px; border-radius: 999px; margin-bottom: 18px; }
.onglet { min-height: 46px; border: 0; border-radius: 999px; background: transparent; color: var(--gris); font: 700 15px/1.1 Figtree, sans-serif; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.onglet.actif { background: var(--halo); color: var(--graphite); }
.panneau { display: grid; gap: 18px; }
.aide { margin: 0; color: var(--gris); font-size: 15px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puces.defile { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; overscroll-behavior-x: contain; scrollbar-width: none; }
.puces.defile .puce { scroll-snap-align: start; flex: none; }
.puces.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); max-height: 214px; overflow-y: auto; overscroll-behavior: contain; }
.puce { position: relative; }
.puce input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.puce span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--beton); font-size: 15px; font-weight: 600; text-transform: none; white-space: nowrap; transition: background .15s, color .15s; user-select: none; -webkit-user-select: none; }
.puce input:checked + span { background: var(--citron); color: var(--graphite); }
.puce input:focus-visible + span { outline: 3px solid var(--halo); outline-offset: 2px; }
.champs { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input[type=text], input:not([type]), input[type=tel], input[type=password] { font: 400 16px/1.2 Figtree, sans-serif; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--beton); background: var(--graphite); color: var(--halo); width: 100%; }
input:focus { border-color: var(--citron); outline: none; }
.erreur { margin: 0; color: #ffb4a8; font-weight: 600; min-height: 0; }
.erreur:empty { display: none; }

/* Le ticket : l'anneau se referme */
.ticket { text-align: center; padding: 30px 20px; border-radius: var(--r); background: var(--graphite); box-shadow: inset 0 0 0 2px var(--beton); display: grid; justify-items: center; gap: 8px; outline: none; }
.ticket-anneau { width: 96px; }
.ticket-anneau svg { transform: rotate(-90deg); }
.ticket-anneau circle { fill: none; stroke: var(--citron); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 0; }
.ticket.joue .ticket-anneau circle { animation: referme .9s var(--ease) both; }
@keyframes referme { from { stroke-dashoffset: 327; } to { stroke-dashoffset: 0; } }
.ticket-n { margin: 6px 0 0; font: 900 40px/1 Archivo, sans-serif; text-transform: capitalize; }
.ticket-t { margin: 0; max-width: 34ch; }
.ticket-s { margin: 0 0 10px; font-size: 14px; color: var(--gris); max-width: 36ch; }
@media (prefers-reduced-motion: reduce) { .ticket.joue .ticket-anneau circle { animation: none; } }

/* Prestations */
.prestas { padding: 64px 0; }
.liste-prestas { list-style: none; margin: 0 0 14px; padding: 0; }
.liste-prestas li { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--beton); }
.liste-prestas h3 { font-size: 21px; font-stretch: 105%; }
.liste-prestas p { margin: 4px 0 0; color: var(--gris); font-size: 15px; }
.liste-prestas .min { flex: none; color: var(--citron); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Salon : galerie glissante */
.salon { padding: 12px 0 64px; }
.galerie { display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 340px); gap: 14px; overflow-x: auto; padding: 0 var(--pad) 8px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); overscroll-behavior-x: contain; scrollbar-width: none; }
.galerie figure { margin: 0; scroll-snap-align: start; }
.galerie img { aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r); width: 100%; }
.galerie figcaption { margin-top: 8px; font-size: 14px; color: var(--gris); }

/* Avis */
.avis { padding: 60px 0; background: var(--citron); color: var(--graphite); }
.avis .sur { color: #3a3a1f; }
.avis h2 em { color: var(--graphite); font-weight: 600; font-size: .5em; }
.avis .gros { font-size: 1.4em; }
.cartes-avis { display: grid; gap: 14px; margin-bottom: 18px; }
.cartes-avis blockquote { margin: 0; background: var(--graphite); color: var(--halo); padding: 22px; border-radius: var(--r); }
.cartes-avis p { margin: 0 0 12px; font-size: 17px; }
.cartes-avis cite { font-style: normal; color: var(--gris); font-size: 14px; }
.lien { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }

/* Infos */
.infos { padding: 64px 0 40px; }
.grille-infos { display: grid; gap: 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.horaires { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td { padding: 11px 0; border-bottom: 1px solid var(--beton); text-align: left; font-weight: 400; }
.horaires th { text-transform: capitalize; }
.horaires td { text-align: right; font-variant-numeric: tabular-nums; color: var(--gris); }
.horaires .auj th, .horaires .auj td { color: var(--citron); font-weight: 700; }

.pied { padding: 30px var(--pad) calc(110px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--beton); color: var(--gris); font-size: 14px; text-align: center; }
.pied a { display: inline-block; padding: 10px 4px; }
.pied .logo-script { font-size: 24px; }

/* Dock mobile */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, rgb(18 18 20 / .95) 55%, transparent); transition: transform .35s var(--ease), opacity .25s; }
.dock .btn { width: 100%; min-height: 54px; }
.dock.cache, .dock.haut { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* Apparitions */
.apparait { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.apparait.vu { opacity: 1; transform: none; }

/* Tablette et bureau */
@media (min-width: 760px) {
  .file { grid-template-columns: 170px 1fr; }
  .cadran { width: 170px; }
  .champs { grid-template-columns: 1fr 1fr; }
  .cartes-avis { grid-template-columns: repeat(3, 1fr); }
  .grille-infos { grid-template-columns: 1.2fr 1fr; }
  .attente .wrap { max-width: 760px; }
}
@media (min-width: 1000px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: center; min-height: min(86svh, 760px); max-width: 1180px; margin: 0 auto; }
  .hero-visuel { width: 470px; grid-column: 1; grid-row: 1; margin: 0; }
  .hero-text { grid-column: 2; grid-row: 1; text-align: left; margin: 0; }
  .hero-cta { justify-items: start; }
  .galerie { grid-auto-columns: 1fr; max-width: 1080px; margin: 0 auto; }
  .dock { display: none; }
  .pied { padding-bottom: 40px; }
}

main.wrap > h1 { font-size: clamp(1.3rem, 6.2vw, 2rem); overflow-wrap: anywhere; }
