/* ==========================================================================
   JM Cougars — jm-cougars.net
   Editorial dark-luxe : magazine noir, or champagne & rose, deck de profils
   Fraunces (serif display) + Space Grotesk (UI)
   ========================================================================== */

:root {
    --ink: #0f0b0d;
    --ink-2: #171012;
    --ink-3: #1f1518;
    --cream: #f4ede2;
    --muted: #a99a92;
    --gold: #c8a35b;
    --gold-soft: #e5c98d;
    --rose: #c8506b;
    --line: rgba(200, 163, 91, 0.22);
    --display: "Fraunces", Georgia, serif;
    --sans: "Space Grotesk", "Segoe UI", sans-serif;
    --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--ink);
    color: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.6rem; }

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
}
.section-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.9rem, 4.4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #fff;
}

/* === Boutons === */
.btn-primary {
    display: inline-block;
    padding: 1rem 1.8rem;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #2b1d08;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: 100px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(200,163,91,0.32); }
.btn-ghost {
    display: inline-block;
    padding: 1rem 1.6rem;
    color: var(--cream);
    font-weight: 500;
    font-size: 0.98rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* === Nav === */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.6rem;
    background: rgba(15, 11, 13, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-logo img { height: 40px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.nav-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--muted);
}
.nav-status i {
    width: 8px; height: 8px; border-radius: 50%;
    background: #43d17a;
    box-shadow: 0 0 0 0 rgba(67,209,122,0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(67,209,122,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(67,209,122,0); }
    100% { box-shadow: 0 0 0 0 rgba(67,209,122,0); }
}
.nav-cta {
    padding: 0.6rem 1.2rem;
    background: var(--cream);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.86rem;
    border-radius: 100px;
    transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--gold-soft); }

/* === Hero === */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2rem, 5vw, 4rem);
    overflow: hidden;
}
.hero-index {
    position: absolute;
    top: -3rem; right: -1rem;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(14rem, 34vw, 30rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(200,163,91,0.14);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 1.6rem;
}
.kicker {
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(2.6rem, 6.6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: #fff;
}
.hero-title em {
    font-style: italic;
    color: var(--gold-soft);
}
.hero-lead {
    margin: 1.4rem 0 2rem;
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 30rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.4rem;
}
.avatars { display: flex; }
.avatars span {
    width: 42px; height: 42px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--ink);
    margin-left: -12px;
}
.avatars span:first-child { margin-left: 0; }
.avatars-more {
    display: flex; align-items: center; justify-content: center;
    background: var(--gold) !important;
    color: #2b1d08;
    font-size: 0.72rem;
    font-weight: 700;
}
.hero-proof p { font-size: 0.86rem; color: var(--muted); max-width: 12rem; }

/* Deck de profils */
.hero-right { position: relative; display: flex; justify-content: center; }
.deck {
    position: relative;
    width: min(340px, 80vw);
    aspect-ratio: 3 / 4;
}
.deck-card {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
}
.deck-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,11,13,0) 40%, rgba(15,11,13,0.85) 100%);
}
.deck-card--back {
    transform: rotate(-8deg) translate(-16px, 10px) scale(0.94);
    filter: saturate(0.9) brightness(0.8);
}
.deck-card--front {
    transform: rotate(4deg);
    border: 1px solid rgba(255,255,255,0.08);
    animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50% { transform: rotate(4deg) translateY(-12px); }
}
.deck-tag, .deck-live {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 2;
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.72rem; font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    background: rgba(15,11,13,0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--cream);
}
.deck-live i { width: 7px; height: 7px; border-radius: 50%; background: #43d17a; }
.deck-info {
    position: absolute;
    z-index: 2;
    left: 1.2rem; bottom: 1.1rem;
}
.deck-info h3 { font-family: var(--display); font-size: 1.5rem; color: #fff; }
.deck-info p { font-size: 0.85rem; color: var(--gold-soft); }

/* === Marquee === */
.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
    overflow: hidden;
    background: var(--ink-2);
}
.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem;
    white-space: nowrap;
    animation: scroll 32s linear infinite;
}
.marquee-track span {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--cream);
}
.marquee-track b { color: var(--gold); }
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* === Principe === */
.principe { padding: clamp(4rem, 9vw, 7rem) 0; }
.principe .section-title { margin-bottom: 3rem; max-width: 22ch; }
.principe-list { display: grid; gap: 1.2rem; }
.principe-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.6rem;
    align-items: start;
    padding: 1.8rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s;
}
.principe-item.in { opacity: 1; transform: none; }
.principe-item:hover { border-color: var(--gold); }
.principe-num {
    font-family: var(--display);
    font-size: 2.6rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold);
    line-height: 1;
}
.principe-item h3 { font-family: var(--display); font-size: 1.35rem; color: #fff; margin-bottom: 0.5rem; }
.principe-item p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }

/* === Stats === */
.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--ink-2);
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-num {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--gold-soft);
    line-height: 1;
}
.stat-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* === Signup === */
.signup { padding: clamp(4rem, 9vw, 7rem) 0; }
.signup-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.signup-text { margin: 1.3rem 0 1.8rem; color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 30rem; }

.ticks { list-style: none; display: grid; gap: 0.8rem; }
.ticks li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--cream);
    font-size: 0.95rem;
}
.ticks li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.45em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(200,163,91,0.7);
}

/* Carte membre */
.signup-card {
    position: relative;
    background: linear-gradient(160deg, #241a1d, var(--ink-2));
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.8rem;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.signup-card::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(160deg, rgba(200,163,91,0.5), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.card-brand { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--gold-soft); }
.card-chip {
    font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink); background: var(--gold); padding: 0.3rem 0.7rem; border-radius: 6px; font-weight: 700;
}
.card-title { font-family: var(--display); font-size: 1.6rem; color: #fff; margin-bottom: 1.2rem; }
.card-note { text-align: center; margin-top: 1rem; font-size: 0.74rem; color: var(--muted); }
.card-note a { color: var(--gold-soft); }

/* === Formulaire injecté par le smartlink === */
.form-embed iframe { width: 100% !important; border: 0; border-radius: 10px; }
.form-embed input:not([type="checkbox"]):not([type="radio"]),
.form-embed select,
.form-embed textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    color: var(--cream);
    font-family: var(--sans);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-embed input::placeholder,
.form-embed textarea::placeholder { color: var(--muted); }
.form-embed input:focus,
.form-embed select:focus,
.form-embed textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,163,91,0.22);
}
.form-embed select option { color: #111; }
.form-embed input[type="checkbox"],
.form-embed input[type="radio"] {
    width: 16px; height: 16px;
    margin: 0.15rem 0.55rem 0 0;
    accent-color: var(--gold);
    flex: none;
}
.form-embed label {
    display: flex;
    align-items: flex-start;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--muted);
    margin-bottom: 0.7rem;
}
.form-embed label a { color: var(--gold-soft); text-decoration: underline; }
.form-embed button,
.form-embed input[type="submit"],
.form-embed input[type="button"],
.form-embed [type="submit"],
.form-embed .btn,
.form-embed a.button {
    display: block;
    width: 100%;
    padding: 1rem 1.4rem;
    margin-top: 0.3rem;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold)) !important;
    color: #2b1d08 !important;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    border: 0 !important;
    border-radius: 100px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.form-embed button:hover,
.form-embed input[type="submit"]:hover,
.form-embed input[type="button"]:hover,
.form-embed .btn:hover,
.form-embed a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(200,163,91,0.35);
}

/* === Voices === */
.voices { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.voices .section-title { margin-bottom: 3rem; }
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.voice {
    padding: 1.8rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--ink-3);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.voice:nth-child(2) { transition-delay: 0.1s; }
.voice:nth-child(3) { transition-delay: 0.2s; }
.voice.in { opacity: 1; transform: none; }
.voice p {
    font-family: var(--display);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--cream);
    margin-bottom: 1.2rem;
}
.voice cite { font-style: normal; font-size: 0.82rem; color: var(--gold-soft); letter-spacing: 0.04em; }

/* === Edito SEO === */
.edito { padding: clamp(4rem, 9vw, 7rem) 0; }
.edito-wrap { max-width: 820px; }
.edito .section-title { margin-bottom: 1.6rem; max-width: 24ch; }
.edito p { color: var(--muted); font-size: 1.04rem; line-height: 1.7; margin-bottom: 1.2rem; }
.edito strong { color: var(--gold-soft); font-weight: 600; }

/* === FAQ === */
.faq { padding: clamp(4rem, 9vw, 7rem) 0; }
.faq-wrap { max-width: 780px; }
.faq .section-title { margin-bottom: 2.4rem; }
.faq-list { display: grid; gap: 0.8rem; }
.faq details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--ink-2);
    padding: 0 1.4rem;
    transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--gold); }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 1.2rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--muted); line-height: 1.6; font-size: 0.98rem; }

/* === Footer === */
.foot { border-top: 1px solid var(--line); padding: 2.6rem 0; background: var(--ink); }
.foot-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.foot-logo { height: 38px; width: auto; opacity: 0.85; }
.foot p { color: var(--muted); font-size: 0.8rem; max-width: 780px; }
.foot a { color: var(--gold-soft); }

/* === Floating CTA (mobile) === */
.float-cta {
    position: fixed;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    z-index: 60;
    display: none;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #2b1d08;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    transition: opacity 0.3s, transform 0.3s;
}
.float-cta.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }

/* === Responsive === */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-right { margin-top: 1rem; order: -1; }
    .signup-grid { grid-template-columns: 1fr; }
    .voices-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}
@media (max-width: 640px) {
    .nav-status { display: none; }
    .principe-item { grid-template-columns: 1fr; gap: 0.8rem; }
    .float-cta { display: block; }
    .hero-index { top: -1rem; }
}
