/* ==========================================================================
   club612 — charte « Riviera » (refonte 12/2026)
   Esprit éditorial inspiré de Collectalia, identité propre :
   fond ivoire, bleu nuit (encre), terracotta (soleil couchant), or doux.
   Les anciennes classes (page-content, content-card, feature-card, info-box,
   cta-section, faq-*, step*, btn-sun, btn-blue…) sont conservées et
   redessinées : toutes les pages du site prennent le nouvel habillage.
   ========================================================================== */

/* Polices auto-hébergées (RGPD) */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/playfair-display-v400.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/playfair-display-v500.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/playfair-display-v600.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/playfair-display-v700.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/lato-v300.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/lato-v400.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/lato-v700.woff2') format('woff2'); }

/* ---------- Marque (modifiable dans la console : « Marque blanche ») ----------
   Les variables --b-* (claires) et --bd-* (variantes pour le mode sombre) sont
   surchargées par le gabarit à partir des réglages de la console.
   Les valeurs ci-dessous sont celles de club612 : elles servent de défaut. */
:root {
    --b-primary: #1f3b57;      --b-primary-rgb: 31, 59, 87;     /* bleu nuit */
    --b-primary-deep: #15293d;
    --b-accent: #b5532f;       --b-accent-rgb: 181, 83, 47;     /* terracotta */
    --b-accent-deep: #94411f;
    --b-sun: #e3a24e;          --b-sun-rgb: 227, 162, 78;       /* or doux */
    --b-sun-light: #f5dfb4;
    --b-sea: #2f6f76;                                           /* secondaire */
    --b-bg: #fbf8f2;           --b-bg-rgb: 251, 248, 242;       /* fond ivoire */
    --b-alt: #f4eee3;                                           /* fond alterné */
    --b-line: #e7decf;
    --b-tint: #f8ecdc;
    --b-ink: #1c2a3a;          --b-ink-rgb: 28, 42, 58;         /* titres */
    --b-text: #33404f;
    --b-muted: #5b636d;
    --b-mark-1: #e9ad58;       --b-mark-2: #c2603a;             /* dégradé du soleil du logo */
    --b-logo-name: #f0a585;                                     /* « 612 » sur fond sombre */
    --bd-primary: #8fb4d6;
    --bd-accent: #e48a64;
    --bd-accent-deep: #f0a585;
    --bd-sun: #e9b366;
    --bd-sea: #7fbcc2;

    --c-bg: var(--b-bg);
    --c-alt: var(--b-alt);
    --c-card: #ffffff;
    --c-ink: var(--b-ink);
    --c-text: var(--b-text);
    --c-muted: var(--b-muted);
    --c-line: var(--b-line);
    --c-navy: var(--b-primary);         /* couleur principale */
    --c-navy-deep: var(--b-primary-deep);
    --c-accent: var(--b-accent);        /* actions, accents */
    --c-accent-deep: var(--b-accent-deep);
    --c-sun: var(--b-sun);              /* décor */
    --c-sun-light: var(--b-sun-light);
    --c-sea: var(--b-sea);
    --c-tint: var(--b-tint);
    --c-good: #2f7d5b;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --shadow: 0 12px 30px -18px rgba(var(--b-ink-rgb), .28);
    --shadow-lg: 0 26px 50px -24px rgba(var(--b-ink-rgb), .36);
    --f-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --f-text: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --nav-h: 78px;
    --c-nav-bg: rgba(var(--b-bg-rgb), .92);
    /* Fonds « clairs » codés dans les pages fonctionnelles : suivent la marque,
       mais pas le mode sombre (ces pages ont leurs propres règles sombres). */
    --amb-bg: var(--b-bg);
    --amb-alt: var(--b-alt);
    --amb-line: var(--b-line);
    --amb-tint: var(--b-tint);
}

