/* ==========================================================================
   Maison ChaCha Coiffure — Version C1
   Feuille de style unique, écrite mobile d'abord (les règles de base valent
   pour le téléphone, les écrans plus larges sont traités ensuite).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de la charte */
  --bg:          #FFF8DB;   /* beige cornsilk, fond principal */
  --bg-alt:      #F8F0CF;   /* beige secondaire, sections alternées */
  --accent:      #E5841A;   /* orange fulvous — APLATS ET BOUTONS uniquement */
  --accent-deep: #C76D0B;   /* orange foncé — survol des boutons */
  --ink:         #2A211B;   /* brun très sombre, texte courant */

  /* Orange assombri, réservé au TEXTE sur fond beige.
     L'orange de la charte (#E5841A) n'offre qu'un contraste de 2,58:1 sur le
     beige, très en dessous du minimum lisible de 4,5:1 : un texte écrit dans
     cette couleur est illisible en plein soleil ou pour une vue fatiguée.
     Cette variante conserve exactement la même teinte (31°) et la même
     saturation, seulement assombrie. Elle est calibrée sur le fond le plus
     sombre des trois utilisés, pour rester lisible partout :
        sur #FFF8DB (fond principal)         4,88:1
        sur #F8F0CF (sections alternées)     4,55:1
        sur #FFFDF5 (cartes)                 5,11:1
        sur les pastilles orangées claires   4,54:1
     L'orange d'origine reste inchangé partout où il sert de fond. */
  --accent-text: #9B5912;

  --ink-soft:  rgba(42, 33, 27, .74);
  --ink-mute:  rgba(42, 33, 27, .58);
  --line:      rgba(42, 33, 27, .13);
  --line-firm: rgba(42, 33, 27, .22);
  --white:     #FFFDF5;

  /* Pile de polices système : rendu immédiat, aucun téléchargement, aucun
     appel à un serveur tiers, et donc aucun saut de typographie au chargement. */
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Rythme */
  --wrap: 1200px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(42, 33, 27, .07);
  --shadow-md: 0 8px 24px rgba(42, 33, 27, .10);
  --shadow-lg: 0 20px 48px rgba(42, 33, 27, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Réglages de base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Décale les ancres pour que l'en-tête fixe ne recouvre pas le titre visé. */
:target { scroll-margin-top: 96px; }
section[id] { scroll-margin-top: 76px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.35rem + 3.1vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1rem + .55vw, 1.35rem); }
p  { margin: 0 0 1rem; }

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

/* Indicateur de focus visible : indispensable pour se repérer au clavier. */
:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--ink-mute); font-size: .9rem; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Toutes les icônes partagent le même gabarit. */
.ico {
  width: 1.15em; height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.2em;
}

/* Lien d'évitement : premier élément atteint par la touche Tab, il permet de
   sauter la navigation pour aller droit au contenu. */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 3000;
  background: var(--ink); color: var(--bg);
  padding: .8rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: var(--bg); }

/* --------------------------------------------------------------------------
   3. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px;                      /* cible tactile confortable */
  padding: .7rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font: inherit; font-weight: 650; font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg     { padding: .95rem 1.75rem; font-size: 1rem; min-height: 52px; }

/* Texte sombre sur l'orange : 5,74:1, largement lisible.
   Un texte clair sur ce même orange ne donnerait que 2,58:1.

   Au survol, le fond reste volontairement orange. L'assombrir vers
   #C76D0B ferait chuter le contraste à 4,22:1 avec le texte sombre et à
   3,67:1 avec un texte clair : dans les deux cas sous le seuil lisible.
   L'interaction est donc signalée par la bordure, l'ombre et le léger
   soulèvement — trois indices visibles qui ne coûtent aucun contraste. */
.btn-primary {
  background: var(--accent); color: var(--ink);
  border-color: var(--accent); box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent); color: var(--ink);
  border-color: var(--accent-deep); box-shadow: var(--shadow-md);
}

.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #3d2f26; color: var(--bg); }

