/* Nezha Barbouch – Psychologue clinicienne
   Palette inspirée de la carte de visite : bleu ciel, soie blanche, encre brun-gris. */
:root {
  --ink: #3f3739;
  --ink-soft: #6a6164;
  --sky-50: #f5fafd;
  --sky-100: #e6f2f8;
  --sky-200: #cbe4f0;
  --sky-300: #a9d2e4;
  --teal: #2f6e89;
  --teal-dark: #24586e;
  --gold: #b0905a;
  --white: #fff;
  --wa: #1fa855;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(47, 110, 137, .28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh; /* pages courtes (404, mentions) : le dégradé couvre tout l'écran */
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  /* Fond de tout le site : bleu brume en haut, ivoire doux au milieu, bleu brume en bas */
  background-color: #edf5f9;
  background-image: linear-gradient(180deg, #edf5f9 0%, #f5f3ee 30%, #f8f5ef 50%, #eef5f9 74%, #e3eef5 100%);
  -webkit-font-smoothing: antialiased;
}
/* Voiles de couleur très légers, fixes pendant le défilement */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42vmax 42vmax at 88% 12%, rgba(169, 210, 228, .28), rgba(169, 210, 228, 0) 70%),
    radial-gradient(38vmax 38vmax at 6% 62%, rgba(214, 192, 150, .14), rgba(214, 192, 150, 0) 70%),
    radial-gradient(34vmax 34vmax at 72% 96%, rgba(169, 210, 228, .22), rgba(169, 210, 228, 0) 70%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--teal); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .8em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid var(--teal);
  background: var(--teal); color: var(--white); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--white); color: var(--teal-dark); }
.btn-small { padding: .6em 1.15em; font-size: .92rem; }
.btn-wa { background: var(--wa); border-color: var(--wa); width: 100%; justify-content: center; }
.btn-wa:hover { background: #188a45; border-color: #188a45; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--sky-300); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 250, 252, .86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(169, 210, 228, .45);
  transition: background-color .35s, box-shadow .35s;
}
/* après le début du défilement : un peu plus opaque, ombre douce */
.site-header.scrolled { background: rgba(246, 250, 252, .94); box-shadow: 0 10px 30px -22px rgba(36, 88, 110, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.brand-role { font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .25s; }
.nav a:not(.btn):hover, .nav a.active { color: var(--teal); }
/* trait en dégradé sous le lien survolé / de la section en cours */
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky-300));
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
/* Fond illustré qui couvre toute la section (visage au trait, tulipe, feuillage, voiles de soie) */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: center;
  padding: 80px 0 56px; background: transparent;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  /* le bas de l'illustration se fond dans le fond du site */
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.hero-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 0% 60%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(244, 249, 252, .5) 0%, rgba(244, 249, 252, .32) 38%, rgba(244, 249, 252, 0) 56%);
}
.hero-grid { position: relative; z-index: 1; }
/* halo blanc discret : le texte reste lisible même posé sur les dessins */
.hero-text .lead, .hero-text .eyebrow { text-shadow: 0 0 18px rgba(255, 255, 255, .95), 0 0 4px rgba(255, 255, 255, .9); }
.hero-text h1 { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .85)); }

/* Titre en dégradé : ardoise profonde -> bleu canard ; « déposer » : bleu canard -> bleu ciel */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(100deg, #2a3940 0%, #3d5866 45%, #2f6e89 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  .hero h1 em {
    background: linear-gradient(90deg, #24586e 0%, #3a87a6 55%, #5fa9c6 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    padding-right: .06em;
  }
}
.hero-text { max-width: 620px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }

