/*
 * Vitrine Cercloo — identité « club d'affaires » (2026-09-15).
 * Palette : bleu marine profond + laiton/cognac (bois, cuir) + crème.
 * Titres serif (Georgia). Les visuels sont des photos (public/images/)
 * et des cartes typographiques — pas de schéma abstrait.
 */
:root {
    --navy: #132238;
    --navy-2: #1d3050;
    --navy-deep: #0d1524;
    --blue: #3d5a7c;
    --brass: #dcaf6b;
    --brass-dark: #9c722f;
    --ink: #17202e;
    --muted: #6a7180;
    --line: #e0d9c9;
    --paper: #fdfcf9;
    --cream: #f6f0e4;
    --sand: #f2ecdd;
    --success: #16834b;
    --success-soft: #eaf8ef;
    --warning: #b65d0a;
    --error: #b42318;
    --radius: 18px;
    --shadow: 0 22px 70px rgba(19, 34, 56, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
input, select, button { font-family: inherit; }
img { max-width: 100%; }
a { color: var(--blue); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); }
h3 { font-size: 1.35rem; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(76px, 9vw, 132px); }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; transform: translateY(-150%); background: var(--brass); color: var(--navy); font-weight: 800; border-radius: 8px; }
.skip-link:focus { transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(253,252,249,.93); border-bottom: 1px solid rgba(224,217,201,.8); backdrop-filter: blur(14px); }
.header-inner { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; color: var(--navy); text-decoration: none; }
.brand-name { font-size: 1.35rem; font-weight: 850; letter-spacing: -.055em; }
.brand-mark { width: 31px; height: 31px; padding: 6px; display: grid; place-items: center; border-radius: 9px; background: var(--navy); transform: rotate(-5deg); }
.brand-mark::before { content: ""; width: 100%; height: 100%; border: 4px solid var(--brass); border-radius: 50%; }
.brand-mark span { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.main-nav { display: flex; gap: 36px; }
.main-nav a { position: relative; color: #4a5468; font-size: .94rem; font-weight: 700; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--brass-dark); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--navy); }
.header-actions { justify-self: end; }

/* Shared controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; font-size: .94rem; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .text-link:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.btn span { font-size: 1.1em; }
.btn-primary { color: #fff; background: var(--navy); box-shadow: 0 8px 20px rgba(19,34,56,.16); }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { color: var(--navy-deep); background: var(--brass); box-shadow: 0 12px 28px rgba(220,175,107,.3); }
.btn-accent:hover { background: #d3a458; box-shadow: 0 16px 36px rgba(220,175,107,.42); }
.btn-light { color: var(--navy); background: #fff; border-color: var(--line); }
.btn-light:hover { background: var(--cream); }
.btn-ghost { color: var(--blue); background: transparent; border-color: var(--blue); }
.btn-danger { color: var(--error); background: transparent; border-color: var(--error); }
.btn-danger:hover { background: #fff0ee; }
.btn-lg { min-height: 58px; padding: 16px 27px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 7px 13px; font-size: .82rem; }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--navy); font-weight: 800; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--brass-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow > span { width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--brass); }
.flash { margin-top: 16px; padding: 13px 18px; border-radius: 10px; font-weight: 700; }
.flash-success { color: var(--success); background: var(--success-soft); }
.flash-erreur { color: var(--error); background: #fff0ee; }
.mini-logo { display: inline-block; width: 19px; height: 19px; border: 5px solid var(--brass-dark); border-radius: 50%; }

/* Héros de l'accueil : la photo du club avant le logiciel */
.hero-human { position: relative; overflow: hidden; min-height: 700px; color: var(--ink); background: var(--cream); }
.hero-human::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(circle at 1px 1px, #cbc2ae 1px, transparent 0); background-size: 25px 25px; mask-image: linear-gradient(90deg,#000,transparent 58%); }
.hero-inner { position: relative; z-index: 2; min-height: 700px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 74px 92px; }
.hero-copy { position: relative; z-index: 3; }
.hero-human h1 { max-width: 640px; color: var(--navy); font-size: clamp(2.5rem, 4vw, 3.55rem); line-height: 1.08; }
.hero-lead { max-width: 580px; margin: 27px 0 32px; color: #5b6272; font-size: 1.12rem; line-height: 1.7; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero-reassurance { display: flex; flex-wrap: wrap; gap: 20px 28px; margin: 32px 0 0; padding: 0; list-style: none; color: #6d7484; font-size: .83rem; }
.hero-reassurance li::before { content: "✓"; margin-right: 7px; color: var(--brass-dark); font-weight: 800; }
.club-photo-stage { position: relative; min-width: 0; padding: 30px 22px 0 13px; }
.photo-frame { position: relative; height: 500px; overflow: hidden; border-radius: 64px 16px 64px 16px; background: #ddd2c0; box-shadow: 0 30px 70px rgba(32,42,60,.22); }
.photo-frame::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(13,21,36,.68)); }
.photo-frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 55% center; }
.photo-caption { position: absolute; z-index: 2; right: 30px; bottom: 28px; left: 30px; display: flex; align-items: center; gap: 13px; color: #fff; }
.photo-caption > span { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 6px rgba(220,175,107,.25); }
.photo-caption p { display: grid; margin: 0; }
.photo-caption strong { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.photo-caption small { color: #ddd6c8; font-size: .68rem; }
.meeting-card { position: absolute; z-index: 3; top: 0; right: 0; display: flex; align-items: center; gap: 13px; min-width: 300px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.75); border-radius: 13px; color: var(--ink); background: rgba(253,252,249,.96); box-shadow: 0 18px 40px rgba(19,34,56,.18); backdrop-filter: blur(8px); }
.meeting-date { width: 48px; height: 52px; display: grid; place-items: center; align-content: center; border-radius: 9px; color: var(--navy-deep); background: var(--brass); }
.meeting-date strong { font-size: 1.2rem; line-height: 1; }
.meeting-date span { font-size: .48rem; font-weight: 800; }
.meeting-card > div:last-child { display: grid; }
.meeting-card small { color: var(--brass-dark); font-size: .5rem; font-weight: 850; letter-spacing: .08em; }
.meeting-card > div > strong { font-size: .74rem; }
.meeting-card > div > span { color: var(--muted); font-size: .57rem; }

/* Bandeau public visé */
.audience-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.audience-inner { min-height: 92px; display: flex; align-items: center; gap: 44px; }
.audience-inner p { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.audience-inner ul { display: flex; align-items: center; flex-wrap: wrap; gap: 25px 46px; margin: 0; padding: 0; list-style: none; font-weight: 750; }
.audience-inner li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 12px; border-radius: 50%; background: var(--brass-dark); }

/* Sections de l'accueil */
.section-heading { margin-bottom: 58px; }
.split-heading { display: grid; grid-template-columns: 1.15fr .75fr; gap: 90px; align-items: end; }
.split-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 40px rgba(19,34,56,.07); }
.value-photo { position: relative; height: 230px; margin: 0; overflow: hidden; }
.value-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.value-card:hover .value-photo img { transform: scale(1.04); }
.value-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 var(--line); background: linear-gradient(rgba(19,34,56,.08), transparent 35%); }
.value-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 26px; }
.value-num { margin-bottom: 8px; color: var(--brass-dark); font-family: ui-monospace, monospace; font-size: .72rem; }
.value-card h3 { margin-bottom: 13px; }
.value-body > p { color: var(--muted); font-size: .94rem; }
.value-body > a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--sand); color: var(--navy); font-size: .86rem; font-weight: 800; text-decoration: none; }
.value-body > a span { color: var(--brass-dark); transition: transform .2s ease; }
.value-card:hover .value-body > a span { transform: translateX(4px); }