.btn-outline { background: transparent; border-color: var(--line-firm); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); background: rgba(229, 132, 26, .1); color: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-firm); }
.btn-ghost:hover { background: rgba(42, 33, 27, .05); color: var(--ink); }

/* --------------------------------------------------------------------------
   4. En-tête et navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 248, 219, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.02rem; letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-size: .7rem; color: var(--ink-mute); letter-spacing: .05em; text-transform: uppercase; }

.nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: block; padding: .55rem .2rem;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .94rem;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: .3rem;
  width: 0; height: 2px; background: var(--accent);
  transition: width .22s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.current::after { width: 100%; }

.mobile-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: transparent; border: 1.5px solid var(--line-firm);
  border-radius: var(--r-sm); color: var(--ink); cursor: pointer;
}
.mobile-toggle .ico { width: 22px; height: 22px; }

.nav-close { display: none; }

/* Fond assombri du tiroir mobile. */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 1999;
  background: rgba(42, 33, 27, .5);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .28s var(--ease);
}
.nav-backdrop.active { opacity: 1; }
.nav-backdrop[hidden] { display: none; }

/* Le tiroir mobile — fond opaque, jamais transparent, pour rester lisible
   par-dessus le contenu de la page. */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    z-index: 2002 !important;
    width: min(88vw, 340px);
    background: var(--bg);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem 1.5rem 2rem;
    display: flex; flex-direction: column; gap: .25rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
  }
  .nav-menu.active { transform: translateX(0); }

  .nav-close {
    display: inline-flex; align-items: center; gap: .4rem;
    align-self: flex-end;
    min-height: 44px; padding: .5rem .9rem; margin-bottom: .75rem;
    background: transparent; border: 1.5px solid var(--line-firm);
    border-radius: var(--r-pill);
    font: inherit; font-size: .85rem; font-weight: 600;
    color: var(--ink); cursor: pointer;
  }
  .nav-menu li + li { border-top: 1px solid var(--line); }
  .nav-link { padding: .95rem .2rem; font-size: 1.02rem; }
  .nav-cta { margin-top: 1.25rem; width: 100%; }
}

@media (min-width: 901px) {
  .mobile-toggle { display: none; }
  .nav-menu { display: flex; align-items: center; gap: 1.5rem; }
  .nav-menu ul { display: flex; align-items: center; gap: 1.4rem; }
}

/* --------------------------------------------------------------------------
   5. Sections génériques
   -------------------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 62ch; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.5rem); text-align: center; }
.section-intro { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  margin: 0 0 .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text);
}

.note {
  display: flex; gap: .7rem; align-items: flex-start;
  max-width: 74ch; margin: 2.5rem auto 0;
  padding: 1rem 1.25rem;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  font-size: .93rem; color: var(--ink-soft);
}
.section-alt .note { background: var(--bg); }
.note .ico { color: var(--accent-text); margin-top: .2em; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }

.hero-text .lead { font-size: clamp(1.02rem, .97rem + .3vw, 1.18rem); color: var(--ink-soft); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.75rem 0 0; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .75rem; margin: 2.5rem 0 0; padding: 0;
  border-top: 1px solid var(--line); padding-top: 1.5rem;
}
.stat dt { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.stat dd {
  margin: .3rem 0 0;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-weight: 700; line-height: 1.1;
  color: var(--accent-text);
}
.stat dd span { display: block; font-size: .78rem; font-weight: 500; color: var(--ink-mute); margin-top: .2rem; }

.hero-media { position: relative; margin: 0; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.1rem;
  background: rgba(255, 253, 245, .93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  text-align: left;
}
.hero-badge .ico { width: 1.6rem; height: 1.6rem; color: var(--accent-text); }
.hero-badge span { display: flex; flex-direction: column; font-size: .82rem; color: var(--ink-mute); line-height: 1.35; }
.hero-badge strong { font-size: .95rem; color: var(--ink); }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-media img { aspect-ratio: 4 / 5; }
  .hero-badge { right: auto; min-width: 260px; }
}

/* --------------------------------------------------------------------------
   7. Piliers du concept
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: 1.25rem; }
@media (min-width: 780px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

.pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 1.1rem;
  background: rgba(229, 132, 26, .16);
  border-radius: var(--r-md);
  color: var(--accent-text);
}
.pillar-icon .ico { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   8. Guide des longueurs
   Ordre imposé : la photo, puis les six boutons, puis la fiche détaillée.
   -------------------------------------------------------------------------- */
