/* ==========================================================================
   b.css — VERSION B « bleu nuit & pêche »
   Référence : Ines Dubois (bleu nuit, pêche, beige) et Albane Paubert (serif).
   Même ossature que la version A, palette et typographie différentes.
   ========================================================================== */

:root {
  --navy: #1E3A5F;
  --navy-dark: #142A46;
  --peach: #E8956A;
  --peach-soft: #F2B48F;
  --peach-light: #FBE3D4;
  --beige: #F6EFE7;
  --cream: #FFFBF7;
  --white: #FFFFFF;
  --ink: #1D2B3A;
  --ink-soft: #4F5D6B;
  --line: #E7DED3;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(30, 58, 95, .12);
  --font-head: "Lora", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --container: 1140px;
  /* alias pour les règles partagées */
  --sauge: var(--peach); --sauge-dark: var(--navy); --sauge-light: var(--peach-light); --sand: var(--beige); --terracotta: var(--peach);
}

body { font-family: var(--font-body); color: var(--ink); background: var(--cream); font-size: 1.1rem; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: 0; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 700; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--sand { background: var(--beige); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy .eyebrow { color: #fff; }
.section--navy p { color: rgba(255,255,255,.82); }
.section__head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); margin-bottom: .8rem; }
.section__head p { margin-top: 1rem; font-size: 1.12rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--peach); color: var(--navy-dark); box-shadow: 0 8px 20px rgba(232,149,106,.3); }
.btn--primary:hover { background: var(--peach-soft); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--beige); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

/* Barre d'infos */
.topbar { background: var(--beige); color: var(--navy); font-size: .9rem; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; justify-content: space-between; gap: 1.5rem; padding: .5rem 0; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar svg { width: 15px; height: 15px; color: var(--peach); }
@media (max-width: 780px) { .topbar__inner > :nth-child(2) { display: none; } }
@media (max-width: 520px) { .topbar__inner > :first-child span { display: none; } }

/* En-tête bleu nuit */
.header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: #fff; transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(20,42,70,.3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 82px; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.1; color: #fff; display: flex; flex-direction: column; }
.brand__name small { font-family: var(--font-body); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--peach-soft); margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav ul { display: flex; gap: 1.6rem; }
.nav li a { font-weight: 600; font-size: 1rem; color: rgba(255,255,255,.88); position: relative; padding: .4rem 0; }
.nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--peach); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav li a:hover, .nav li a[aria-current="page"] { color: #fff; }
.nav li a:hover::after, .nav li a[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
@media (max-width: 920px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; gap: 2rem; transform: translateX(100%); transition: transform .3s ease; z-index: 90; }
  .header { backdrop-filter: none; }
  .nav ul { flex-direction: column; align-items: center; gap: 1.4rem; }
  .nav li a { font-size: 1.5rem; font-family: var(--font-head); }
  .nav-open .nav { transform: none; }
  .nav-open .burger { position: relative; z-index: 95; }
  .nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
}

/* Hero avec portrait en arche */
.hero { background: var(--beige); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero h1 { margin: .2rem 0 1.2rem; }
.hero__lead { font-size: 1.18rem; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; font-size: .95rem; color: var(--ink-soft); }
.hero__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__meta svg { width: 16px; height: 16px; color: var(--peach); }
.arch { position: relative; justify-self: center; width: min(100%, 420px); }
.arch::before { content: ""; position: absolute; inset: 10% -10% -6% 12%; background: var(--peach-light); border-radius: 220px 220px 28px 28px; z-index: 0; }
.arch img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 220px 220px 28px 28px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } .arch { width: min(100%, 320px); justify-self: start; } }

/* Motifs en quatre colonnes */
.motifs { background: var(--white); border-bottom: 1px solid var(--line); }
.motifs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2.5rem 0; }
.motifs__grid li { display: grid; gap: .5rem; }
.motifs__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--peach-light); color: var(--peach); display: grid; place-items: center; margin-bottom: .4rem; }
.motifs__icon svg { width: 26px; height: 26px; }
.motifs__grid h3 { font-size: 1.15rem; }
.motifs__grid p { font-size: .98rem; }
@media (max-width: 920px) { .motifs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .motifs__grid { grid-template-columns: 1fr; } }

/* Cartes */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.6rem; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--peach-light); color: var(--peach); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: 1rem; }
.card--link { display: block; }
.card--link .card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 700; color: var(--navy); font-size: .98rem; }
.card--link .card__more svg { width: 16px; height: 16px; transition: transform .2s; }
.card--link:hover .card__more svg { transform: translateX(4px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

/* Puces */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; font-size: .98rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .5rem; }
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--peach); }