body.dark-mode {
    --c-bg: #141b24;
    --c-alt: #1a2330;
    --c-card: #1f2a38;
    --c-ink: #f1ece3;
    --c-text: #d9d3c8;
    --c-muted: #aeb4bc;
    --c-line: #2f3b4b;
    --c-navy: var(--bd-primary);
    --c-navy-deep: #0e141b;
    --c-accent: var(--bd-accent);
    --c-accent-deep: var(--bd-accent-deep);
    --c-sun: var(--bd-sun);
    --c-sun-light: #5a4527;
    --c-sea: var(--bd-sea);
    --c-tint: #2a2620;
    --shadow: 0 12px 30px -18px rgba(0, 0, 0, .6);
    --shadow-lg: 0 26px 50px -24px rgba(0, 0, 0, .7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
    font-family: var(--f-text);
    font-size: 17px;
    line-height: 1.6;
    background: var(--c-bg);
    color: var(--c-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); color: var(--c-ink); font-weight: 600; line-height: 1.15; }
:focus-visible { outline: 3px solid var(--c-sun); outline-offset: 3px; border-radius: 4px; }

/* ---------- Logo ---------- */
.c612-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--c-ink); }
.c612-logo svg { width: 44px; height: 44px; flex: none; }
.c612-logo .c612-name { font-family: var(--f-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; position: relative; padding-bottom: 5px; }
.c612-logo .c612-name i { font-style: italic; font-weight: 500; }
.c612-logo .c612-name b { font-weight: 700; color: var(--c-accent); }
.c612-logo .c612-name::after { content: ""; position: absolute; left: 2px; right: -2px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c-sun), transparent); }
.c612-logo.on-dark { color: #fbf8f2; }
.c612-logo.on-dark .c612-name b { color: var(--b-logo-name); }
/* Marque blanche : nom en texte, ou logo importé (variante sombre facultative) */
.c612-logo .c612-name.is-text { font-size: 1.6rem; }
.c612-logo.is-image { gap: 0; }
.c612-logo-img { display: block; max-width: 260px; object-fit: contain; }
.c612-logo-img-dark { display: none; }
body.dark-mode .c612-logo-img.has-dark-variant { display: none; }
body.dark-mode .c612-logo-img-dark { display: block; }

/* ---------- Navigation ---------- */
nav.c612-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: var(--c-nav-bg);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-line);
}
body.dark-mode { --c-nav-bg: rgba(20, 27, 36, .92); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; height: var(--nav-h); display: flex; align-items: center; gap: 1.25rem; }
.nav-links { display: flex; gap: 1.2rem; align-items: center; }
.nav-links a { font-size: .95rem; font-weight: 700; text-decoration: none; color: var(--c-text); white-space: nowrap; padding: .35rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a.is-current { color: var(--c-accent); border-bottom-color: var(--c-sun); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

/* Menu déroulant « Trouver » */
.nav-drop { position: relative; }
.nav-drop-btn { font: inherit; font-size: .95rem; font-weight: 700; color: var(--c-text); background: none; border: 0; border-bottom: 2px solid transparent; padding: .35rem 0; cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s; }
.nav-drop-btn span { font-size: .75em; }
.nav-drop-btn:hover, .nav-drop-btn.is-current, .nav-drop.open .nav-drop-btn { color: var(--c-accent); border-bottom-color: var(--c-sun); }
.nav-drop-panel { display: none; position: absolute; top: calc(100% + .9rem); left: 50%; transform: translateX(-50%); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 18px; box-shadow: 0 26px 50px -24px rgba(28, 42, 58, .4); padding: 1.4rem 1.6rem; gap: 2rem; z-index: 60; }
.nav-drop.open .nav-drop-panel { display: flex; }
.nav-drop-panel::before { content: ""; position: absolute; top: -1rem; left: 0; right: 0; height: 1rem; }
.nav-drop-col { display: flex; flex-direction: column; min-width: 190px; }
.nav-drop-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--c-accent); margin-bottom: .55rem; }
.nav-links .nav-drop-panel a { font-size: .95rem; font-weight: 400; padding: .35rem 0; border-bottom: 0; }
.nav-links .nav-drop-panel a:hover, .nav-links .nav-drop-panel a.is-current { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (min-width: 1321px) { .nav-drop:hover .nav-drop-panel { display: flex; } }
.mobile-menu a.mm-small { font-family: var(--f-text); font-size: 1.05rem; }

/* Boutons */
.btn-sun, .btn-blue, .btn-ghost, .btn-large {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.6rem; border-radius: 999px;
    font-family: var(--f-text); font-weight: 700; font-size: .95rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; border: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn-sun, .btn-large { background: var(--c-accent); color: #fff; box-shadow: 0 10px 22px -12px rgba(var(--b-accent-rgb), .8); }
.btn-sun:hover, .btn-large:hover { background: var(--c-accent-deep); color: #fff; transform: translateY(-1px); }
.btn-blue { background: var(--c-navy); color: #fff; }
.btn-blue:hover { background: var(--c-navy-deep); color: #fff; transform: translateY(-1px); }
body.dark-mode .btn-blue { color: #141b24; }
.btn-ghost { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn-ghost:hover { background: var(--c-navy); color: #fff; }
.btn-large { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.nav-actions .btn-sun, .nav-actions .btn-ghost, .nav-actions .btn-blue { padding: .6rem 1.15rem; font-size: .9rem; }

/* Bouton favori (coeur) */
.btn-favorite { background: none; border: none; cursor: pointer; font-size: 1.4rem; line-height: 1; padding: .25rem; transition: transform .2s; color: #b9b2a6; }
.btn-favorite:hover { transform: scale(1.2); }
.btn-favorite::before { content: '\2661'; }
.btn-favorite.is-favorited { color: var(--c-accent); }
.btn-favorite.is-favorited::before { content: '\2665'; }
.btn-favorite.is-loading { opacity: .5; pointer-events: none; }

/* Outils d'accessibilité (taille du texte, thème) */
.font-size-controls { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: 999px; overflow: hidden; background: var(--c-card); }
.font-size-controls button { background: transparent; border: none; cursor: pointer; padding: .35rem .55rem; font-family: var(--f-text); font-weight: 700; color: var(--c-ink); line-height: 1; transition: background .2s, color .2s; }
.font-size-controls button.fs-active { background: var(--c-navy); color: #fff; }
body.dark-mode .font-size-controls button.fs-active { color: #141b24; }
.font-size-controls button + button { border-left: 1px solid var(--c-line); }
#theme-toggle { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 50%; width: 2.3rem; height: 2.3rem; cursor: pointer; display: grid; place-items: center; color: var(--c-ink); }
#theme-toggle svg { width: 18px; height: 18px; }

/* Menu membre */
.member-menu-container { position: relative; }
.member-menu-btn { display: flex; align-items: center; gap: .5rem; padding: .55rem 1rem; background: var(--c-navy); color: #fff; border: none; border-radius: 999px; cursor: pointer; font-family: var(--f-text); font-size: .9rem; font-weight: 700; }
body.dark-mode .member-menu-btn { color: #141b24; }
.member-dropdown { display: none; position: absolute; right: 0; top: calc(100% + .6rem); background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); min-width: 240px; z-index: 1000; overflow: hidden; padding: .4rem; }
.member-dropdown a, .member-dropdown button { display: block; width: 100%; padding: .6rem .9rem; color: var(--c-ink); background: none; border: none; text-align: left; text-decoration: none; font-family: var(--f-text); font-size: .92rem; border-radius: 8px; cursor: pointer; }
.member-dropdown a:hover, .member-dropdown button:hover { background: var(--c-alt); color: var(--c-accent); }
.member-dropdown .logout { color: var(--c-accent); }
.member-dropdown hr { border: 0; border-top: 1px solid var(--c-line); margin: .3rem 0; }
.badge-count { background: var(--c-accent); color: #fff; font-size: .7rem; padding: .1rem .45rem; border-radius: 999px; margin-left: .3rem; }

/* Menu hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: none; border: none; z-index: 100; }
.hamburger span { width: 24px; height: 2.5px; background: var(--c-ink); border-radius: 3px; transition: all .3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--c-bg); z-index: 40; padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem; flex-direction: column; gap: .25rem; overflow-y: auto; }
.mobile-menu.active { display: flex; }
.mobile-menu a, .mobile-menu .mm-logout { font-family: var(--f-display); font-size: 1.35rem; text-decoration: none; color: var(--c-ink); padding: .55rem 0; border-bottom: 1px solid var(--c-line); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; }
.mobile-menu .mm-logout { color: var(--c-accent); }
.mobile-menu .mm-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.mobile-menu .mm-actions a { font-family: var(--f-text); font-size: 1rem; border: 2px solid transparent; padding: .8rem 1.5rem; }
.mobile-menu .mm-actions a.btn-sun { color: #fff; }
.mobile-menu .mm-actions a.btn-ghost { border-color: var(--c-navy); color: var(--c-navy); }
.mobile-menu .mm-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: var(--c-accent); font-weight: 700; margin-top: 1.25rem; }

/* ---------- Éléments éditoriaux ---------- */
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--c-accent); }
.tagline { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; line-height: 1.35; color: var(--c-navy); padding-left: 1rem; border-left: 2px solid var(--c-sun); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.block { padding: 5.5rem 0; }
.block.alt { background: linear-gradient(180deg, var(--c-alt), var(--c-bg)); }
.block.tight { padding: 3.5rem 0; }
.s-head { max-width: 720px; margin-bottom: 2.75rem; }
.s-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-top: .6rem; }
.s-head h2::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 1.1rem; background: linear-gradient(90deg, var(--c-sun), transparent); }
.s-head.center h2::after { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--c-sun), transparent); }
.s-head p { margin-top: 1rem; color: var(--c-muted); font-size: 1.1rem; }
.photo { background: var(--b-alt) center / cover no-repeat; }

/* Bandeau titre des pages intérieures */
.page-hero { padding: calc(var(--nav-h) + 3rem) 0 3.5rem; border-bottom: 1px solid var(--c-line); background: linear-gradient(180deg, var(--c-alt), var(--c-bg)); }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.page-hero.solo .wrap { grid-template-columns: 1fr; max-width: 900px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 500; margin: .7rem 0 1rem; }
.page-hero h1 em { font-style: italic; color: var(--c-accent); }
.page-hero .lead { font-size: 1.15rem; color: var(--c-muted); max-width: 620px; }
.page-hero .tagline { margin-top: 1.25rem; }
.page-hero .cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.page-hero-photo { height: 360px; border-radius: 110px var(--radius-lg) var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--c-muted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--c-accent); text-decoration: underline; }
body.has-page-hero .page-content { padding-top: 3.5rem; }

/* Cartes éditoriales */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-sun-light); }
.card .photo { height: 200px; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.45rem; margin-top: .35rem; }
.card p { color: var(--c-muted); margin-top: .6rem; font-size: 1rem; }
.card .go { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--c-accent); font-size: .95rem; }
.card .dot-title { display: flex; align-items: center; gap: .6rem; }
.card .dot-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-sun); flex: none; }

/* Pictogramme rond */
.pict { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c-tint); color: var(--c-accent); flex: none; font-size: 1.6rem; }
.pict svg { width: 26px; height: 26px; }

/* Bandeau des arguments */
.args { display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(135deg, var(--b-bg), var(--b-tint)); border: 1px solid var(--b-line); border-radius: var(--radius-lg); padding: 1.25rem .5rem; box-shadow: 0 24px 50px -30px rgba(120, 90, 40, .45); position: relative; overflow: hidden; }
body.dark-mode .args { background: linear-gradient(135deg, #222c39, #1c2531); border-color: var(--c-line); }
.args::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--c-sun), transparent); }
.arg { display: flex; gap: .9rem; align-items: flex-start; padding: .5rem 1.25rem; }
.arg + .arg { border-left: 1px solid var(--b-line); }
body.dark-mode .arg + .arg { border-color: var(--c-line); }
.arg b { display: block; font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--c-ink); line-height: 1.2; }
.arg span { display: block; font-size: .9rem; color: var(--c-muted); line-height: 1.4; margin-top: .25rem; }

/* Citation */
.quote-band { background: var(--c-navy); color: #f6f1e8; padding: 5rem 0; position: relative; overflow: hidden; }
body.dark-mode .quote-band { background: #0f1620; }
.quote-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--b-sun-rgb), .35), transparent 65%); }
.quote-band blockquote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.25; max-width: 900px; margin: 0 auto; text-align: center; position: relative; color: #fbf8f2; }
.quote-band blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--c-sun); margin-bottom: .5rem; }
.quote-band p { text-align: center; margin-top: 1.25rem; color: rgba(246, 241, 232, .8); position: relative; }

