/* Thème des sites vitrine — les couleurs et polices viennent des réglages du site */
:root {
  --primary: #2f6fed; --on-primary: #fff; --bg: #fff; --text: #1d2433;
  --alt: color-mix(in srgb, var(--primary) 7%, var(--bg));
  --muted: color-mix(in srgb, var(--text) 65%, var(--bg));
  --line: color-mix(in srgb, var(--text) 12%, var(--bg));
  --font-title: "Poppins", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif;
  --radius: 14px; --wrap: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }

.btn { display: inline-block; background: var(--primary); color: var(--on-primary); padding: .85em 1.6em; border-radius: calc(var(--radius) * 3); text-decoration: none; font-weight: 600; border: 2px solid var(--primary); cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-light { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
.btn-sm { padding: .5em 1.1em; font-size: .92em; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.logo { font: 700 1.35rem var(--font-title); color: var(--text); text-decoration: none; }
.logo img { max-height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; opacity: .8; }
.nav a:not(.btn):hover, .nav a.actif { opacity: 1; color: var(--primary); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Bannière */
.hero { position: relative; display: grid; place-items: center; padding: 90px 0; color: var(--on-primary);
  background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--primary) 70%, #fff) 0, var(--primary) 55%, color-mix(in srgb, var(--primary) 70%, #000) 100%);
  background-size: cover; background-position: center; }
.hero.has-img { color: #fff; }
.hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)); }
.hero-inner { position: relative; width: min(var(--wrap), 100% - 32px); }
.hero-petite { min-height: 280px; } .hero-moyenne { min-height: 460px; } .hero-grande { min-height: calc(100vh - 70px); }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 4rem); max-width: 16ch; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 46ch; opacity: .92; margin: 0 0 1.8em; }
.surtitre { text-transform: uppercase; letter-spacing: .18em; font-size: .82rem; font-weight: 600; opacity: .85; margin: 0 0 1em; }
.align-centre .hero-inner { text-align: center; } .align-centre h1, .align-centre .hero-sub { margin-inline: auto; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; } .align-centre .hero-btns { justify-content: center; }
.hero .btn { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
.hero.has-img .btn { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.hero .btn-ghost, .hero.has-img .btn-ghost { background: transparent; color: inherit; border-color: currentColor; }

/* Blocs */
.bloc { padding: 84px 0; }
.bloc-wrap:nth-child(even) > .bloc:not(.cta) { background: var(--alt); }
.bloc-titre { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cartes .bloc-titre, .galerie .bloc-titre, .temoignages .bloc-titre, .chiffres .bloc-titre, .map .bloc-titre { text-align: center; }
.bloc-intro { text-align: center; color: var(--muted); max-width: 60ch; margin: -.2em auto 2.4em; }
.texte.align-centre { text-align: center; }
.rich p { margin: 0 0 1em; } .rich ul { padding-left: 1.2em; margin: 0 0 1em; } .rich li { margin-bottom: .35em; }
.vide { text-align: center; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.img-droite .split-media { order: 2; }
.split-media img, .placeholder { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.placeholder { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 25%, var(--bg)), color-mix(in srgb, var(--primary) 55%, var(--bg))); }
.split-text .btn { margin-top: .6em; }

.grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); }
.carte { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s, box-shadow .2s; }
.carte:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.carte-icone { font-size: 2.2rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--primary) 12%, var(--bg)); margin-bottom: 18px; }
.carte-img { width: calc(100% + 60px); margin: -30px -30px 22px; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; max-width: none; }
.carte h3 { font-size: 1.25rem; margin-bottom: .4em; }
.carte-prix { color: var(--primary); font-weight: 700; font-size: 1.1rem; margin: -.2em 0 .6em; }
.carte .rich { color: var(--muted); } .carte .rich p:last-child { margin: 0; }

.gallery { columns: 3 260px; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; }
.gallery img { width: 100%; border-radius: var(--radius); }
.gallery figcaption { font-size: .9rem; color: var(--muted); padding-top: 6px; }

.chiffres-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 70px; text-align: center; }
.chiffre strong { display: block; font: 700 clamp(2.2rem, 5vw, 3.2rem) var(--font-title); color: var(--primary); }
.chiffre span { color: var(--muted); }