/* Étapes (sur bleu nuit en accueil, sur beige ailleurs) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--peach); color: var(--navy-dark); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 1rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { font-size: .98rem; }
.section--navy .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.section--navy .step h3 { color: #fff; }
.section--navy .step p { color: rgba(255,255,255,.8); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Présentation */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse { grid-template-columns: 1.1fr .9fr; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__media--portrait img { aspect-ratio: 4 / 5; object-position: top; border-radius: 180px 180px 24px 24px; }
.split h2 { margin-bottom: 1rem; }
.split p + p { margin-top: .9rem; }
.facts { display: grid; gap: .8rem; margin-top: 1.6rem; }
.facts li { display: flex; gap: .8rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; }
.facts svg { width: 22px; height: 22px; color: var(--peach); flex: none; margin-top: .1rem; }
.facts strong { display: block; font-weight: 700; color: var(--navy); }
.facts span { font-size: .95rem; color: var(--ink-soft); }
.split .btn { margin-top: 1.6rem; }
@media (max-width: 860px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--navy); border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; font-weight: 700; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:first-child { grid-column: 1 / -1; } }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; }
.info h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.info h3 svg { width: 22px; height: 22px; color: var(--peach); }
.hours { display: grid; gap: .35rem; font-size: 1rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { text-align: right; color: var(--ink-soft); }
.hours li.is-today { font-weight: 700; color: var(--navy); }
.hours li.is-today span:last-child { color: var(--navy); }
.open-state { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 700; color: var(--peach); margin-top: .8rem; }
.open-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.open-state.is-open { color: #2E7D5B; }
.info p + p { margin-top: .6rem; }
.info .btn { margin-top: 1.2rem; }
.list-check li { display: flex; gap: .6rem; align-items: flex-start; padding: .3rem 0; font-size: 1rem; }
.list-check svg { width: 20px; height: 20px; color: var(--peach); flex: none; margin-top: .15rem; }
.note { font-size: .9rem; color: var(--ink-soft); margin-top: .9rem; }
@media (max-width: 960px) { .infos { grid-template-columns: 1fr; } }

/* Bandeau d'appel */
.cta-band { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(2.2rem, 5vw, 3.6rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(242,180,143,.18); }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 520px; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; }
.cta-band .btn--light { background: var(--peach); color: var(--navy-dark); }

/* En-tête de page intérieure */
.page-head { background: var(--beige); padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.page-head h1 { margin: .3rem 0 .8rem; }
.page-head p { font-size: 1.14rem; max-width: 640px; }
.crumbs { display: flex; gap: .5rem; font-size: .88rem; color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* Prose */
.prose { max-width: 720px; }
.prose p + p { margin-top: 1rem; }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .5rem; }
.prose ul { display: grid; gap: .4rem; margin-top: .8rem; }
.prose ul li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--peach); }

/* Frise */
.timeline { position: relative; display: grid; gap: 1.2rem; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--peach-light); }
.timeline li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-2rem + 3px); top: 1.25rem; width: 12px; height: 12px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 4px var(--cream); }
.timeline time { font-weight: 700; color: var(--peach); font-size: .92rem; letter-spacing: .04em; }
.timeline strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-top: .15rem; }
.timeline span { font-size: .95rem; color: var(--ink-soft); }
.timeline li.is-highlight { border-color: var(--peach); }

/* Encadré */
.callout { background: var(--peach-light); border-radius: var(--radius); padding: 1.4rem 1.6rem; color: var(--ink); display: flex; gap: 1rem; align-items: flex-start; }
.callout svg { width: 26px; height: 26px; color: var(--peach); flex: none; }
.callout p { color: var(--ink); font-size: 1rem; }

/* Carte d'accès */
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.map-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.map-card__body { padding: 1.4rem 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }

/* Pied de page */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; margin-top: clamp(3rem, 7vw, 6rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h3 { color: var(--peach-soft); font-family: var(--font-body); font-size: .82rem; margin-bottom: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer ul { display: grid; gap: .45rem; font-size: .98rem; }
.footer .brand__name { color: #fff; }
.footer .brand__name small { color: var(--peach-soft); }
.footer__about { margin-top: 1rem; font-size: .98rem; color: rgba(255,255,255,.72); max-width: 360px; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--peach); border-color: var(--peach); color: var(--navy-dark); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-size: .86rem; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Rail d’icônes latéral et bouton mobile */
.rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 98; display: grid; gap: 6px; padding: 6px; background: var(--navy); border-radius: 14px 0 0 14px; box-shadow: var(--shadow); }
.rail a { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: #fff; transition: background .2s, color .2s; }
.rail a:hover { background: var(--peach); color: var(--navy-dark); }
.rail svg { width: 22px; height: 22px; }
.mobile-cta { display: none; }
/* Entre 921 et 1260px, le rail fixe (56px) empiéterait sur le contenu : on resserre le conteneur. */
@media (min-width: 921px) and (max-width: 1260px) { .container { width: min(100% - 128px, var(--container)); } }
@media (max-width: 920px) { .rail { display: none; } .mobile-cta { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 99; } }

/* Bloc « Vos avis » (fiche Google Business) */
.avis { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.avis h2 { margin-bottom: 1rem; }
.avis__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1.4rem; }
.avis__note { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.avis__note strong { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--sauge-dark); }
.avis__note span { display: inline-flex; gap: .15rem; color: #E8A83A; }
.avis__note span svg, .avis__note span svg path { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.avis__note small { flex-basis: 100%; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .avis { grid-template-columns: 1fr; } }

/* Grille d’avis Google (version B) */
.avis--head { margin-bottom: 2.4rem; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.review__stars { display: inline-flex; gap: .15rem; color: #E8A83A; }
.review__stars svg, .review__stars svg path { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review p { font-size: .98rem; line-height: 1.55; color: var(--ink); flex: 1; }
.review footer { display: flex; flex-direction: column; gap: .1rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.review footer strong { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.review footer span { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 1000px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reviews { grid-template-columns: 1fr; } }
