/* ==========================================================================
   Vitrine blindclub.fr : bleu nuit et bleu BlindClub (couleurs du logo), titres en Outfit.
   Sections alternées : sombre (hero, chrono, appel final) et claire (fonctions, tarifs, FAQ).
   ========================================================================== */
@font-face { font-family: Outfit; font-weight: 300 800; font-display: swap; src: url(../fonts/outfit-latin-var.woff2) format("woff2"); }

.pf {
  --nuit: #050D1F; --nuit-2: #0B1A3A; --nuit-3: #13285A;
  --bleu: #2B7FFF; --bleu-clair: #7FB2FF; --or: #F2B84B;
  --texte-nuit: #C9D5EE;
  --accent: var(--bleu); --accent-ink: #fff;
  background: #F7F8FB; font-size: var(--f16); color: var(--ink);
}
.pf h1, .pf h2, .pf h3 { font-family: Outfit, Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.pf-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.pf .btn { border-radius: 999px; font-weight: 600; }
.pf .btn-lg { min-height: 50px; padding: 0 26px; }
.pf .btn-clair { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
.pf .btn-clair:hover { background: rgba(255, 255, 255, .16); }

/* --- En-tête : transparent sur le bandeau sombre, puis opaque (classe posée par platform.js au défilement) --- */
.pf-head { position: sticky; top: 0; z-index: 20; background: rgba(5, 13, 31, .96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pf-head-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.pf-logo { display: flex; align-items: center; line-height: 0; }
.pf-logo img { height: 34px; width: auto; }
.pf-nav { display: flex; align-items: center; gap: 26px; }
.pf-nav a:not(.btn) { text-decoration: none; color: var(--texte-nuit); font-weight: 500; font-size: var(--f14); }
.pf-nav a:not(.btn):hover, .pf-nav a[aria-current] { color: #fff; }
.pf-nav .btn { min-height: 40px; }
.pf-menu { display: none; }

/* --- Bandeau d'accueil --- */
.nuit { background: radial-gradient(1200px 600px at 80% -10%, rgba(43, 127, 255, .28), transparent 60%),
                    radial-gradient(900px 500px at -10% 110%, rgba(43, 127, 255, .16), transparent 60%), var(--nuit);
        color: #fff; position: relative; overflow: hidden; }
.nuit .muted, .nuit p { color: var(--texte-nuit); }
.hero { padding: 84px 0 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 36px; align-items: center; }
.badge-or { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(242, 184, 75, .12); color: var(--or); font-size: var(--f13); font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.02; font-weight: 700; margin-bottom: 22px; color: #fff; }
.hero h1 em { font-style: normal; color: var(--bleu-clair); }
.hero .lead { font-size: 1.18rem; max-width: 52ch; margin-bottom: 30px; }
.hero .actions { gap: 12px; }
.hero .note { margin: 18px 0 0; font-size: var(--f14); }
.hero .note b { color: #fff; font-weight: 600; }
/* Montage : écran du club sur ordinateur, téléphone du jour J par-dessus */
/* L'ovale de la table : anneau de lumière qui tourne, 8 places qui s'allument, fenêtre du site et téléphone à l'intérieur (comme la V1) */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.table-ovale { position: relative; width: 100%; aspect-ratio: 1.62 / 1; margin-block: 10px; }
/* Décor incliné de 20° (la droite monte) ; la scène reste droite par-dessus */
.table-decor { position: absolute; inset: 0; transform: rotate(-20deg); }
.table-fond { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(143, 193, 255, .2); background: radial-gradient(60% 60% at 50% 50%, rgba(47, 128, 237, .18), transparent 75%); box-shadow: inset 0 0 0 20px rgba(47, 128, 237, .04), inset 0 0 0 21px rgba(143, 193, 255, .1); }
.table-rail { position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed rgba(143, 193, 255, .2); }
/* Anneau : un dégradé conique qui tourne, découpé en liseré (masque) ; le halo est le même, flou */
.anneau, .anneau-halo {
  position: absolute; inset: 0; border-radius: 50%; padding: 3px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 52%, rgba(47, 128, 237, .55) 76%, #8fc1ff 90%, #fff 96%, transparent 97.5%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: tour 7s linear infinite;
}
.anneau-halo { padding: 10px; filter: blur(16px); opacity: .85; }
/* Une place : s'allume quand la lumière de l'anneau passe (délai réglé dans le HTML) */
.place { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #123566; border: 3px solid var(--bleu); animation: place 7s linear infinite; }
.table-scene { position: absolute; inset: 15% 30% 15% 9%; display: grid; place-items: center; }
.table-scene .pc { width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid rgba(143, 193, 255, .3); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8); background: var(--nuit-2); }
.table-scene .pc img { display: block; width: 100%; height: auto; }
/* Le téléphone occupe la partie droite de l'ovale, à côté de la fenêtre */
.table-scene .tel { position: absolute; right: -41%; bottom: -3%; width: 28%; border-radius: 22px; overflow: hidden; border: 5px solid #0E1830; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); animation: flotte 6s ease-in-out infinite; }
.table-scene .tel img { display: block; width: 100%; height: auto; }
@keyframes tour { to { --ang: 360deg; } }
@keyframes place { 0%, 100% { background: #123566; box-shadow: 0 0 0 0 rgba(143, 193, 255, 0); } 3% { background: #fff; box-shadow: 0 0 22px 8px rgba(143, 193, 255, .95); } 12% { background: #123566; box-shadow: 0 0 0 0 rgba(143, 193, 255, 0); } }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
/* Visiteur qui demande moins de mouvement : l'anneau et les places restent fixes */
@media (prefers-reduced-motion: reduce) { .anneau, .anneau-halo, .place, .table-scene .tel { animation: none; } .place { background: #1d4c8f; } }
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, .08); }
.chiffres b { display: block; font-family: Outfit, sans-serif; font-size: 1.8rem; color: #fff; font-weight: 600; }
.chiffres span { color: var(--texte-nuit); font-size: var(--f14); }

/* --- Sections claires --- */
.section { padding: 96px 0; }
.section + .section:not(.nuit) { border-top: 1px solid var(--line); }
.surtitre { display: block; color: var(--bleu); font-weight: 600; font-size: var(--f13); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.nuit .surtitre { color: var(--bleu-clair); }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; max-width: 24ch; margin-bottom: 16px; }
.section .intro { color: var(--ink-2); font-size: 1.1rem; max-width: 62ch; margin-bottom: 48px; }
.nuit .intro { color: var(--texte-nuit); }
.centre { text-align: center; }
.centre h2, .centre .intro { margin-left: auto; margin-right: auto; }

/* Cartes de fonctions */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.carte { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: transform var(--t), box-shadow var(--t); }
.carte:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(5, 13, 31, .35); }
.carte .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #EAF2FF; color: var(--bleu); font-size: 22px; margin-bottom: 18px; }
.carte h3 { font-size: 1.15rem; margin-bottom: 8px; }
.carte p { color: var(--ink-2); margin: 0; font-size: var(--f14); }

/* Rangées image + texte (Jour J, site du club...) */
.rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rangee + .rangee { margin-top: 96px; }
.rangee.inverse > :first-child { order: 2; }
.rangee h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 14px; }
.rangee p { color: var(--ink-2); }
.nuit .rangee p { color: var(--texte-nuit); }
.coches { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.coches li { padding-left: 30px; position: relative; }
.coches li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #EAF2FF; color: var(--bleu); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.nuit .coches li::before { background: rgba(43, 127, 255, .2); color: var(--bleu-clair); }
.ecran { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -35px rgba(5, 13, 31, .45); background: #fff; }
.nuit .ecran { border-color: rgba(255, 255, 255, .1); }
.ecran img { display: block; width: 100%; }
.telephone { max-width: 300px; margin: 0 auto; border-radius: 34px; overflow: hidden; border: 8px solid var(--nuit); box-shadow: 0 30px 70px -30px rgba(5, 13, 31, .6); }
.telephone img { display: block; width: 100%; }

/* Trois styles de site, au choix */
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.style-carte { margin: 0; }
.style-carte .ecran { aspect-ratio: 16 / 10; }
.style-carte .ecran img { height: 100%; object-fit: cover; object-position: top; }
.style-carte figcaption { margin-top: 14px; }
.style-carte figcaption b { display: block; font-family: Outfit, sans-serif; font-size: 1.1rem; }
.style-carte figcaption span { color: var(--muted); font-size: var(--f14); }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: e; padding: 0; margin: 0; }
.etapes li { list-style: none; counter-increment: e; }
.etapes li::before { content: counter(e); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bleu); color: #fff; font-family: Outfit, sans-serif; font-weight: 700; margin-bottom: 16px; }
.etapes h3 { font-size: 1.15rem; margin-bottom: 6px; }
.etapes p { color: var(--ink-2); margin: 0; }

/* --- Tarif --- */
.tarif { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.prix-carte { background: var(--nuit); color: #fff; border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
              box-shadow: 0 40px 80px -40px rgba(5, 13, 31, .8); }
.prix-carte::after { content: "♠"; position: absolute; right: -10px; bottom: -60px; font-size: 260px; line-height: 1; color: rgba(255, 255, 255, .04); }
.prix-carte .nom { color: var(--bleu-clair); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: var(--f13); }
.prix-carte .montant { font-family: Outfit, sans-serif; font-size: 4rem; font-weight: 700; line-height: 1; margin: 14px 0 6px; }
.prix-carte .montant small { font-size: 1.1rem; font-weight: 500; color: var(--texte-nuit); }
.prix-carte .sous { color: var(--texte-nuit); margin-bottom: 26px; }
.prix-carte .coches li::before { background: rgba(43, 127, 255, .2); color: var(--bleu-clair); }
.prix-carte .coches { margin-bottom: 30px; }
.prix-carte .mention { color: var(--texte-nuit); font-size: var(--f13); margin: 14px 0 0; text-align: center; }
.inclus { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.inclus h3 { grid-column: 1 / -1; font-size: 1.1rem; margin: 18px 0 4px; }
.inclus h3:first-child { margin-top: 0; }
.inclus span { padding-left: 26px; position: relative; color: var(--ink-2); font-size: var(--f14); }
.inclus span::before { content: "✓"; position: absolute; left: 0; color: var(--bleu); font-weight: 700; }

/* --- Questions fréquentes --- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: Outfit, sans-serif; font-size: 1.15rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bleu); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }

/* --- Appel final --- */
.appel { text-align: center; padding: 96px 0; }
.appel h2 { color: #fff; margin-left: auto; margin-right: auto; }
.appel .actions { justify-content: center; gap: 12px; margin-top: 28px; }
.enseignes { font-size: 2rem; letter-spacing: 18px; color: rgba(255, 255, 255, .18); margin-bottom: 18px; }
.enseignes .r { color: rgba(242, 90, 90, .45); }

/* --- Pages intérieures (fonctionnalités, tarifs) --- */
.tete { padding: 72px 0 64px; }
.tete h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.05; color: #fff; max-width: 20ch; margin-bottom: 18px; }
.tete .lead { font-size: 1.15rem; max-width: 60ch; margin: 0; }
.sommaire { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.sommaire a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; font-size: var(--f14); }
.sommaire a:hover { background: rgba(255, 255, 255, .1); }
.module { scroll-margin-top: 90px; }

/* --- Formulaires de la vitrine (créer, retrouver) --- */
.pf-form { max-width: 580px; margin: 56px auto 96px; }
.pf-form h1 { font-size: 2.2rem; }
.pf-form .card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 24px 50px -36px rgba(5, 13, 31, .4); }
.pf-form .btn { border-radius: 10px; }
.slug-field { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #fff; }
.slug-field input { border: 0; border-radius: 0; min-width: 0; }
.slug-field input:focus { box-shadow: none; }
.slug-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.slug-field span { display: grid; place-items: center; padding: 0 12px; background: var(--surface-2); color: var(--muted); border-left: 1px solid var(--line); white-space: nowrap; }
.slug-state { font-size: var(--f13); min-height: 20px; }
.slug-state.ok { color: var(--success); }
.slug-state.ko { color: var(--danger); }
.hp { position: absolute; left: -9999px; }
.club-list { list-style: none; padding: 0; margin: 16px 0 0; }
.club-list li a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); text-decoration: none; }
.club-list li a:hover { background: var(--surface-2); }
.flash-vitrine { margin-top: 20px; }

/* --- Pied de page --- */
.pf-foot { background: var(--nuit); color: var(--texte-nuit); padding: 64px 0 32px; font-size: var(--f14); }
.pf-foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.pf-foot img { height: 30px; width: auto; margin-bottom: 14px; }
.pf-foot h4 { color: #fff; font-family: Outfit, sans-serif; font-size: 1rem; margin-bottom: 12px; }
.pf-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pf-foot a { color: var(--texte-nuit); text-decoration: none; }
.pf-foot a:hover { color: #fff; }
.pf-foot .bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: var(--f13); }

/* --- Pages juridiques (CGV, mentions légales, sous-traitance) : texte long, lisible --- */
.legal { padding: 64px 0 96px; }
.legal .pf-wrap { max-width: 780px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal li { margin-bottom: 6px; }

/* --- Téléphone et tablette --- */
@media (max-width: 960px) {
  .hero-in, .rangee, .tarif { grid-template-columns: 1fr; gap: 40px; }
  .rangee.inverse > :first-child { order: 0; }
  .cartes, .styles { grid-template-columns: 1fr 1fr; }
  .pf-foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pf-wrap { padding: 0 16px; }
  .pf-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
            background: var(--nuit); padding: 8px 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .pf-nav.ouvert { display: flex; }
  .pf-nav a:not(.btn) { padding: 12px 0; font-size: var(--f16); }
  .pf-nav .btn { margin-top: 8px; }
  .pf-menu { display: inline-flex; background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 10px; min-height: 40px; padding: 0 14px; font: inherit; font-weight: 600; }
  .hero { padding-top: 48px; }
  .section, .appel { padding: 64px 0; }
  .cartes, .styles, .etapes, .inclus, .chiffres { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .place { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-width: 2px; }
  .prix-carte { padding: 28px; }
  .prix-carte .montant { font-size: 3.2rem; }
  .pf-foot-in { grid-template-columns: 1fr; }
}
.carte .ic svg { width: 24px; height: 24px; }
.appel h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; max-width: 24ch; margin-bottom: 16px; }
