/* =====================================================================
   BRIQUE & BLAIREAU — feuille de style
   Univers : carrelage blanc de salon, brique rose de Toulouse,
   bleu pastel (la guède) et son indigo profond.
   ===================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2-variations"),
       url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --chaux: #F6F7F4;
  --blanc: #FFFFFF;
  --guede: #22336B;
  --nuit: #172451;
  --pastel: #C9DAEE;
  --pastel-clair: #E4ECF6;
  --pastel-vif: #9DBBE0;
  --rose: #EF8274;
  --rose-clair: #FBD9D2;
  --rose-fonce: #B23A2C;
  --encre: #1B2238;
  --gris: #4F5872;
  --ligne: #D9DEE6;
  --tuile: #ECEFF3;
  --wa: #25D366;
  --wa-encre: #0B2A17;
  --vert-ouvert: #1E8E4F;

  --f: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cadre: 1180px;
  --pad-sec: clamp(64px, 9vw, 120px);
  --ombre: 0 14px 34px rgba(34, 51, 107, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--encre);
  background: var(--chaux);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--guede); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--rose-fonce); }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--f);
  color: var(--guede);
  margin: 0;
  text-wrap: balance;
}
h1, h2 {
  font-stretch: 75%;
  font-weight: 790;
  line-height: .94;
  letter-spacing: -.012em;
}
h1 { font-size: clamp(2.6rem, 5.3vw, 5.2rem); }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
h3 { font-size: 1.4rem; font-stretch: 85%; font-weight: 720; line-height: 1.1; }

:focus-visible { outline: 3px solid var(--rose-fonce); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: absolute; left: 12px; top: -60px; background: var(--guede); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.evitement:focus { top: 12px; color: #fff; }

.cadre { width: min(100% - 32px, var(--cadre)); margin-inline: auto; }
section { padding-block: var(--pad-sec); }
.sec-tete { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-tete h2 { margin-bottom: 18px; }
.sec-tete p { color: var(--gris); font-size: 1.06rem; }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-grand { padding: 16px 28px; font-size: 1.06rem; }
.btn-plein { background: var(--guede); color: #fff; }
.btn-plein:hover { background: var(--nuit); color: #fff; }
.btn-wa { background: var(--wa); color: var(--wa-encre); }
.btn-wa:hover { background: #1FBE5A; color: var(--wa-encre); }
.btn-ligne { border-color: var(--guede); color: var(--guede); background: transparent; }
.btn-ligne:hover { background: var(--guede); color: #fff; }
.btn-encre { background: var(--encre); color: #fff; }
.btn-encre:hover { background: var(--nuit); color: #fff; }

/* ---------- Emplacements photo en attente ---------- */
.ph {
  aspect-ratio: var(--ratio, 4/5);
  width: 100%;
  background: repeating-linear-gradient(-45deg, var(--pastel-clair) 0 14px, #F3F6FA 14px 28px);
  display: grid; place-items: center;
}
.ph-nom { background: #fff; color: var(--gris); font-size: .78rem; padding: 4px 12px; border-radius: 999px; }
:where(img[style*="--ratio"]) { aspect-ratio: var(--ratio); width: 100%; height: auto; object-fit: cover; }

/* ---------- Bandeau de démonstration ---------- */
.demo-bandeau { background: var(--nuit); color: #E7ECF6; font-size: .86rem; line-height: 1.4; }
.demo-bandeau p { width: min(100% - 32px, var(--cadre)); margin: 0 auto; padding: 9px 0; text-align: center; }
.demo-bandeau a { color: var(--rose-clair); font-weight: 650; margin-left: 6px; }
.demo-bandeau a:hover { color: #fff; }
.demo-court { display: none; }
.demo-bandeau .demo-bascule { color: #fff; text-decoration-color: var(--rose); text-underline-offset: 3px; }

/* ---------- Étiquettes « Option » (démo uniquement) ---------- */
.opt { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 13px 5px 6px; border-radius: 999px; background: var(--rose-clair); color: var(--rose-fonce); font-size: .8rem; font-weight: 650; line-height: 1.25; }
.opt-mot { background: var(--rose-fonce); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; flex: none; }
.opt-ligne { margin: -6px 0 18px; }
.aa .opt-ligne { margin: 4px 0 0; }
.demo-note { font-size: .9rem; color: var(--gris); background: var(--rose-clair); display: inline-block; padding: 6px 14px; border-radius: 10px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 244, .93);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--ligne);
}
.entete-in { width: min(100% - 32px, var(--cadre)); margin: 0 auto; height: 74px; display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--guede); margin-right: auto; }
.logo:hover { color: var(--guede); }
.logo-poteau { width: 13px; height: 37px; flex: none; }
.logo-poteau rect { fill: var(--guede); }
.logo-poteau .logo-tube { fill: #fff; }
.logo-r { fill: var(--rose); }
.logo-b { fill: var(--pastel-vif); }
.logo-txt { font-stretch: 75%; font-weight: 800; font-size: 1.55rem; letter-spacing: -.01em; line-height: 1; }
.logo-et { color: var(--rose-fonce); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 550; font-size: .97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--guede); border-bottom-color: var(--rose); }

.statut { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--guede); white-space: nowrap; }
.statut-pastille { width: 9px; height: 9px; border-radius: 50%; background: var(--gris); flex: none; }
.est-ouvert .statut-pastille, .statut-pastille.ouvert { background: var(--vert-ouvert); box-shadow: 0 0 0 0 rgba(30, 142, 79, .45); animation: pouls 2.4s ease-out infinite; }
.est-ferme .statut-pastille, .statut-pastille.ferme { background: var(--rose-fonce); }
@keyframes pouls { 70% { box-shadow: 0 0 0 7px rgba(30, 142, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 142, 79, 0); } }

.burger { display: none; width: 46px; height: 46px; border: 2px solid var(--guede); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.burger-barres, .burger-barres::before, .burger-barres::after { position: absolute; left: 11px; width: 20px; height: 2.5px; background: var(--guede); border-radius: 2px; content: ""; transition: transform .25s, opacity .2s; }
.burger-barres { top: 20px; }
.burger-barres::before { top: -6px; left: 0; }
.burger-barres::after { top: 6px; left: 0; }
.burger[aria-expanded="true"] .burger-barres { background: transparent; }
.burger[aria-expanded="true"] .burger-barres::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-barres::after { transform: translateY(-6px) rotate(-45deg); }

.menu-mobile { border-top: 1px solid var(--ligne); background: var(--chaux); }
.menu-mobile ul { list-style: none; margin: 0 auto; padding: 8px 0 18px; width: min(100% - 32px, var(--cadre)); }
.menu-mobile a { display: block; padding: 13px 0; font-size: 1.15rem; font-weight: 650; color: var(--guede); text-decoration: none; border-bottom: 1px solid var(--ligne); }

/* ---------- Héro ---------- */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(72px, 9vw, 110px); }
.hero-in { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 span { display: block; }
@media (min-width: 1100px) { .hero h1 span { white-space: nowrap; } }
.hero h1 .h1-b { padding-left: .5em; }
.hero-sous { font-size: clamp(1.08rem, 1.6vw, 1.24rem); max-width: 34em; color: var(--encre); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-faits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--gris); font-size: .96rem; }
.hero-faits li { display: inline-flex; align-items: center; gap: 10px; }
.hero-faits li::before {
  content: ""; width: 7px; height: 18px; border-radius: 4px; flex: none;
  background: repeating-linear-gradient(-50deg, var(--rose) 0 4px, #fff 4px 7px, var(--pastel-vif) 7px 11px, #fff 11px 14px);
  box-shadow: 0 0 0 1.5px var(--guede);
}

.hero-visuel { position: relative; margin: 0; padding-left: 40px; }
.arche { border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--pastel-clair); }
.arche-hero { aspect-ratio: 4/5; box-shadow: var(--ombre); border-radius: 50% 50% 22px 22px / 34% 34% 22px 22px; }
.arche > .ph, .arche img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.kenburns { width: 100%; height: 100%; animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 38% 24%; will-change: transform; }
.kenburns > * { width: 100%; height: 100%; object-fit: cover; }
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.1) translate(1.2%, 1%); }
}