/* Haut de page « visuel de marque » : bannière (logo NB, aquarelle, profil) + carte givrée centrée qui la chevauche */
.hero.hero-brand { min-height: 0; display: block; padding: 0 0 56px; overflow: visible; }
.hero-banner {
  position: relative; height: clamp(380px, 66vh, 640px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
}
.hero-banner img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 35%; }
.hero-text.hero-card {
  position: relative; z-index: 2; max-width: 880px; margin: -40px auto 0; text-align: center;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 30px;
  padding: 40px 52px 36px; box-shadow: 0 30px 70px -40px rgba(36, 88, 110, .45);
}
.hero-card h1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.hero-card .lead { margin-inline: auto; }
.hero-card .hero-actions, .hero-card .chips { justify-content: center; }
.hero-brand .trust { margin-top: 32px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li {
  padding: .35em 1em; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); color: var(--teal-dark);
}
.trust {
  position: relative; z-index: 1; list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.trust li {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  background: rgba(255,255,255,.6); border-radius: 14px; padding: 14px 12px;
  font-weight: 600; font-size: .93rem; text-align: center;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
/* Bandes de section : voile blanc translucide aux bords fondus (plus de rupture nette) */
.section-tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .5) 14%,
    rgba(255, 255, 255, .5) 86%, rgba(255, 255, 255, 0) 100%);
}
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2, .about h2, .rdv h2, .cabinet h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p:last-child { color: var(--ink-soft); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--sky-200); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.card-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sky-100); margin-bottom: 18px;
}
.card-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; }

/* Quatre accompagnements, chacun avec sa photo en arche */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-4 .card { padding: 18px 18px 24px; display: flex; flex-direction: column; }
.card-photo {
  margin: 0 0 22px; aspect-ratio: 5 / 4; overflow: hidden;
  border-radius: 999px 999px 16px 16px; background: var(--sky-100);
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(.97); transition: transform 1s ease; }
.card:hover .card-photo img { transform: scale(1.05); }
.cards-4 h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin: 0 6px 8px; }
.cards-4 .card > p { margin: 0 6px 16px; font-size: .95rem; }
.card-list { list-style: none; padding: 0; margin: auto 6px 0; }
.card-list li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--sky-100); font-size: .92rem; color: var(--ink); }
.card-list li::before { content: ""; width: 7px; height: 7px; margin-top: .55em; border-radius: 50%; background: var(--teal); flex: none; opacity: .7; }