/* ---------- Classes historiques, redessinées ---------- */
.page-content { min-height: 60vh; padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 4.5rem; }
.page-container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.page-container.narrow { max-width: 860px; }
.page-container.wide { max-width: 1400px; }
.page-header { text-align: center; margin-bottom: 3rem; }
.page-header.left { text-align: left; }
.page-title { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 500; color: var(--c-ink); margin-bottom: 1rem; }
.page-title::after { content: ""; display: block; width: 64px; height: 2px; margin: 1rem auto 0; background: linear-gradient(90deg, transparent, var(--c-sun), transparent); }
.page-header.left .page-title::after { margin-left: 0; background: linear-gradient(90deg, var(--c-sun), transparent); }
.page-subtitle { font-size: 1.1rem; color: var(--c-muted); line-height: 1.65; max-width: 720px; margin: 0 auto; }
.page-header.left .page-subtitle { margin: 0; }

.content-card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius-xl); padding: 2.75rem; box-shadow: var(--shadow); margin-bottom: 2rem; }
.content-card h2 { font-size: 1.7rem; color: var(--c-ink); margin-bottom: 1rem; }
.content-card h3 { font-size: 1.3rem; color: var(--c-ink); margin: 1.5rem 0 .6rem; }
.content-card p { font-size: 1.02rem; color: var(--c-text); line-height: 1.75; margin-bottom: 1rem; }
.content-card ul, .content-card ol { color: var(--c-text); line-height: 1.75; margin-bottom: 1rem; padding-left: 1.4rem; }
.content-card li { margin-bottom: .45rem; }
.content-card li::marker { color: var(--c-sun); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.feature-card { display: block; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 20px; padding: 1.9rem; box-shadow: var(--shadow); color: inherit; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
a.feature-card:hover, .feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-sun-light); }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--c-tint); font-size: 1.7rem; margin-bottom: 1.1rem; }
.feature-title { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--c-ink); margin-bottom: .5rem; line-height: 1.25; }
.feature-desc { font-size: .98rem; color: var(--c-muted); line-height: 1.6; }