.guide { max-width: 900px; margin-inline: auto; }

.guide-photo { margin: 0 0 1.25rem; }
.guide-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;              /* cadrage carré sur téléphone */
  object-fit: cover;
  object-position: center 15%;      /* dégage le visage et la chevelure */
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
  transition: opacity .25s var(--ease);
}
.guide-photo img.swapping { opacity: 0; }
@media (min-width: 760px) { .guide-photo img { aspect-ratio: 4 / 3; } }

.guide-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .55rem; margin-bottom: 1.5rem;
}
@media (min-width: 620px) { .guide-tabs { grid-template-columns: repeat(6, 1fr); } }

.guide-tab {
  min-height: 54px; padding: .6rem .4rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
  background: var(--white);
  border: 1.5px solid var(--line-firm);
  border-radius: var(--r-md);
  font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--ink); cursor: pointer;
  transition: all .18s var(--ease);
}
.guide-tab small { font-size: .66rem; font-weight: 500; color: var(--ink-mute); letter-spacing: .02em; }
.guide-tab:hover { border-color: var(--accent); transform: translateY(-2px); }
.guide-tab[aria-selected="true"] {
  background: var(--accent); border-color: var(--accent-deep);
  color: var(--ink); box-shadow: var(--shadow-md);
}
.guide-tab[aria-selected="true"] small { color: rgba(42, 33, 27, .7); }

.guide-info {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.guide-info h3 { margin-bottom: .15rem; }
.guide-badge {
  display: inline-block; margin-bottom: .9rem;
  padding: .25rem .8rem;
  background: rgba(229, 132, 26, .18);
  border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: var(--accent-text);
}
.guide-sub { color: var(--accent-text); font-weight: 650; margin-bottom: .9rem; }
.guide-info p { color: var(--ink-soft); font-size: .96rem; }
.guide-examples {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-mute);
}
.guide-examples strong { color: var(--ink); }
.guide-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
  margin-top: 1.1rem; padding: .9rem 1.1rem;
  background: var(--bg-alt); border-radius: var(--r-md);
  font-size: .93rem;
}
.guide-price b { font-size: 1.15rem; color: var(--accent-text); }

/* --------------------------------------------------------------------------
   9. Prestations et tarifs
   -------------------------------------------------------------------------- */
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-bottom: 2.25rem;
}
.tab-btn {
  min-height: 44px; padding: .55rem 1.1rem;
  background: transparent;
  border: 1.5px solid var(--line-firm);
  border-radius: var(--r-pill);
  font: inherit; font-size: .88rem; font-weight: 600;
  color: var(--ink); cursor: pointer;
  transition: all .18s var(--ease);
}
.tab-btn:hover { border-color: var(--accent); }
.tab-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.services { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px)  { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(3, 1fr); } }