.temoignage { margin: 0; background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.temoignage p { font-style: italic; margin: 0 0 1em; }
.temoignage footer { font-weight: 600; } .etoiles { color: #f5a623; display: block; letter-spacing: 2px; margin-bottom: 4px; }

.etapes .bloc-titre, .faq .bloc-titre { text-align: center; }
.steps { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 28px; align-items: start; }
.step-tabs { display: grid; gap: 10px; }
.step-tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.step-tab:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.step-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.step-tab.active { border-color: var(--primary); box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 18%, transparent); }
.step-num { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: color-mix(in srgb, var(--primary) 12%, var(--bg)); color: var(--primary); transition: background .2s, color .2s; }
.step-tab.active .step-num { background: var(--primary); color: var(--on-primary); }
.step-lbl { display: grid; font-weight: 600; line-height: 1.3; }
.step-lbl small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.step-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); min-height: 100%; animation: step-in .35s ease; }
.step-icone { font-size: 2.6rem; margin-bottom: 8px; }
.step-count { margin: 0 0 .3em; color: var(--primary); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); margin-bottom: 12px; transition: border-color .2s; }
.faq-item[open] { border-color: var(--primary); }
.faq-item summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--primary); transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--radius); }
.faq-item .rich { padding: 0 22px 6px; color: var(--muted); }

.cta { background: var(--primary); color: var(--on-primary); text-align: center; }
.cta p { font-size: 1.15rem; opacity: .92; margin: 0 0 1.8em; }

.horaires table { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td { padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.horaires td { text-align: right; } .note { color: var(--muted); font-size: .95rem; margin-top: 1em; }

.contact .split { align-items: start; }
.infos { list-style: none; padding: 0; margin: 1.4em 0 0; } .infos li { display: flex; gap: 12px; margin-bottom: 12px; } .infos a { color: inherit; }
.contact-form { background: var(--bg); padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 600; }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: calc(var(--radius) / 2); background: var(--bg); color: var(--text); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .95rem; } .form-status.ok { color: #1b8a4b; } .form-status.err { color: #c62828; }

.map-frame { width: 100%; height: 400px; border: 0; border-radius: var(--radius); }
.sep-ligne { position: relative; } .sep-ligne::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(var(--wrap), 100% - 32px); transform: translateX(-50%); border-top: 1px solid var(--line); }

/* Pied de page */
.site-footer { background: color-mix(in srgb, var(--text) 94%, var(--primary)); color: color-mix(in srgb, var(--bg) 85%, transparent); padding: 56px 0 22px; font-size: .95rem; }
.site-footer a { color: inherit; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-grid p { margin: 0 0 .4em; }
.footer-nom { font: 700 1.25rem var(--font-title); color: var(--bg); display: block; margin-bottom: .4em; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; align-content: start; }
.footer-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); opacity: .7; font-size: .88rem; }

/* Logo + nom */
.logo { display: inline-flex; align-items: center; gap: 10px; }