.destination-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.destination-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.destination-card img { width: 100%; height: 100%; object-fit: cover; }
.destination-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 22, 32, .75)); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; }
.destination-card-title { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: #fff; }
.destination-card-subtitle { font-size: .92rem; color: rgba(255, 255, 255, .85); }

.info-box { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--c-alt); border-radius: 0 var(--radius) var(--radius) 0; border-left: 3px solid var(--c-navy); margin: 1.5rem 0; }
.info-box.orange { background: var(--c-tint); border-left-color: var(--c-accent); }
.info-box-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.4; }
.info-box-text { font-size: 1rem; color: var(--c-text); line-height: 1.6; }
.info-box-text strong { color: var(--c-navy); }
.info-box.orange .info-box-text strong { color: var(--c-accent); }

.cta-section { position: relative; overflow: hidden; text-align: center; padding: 3.5rem 2rem; background: var(--c-navy); border-radius: var(--radius-xl); margin: 3.5rem 0 0; color: #f6f1e8; }
body.dark-mode .cta-section { background: #0f1620; border: 1px solid var(--c-line); }
.cta-section::before { content: ""; position: absolute; left: 50%; top: -160px; width: 420px; height: 320px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(var(--b-sun-rgb), .38), transparent 65%); pointer-events: none; }
.cta-section > * { position: relative; }
.cta-section h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; color: #fbf8f2; margin-bottom: .75rem; }
.cta-section p { font-size: 1.1rem; color: rgba(246, 241, 232, .85); margin: 0 auto 1.6rem; max-width: 620px; }
.cta-section .btn-ghost { color: #fbf8f2; border-color: rgba(251, 248, 242, .6); }
.cta-section .btn-ghost:hover { background: #fbf8f2; color: var(--c-navy); }

.faq-item { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: .75rem; overflow: hidden; }
.faq-question { width: 100%; padding: 1.2rem 1.5rem; background: transparent; border: none; text-align: left; font-family: var(--f-text); font-size: 1.05rem; font-weight: 700; color: var(--c-ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question:hover { color: var(--c-accent); }
.faq-question::after { content: '+'; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; color: var(--c-accent); transition: transform .3s; flex: none; }
.faq-item.active { border-color: var(--c-sun-light); box-shadow: var(--shadow); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer-content { padding: 0 1.5rem 1.4rem; font-size: 1rem; color: var(--c-text); line-height: 1.7; }

.steps { counter-reset: step; }
.step { display: flex; gap: 1.4rem; margin-bottom: 2rem; align-items: flex-start; }
.step-number { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-tint); color: var(--c-accent); font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; flex-shrink: 0; border: 1px solid var(--c-sun-light); }
.step-content h3 { font-family: var(--f-display); font-size: 1.35rem; color: var(--c-ink); margin: .35rem 0 .5rem; }
.step-content p { font-size: 1rem; color: var(--c-text); line-height: 1.65; }

/* Messages (flash) */
.flash-message, .flash-success, .error-summary { border-radius: var(--radius); border: 1px solid var(--c-line); }
body.dark-mode .flash-message.error, body.dark-mode .error-summary { background: #2d1b1b; border-color: var(--c-accent); }
body.dark-mode .flash-message.info { background: #1a2a3d; border-color: var(--c-navy); }
body.dark-mode .flash-message.success, body.dark-mode .flash-success { background: #1a2d1f; border-color: #10B981; }
body.dark-mode .flash-message.warning { background: #2d2a1a; border-color: #F59E0B; }

/* Formulaires (mode sombre) */
body.dark-mode .form-card { background: var(--c-card); color: var(--c-text); }
body.dark-mode .form-section-title { color: var(--c-navy); }
body.dark-mode .form-label { color: var(--c-text); }
body.dark-mode .form-input, body.dark-mode .form-select, body.dark-mode textarea { background: var(--c-bg); color: var(--c-ink); border-color: var(--c-line); }

/* ---------- Pied de page ---------- */
footer.c612-footer { background: var(--c-navy-deep); color: rgba(246, 241, 232, .78); padding: 4.5rem 0 2rem; margin-top: 0; }
.footer-container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.footer-description { font-size: .95rem; line-height: 1.75; margin-top: 1.1rem; max-width: 340px; }
.footer-sign { font-family: var(--f-display); font-style: italic; color: var(--c-sun); margin-top: 1rem; font-size: 1.05rem; }
.footer-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--c-sun); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { font-size: .95rem; color: rgba(246, 241, 232, .78); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(246, 241, 232, .15); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(246, 241, 232, .6); }
.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(246, 241, 232, .6); text-decoration: none; }
.footer-bottom-links a:hover { color: #fff; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Mode sombre : textes génériques ---------- */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3 { color: var(--c-ink); }
body.dark-mode p { color: var(--c-text); }

/* ---------- Taille du texte (accessibilité) ---------- */
body.font-size-large { font-size: 19px; }
body.font-size-xlarge { font-size: 21px; }
body.font-size-large .page-title, body.font-size-large h1 { font-size: 2.9rem; }
body.font-size-large h2 { font-size: 1.95rem; }
body.font-size-large h3 { font-size: 1.5rem; }
body.font-size-xlarge .page-title, body.font-size-xlarge h1 { font-size: 3.1rem; }
body.font-size-xlarge h2 { font-size: 2.1rem; }
body.font-size-xlarge h3 { font-size: 1.6rem; }
body.font-size-large p, body.font-size-large li, body.font-size-large td,
body.font-size-large .form-input, body.font-size-large .form-label, body.font-size-large .form-select, body.font-size-large .form-textarea,
body.font-size-large .faq-question, body.font-size-large .faq-answer-content, body.font-size-large .feature-desc,
body.font-size-large .page-subtitle, body.font-size-large .info-box-text, body.font-size-large .nav-links a,
body.font-size-large .footer-description, body.font-size-large .footer-links a { font-size: 1.1rem; }
body.font-size-xlarge p, body.font-size-xlarge li, body.font-size-xlarge td,
body.font-size-xlarge .form-input, body.font-size-xlarge .form-label, body.font-size-xlarge .form-select, body.font-size-xlarge .form-textarea,
body.font-size-xlarge .faq-question, body.font-size-xlarge .faq-answer-content, body.font-size-xlarge .feature-desc,
body.font-size-xlarge .page-subtitle, body.font-size-xlarge .info-box-text, body.font-size-xlarge .nav-links a,
body.font-size-xlarge .footer-description, body.font-size-xlarge .footer-links a { font-size: 1.2rem; }

/* ---------- Modération temps réel (inchangé, couleurs harmonisées) ---------- */
.moderation-wrapper { position: relative; }
.moderation-overlay { position: absolute; top: 0; left: 0; color: transparent; white-space: pre-wrap; word-wrap: break-word; overflow: hidden; pointer-events: none; z-index: 1; display: none; }
.moderation-overlay mark { background: #FDE047; color: transparent; border-radius: 3px; padding: 2px 0; box-shadow: 0 0 0 2px #FDE047; }
textarea[data-moderation] { position: relative; z-index: 2; }
textarea.moderation-flagged, input.moderation-flagged { border-color: #DC2626 !important; box-shadow: 0 0 0 2px rgba(220, 38, 38, .15); }
.moderation-banner { background: #FFF7ED; border: 1px solid #FDBA74; border-radius: 8px; padding: 12px 16px; margin-top: 8px; font-size: .88rem; color: #9A3412; line-height: 1.6; }
.moderation-banner-icon { font-size: 1.1rem; margin-right: 6px; }
.moderation-words-label { font-weight: 600; }
.moderation-word-tag { display: inline-block; background: #DC2626; color: #fff; font-weight: 700; padding: 1px 8px; border-radius: 4px; font-size: .85rem; }
body.dark-mode .moderation-overlay mark { background: #A16207; box-shadow: 0 0 0 2px #A16207; }
body.dark-mode .moderation-banner { background: #431407; border-color: #9A3412; color: #FED7AA; }
body.dark-mode .moderation-word-tag { background: #B91C1C; }

/* ---------- Responsive ---------- */
@media (max-width: 1420px) {
    .nav-links { gap: .95rem; }
    .nav-links a, .nav-drop-btn { font-size: .9rem; }
    .nav-actions .nav-optional { display: none; }
}
@media (max-width: 1200px) {
    .grid-4, .cards.four { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1320px) {
    .nav-links, .nav-actions .btn-sun, .nav-actions .btn-ghost, .nav-actions .member-menu-container { display: none !important; }
    .hamburger { display: flex; }
}
@media (max-width: 1100px) {
    .args { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
    .arg:nth-child(3) { border-left: 0; }
}
@media (max-width: 900px) {
    .grid-3, .grid-4, .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
    .content-card { padding: 2rem; }
    .page-hero .wrap { grid-template-columns: 1fr; }
    .page-hero-photo { height: 240px; border-radius: 70px var(--radius-lg) var(--radius-lg) var(--radius-lg); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .block { padding: 4rem 0; }
}
@media (max-width: 640px) {
    body { font-size: 16.5px; }
    .grid-2, .grid-3, .grid-4, .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
    .content-card { padding: 1.5rem; border-radius: var(--radius-lg); }
    .font-size-controls { display: none; }
    .args { grid-template-columns: 1fr; }
    .arg + .arg { border-left: 0; border-top: 1px solid var(--b-line); padding-top: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .step { gap: 1rem; }
    .cta-section { padding: 2.5rem 1.25rem; border-radius: var(--radius-lg); }
    .c612-logo .c612-name { font-size: 1.5rem; }
    .c612-logo svg { width: 38px; height: 38px; }
    .c612-logo-img { max-width: 180px; max-height: 44px; }
    .nav-container { gap: .75rem; padding: 0 1rem; }
}

/* ---------- Bandeau d'aperçu de marque (console → « Aperçu sur le site ») ---------- */
.brand-preview-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 200; width: min(960px, calc(100% - 24px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.2rem; padding: .75rem 1.1rem; background: #141b24; color: #f6f1e8; border: 2px solid #e3a24e; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); font: 400 .92rem/1.4 var(--f-text); }
.brand-preview-bar b { color: #f5dfb4; }
.brand-preview-bar .bpb-warn { flex-basis: 100%; color: #ffd38a; font-size: .85rem; }
.brand-preview-bar .bpb-actions { display: flex; gap: 1rem; }
.brand-preview-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Logo « globe » (logo club612 validé) ---------- */
.c612-logo { --logo-club: #1f3a5c; --logo-612: #6aaad3; }
.c612-logo.on-dark { --logo-club: currentColor; --logo-612: #8cc4ea; }
body.dark-mode .c612-logo { --logo-club: currentColor; --logo-612: #8cc4ea; }
.c612-logo svg.c612-globe { width: 61px; height: 46px; flex: none; }
.c612-logo svg.c612-wordmark { display: block; height: 30px; width: auto; }
.c612-wm { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
/* Signature sous le nom : texte réel, jamais plus petit que 14 px, contraste AA */
.c612-tagline { display: block; margin-top: .45rem; font: 400 .9rem/1.3 var(--f-text); letter-spacing: .01em; color: var(--c-muted); white-space: nowrap; }
.c612-tagline strong { font-weight: 700; color: var(--c-ink); }
.c612-logo.on-dark .c612-tagline { color: rgba(246, 241, 232, .82); }
.c612-logo.on-dark .c612-tagline strong { color: #fff; }
@media (max-width: 640px) {
    .c612-logo svg.c612-globe { width: 50px; height: 38px; }
    .c612-logo svg.c612-wordmark { height: 25px; }
    .c612-tagline { white-space: normal; }
}