.service {
  display: flex; flex-direction: column;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service[hidden] { display: none; }

/* En-tête empilé verticalement : le titre et la durée ne peuvent jamais
   se chevaucher, quelle que soit la largeur de l'écran. */
.service-head { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.service-head h3 { margin: 0; }
.service-duration {
  display: inline-flex; align-items: center; gap: .35em; align-self: flex-start;
  padding: .2rem .65rem;
  background: var(--bg-alt); border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 600; color: var(--ink-mute);
  white-space: nowrap;
}
.service-desc { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.1rem; }

.price-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: auto 0 0; padding-top: .3rem; }

/* Macaron de tarif : c'est un bouton, il ouvre le récapitulatif de réservation. */
.price-tag {
  display: inline-flex; align-items: center; gap: .4em;
  min-height: 44px; padding: .45rem .85rem;
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font: inherit; font-size: .88rem; font-weight: 650;
  color: var(--ink); cursor: pointer;
  transition: all .16s var(--ease);
}
.price-tag .ico { width: .95em; height: .95em; color: var(--accent-deep); opacity: .75; }
.price-tag:hover {
  background: var(--accent); border-color: var(--accent-deep);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.price-tag:hover .ico { opacity: 1; color: var(--ink); }
.price-tag .size { color: var(--ink-mute); font-weight: 600; }
.price-tag:hover .size { color: rgba(42, 33, 27, .78); }

/* --------------------------------------------------------------------------
   10. Bannière assistant
   -------------------------------------------------------------------------- */
.section-accent { background: var(--bg-alt); }
.banner {
  display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.banner h2 { margin-bottom: .5rem; }
.banner p { color: var(--ink-soft); margin: 0; max-width: 60ch; }
@media (min-width: 820px) { .banner { grid-template-columns: 1fr auto; gap: 2.5rem; } }

/* --------------------------------------------------------------------------
   11. Galerie
   -------------------------------------------------------------------------- */
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.gallery-item {
  display: block; width: 100%; padding: 0;
  background: none; border: 0; border-radius: var(--r-md);
  overflow: hidden; cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform .4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

/* --------------------------------------------------------------------------
   12. Instagram
   -------------------------------------------------------------------------- */
.insta-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
  list-style: none; margin: 0 0 2rem; padding: 0;
}
@media (min-width: 760px) { .insta-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.insta-grid a {
  position: relative; display: block;
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.insta-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s var(--ease); }
.insta-grid a:hover img { transform: scale(1.06); }

.insta-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  background: rgba(42, 33, 27, .72);
  color: var(--bg); font-size: .82rem; font-weight: 650; text-align: center;
  opacity: 0; transition: opacity .25s var(--ease);
}
.insta-overlay .ico { width: 1.6rem; height: 1.6rem; }
.insta-grid a:hover .insta-overlay,
.insta-grid a:focus-visible .insta-overlay { opacity: 1; }

/* --------------------------------------------------------------------------
   13. Pied de page
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255, 248, 219, .82); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem; }
.footer h2 { font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.footer a { color: rgba(255, 248, 219, .82); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer .muted { color: rgba(255, 248, 219, .5); }
.footer :focus-visible { outline-color: var(--accent); }

.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 700px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2.5rem; } }

.footer-brand img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 40ch; }
.insta-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .9rem; }

.hours { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours th, .hours td { padding: .3rem 0; text-align: left; font-weight: 500; }
.hours td { text-align: right; color: rgba(255, 248, 219, .95); font-variant-numeric: tabular-nums; }
.hours tr.closed th, .hours tr.closed td { color: rgba(255, 248, 219, .45); }

.footer address { font-style: normal; font-size: .92rem; margin-bottom: 1.25rem; }
.footer address p { display: flex; gap: .6rem; align-items: flex-start; }
.footer address .ico { margin-top: .25em; color: var(--accent); }

.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .92rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 248, 219, .16);
  font-size: .84rem;
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   14. Bulle flottante de l'assistant
   -------------------------------------------------------------------------- */
.advisor-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 2500;
  display: flex; align-items: center; gap: .6rem;
}
.advisor-tip {
  padding: .5rem .9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  font-size: .82rem; font-weight: 600; color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 560px) { .advisor-tip { display: none; } }

.advisor-bubble {
  position: relative;
  width: 58px; height: 58px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  border: none; border-radius: 50%;
  color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.advisor-bubble .ico { width: 27px; height: 27px; stroke-width: 1.8; }
.advisor-bubble:hover { transform: scale(1.08); background: var(--accent-deep); color: var(--white); }

/* Halo pulsé, pour attirer l'œil sans gêner la lecture. */
.advisor-bubble::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%; background: var(--accent);
  animation: pulse 2.6s var(--ease) infinite;
  z-index: -1;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* --------------------------------------------------------------------------
   15. Modales et visionneuse
   -------------------------------------------------------------------------- */
.modal {
  width: min(92vw, 560px);
  max-height: 88vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop { background: rgba(42, 33, 27, .6); backdrop-filter: blur(3px); }

.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.modal-head h2 { margin: 0; font-size: 1.1rem; }

.modal-close {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--line-firm);
  border-radius: 50%; color: var(--ink); cursor: pointer;
  transition: all .16s var(--ease);
}
.modal-close:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.modal-body { padding: 1.35rem; overflow-y: auto; max-height: calc(88vh - 70px); }

/* Étapes de l'assistant */
.step-count { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .4rem; }
.step-q { font-size: 1.12rem; font-weight: 700; margin-bottom: 1.1rem; }
.choices { display: grid; gap: .55rem; }
.choice {
  display: flex; align-items: center; gap: .85rem; text-align: left;
  min-height: 52px; padding: .8rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--line-firm);
  border-radius: var(--r-md);
  font: inherit; color: var(--ink); cursor: pointer;
  transition: all .16s var(--ease);
}
.choice:hover { border-color: var(--accent); background: rgba(229, 132, 26, .09); transform: translateX(3px); }
.choice b { display: block; font-size: .97rem; }
.choice small { display: block; font-size: .82rem; color: var(--ink-mute); line-height: 1.4; }
.choice-key {
  flex: none; width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border-radius: var(--r-sm);
  font-weight: 700; font-size: .9rem; color: var(--accent-text);
}

/* Récapitulatif */
.recap {
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  margin-bottom: 1.15rem;
}
.recap h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.recap-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .7rem 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .3rem .75rem;
  background: var(--bg-alt); border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600;
}
.chip-price { background: var(--accent); color: var(--ink); }
.recap p { font-size: .9rem; color: var(--ink-soft); margin: .6rem 0 0; }

.modal-actions { display: grid; gap: .6rem; }
@media (min-width: 480px) { .modal-actions { grid-template-columns: 1fr auto; } }

.back-link {
  display: inline-flex; align-items: center; gap: .4em;
  margin-top: 1rem; padding: .4rem 0;
  background: none; border: 0;
  font: inherit; font-size: .87rem; font-weight: 600;
  color: var(--accent-text); cursor: pointer; text-decoration: underline;
}

/* Visionneuse d'image */
.lightbox {
  width: min(94vw, 900px); max-height: 92vh;
  padding: 0; border: 0; border-radius: var(--r-md);
  background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(42, 33, 27, .88); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; border-radius: var(--r-md); }
.lightbox .modal-close {
  position: absolute; top: -52px; right: 0;
  background: var(--bg); border-color: var(--bg);
}

/* --------------------------------------------------------------------------
   16. Messages de confirmation
   -------------------------------------------------------------------------- */
.toasts {
  position: fixed; left: 50%; bottom: 96px; z-index: 2600;
  transform: translateX(-50%);
  display: flex; flex-direction: column; gap: .5rem;
  width: min(92vw, 420px);
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1.1rem;
  background: var(--ink); color: var(--bg);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  animation: toast-in .28s var(--ease);
}
.toast .ico { color: var(--accent); flex: none; }
.toast.leaving { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   17. Apparition au défilement
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. Confort et impression
   -------------------------------------------------------------------------- */

/* Respecte le réglage « réduire les animations » du système : certaines
   personnes sont sujettes au mal des transports ou aux migraines. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .pillar:hover, .service:hover, .price-tag:hover { transform: none; }
}

/* Renforce les bordures si le système est en mode contraste élevé. */
@media (prefers-contrast: more) {
  :root { --line: rgba(42, 33, 27, .3); --line-firm: rgba(42, 33, 27, .5); --ink-soft: rgba(42, 33, 27, .9); --ink-mute: rgba(42, 33, 27, .78); }
}

@media print {
  .header, .advisor-fab, .toasts, .hero-actions, .tabs, .modal, .lightbox, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .service, .pillar, .guide-info { break-inside: avoid; border: 1px solid #999; box-shadow: none; }
  .footer { background: #fff; color: #000; }
}