/* Bandeau avec constellation */
.hero-constellation { place-items: stretch; }
.hero-constellation .hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; margin-inline: auto; }
.hero-visual { position: relative; height: min(560px, 62vh); }
.constellation { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Style « Nuit » : fond noir, très grands titres, aucune carte ---------- */
.theme-nuit { --line: color-mix(in srgb, var(--text) 13%, var(--bg)); --muted: color-mix(in srgb, var(--text) 72%, var(--bg));
  background: var(--bg); color: var(--text); font-weight: 200; font-size: 18px; line-height: 1.5; min-height: 100vh; font-feature-settings: "ss01" on; }
.theme-nuit h1, .theme-nuit h2, .theme-nuit h3 { font-weight: 400; letter-spacing: -0.04em; }
.theme-nuit h3 { letter-spacing: -0.02em; }
.theme-nuit strong { font-weight: 600; }
.theme-nuit a:not(.btn) { color: var(--accent); }
.theme-nuit .rich, .theme-nuit .hero-sub, .theme-nuit .bloc-intro { color: var(--muted); }

.theme-nuit .site-header { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: none; border-bottom: 0; }
.theme-nuit .header-inner { min-height: 84px; }
.theme-nuit a.logo { color: var(--text); font-weight: 400; letter-spacing: -0.02em; }
.theme-nuit .logo img { max-height: 40px; }
.theme-nuit .nav a:not(.btn) { color: var(--muted); opacity: 1; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; }
.theme-nuit .nav a:not(.btn):hover, .theme-nuit .nav a.actif { color: var(--text); }

.theme-nuit .btn { border-radius: 24px; text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: .025em; padding: 14px 20px; }
.theme-nuit .btn:hover { box-shadow: none; transform: translateY(-1px); filter: brightness(1.1); }
.theme-nuit .btn.btn-ghost, .theme-nuit .hero .btn.btn-ghost, .theme-nuit .hero.has-img .btn.btn-ghost { background: none; border-color: transparent; color: var(--text); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.theme-nuit .hero { background: var(--bg); color: var(--text); padding: 60px 0 90px; }
.theme-nuit .hero h1 { font-size: clamp(3rem, 8.2vw, 7rem); line-height: 1; max-width: 11ch; }
.theme-nuit .hero-petite h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.theme-nuit .hero-sub { font-size: 18px; max-width: 30em; }
.theme-nuit .surtitre { color: var(--accent); opacity: 1; font-size: 14px; letter-spacing: .1em; }
.theme-nuit .hero .btn, .theme-nuit .hero.has-img .btn { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.theme-nuit .hero-petite { min-height: 0; padding: 90px 0 30px; }

.theme-nuit .bloc { padding: clamp(72px, 10vw, 120px) 0; }
.theme-nuit .bloc-wrap:nth-child(even) > .bloc:not(.cta) { background: transparent; }
.theme-nuit .bloc-titre { font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1.05; text-align: left !important; max-width: 16ch; margin-bottom: .5em; }
.theme-nuit .bloc-intro { text-align: left; margin: -.2em 0 2.6em; max-width: 34em; }

/* Texte : titre à gauche, paragraphe à droite */
.theme-nuit .texte .wrap.narrow { max-width: var(--wrap); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.theme-nuit .texte .bloc-titre { margin: 0; }
.theme-nuit .texte .rich { padding-top: .6em; }

/* Plus de cartes : le contenu flotte sur le fond */
.theme-nuit .carte, .theme-nuit .temoignage { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 26px 0 0; }
.theme-nuit .carte:hover { transform: none; box-shadow: none; }
.theme-nuit .carte-icone { background: none; width: auto; height: auto; display: block; font-size: 1.9rem; margin-bottom: 14px; }
.theme-nuit .carte-img { width: 100%; margin: 0 0 18px; border-radius: var(--radius); }
.theme-nuit .carte h3 { font-size: 1.6rem; }
.theme-nuit .carte-prix { color: var(--accent); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.theme-nuit .grid { gap: 40px 48px; }

.theme-nuit .chiffres-row { justify-content: space-between; gap: 30px 50px; text-align: left; }
.theme-nuit .chiffre strong { font-weight: 400; letter-spacing: -0.04em; color: var(--text); font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; }
.theme-nuit .chiffre span { color: var(--accent); text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: .08em; }

.theme-nuit .step-tab { background: none; border-color: var(--line); }
.theme-nuit .step-tab.active { box-shadow: none; }
.theme-nuit .step-num { background: none; border: 1px solid var(--line); color: var(--text); }
.theme-nuit .step-panel { background: none; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 8px 0 8px clamp(20px, 4vw, 48px); }
.theme-nuit .step-panel h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.theme-nuit .step-count { color: var(--accent); }

.theme-nuit .faq .wrap.narrow { max-width: var(--wrap); }
.theme-nuit .faq-item { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; }
.theme-nuit .faq-item summary { font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.01em; padding: 24px 56px 24px 0; }
.theme-nuit .faq-item summary::after { right: 4px; color: var(--accent); }
.theme-nuit .faq-item .rich { padding: 0 0 20px; max-width: 46em; }

.theme-nuit .cta { background: transparent; color: var(--text); text-align: left; }
.theme-nuit .cta .wrap.narrow { max-width: var(--wrap); }
.theme-nuit .cta .bloc-titre { max-width: 14ch; }
.theme-nuit .cta p { color: var(--muted); max-width: 32em; }
.theme-nuit .cta .btn-light { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

.theme-nuit .contact-form { background: none; border: 0; padding: 0; }
.theme-nuit .contact-form label { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .025em; color: var(--muted); }
.theme-nuit .contact-form input, .theme-nuit .contact-form textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; font-weight: 200; font-size: 18px; }
.theme-nuit .contact-form input:focus, .theme-nuit .contact-form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.theme-nuit .contact-form .btn { justify-self: start; }

.theme-nuit .horaires th, .theme-nuit .horaires td { font-weight: 200; }
.theme-nuit .site-footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); }
.theme-nuit .footer-nom { color: var(--text); font-weight: 400; }
.theme-nuit .footer-bottom { border-top-color: var(--line); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .burger { display: block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; }
  .nav.open { display: flex; } .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); } .nav .btn { margin-top: 12px; text-align: center; }
  .split, .cols-2, .cols-3, .cols-4, .row2, .steps, .hero-constellation .hero-inner, .theme-nuit .texte .wrap.narrow { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; order: -1; }
  .theme-nuit .step-panel { border-left: 0; padding: 18px 0 0; }
  .step-tab:hover { transform: none; }
  .img-droite .split-media { order: 0; }
  .bloc { padding: 60px 0; } .hero { padding: 64px 0; }
}

/* Liens légaux du pied de page */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { opacity: 1; color: var(--primary); }
.rich.legal h2 { font-size: 1.25rem; margin: 2em 0 .5em; }
.rich.legal h2:first-child { margin-top: 0; }