.motifs { margin-top: 56px; text-align: center; }
.motifs h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.motifs ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.motifs li { padding: .5em 1.1em; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-200); font-weight: 500; font-size: .95rem; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; overflow: hidden;
  background: linear-gradient(170deg, var(--sky-100), var(--sky-300));
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.portrait img { width: 55%; }
.portrait img[src$=".jpg"], .portrait img[src$=".webp"] { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Visuel de marque animé ---------- */
.portrait-brand { position: relative; background: #eef4f8; }
.portrait-brand .photo {
  position: absolute; inset: 0; object-position: 50% 45%; transform-origin: 50% 45%;
  animation: nbKenBurns 22s ease-in-out infinite alternate;
}
@keyframes nbKenBurns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.08) translate3d(0, -1.5%, 0); }
}
.hero-banner img { transform-origin: 50% 55%; animation: nbDrift 26s ease-in-out infinite alternate; }
@keyframes nbDrift {
  from { transform: scale(1); }
  to   { transform: scale(1.035) translateY(-6px); }
}
/* halos de lumière qui flottent lentement */
.glow {
  position: absolute; z-index: 1; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  filter: blur(18px); opacity: .55;
  background: radial-gradient(circle, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%);
  animation: nbFloat 16s ease-in-out infinite alternate;
}
.g1 { width: 46%; left: 4%; top: 6%; }
.g2 { width: 36%; right: 2%; top: 44%; background: radial-gradient(circle, rgba(169, 210, 228, .85), rgba(169, 210, 228, 0) 70%); animation-duration: 20s; animation-delay: -6s; }
.g3 { width: 32%; left: 26%; bottom: 2%; background: radial-gradient(circle, rgba(232, 214, 180, .75), rgba(232, 214, 180, 0) 70%); animation-duration: 18s; animation-delay: -3s; }
.hg1 { width: 22%; left: 2%; top: 22%; }
.hg2 { width: 20%; right: 3%; top: 6%; background: radial-gradient(circle, rgba(232, 214, 180, .7), rgba(232, 214, 180, 0) 70%); animation-duration: 21s; animation-delay: -8s; }
.hg3 { width: 18%; right: 14%; bottom: 4%; background: radial-gradient(circle, rgba(169, 210, 228, .8), rgba(169, 210, 228, 0) 70%); animation-duration: 18s; animation-delay: -4s; }
@keyframes nbFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(8%, -6%, 0) scale(1.1); }
  100% { transform: translate3d(-6%, 5%, 0) scale(.94); }
}
/* reflet de lumière qui traverse l'arche de temps en temps */
.sheen {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, .38) 46%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-110%); animation: nbSheen 10s ease-in-out infinite;
}
@keyframes nbSheen {
  0%, 62% { transform: translateX(-110%); }
  100%    { transform: translateX(110%); }
}
.subtitle { color: var(--gold); font-weight: 600; margin-top: -.4em; }
.about-text p:not(.eyebrow):not(.subtitle) { color: var(--ink-soft); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 32px 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--sky-50), var(--white)); border: 1px solid var(--sky-100); }
.step-num { font-family: var(--serif); font-size: 2.6rem; color: var(--sky-300); line-height: 1; display: block; margin-bottom: 12px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* Rendez-vous */
.rdv { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-list .ico { color: var(--teal); width: 20px; height: 20px; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.note { font-size: .9rem; color: var(--ink-soft); background: var(--white); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 10px 10px 0; }

.booking {
  background: var(--white); border-radius: 24px; padding: 32px; box-shadow: var(--shadow);
  border: 1px solid var(--sky-200); display: grid; gap: 22px;
}
.booking fieldset { border: 0; padding: 0; margin: 0; }
.booking legend, .field label { font-weight: 700; margin-bottom: 10px; font-size: .95rem; display: block; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options label { cursor: pointer; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options span {
  display: inline-block; padding: .5em 1.05em; border-radius: 999px; border: 1.5px solid var(--sky-200);
  font-weight: 600; font-size: .92rem; transition: all .15s; background: var(--sky-50);
}
.options input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--white); }
.options input:focus-visible + span { outline: 3px solid var(--sky-300); outline-offset: 2px; }
.field input {
  width: 100%; padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--sky-200);
  font: inherit; color: var(--ink); background: var(--sky-50);
}
.field input:focus { outline: none; border-color: var(--teal); background: var(--white); }
.summary { background: var(--sky-50); border-radius: 14px; padding: 14px 16px; font-size: .92rem; }
.summary-label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.summary p { margin: 6px 0 0; color: var(--ink-soft); white-space: pre-line; }
.form-error { color: #b4442f; font-weight: 600; margin: -8px 0 0; font-size: .92rem; }

/* ---------- Prise de rendez-vous : assistant en 3 étapes + résumé ---------- */
.bk {
  display: grid; grid-template-columns: 250px 1fr 230px; background: var(--white);
  border: 1px solid var(--sky-200); border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(36, 88, 110, .45);
}
.bk-help { background: linear-gradient(180deg, var(--sky-100), var(--sky-200)); padding: 38px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.bk-help-ico { width: 62px; height: 62px; border-radius: 50%; background: var(--white); display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 24px -14px rgba(36, 88, 110, .5); }
.bk-help-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.7; }
.bk-help h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin: 0 0 8px; }
.bk-help p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 12px; }
.bk-q { font-weight: 700; color: var(--ink) !important; margin-top: 6px !important; }
.bk-contact a { font-weight: 700; color: var(--teal); }
.bk-main { padding: 38px; border-right: 1px solid var(--sky-100); min-width: 0; }
.bk-kicker { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 .5em; }
.bk-main h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; margin: 0 0 24px; }
.bk-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-opt {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 6px 14px; align-items: center;
  text-align: left; padding: 16px; border: 1.5px solid var(--sky-200); border-radius: 18px; background: var(--white);
  font: inherit; color: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s, transform .15s;
}
.bk-opt:hover { border-color: var(--teal); box-shadow: 0 14px 30px -24px rgba(36, 88, 110, .7); }
.bk-opt:active { transform: scale(.99); }
.bk-opt.is-selected { border-color: var(--teal); background: var(--sky-50); }
.bk-opt-ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(160deg, var(--sky-100), var(--sky-200)); display: grid; place-items: center; }
.bk-opt-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bk-opt-txt strong { display: block; color: var(--ink); font-size: 1rem; }
.bk-opt-txt small { display: block; color: var(--ink-soft); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.bk-choose { grid-column: 2; justify-self: start; font-size: .8rem; font-weight: 700; color: var(--teal); background: var(--sky-100); padding: 6px 12px; border-radius: 999px; }
.bk-back { margin-top: 20px; padding: 10px 0; background: none; border: 0; font: 700 .9rem var(--sans); color: var(--ink-soft); cursor: pointer; }
.bk-back:hover { color: var(--teal); }
.bk-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.bk-input { width: 100%; min-height: 54px; padding: 0 18px; border: 1.5px solid var(--sky-200); border-radius: 14px; background: var(--sky-50); font: 500 1rem var(--sans); color: var(--ink); margin-bottom: 18px; }
.bk-input:focus { outline: none; border-color: var(--teal); background: var(--white); }
.bk-error { color: #b4442f; font-weight: 600; font-size: .9rem; margin: -8px 0 14px; }
.bk-note { font-size: .84rem; color: var(--ink-soft); margin: 14px 0 0; }
.bk-step.is-active { animation: bkIn .35s ease; }
@keyframes bkIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.bk-summary { padding: 38px 26px; background: linear-gradient(180deg, var(--white), var(--sky-50)); }
.bk-summary dl { margin: 8px 0 0; }
.bk-summary div { padding: 13px 0; border-bottom: 1px solid var(--sky-100); }
.bk-summary dt { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.bk-summary dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; }
.bk-summary dd.is-set { color: var(--teal); }

/* ---------- Avis Google ---------- */
.rating-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 8px;
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  background: var(--white); border: 1px solid var(--sky-200); box-shadow: var(--shadow); color: var(--ink);
}
.rating-badge:hover { border-color: var(--teal); color: var(--ink); }
.rating-score { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.stars { color: #e3a83b; letter-spacing: .12em; font-size: 1.05rem; line-height: 1; }
.rating-count { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.review {
  margin: 0; display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--sky-200); border-radius: 22px; padding: 26px 24px;
  box-shadow: 0 24px 50px -36px rgba(36, 88, 110, .45); position: relative;
}
.review::before {
  content: "“"; position: absolute; right: 18px; top: 4px; font-family: var(--serif);
  font-size: 4.2rem; line-height: 1; color: var(--sky-200);
}
.review blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.22rem; line-height: 1.4; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.review figcaption small { display: block; font-weight: 500; font-size: .8rem; color: var(--ink-soft); }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, var(--sky-100), var(--sky-300)); color: var(--teal-dark); font-weight: 700;
}
.reviews-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Réseaux sociaux (pied de page) */
.ft-socials a { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.ft-socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Cabinet */
.cabinet { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
address { font-style: normal; font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; line-height: 1.6; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--sky-200); aspect-ratio: 4 / 3; background: var(--sky-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--sky-200); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 8px; }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, rgba(214, 232, 241, 0) 0%, rgba(214, 232, 241, .85) 26%, #cfe3ee 100%);
  padding: 80px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; align-items: start; }
.footer-brand img { width: 260px; }
.site-footer h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(63, 55, 57, .12); font-size: .88rem; color: var(--ink-soft); }
.footer-bottom a { text-decoration: underline; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float { transition: transform .3s, opacity .3s; }
.wa-float.hide { opacity: 0; transform: scale(.8); pointer-events: none; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
/* arrivée du bouton après le chargement + léger halo qui respire */
.wa-float { animation: nbPop .6s 1.2s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: var(--wa); animation: nbPulse 3.2s 2s ease-out infinite;
}
@keyframes nbPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes nbPulse { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* Barre d'appel (téléphone uniquement, voir plus bas) */
.mobile-bar { display: none; }

/* Legal page */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about, .rdv, .cabinet { grid-template-columns: 1fr; gap: 40px; }
  /* Téléphone / tablette : le texte reste posé sur l'illustration, voile clair pour la lisibilité */
  .hero { min-height: 0; display: block; padding: 64px 0 48px; }
  .hero-bg img {
    position: absolute; top: 10px; left: 50%; width: 200%; height: auto; object-fit: initial;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 98%);
    mask-image: linear-gradient(180deg, #000 60%, transparent 98%);
  }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(244, 249, 252, .22) 0%, rgba(244, 249, 252, .34) 30%,
      rgba(244, 249, 252, .5) 58%, rgba(244, 249, 252, .3) 84%, rgba(244, 249, 252, 0) 100%);
  }
  .hero-text { max-width: 640px; }
  .hero-banner { height: clamp(300px, 52vw, 460px); }
  .hero-text.hero-card { margin-top: -50px; padding: 32px 30px 28px; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .about-visual { max-width: 340px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  /* Assistant : étapes d'abord, puis résumé, puis l'aide */
  .bk { grid-template-columns: 1fr; }
  .bk-main { order: 1; border-right: 0; border-bottom: 1px solid var(--sky-100); }
  .bk-summary { order: 2; padding: 22px 28px; }
  .bk-summary dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .bk-help { order: 3; padding: 24px 28px; }
  .bk-help-ico, .bk-help h3 { display: none; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .bk { grid-template-columns: 1fr 220px; }
  .bk-help { grid-column: 1 / -1; grid-row: 2; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 24px; padding: 22px 28px; }
  .bk-help-ico, .bk-help h3 { display: none; }
  .bk-help p { margin: 0; }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: grid; gap: 5px; width: 44px; height: 44px; place-content: center;
    background: transparent; border: 0; cursor: pointer; border-radius: 10px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--sky-200);
    padding: 8px 20px 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
    display: none;
  }
  .nav.open { display: flex; animation: nbMenu .28s cubic-bezier(.22, .61, .36, 1) both; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--sky-100); }
  .nav a:not(.btn)::after { display: none; }
  .nav a.active { font-weight: 700; }
  .nav .btn { margin-top: 16px; justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .hero { padding: 44px 0 32px; }
  .hero-bg img { width: 290%; top: 0; }
  .hero-banner { height: 340px; }
  .hero-banner img { object-position: 50% 40%; }
  .hero-text.hero-card { margin-top: -50px; padding: 24px 18px 22px; border-radius: 22px; }
  .hero-card h1 { font-size: 2.15rem; }
  .hero-card .lead { font-size: 1rem; }
  .hero-brand .trust { margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .brand img { width: 44px; }
  .brand-name { font-size: 1.2rem; }
  .bk { border-radius: 20px; }
  .bk-main { padding: 26px 18px; }
  .bk-main h3 { font-size: 1.65rem; margin-bottom: 18px; }
  .bk-options { grid-template-columns: 1fr; gap: 10px; }
  .bk-opt { padding: 13px; }
  .bk-opt-ico { width: 46px; height: 46px; }
  .bk-summary { padding: 20px 18px; }
  .bk-help { padding: 20px 18px; }
  .bk-contact a { display: inline-block; padding: 8px 2px; }
  .bk-back { padding: 12px 0; }
  .footer-grid { gap: 26px; }
  .ft-socials a { padding: 10px 0; }
  .footer-grid p a, .footer-bottom a { display: inline-block; padding: 10px 0; }
  .trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .trust li { font-size: .84rem; padding: 12px 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand img { width: 220px; }
  .about-visual { max-width: 300px; }
  /* Accompagnements : 2 × 2, compact */
  .cards-4 { gap: 12px; }
  /* Avis : carrousel horizontal à faire glisser */
  .reviews {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 8px -16px 0; padding: 4px 16px 14px; scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 82%; scroll-snap-align: center; padding: 22px 20px; }
  .review blockquote { font-size: 1.15rem; }
  .rating-badge { padding: 9px 16px; gap: 10px; }
  .reviews-cta .btn { flex: 1 1 100%; justify-content: center; }
  .cards-4 .card { padding: 10px 10px 16px; border-radius: 18px; }
  .card-photo { margin-bottom: 14px; border-radius: 999px 999px 10px 10px; }
  .cards-4 h3 { font-size: 1.35rem; margin: 0 4px 6px; }
  .cards-4 .card > p { font-size: .86rem; line-height: 1.55; margin: 0 4px 12px; }
  .card-list { margin: auto 4px 0; }
  .card-list li { font-size: .84rem; gap: 7px; padding: 7px 0; line-height: 1.4; }
  /* Barre Appeler / WhatsApp fixée en bas, à la place du bouton rond */
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246, 250, 252, .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(169, 210, 228, .6); box-shadow: 0 -12px 30px -22px rgba(36, 88, 110, .5);
    transition: transform .35s cubic-bezier(.22, .61, .36, 1);
    animation: nbBarIn .6s .9s cubic-bezier(.22, .61, .36, 1) backwards;
  }
  .mobile-bar.hide { transform: translateY(110%); }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px;
    border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .98rem;
    transition: transform .15s;
  }
  .mobile-bar a:active, .btn:active { transform: scale(.97); }
  .mobile-bar svg { width: 20px; height: 20px; flex: none; }
  .mb-call { border: 1.5px solid var(--teal); color: var(--teal); background: var(--white); }
  .mb-call svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mb-wa { background: var(--wa); color: #fff; }
  .mb-wa:hover { color: #fff; }
  .mb-wa svg { fill: currentColor; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .site-footer.legal-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@media (max-width: 340px) {
  .cards-4 { grid-template-columns: 1fr; }
}

/* ---------- Animations ---------- */
/* Haut de page : la bannière se dévoile, puis la carte et son contenu montent en douceur */
.hero-banner { animation: nbFade 1.3s ease backwards; }
.hero-card { animation: nbRise 1s .2s cubic-bezier(.22, .61, .36, 1) backwards; }
.hero-card > * { animation: nbRise .9s cubic-bezier(.22, .61, .36, 1) backwards; }
.hero-card > :nth-child(1) { animation-delay: .4s; }
.hero-card > :nth-child(2) { animation-delay: .5s; }
.hero-card > :nth-child(3) { animation-delay: .62s; }
.hero-card > :nth-child(4) { animation-delay: .74s; }
.hero-card > :nth-child(5) { animation-delay: .86s; }
.hero-brand .trust li { animation: nbRise .8s cubic-bezier(.22, .61, .36, 1) backwards; }
.hero-brand .trust li:nth-child(1) { animation-delay: .95s; }
.hero-brand .trust li:nth-child(2) { animation-delay: 1.05s; }
.hero-brand .trust li:nth-child(3) { animation-delay: 1.15s; }
.hero-brand .trust li:nth-child(4) { animation-delay: 1.25s; }
@keyframes nbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nbRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes nbMenu { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes nbBarIn { from { transform: translateY(110%); } to { transform: none; } }

/* Apparition au défilement (classes posées par main.js, retirées une fois le bloc affiché) */
.js .rv {
  opacity: 0; transform: translateY(28px);
  transition: opacity .85s cubic-bezier(.22, .61, .36, 1), transform .85s cubic-bezier(.22, .61, .36, 1);
}
.js .rv.in { opacity: 1; transform: none; }
@media (max-width: 560px) {
  /* carrousel d'avis : pas d'effet pendant qu'on fait glisser */
  .js .reviews .rv { opacity: 1; transform: none; transition: none; }
}
@media print {
  .js .rv { opacity: 1 !important; transform: none !important; }
  .mobile-bar, .wa-float { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .portrait-brand .photo, .hero-banner img, .glow, .sheen, .bk-step.is-active,
  .hero-banner, .hero-card, .hero-card > *, .hero-brand .trust li, .nav.open,
  .wa-float, .wa-float::before, .mobile-bar { animation: none !important; }
  .sheen { display: none; }
}