/* Le rythme du club (section marine) */
.rhythm-section { color: #fff; background: var(--navy); }
.rhythm-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: center; }
.rhythm-copy h2 { margin-bottom: 26px; color: #fff; }
.rhythm-copy > p:not(.eyebrow) { max-width: 430px; margin-bottom: 32px; color: #b6bfd2; }
.rhythm-steps { margin: 0; padding: 0; list-style: none; }
.rhythm-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.rhythm-steps li > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #5c6c8c; border-radius: 50%; color: var(--brass); font-weight: 850; }
.rhythm-steps strong { font-size: 1.12rem; }
.rhythm-steps p { margin: 5px 0 0; color: #aab4c9; font-size: .9rem; }

/* La fiche membre, en grand */
.feature-highlight { background: var(--cream); }
.highlight-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: center; }
.highlight-copy h2 { margin-bottom: 28px; }
.highlight-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.tick-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 700; }
.tick-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 23px; height: 23px; margin-right: 11px; border-radius: 50%; color: var(--navy-deep); background: var(--brass); font-size: .7rem; }

/* Appel final (partagé) */
.final-cta { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.final-cta::before { content: ""; position: absolute; width: 720px; height: 720px; right: -320px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(220,175,107,.16), transparent 65%); }
.final-cta-inner { position: relative; display: grid; grid-template-columns: 1.1fr .7fr; gap: 90px; align-items: center; }
.final-cta h2 { color: #fff; }
.final-cta .eyebrow { color: var(--brass); }
.final-cta-action p { color: #c3cadb; font-size: 1.05rem; }
.final-cta-action .btn { margin: 10px 0 12px; }
.final-cta-action small { display: block; color: #93876c; font-size: .75rem; }

/* Page produit */
.page-hero { color: var(--navy); background: var(--cream); }
.narrow-head { max-width: 970px; padding-block: 88px 96px; text-align: center; }
.narrow-head .eyebrow { justify-content: center; }
.narrow-head h1 { font-size: clamp(2.8rem, 5.4vw, 4.6rem); }
.narrow-head h1 em { color: var(--brass-dark); font-style: normal; }
.narrow-head > p:last-child { max-width: 670px; margin: 28px auto 0; color: var(--muted); font-size: 1.1rem; }
.product-nav-wrap { border-top: 1px solid var(--line); background: rgba(253,252,249,.55); }
.product-nav { display: flex; justify-content: center; gap: 50px; padding-block: 20px; }
.product-nav a { color: #5d6577; font-size: .83rem; font-weight: 750; text-decoration: none; }
.product-nav a:hover { color: var(--brass-dark); }
.product-section { padding-block: 120px; scroll-margin-top: 78px; }
.product-section-alt { background: var(--cream); }
.product-row { display: grid; grid-template-columns: .78fr 1.22fr; gap: 95px; align-items: center; }
.product-row-reverse { grid-template-columns: 1.22fr .78fr; }
.product-row-reverse .product-copy { order: 2; }
.feature-index { margin-bottom: 16px; color: var(--brass-dark); font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.product-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.lead-copy { margin: 25px 0 32px; color: var(--muted); font-size: 1.04rem; }
.plain-features { display: grid; gap: 19px; margin: 0; padding: 0; list-style: none; }
.plain-features li { padding-left: 20px; border-left: 2px solid var(--brass); }
.plain-features strong, .plain-features span { display: block; }
.plain-features strong { font-size: 1rem; }
.plain-features span { margin-top: 3px; color: var(--muted); font-size: .88rem; }

/*
 * Fenêtres d'exemple : reproduction FIDÈLE de l'interface d'app-club
 * (en-tête dégradé aux couleurs du club, cartes blanches sur fond gris,
 * boutons « pilule », tableaux à en-têtes capitales — cf.
 * app-club/assets/styles/app.css). Chaque fenêtre porte les couleurs de
 * SON club via --demo-1, comme dans la vraie application où le thème
 * vient des paramètres du club.
 */
.app-fenetre { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f5f6f8; box-shadow: var(--shadow); color: #1f2430; text-align: left; }
.af-entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 18px; background: linear-gradient(105deg, var(--demo-1), color-mix(in srgb, var(--demo-1) 82%, black)); color: #fff; }
.af-marque { font-family: Georgia, "Times New Roman", serif; font-size: .95rem; white-space: nowrap; }
.af-entete nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
.af-entete nav span { padding: 5px 11px; border-radius: 8px; color: rgba(255,255,255,.82); font-size: .7rem; font-weight: 600; }
.af-entete nav .af-actif { background: rgba(255,255,255,.16); color: #fff; }
.af-corps { padding: 20px 22px 24px; }
.af-corps h4 { margin: 0 0 14px; color: var(--demo-1); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.af-note { margin: -8px 0 14px; color: #68738a; font-size: .78rem; }
.af-carte { margin: 0; padding: 16px 18px 18px; border: 1px solid #e4e7ee; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgb(16 24 40 / .06), 0 4px 14px rgb(16 24 40 / .05); }
.af-carte + .af-carte { margin-top: 12px; }
.af-carte h5 { margin: 0 0 10px; color: #68738a; font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.af-carte p { margin: 0 0 10px; font-size: .84rem; line-height: 1.55; }
.af-carte p:last-child { margin-bottom: 0; }
.af-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 0; }
.af-dl div { min-width: 0; }
.af-dl dt { color: #68738a; font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; }
.af-dl dd { margin: 2px 0 0; font-size: .84rem; }
.af-boutons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.af-bouton { padding: 7px 17px; border: 1.5px solid transparent; border-radius: 999px; background: var(--demo-1); color: #fff; font-size: .76rem; font-weight: 600; }
.af-bouton-secondaire { border-color: color-mix(in srgb, var(--demo-1) 45%, #fff); background: transparent; color: var(--demo-1); }
.af-repli { margin-top: 12px; color: var(--demo-1); font-size: .78rem; }
.af-repli::before { content: "▸ "; font-size: .66rem; }
.af-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.af-recherche { flex: 1; min-width: 150px; padding: 8px 12px; border: 1px solid #e4e7ee; border-radius: 8px; background: #fff; color: #9aa3b2; font-size: .74rem; }
.af-carte-tableau { padding: 0; overflow: hidden; }
.af-tableau { width: 100%; border-collapse: collapse; font-size: .77rem; }
.af-tableau th { padding: 9px 13px; border-bottom: 2px solid #e4e7ee; color: #68738a; font-size: .6rem; font-weight: 700; letter-spacing: .07em; text-align: left; text-transform: uppercase; }
.af-tableau td { padding: 9px 13px; border-bottom: 1px solid #eef0f4; }
.af-tableau tr:last-child td { border-bottom: 0; }
.af-lien { color: var(--demo-1); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.af-legende { margin: 14px 0 0; color: var(--muted); font-size: .76rem; font-style: italic; }
.product-section-dark { color: #fff; background: var(--navy); }
.heading-light h2 { color: #fff; }
.heading-light > p { color: #b4bdd0; }
.management-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #33415f; border-radius: 18px; overflow: hidden; }
.management-grid article { min-height: 275px; padding: 30px; border-right: 1px solid #33415f; }
.management-grid article:last-child { border: 0; }
.line-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 46px; border: 1px solid #566486; border-radius: 50%; color: var(--brass); font-weight: 800; }
.management-grid h3 { font-size: 1.15rem; }
.management-grid p { margin-top: 12px; color: #aab4c9; font-size: .88rem; }

/* Tarifs */
/* Le héros tarifs et cette section partagent le même fond crème : sans
   ce resserrement, leurs paddings s'additionnent en ~230px de vide. */
.pricing-section.section { padding-top: clamp(8px, 2vw, 24px); background: var(--cream); }
.pricing-grid-new { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.toggle-radio { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle { display: flex; gap: 4px; width: fit-content; margin: 14px 0 4px; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--cream); }
.billing-toggle label { padding: 7px 14px; border-radius: 99px; color: var(--muted); font-size: .72rem; font-weight: 800; cursor: pointer; }
.price-top .price-annuel { display: none; }
#tarif-annuel:checked ~ .price-top .price-annuel { display: flex; }
#tarif-annuel:checked ~ .price-top .price-mensuel { display: none; }
#tarif-mensuel:checked ~ .price-top .billing-toggle label[for="tarif-mensuel"],
#tarif-annuel:checked ~ .price-top .billing-toggle label[for="tarif-annuel"] { color: var(--navy); background: #fff; box-shadow: 0 1px 4px rgba(19,34,56,.14); }
.price-card { position: relative; padding: 42px; border-radius: 19px; }
.price-free { color: #fff; background: var(--navy); }
.price-club { border: 1px solid var(--line); background: #fff; }
.plan-label { color: var(--brass); font-size: .69rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.price-club .plan-label { color: var(--brass-dark); }
.price-card h2 { margin: 18px 0 11px; font-size: 2.2rem; }
.price-free h2 { color: #fff; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price strong { font-size: 2.5rem; line-height: 1; }
.price span { color: #9aa6bd; font-size: .74rem; }
.price-top > p:last-child { min-height: 78px; color: #b6c0d4; font-size: .86rem; }
.price-club .price-top > p:last-child { color: var(--muted); }
.price-card ul { display: grid; gap: 12px; margin: 25px 0 32px; padding: 25px 0 0; border-top: 1px solid rgba(255,255,255,.14); list-style: none; font-size: .84rem; }
.price-club ul { border-color: var(--sand); }
.price-card li::before { content: "✓"; margin-right: 10px; color: var(--brass); font-weight: 900; }
.price-club li::before { color: var(--success); }
.popular-label { position: absolute; top: 20px; right: 20px; padding: 5px 10px; border-radius: 99px; color: var(--brass-dark); background: var(--sand); font-size: .58rem; font-weight: 800; }
.pricing-note { max-width: 930px; display: flex; gap: 17px; align-items: center; margin-top: 22px; padding: 22px 27px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.pricing-note > span { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-deep); background: var(--brass); font-weight: 900; }
.pricing-note p { margin: 0; color: var(--muted); font-size: .8rem; }
.pricing-note strong { color: var(--ink); }
.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.faq-layout > div:first-child > p:last-child { max-width: 380px; margin-top: 22px; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; cursor: pointer; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--brass-dark); }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 650px; margin: -5px 0 25px; color: var(--muted); font-size: .9rem; }

/* Création d'espace */
.signup-page { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.signup-page::before { content: ""; position: absolute; width: 700px; height: 700px; left: -370px; bottom: -380px; border: 1px solid rgba(220,175,107,.2); border-radius: 50%; box-shadow: 0 0 0 100px rgba(220,175,107,.04), 0 0 0 200px rgba(220,175,107,.028); }
.signup-layout { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; padding-block: 85px 105px; }
.signup-intro { position: sticky; top: 150px; padding-top: 25px; }
.signup-intro h1 { color: #fff; }
.signup-intro h1 em { color: var(--brass); }
.signup-intro > p:not(.eyebrow) { margin: 27px 0 32px; color: #b6c0d4; font-size: 1.05rem; }
.signup-preview { margin: 35px 0; padding: 18px; border: 1px solid #3b4a68; border-radius: 12px; background: rgba(255,255,255,.04); }
.preview-label { margin-bottom: 9px; color: #8d99b3; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.preview-url { display: flex; align-items: center; gap: 10px; min-width: 0; }
.preview-url .mini-logo { border-color: var(--brass); }
.preview-url strong { overflow: hidden; font-size: .86rem; text-overflow: ellipsis; }
.signup-points { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.signup-points li { display: grid; grid-template-columns: 30px 1fr; gap: 13px; }
.signup-points li > span { color: var(--brass); font-family: ui-monospace, monospace; font-size: .68rem; }
.signup-points div { display: grid; }
.signup-points strong { font-size: .86rem; }
.signup-points small { color: #93a0ba; font-size: .7rem; }
.signup-card { overflow: hidden; border-radius: 20px; color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.signup-card-head { display: flex; justify-content: space-between; padding: 24px 34px; border-bottom: 1px solid var(--line); }
.signup-card-head p { margin: 0; font-weight: 850; }
.signup-card-head span { color: var(--muted); font-size: .72rem; }
.signup-card form { padding: 32px 34px 34px; }
.signup-card fieldset { margin: 0 0 32px; padding: 0 0 25px; border: 0; border-bottom: 1px solid var(--sand); }
.signup-card legend { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 1rem; font-weight: 850; }
.signup-card legend span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-deep); background: var(--brass); font-size: .7rem; }
.signup-card form > div, .signup-card fieldset > div { margin-bottom: 17px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.signup-card label, .form-card label { display: block; margin-bottom: 6px; font-size: .76rem; font-weight: 800; }
.signup-card input[type="text"], .signup-card input[type="email"], .signup-card input[type="tel"], .signup-card input[type="password"], .signup-card select, .form-card input { width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid #cdc5b2; border-radius: 8px; color: var(--ink); background: #fff; font-size: .9rem; }
.signup-card input:focus, .signup-card select:focus, .form-card input:focus { outline: 3px solid rgba(156,114,47,.18); border-color: var(--brass-dark); }
.signup-card [id$="_help"] { display: block; margin-top: 5px; color: var(--muted); font-size: .66rem; }
.signup-card ul, .form-card ul { margin: 5px 0; padding: 0; color: var(--error); font-size: .7rem; list-style: none; }
.form-consent > div { display: flex; align-items: flex-start; gap: 8px; }
.form-consent input { flex: none; margin-top: 5px; accent-color: var(--brass-dark); }
.form-consent label { font-weight: 600; }
.form-footnote { margin: 16px 0 0; color: var(--muted); font-size: .65rem; text-align: center; }

/* Merci */
.thanks-page { min-height: calc(100vh - 78px); padding-block: 90px; background: var(--cream); }
.thanks-new { max-width: 780px; text-align: center; }
.success-orbit { width: 92px; height: 92px; display: grid; place-items: center; margin: 0 auto 30px; border: 1px solid #cfa15c; border-radius: 50%; box-shadow: 0 0 0 12px rgba(220,175,107,.25), 0 0 0 24px rgba(220,175,107,.11); }
.success-orbit span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-deep); background: var(--brass); font-size: 1.4rem; font-weight: 900; }
.thanks-new .eyebrow { justify-content: center; }
.thanks-new h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.thanks-lead { max-width: 650px; margin: 25px auto 32px; color: var(--muted); font-size: 1.05rem; }
.club-url-card, .pending-card { display: flex; align-items: center; gap: 15px; max-width: 590px; margin: 35px auto; padding: 20px 23px; border-radius: 13px; text-align: left; text-decoration: none; background: #fff; box-shadow: var(--shadow); }
.club-url-card div, .pending-card div { min-width: 0; display: grid; flex: 1; }
.club-url-card small, .pending-card small { color: var(--brass-dark); font-size: .59rem; font-weight: 850; letter-spacing: .1em; }
.club-url-card strong, .pending-card strong { overflow: hidden; color: var(--navy); font-size: .9rem; text-overflow: ellipsis; }
.club-url-card > b { color: var(--brass-dark); }
.next-steps { max-width: 590px; margin: 45px auto; text-align: left; }
.next-steps > p { font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.next-steps ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.next-steps li { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .82rem; font-weight: 700; }
.next-steps span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--brass-dark); font-size: .66rem; }
.pending-pulse { width: 18px; height: 18px; border-radius: 50%; background: var(--brass-dark); box-shadow: 0 0 0 7px rgba(156,114,47,.2); }
.thanks-help { color: var(--muted); font-size: .8rem; }

/* Back-office */
.form-card { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.admin-connexion { max-width: 430px; }
.admin-connexion h1 { margin-bottom: 22px; font-size: 1.6rem; text-align: center; }
.admin-connexion form > div { margin-bottom: 16px; }
.admin-note { max-width: 640px; margin: 0 0 22px; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.admin-entete { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.admin-entete h1 { font-size: 2rem; }
.admin-compteurs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: .72rem; font-weight: 800; }
.badge-attente { color: var(--warning); background: #fff4e5; }
.badge-validee { color: var(--success); background: var(--success-soft); }
.badge-refusee { color: var(--error); background: #fff0ee; }
.admin-table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .82rem; }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: var(--cream); color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.admin-table small { color: var(--muted); }
.admin-actions { white-space: nowrap; }
.admin-actions form { display: inline-block; margin-right: 5px; }
.admin-vide { padding: 28px; border-radius: 12px; color: var(--muted); background: var(--cream); text-align: center; }
.admin-form-inline input[type="email"] { width: 200px; min-height: 36px; margin-right: 4px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .8rem; }
.admin-form-inline input[type="email"]:focus { outline: 3px solid rgba(156,114,47,.18); border-color: var(--brass-dark); }
.admin-detail-row > td { padding: 0 !important; border-bottom: 2px solid var(--brass) !important; background: var(--cream); }
.admin-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 22px 26px 26px; }
.admin-detail h2 { margin: 0 0 12px; font-family: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.admin-detail small { color: var(--muted); }
.admin-detail-indispo { margin: 0 0 12px; padding: 14px 18px; color: var(--muted); font-size: .84rem; }
.onb-etapes { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .84rem; }
.onb-etapes li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.onb-etapes li > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: .68rem; font-weight: 800; }
.onb-etapes li.est-faite { color: var(--ink); font-weight: 600; }
.onb-etapes li.est-faite > span { border-color: var(--success); color: #fff; background: var(--success); }
.onb-expiration { margin: 14px 0 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .8rem; }
.comptes-techniques { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.comptes-techniques li { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .82rem; }
.comptes-techniques li > div:first-child { display: grid; }
.compte-actions { display: flex; gap: 6px; }
@media (max-width: 900px) { .admin-detail { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { color: #d3d8e4; background: var(--navy-deep); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; gap: 70px; padding-block: 65px 50px; }
.brand-light { color: #fff; }
.footer-brand > p { max-width: 260px; margin: 18px 0 0; color: #8c96ac; font-size: .78rem; }
.footer-pitch { max-width: 330px; }
.footer-pitch p:last-child { color: #fff; font-size: 1.05rem; font-weight: 700; line-height: 1.45; }
.footer-label { margin-bottom: 9px; color: var(--brass); font-size: .6rem; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.footer-nav { display: grid; align-content: start; gap: 10px; }
.footer-nav a { color: #bcc4d4; font-size: .8rem; text-decoration: none; }
.footer-nav a:hover { color: var(--brass); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid #273349; color: #76819a; font-size: .66rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 1050px) {
    .hero-inner { grid-template-columns: 1fr; gap: 65px; padding-bottom: 130px; }
    .hero-copy { max-width: 760px; }
    .club-photo-stage { width: min(720px, 94%); margin-inline: auto; }
    .split-heading { gap: 45px; }
    .value-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
    .rhythm-layout, .highlight-layout, .product-row, .product-row-reverse { gap: 55px; }
    .management-grid { grid-template-columns: 1fr 1fr; }
    .management-grid article:nth-child(2) { border-right: 0; }
    .management-grid article:nth-child(-n+2) { border-bottom: 1px solid #33415f; }
    .signup-layout { gap: 45px; }
    .pricing-grid-new { max-width: 560px; margin-inline: auto; grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 34px, 1180px); }
    .section { padding-block: 72px; }
    .header-inner { height: auto; min-height: 70px; grid-template-columns: 1fr auto; gap: 14px; padding-block: 12px; }
    .main-nav { grid-column: 1/-1; grid-row: 2; justify-content: center; gap: 34px; padding: 10px 0 3px; border-top: 1px solid var(--line); }
    .brand-name { font-size: 1.2rem; }
    .btn-sm-mobile { min-height: 42px; padding: 10px 14px; font-size: .78rem; }
    .hero-human { min-height: 0; }
    .hero-inner { min-height: 0; grid-template-columns: 1fr; padding-block: 68px 92px; }
    .hero-human h1 { font-size: clamp(2.2rem, 8.5vw, 2.9rem); }
    .hero-lead { font-size: 1rem; }
    .hero-cta { align-items: flex-start; flex-direction: column; }
    .club-photo-stage { width: 100%; padding-left: 0; }
    .photo-frame { height: 430px; border-radius: 42px 12px 42px 12px; }
    .meeting-card { right: -5px; }
    .audience-inner { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 24px; }
    .audience-inner ul { display: grid; gap: 9px; }
    .split-heading, .rhythm-layout, .highlight-layout, .final-cta-inner, .product-row, .product-row-reverse, .faq-layout, .signup-layout { grid-template-columns: 1fr; gap: 44px; }
    .split-heading { align-items: start; }
    .rhythm-copy h2 br, .final-cta h2 br { display: none; }
    .af-entete { flex-direction: column; align-items: flex-start; gap: 8px; }
    .af-entete nav { justify-content: flex-start; }
    .product-nav { justify-content: flex-start; gap: 27px; overflow-x: auto; }
    .narrow-head { padding-block: 72px; }
    .product-section { padding-block: 78px; }
    .product-row-reverse .product-copy { order: 0; }
    .directory-grid { grid-template-columns: 1fr; }
    .management-grid { grid-template-columns: 1fr; }
    .management-grid article { min-height: 230px; border-right: 0; border-bottom: 1px solid #33415f !important; }
    .management-grid article:last-child { border-bottom: 0 !important; }
    .pricing-grid-new { grid-template-columns: 1fr; }
    .price-card { padding: 32px 27px; }
    .price-top > p:last-child { min-height: 0; }
    .pricing-note { align-items: flex-start; }
    .signup-layout { padding-block: 60px; }
    .signup-intro { position: relative; top: auto; padding: 0; }
    .signup-intro h1 { font-size: 3.7rem; }
    .signup-card-head, .signup-card form { padding-left: 22px; padding-right: 22px; }
    .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
    .footer-top { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
    .header-actions .btn span { display: none; }
    .header-actions .btn { padding-inline: 11px; }
    .hero-reassurance { display: grid; }
    .photo-frame { height: 350px; }
    .meeting-card { min-width: 270px; }
    .photo-caption { right: 20px; bottom: 20px; left: 20px; }
    .section-heading { margin-bottom: 38px; }
    .value-photo { height: 190px; }
    .product-nav { gap: 20px; }
    .product-nav a { white-space: nowrap; }
    .af-corps { padding: 15px; }
    .af-dl { grid-template-columns: 1fr; }
    .af-tableau th:nth-child(n+3), .af-tableau td:nth-child(n+3) { display: none; }
    .popular-label { position: static; width: fit-content; margin-bottom: 15px; }
    .signup-card-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .signup-intro h1 { font-size: 3rem; }
    .thanks-page { padding-block: 65px; }
}

/* --- Vie de la page ---------------------------------------------------- */

/* Apparition au défilement (classes posées par le script du layout). */
.a-reveler.a-reveler { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--reveal-delai, 0ms); }
.a-reveler.est-visible { opacity: 1; transform: none; }

/* Le héros s'anime dès le chargement (au-dessus de la ligne de flottaison). */
@keyframes apparait { from { opacity: 0; transform: translateY(24px); } }
.hero-copy { animation: apparait .7s cubic-bezier(.16, 1, .3, 1) both; }
.club-photo-stage { animation: apparait .8s .15s cubic-bezier(.16, 1, .3, 1) both; }

/* Ambiance : la carte rencontre flotte, le point de la légende pulse,
   le halo de l'appel final dérive lentement. */
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.meeting-card { animation: flotte 5.5s ease-in-out 1.4s infinite; }
@keyframes pulse-point { 0%, 100% { box-shadow: 0 0 0 5px rgba(220,175,107,.28); } 50% { box-shadow: 0 0 0 11px rgba(220,175,107,.1); } }
.photo-caption > span { animation: pulse-point 2.8s ease-in-out infinite; }
@keyframes pulse-attente { 0%, 100% { box-shadow: 0 0 0 6px rgba(156,114,47,.22); } 50% { box-shadow: 0 0 0 12px rgba(156,114,47,.08); } }
.pending-pulse { animation: pulse-attente 2s ease-in-out infinite; }
@keyframes derive { from { transform: translate(0, 0); } to { transform: translate(-70px, 45px); } }
.final-cta::before { animation: derive 16s ease-in-out infinite alternate; }

/* Réactivité au survol : les cartes se soulèvent. */
.value-card { transition: transform .25s ease, box-shadow .25s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: 0 24px 55px rgba(19,34,56,.13); }
.app-fenetre { transition: transform .3s ease, box-shadow .3s ease; }
.app-fenetre:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(19,34,56,.16); }
.price-card { transition: transform .25s ease, box-shadow .25s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.brand-mark { transition: transform .3s ease; }
.brand:hover .brand-mark { transform: rotate(7deg); }
.faq details[open] p { animation: apparait .35s ease both; }

/* Ombre de l'en-tête dès qu'on quitte le haut de page (script du layout). */
.site-header { transition: box-shadow .25s ease; }
.site-header.est-defile { box-shadow: 0 6px 24px rgba(19,34,56,.09); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .a-reveler { opacity: 1 !important; transform: none !important; }
}