/* Le poteau de barbier : le seul élément qui bouge tout seul */
.poteau { position: absolute; left: 0; top: 14%; height: 58%; width: 24px; display: flex; flex-direction: column; }
.poteau::before, .poteau::after { content: ""; display: block; height: 12px; margin-inline: -4px; background: var(--guede); border-radius: 8px; flex: none; }
.poteau-tube { position: relative; flex: 1; overflow: hidden; background: #fff; border-inline: 2px solid var(--guede); }
.poteau-tube::before {
  content: ""; position: absolute; left: -10px; right: -10px; top: -60px; bottom: -60px;
  background: repeating-linear-gradient(to bottom, var(--rose) 0 11px, #fff 11px 22px, var(--pastel-vif) 22px 33px, #fff 33px 44px);
  transform: skewY(-38deg);
  animation: poteau 3.4s linear infinite;
}
@keyframes poteau { to { transform: skewY(-38deg) translateY(44px); } }

.hero-carte {
  position: absolute; left: 4px; bottom: -26px;
  background: #fff; border-radius: 18px; padding: 14px 20px; box-shadow: var(--ombre);
  display: grid; gap: 2px; min-width: 250px; max-width: calc(100% - 20px);
}
.hc-statut { display: inline-flex; align-items: center; gap: 9px; font-weight: 680; color: var(--guede); font-size: 1rem; }
.hc-aff { color: var(--gris); font-size: .9rem; }
.hc-aff:empty { display: none; }

/* ---------- La maison ---------- */
.maison { background: var(--blanc); }
.maison-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.maison-photos { position: relative; padding-bottom: 70px; }
.maison-grande { border-radius: 22px; overflow: hidden; }
.maison-photos > .maison-grande { width: 88%; }
.maison-petite { position: absolute; right: 0; bottom: 0; width: 38%; border-radius: 50%; border: 8px solid var(--blanc); overflow: hidden; }
.maison-txt h2 { margin-bottom: 26px; }
.maison-txt p { font-size: 1.08rem; max-width: 32em; }

/* ---------- Tarifs : l'ardoise ---------- */
.tarifs {
  background-color: var(--blanc);
  background-image:
    linear-gradient(var(--tuile) 1px, transparent 1px),
    linear-gradient(90deg, var(--tuile) 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: center top;
}
.ardoise {
  background: var(--blanc);
  border: 3px solid var(--guede);
  border-radius: 26px;
  padding: clamp(22px, 3.4vw, 42px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.4vw, 46px);
  box-shadow: 10px 10px 0 var(--pastel);
}
.ardoise-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 3px solid var(--guede); }
.ardoise-vignette { width: 64px !important; height: 64px; border-radius: 50%; overflow: hidden; flex: none; }
.ardoise-tete .ph.ardoise-vignette .ph-nom { display: none; }
.ardoise-tete h3 { font-size: 1.6rem; font-stretch: 75%; font-weight: 790; }
.lignes { list-style: none; margin: 0; padding: 0; }
.lignes li + li { border-top: 1px dashed var(--ligne); }
.ligne {
  display: grid; grid-template-columns: minmax(0, max-content) minmax(14px, 1fr) auto auto; column-gap: 9px; align-items: baseline;
  background: none; border: 0; padding: 13px 10px; margin-inline: -10px; width: calc(100% + 20px);
  text-align: left; cursor: pointer; border-radius: 12px; position: relative;
  transition: background-color .18s;
}
.ligne:hover, .ligne:focus-visible { background: var(--pastel-clair); }
.ligne-nom { font-weight: 640; color: var(--encre); line-height: 1.25; }
.ligne-pts { align-self: end; border-bottom: 2px dotted var(--pastel-vif); margin-bottom: .4em; }
.ligne-duree { color: var(--gris); font-size: .86rem; white-space: nowrap; }
.ligne-prix { font-weight: 780; color: var(--guede); font-size: 1.12rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ligne-detail { grid-column: 1 / -1; color: var(--gris); font-size: .86rem; line-height: 1.35; margin-top: 3px; padding-right: 84px; }
.ligne-cta {
  position: absolute; right: 10px; bottom: 10px;
  background: var(--guede); color: #fff; font-size: .78rem; font-weight: 650; padding: 4px 12px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .18s;
}
.ligne:hover .ligne-cta, .ligne:focus-visible .ligne-cta { opacity: 1; }
.ligne.choisie { background: var(--rose-clair); }

/* ---------- Avant / après ---------- */
.aa { background: var(--guede); color: #E7ECF6; }
.aa h2 { color: #fff; margin-bottom: 18px; }
.aa-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.aa-mode { color: #C7D2E8; }
.aa-onglets { display: flex; gap: 10px; margin: 26px 0 22px; }
.aa-onglets button {
  background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 999px; padding: 10px 24px; font-weight: 650; cursor: pointer;
}
.aa-onglets button[aria-selected="true"] { background: var(--rose); border-color: var(--rose); color: var(--encre); }
.aa-legende { font-size: 1.1rem; color: #fff; max-width: 26em; }
.aa-comp { justify-self: center; width: min(100%, 520px); }
.aa-paire { position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; background: var(--nuit); box-shadow: 14px 14px 0 rgba(239, 130, 116, .9); }
.aa-paire[hidden] { display: none; }
.aa-calque { position: absolute; inset: 0; }
.aa-calque > * { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.aa-avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.aa-avant .ph { background: repeating-linear-gradient(-45deg, var(--rose-clair) 0 14px, #FDEDEA 14px 28px); }
.aa-etiq { position: absolute; top: 16px; background: rgba(23, 36, 81, .78); color: #fff; font-size: .86rem; font-weight: 650; padding: 5px 13px; border-radius: 999px; pointer-events: none; }
.aa-etiq-avant { left: 16px; }
.aa-etiq-apres { right: 16px; }
.aa-poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.aa-poignee::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--guede);
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; letter-spacing: .08em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.aa-curseur { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.aa-paire:has(.aa-curseur:focus-visible) { outline: 3px solid var(--rose); outline-offset: 5px; }
/* Version de base : les deux photos côte à côte, sans curseur */
.aa-comp-duo { width: min(100%, 640px); }
.aa-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aa-duo[hidden] { display: none; }
.aa-duo figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--nuit); }
.aa-duo figure:last-child { box-shadow: 10px 10px 0 rgba(239, 130, 116, .9); }
.aa-duo img, .aa-duo .ph { display: block; }
.aa-duo figcaption { position: absolute; top: 12px; left: 12px; background: rgba(23, 36, 81, .78); color: #fff; font-size: .84rem; font-weight: 650; padding: 4px 12px; border-radius: 999px; }

/* ---------- Équipe ---------- */
.equipe-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 44px); }
.membre h3 { font-size: 2.1rem; font-stretch: 75%; font-weight: 790; margin-bottom: 4px; }
.arche-membre { aspect-ratio: 4/5; margin-bottom: 20px; }
.membre:nth-child(2) .arche-membre { background: var(--rose-clair); }
.membre-role { color: var(--rose-fonce); font-weight: 600; margin-bottom: 10px; }
.membre p { max-width: 28em; }
.membre .btn { margin-top: 8px; }

/* ---------- Galerie ---------- */
.galerie { background: var(--blanc); }
.galerie-grille { columns: 3 260px; column-gap: 18px; }
.galerie-item { margin: 0 0 18px; break-inside: avoid; border-radius: 18px; overflow: hidden; }
.galerie-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.galerie-btn img { transition: transform .5s ease; }
.galerie-btn:hover img { transform: scale(1.035); }

/* ---------- Horaires et affluence ---------- */
.horaires { background: var(--pastel-clair); }
.hor-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.hor-gauche h2 { margin-bottom: 20px; }
.hor-live { display: flex; align-items: center; gap: 10px; font-size: 1.22rem; font-weight: 680; color: var(--guede); margin-bottom: 22px; }
.hor-table { width: 100%; border-collapse: collapse; font-size: 1.04rem; margin-bottom: 18px; }
.hor-table th, .hor-table td { padding: 11px 14px; border-bottom: 1px solid rgba(34, 51, 107, .14); }
.hor-table th { text-align: left; font-weight: 560; }
.hor-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hor-table tr.ferme td { color: var(--gris); }
.hor-table tr.auj { background: #fff; box-shadow: inset 5px 0 0 var(--rose); }
.hor-table tr.auj th, .hor-table tr.auj td { font-weight: 760; color: var(--guede); }
.hor-note { color: var(--gris); font-size: .95rem; }

.aff { background: #fff; border: 3px solid var(--guede); border-radius: 26px; padding: clamp(22px, 3vw, 34px); box-shadow: 10px 10px 0 var(--pastel-vif); }
.aff h3 { font-size: 1.7rem; font-stretch: 75%; font-weight: 790; margin-bottom: 16px; }
.aff-jours { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.aff-jours button { border: 2px solid var(--ligne); background: #fff; color: var(--guede); border-radius: 999px; padding: 7px 14px; font-weight: 650; font-size: .92rem; cursor: pointer; min-width: 52px; }
.aff-jours button[aria-selected="true"] { background: var(--guede); border-color: var(--guede); color: #fff; }
.aff-graph { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding-bottom: 26px; position: relative; border-bottom: 2px solid var(--guede); }
.aff-barre { flex: 1; position: relative; border-radius: 8px 8px 3px 3px; min-height: 6px; transition: height .35s ease; }
.aff-barre.n1 { background: var(--pastel-vif); }
.aff-barre.n2 { background: #6F8FC4; }
.aff-barre.n3 { background: var(--rose); }
.aff-barre.vide { background: var(--tuile); min-height: 4px; }
.aff-barre .aff-h { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-size: .74rem; color: var(--gris); white-space: nowrap; }
.aff-barre.maintenant { outline: 3px solid var(--guede); outline-offset: 2px; }
.aff-barre.maintenant::before { content: "maintenant"; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 700; color: var(--guede); background: #fff; white-space: nowrap; }
.aff-legende { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; color: var(--gris); margin: 34px 0 12px; }
.aff-l { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -8px; vertical-align: -1px; }
.aff-l1 { background: var(--pastel-vif); } .aff-l2 { background: #6F8FC4; } .aff-l3 { background: var(--rose); }
.aff-conseil { font-weight: 600; color: var(--guede); }

/* ---------- Avis ---------- */
.avis-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.avis-item { margin: 0; padding: 30px 28px 26px; background: #fff; border-radius: 22px; border: 2px solid var(--ligne); position: relative; }
.avis-item::before { content: "“"; position: absolute; top: -6px; left: 22px; font-size: 5rem; line-height: 1; color: var(--rose); font-weight: 800; }
.avis-item blockquote { margin: 18px 0 18px; font-size: 1.08rem; }
.avis-item figcaption { font-weight: 720; color: var(--guede); }

/* ---------- Rendez-vous ---------- */
.rdv { background: var(--guede); color: #E7ECF6; }
.rdv h2 { color: #fff; margin-bottom: 18px; }
.rdv-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.rdv-intro { max-width: 34em; font-size: 1.08rem; margin-bottom: 28px; }
.rdv-form { background: #fff; color: var(--encre); border-radius: 26px; padding: clamp(22px, 3.4vw, 38px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.champ { display: grid; gap: 7px; align-content: start; min-width: 0; }
.champ label, .champ legend { font-weight: 650; color: var(--guede); font-size: .97rem; padding: 0; }
.champ input, .champ select, .champ textarea {
  width: 100%; border: 2px solid var(--ligne); border-radius: 12px; padding: 12px 14px; background: #fff; min-height: 50px;
  transition: border-color .15s;
}
.champ textarea { resize: vertical; min-height: 74px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--guede); outline: none; box-shadow: 0 0 0 3px var(--pastel); }
.champ-aide { font-size: .86rem; color: var(--gris); margin: 0; }
.champ-aide.alerte { color: var(--rose-fonce); font-weight: 600; }
.facultatif { font-weight: 400; color: var(--gris); }
.rdv-form > * { grid-column: 1 / -1; }
.rdv-form > .demi { grid-column: auto; }
.creneaux { border: 0; margin: 0; padding: 0; }
.creneaux-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.creneaux-liste:empty { display: none; }
.creneaux-liste button {
  border: 2px solid var(--ligne); background: #fff; border-radius: 999px; padding: 8px 14px;
  font-weight: 620; font-size: .93rem; cursor: pointer; color: var(--guede); font-variant-numeric: tabular-nums;
}
.creneaux-liste button:hover { border-color: var(--guede); }
.creneaux-liste button[aria-pressed="true"] { background: var(--guede); border-color: var(--guede); color: #fff; }
.creneaux-liste button:disabled { color: #A3A9B8; text-decoration: line-through; cursor: not-allowed; border-color: var(--tuile); }
.rdv-erreur { margin: 0; background: var(--rose-clair); color: var(--rose-fonce); font-weight: 650; padding: 10px 14px; border-radius: 12px; }
.rdv-envoyer { justify-self: start; }
.rdv-alt { margin: 0; color: var(--gris); }

.rdv-apercu { position: sticky; top: 104px; justify-self: center; }
.tel { width: min(100%, 330px); border-radius: 38px; background: #ECE5DD; border: 10px solid var(--nuit); overflow: hidden; box-shadow: 16px 16px 0 rgba(239, 130, 116, .85); }
.tel-tete { background: #075E54; color: #fff; display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.tel-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: var(--encre); display: grid; place-items: center; font-weight: 800; font-size: .78rem; font-stretch: 75%; }
.tel-nom { font-weight: 650; line-height: 1.15; display: grid; }
.tel-nom small { font-weight: 400; opacity: .85; font-size: .78rem; }
.tel-fil { min-height: 330px; padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 10px; }
.tel-jour { align-self: center; background: rgba(255, 255, 255, .85); color: var(--gris); font-size: .74rem; padding: 3px 10px; border-radius: 8px; margin: 0 0 4px; }
.bulle {
  background: #DCF8C6; color: #111B21; border-radius: 12px 12px 3px 12px; padding: 9px 12px 18px; font-size: .92rem; line-height: 1.42;
  white-space: pre-line; align-self: flex-end; max-width: 92%; position: relative; box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}
.bulle::after { content: "✓✓"; position: absolute; right: 9px; bottom: 3px; font-size: .62rem; color: #53BDEB; letter-spacing: -.12em; }
.bulle-salon { background: #fff; align-self: flex-start; border-radius: 12px 12px 12px 3px; }
.bulle-salon::after { content: none; }
.bulle[hidden] { display: none; }
.tel-pied { display: flex; align-items: center; gap: 8px; padding: 10px 12px 14px; }
.tel-pied span:first-child { flex: 1; background: #fff; border-radius: 999px; padding: 9px 14px; color: #8696A0; font-size: .86rem; }
.tel-envoi { width: 40px; height: 40px; border-radius: 50%; background: #00A884; flex: none; }
.rdv-apercu-legende { text-align: center; color: #C7D2E8; font-size: .9rem; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq-in { max-width: 860px; }
.faq-item { border-bottom: 2px solid var(--ligne); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 52px 22px 0; position: relative;
  font-weight: 680; font-size: 1.14rem; color: var(--guede); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--pastel-clair); color: var(--guede);
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 600; transition: transform .25s, background-color .25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--rose); color: var(--encre); }
.faq-item p { padding: 0 52px 24px 0; color: var(--encre); max-width: 44em; }

/* ---------- Venir ---------- */
.venir { background: var(--blanc); }
.venir-in { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.venir-infos h2 { margin-bottom: 26px; }
.adresse { font-style: normal; font-size: 1.12rem; line-height: 1.55; margin-bottom: 26px; padding-left: 18px; border-left: 5px solid var(--rose); }
.adresse strong { color: var(--guede); }
.acces { margin: 0 0 28px; display: grid; gap: 12px; }
.acces div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; }
.acces dt { font-weight: 720; color: var(--guede); }
.acces dd { margin: 0; color: var(--encre); }
.itineraires { display: flex; flex-wrap: wrap; gap: 10px; }
.carte { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3; background: var(--pastel-clair); box-shadow: 12px 12px 0 var(--pastel); }
.carte > .ph, .carte > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.carte-voile { position: absolute; inset: 0; display: grid; place-content: end center; justify-items: center; gap: 10px; padding: 20px 20px 24px; text-align: center; background: linear-gradient(to top, rgba(23, 36, 81, .85) 0%, rgba(23, 36, 81, .4) 34%, rgba(23, 36, 81, 0) 60%); color: #fff; }
.carte-voile p { font-size: .88rem; max-width: 26em; margin: 0; }
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) hue-rotate(-8deg); }

/* ---------- Offre de démonstration ---------- */
.demo-offre { background: var(--rose); color: var(--encre); padding-block: clamp(48px, 7vw, 84px); }
.demo-offre-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px 56px; align-items: center; }
.demo-offre h2 { color: var(--encre); margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3rem); }
.demo-offre p { max-width: 34em; font-size: 1.05rem; }
.demo-prix { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.demo-prix li { background: rgba(255, 255, 255, .62); border-radius: 16px; padding: 14px 18px; display: grid; gap: 2px; }
.demo-prix strong { font-weight: 760; }
.demo-prix-opt { background: rgba(255, 255, 255, .38) !important; }
.demo-prix-opt a { color: var(--encre); font-weight: 700; }
.demo-offre .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: #D6DEEC; font-size: .97rem; }
.pied a { color: #fff; }
.pied a:hover { color: var(--rose-clair); }
.pied-in { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr .9fr; gap: 36px; padding: 64px 0 40px; }
.pied-logo { font-stretch: 75%; font-weight: 800; font-size: 2.1rem; line-height: 1; color: #fff; margin-bottom: 12px; }
.pied-logo span { color: var(--rose); }
.pied-titre { font-size: 1rem; font-weight: 720; color: #fff; margin-bottom: 12px; font-stretch: 100%; line-height: 1.3; }
.pied-horaires, .pied-liens { list-style: none; margin: 0; padding: 0; }
.pied-horaires li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.pied-horaires li span:last-child { font-variant-numeric: tabular-nums; }
.pied-liens li { padding: 3px 0; }
.pied-bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }
.pied-bas p { margin: 0; }
.credit a { color: var(--rose-clair); font-weight: 650; }

/* ---------- Actions flottantes ---------- */
.wa-flottant {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--wa-encre); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(11, 42, 23, .28);
  transition: transform .2s;
}
.wa-flottant:hover { transform: scale(1.06); color: var(--wa-encre); }
.wa-flottant .ico { width: 30px; height: 30px; }
.barre-mobile { display: none; }
/* Sur la démo, le bouton flottant porte sa petite étiquette d'option */
.wa-demo::before { content: "Option"; position: absolute; right: 50%; bottom: calc(100% + 6px); transform: translateX(50%); background: var(--rose-fonce); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* ---------- Fenêtres ---------- */
.fenetre { border: 0; border-radius: 24px; padding: 0; max-width: min(460px, calc(100% - 32px)); color: var(--encre); box-shadow: 0 30px 80px rgba(23, 36, 81, .35); }
.fenetre::backdrop, .visionneuse::backdrop { background: rgba(23, 36, 81, .6); }
.fenetre-in { padding: 34px 28px 28px; position: relative; display: grid; gap: 14px; }
.fenetre h2 { font-size: 2rem; padding-right: 36px; }
.fenetre p { margin: 0; }
.fenetre-petit { font-size: .9rem; color: var(--gris); }
.bulle-fenetre { align-self: auto; justify-self: end; max-width: 100%; }
.fenetre-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fenetre-fermer { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--pastel-clair); color: var(--guede); cursor: pointer; font-size: 1rem; font-weight: 700; }
.visionneuse { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.visionneuse img { max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 14px; }
.visionneuse-fermer { top: -18px; right: -10px; z-index: 2; background: #fff; }

/* ---------- Mentions légales ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .cadre { max-width: 780px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 30px; }
.legal h2 { font-size: 1.7rem; margin: 36px 0 12px; }

/* ---------- Animations scroll : seulement les navigateurs qui savent ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .arche-membre img, .arche-membre .ph {
      animation: monte linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    @keyframes monte { from { transform: scale(1.12); } to { transform: scale(1); } }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 900px) {
  body.a-barre { padding-bottom: 66px; }
  .barre-demo::before { content: "Option"; position: absolute; right: 8px; bottom: calc(100% + 5px); background: var(--rose-fonce); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; pointer-events: none; }
  .hero-in, .maison-in, .aa-in, .hor-in, .rdv-in, .venir-in, .demo-offre-in { grid-template-columns: 1fr; }
  .hero-visuel { max-width: 460px; width: 100%; justify-self: center; margin-bottom: 26px; }
  .equipe-grille, .avis-grille { grid-template-columns: 1fr; }
  .equipe-grille { max-width: 520px; }
  .ardoise { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--pastel); }
  .rdv-apercu { position: static; }
  .rdv-apercu .tel-fil { min-height: 0; }
  .tel { box-shadow: 10px 10px 0 rgba(239, 130, 116, .85); }
  .aa-txt { order: 0; }
  .wa-flottant { display: none; }
  .btn-entete { display: none; }
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr 1.15fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--ligne);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .barre-mobile a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; text-decoration: none; color: var(--guede); font-size: .8rem; font-weight: 680; }
  .barre-mobile a .ico { width: 22px; height: 22px; }
  .barre-mobile .barre-rdv { background: var(--guede); color: #fff; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .demo-long { display: none; }
  .demo-court { display: inline; }
  .statut { display: none; }
  .entete-in { height: 64px; }
  .logo-txt { font-size: 1.4rem; }
  .hero h1 .h1-b { padding-left: 0; }
  .hero-actions .btn { width: 100%; }
  .hero-visuel { padding-left: 30px; }
  .poteau { width: 20px; }
  .hero-carte { min-width: 0; left: 0; right: 10px; }
  .rdv-form { grid-template-columns: 1fr; }
  .rdv-envoyer { width: 100%; justify-self: stretch; white-space: normal; }
  .ligne-detail { padding-right: 0; }
  .acces div { grid-template-columns: 1fr; gap: 2px; }
  .itineraires .btn { flex: 1 1 auto; }
  .demo-offre .btn { width: 100%; white-space: normal; text-align: center; }
  .pied-in { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .aa-onglets button { flex: 1; }
  .faq-item p { padding-right: 0; }
  .aff-graph { gap: 4px; }
  .aff-barre.impair .aff-h { visibility: hidden; }
}
@media (hover: none) {
  .ligne-cta { display: none; }
  .ligne-detail { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kenburns, .poteau-tube::before, .statut-pastille { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

.carte-grand { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 9px 16px; font-size: .9rem; }
