/* ============================================================
   GOTENNIS — SYSTÈME DE DESIGN UNIFIÉ (site public /new/)
   Variables identiques à celles de new/club/haut.php (app membre)
   pour que toute la navigation public ↔ membre soit cohérente.
============================================================ */
:root {
    --gold:      #FFD700;
    --gold-dark: #FFC200;
    --bg:        #0d0d0d;
    --bg-dark:   #0a0a0a;
    --bg-card:   #141414;
    --bg-card2:  #1a1a1a;
    --border:    #1e1e1e;
    --border2:   #2a2a2a;
    --txt:       #ffffff;
    --txt-gray:  #999999;
    --txt-muted: #666666;
    --green:     #22c55e;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    font-family: 'Barlow', Arial, sans-serif;
    color: var(--txt);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container-xl { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 480px) { .container-xl { padding: 0 16px; } }

/* ============================================================
   NAVIGATION PUBLIQUE
============================================================ */
#main-nav {
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: sticky;
    top: 0;
    z-index: 1030;
    height: 72px;
}
.nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    color: #ddd;
    font-size: 11.5px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    white-space: nowrap;
    transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-connect {
    display: inline-flex; align-items: center; gap: 7px;
    color: #fff; background: transparent;
    border: 1.5px solid rgba(255,255,255,.35); border-radius: 4px;
    padding: 8px 16px;
    font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    white-space: nowrap;
    transition: border-color .2s, background .2s;
}
.btn-connect:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-connect svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-register {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--gold); color: #000; border: none; border-radius: 4px;
    padding: 9px 18px;
    font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    white-space: nowrap;
    transition: background .2s, transform .15s;
}
.btn-register:hover { background: var(--gold-dark); color: #000; transform: translateX(2px); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-nav {
    display: none;
    position: fixed; top: 72px; left: 0; right: 0;
    background: #0f0f0f; border-bottom: 2px solid var(--gold);
    z-index: 1029; flex-direction: column; padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.6);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    display: flex; align-items: center; height: 48px; padding: 0 24px;
    font-size: 12px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
    color: #aaa; border-left: 3px solid transparent;
    transition: color .15s, background .15s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); background: rgba(255,215,0,.06); border-left-color: var(--gold); }
.mobile-nav .mobile-nav-sep { height: 1px; background: var(--border); margin: 8px 20px; }

/* ============================================================
   HERO ACCUEIL
============================================================ */
.hero { position: relative; background: var(--bg-dark); overflow: hidden; }
.hero-bg {
    position: absolute; top: 0; bottom: 0; left: 0; right: 0;
    margin: 0 auto; max-width: 1600px; width: 100%; z-index: 0;
    background: linear-gradient(to right, rgba(0,0,0,.88) 38%, rgba(0,0,0,.45) 68%, transparent 100%),
                url('/_images/hero-player.png') 68% top / cover no-repeat;
}
.hero-body {
    position: relative; z-index: 2;
    max-width: 1320px; margin: 0 auto; padding: 64px 32px 52px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: 560px;
}
.hero-left { max-width: 560px; }
.hero-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2.8px; text-transform: uppercase; color: #888; margin-bottom: 16px; }
.hero-eyebrow strong { color: var(--gold); }
.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-style: italic;
    font-size: clamp(48px, 7vw, 84px);
    line-height: .95; text-transform: uppercase; letter-spacing: 1px;
    margin: 0 0 22px;
}
.hero-title span { display: block; }
.hero-title .t-white { color: #fff; }
.hero-title .t-yellow { color: var(--gold); }
.hero-desc { font-size: 14.5px; line-height: 1.78; color: #bbb; margin-bottom: 30px; }
.hero-desc a { color: var(--gold); }
.hero-desc a:hover { text-decoration: underline; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--gold); color: #000; border-radius: 4px;
    padding: 13px 22px;
    font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
    transition: background .2s, transform .15s;
}
.cta-primary:hover { background: var(--gold-dark); color: #000; transform: translateY(-1px); }
.cta-primary svg { width: 16px; height: 16px; }
.cta-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    color: #fff; background: transparent;
    border: 1.5px solid rgba(255,255,255,.32); border-radius: 4px;
    padding: 12px 20px;
    font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    transition: border-color .2s, background .2s;
}
.cta-secondary:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.05); }
.cta-secondary svg { width: 18px; height: 18px; }
.hero-badges { margin-top: 260px; display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; }
.hero-badge {
    display: flex; align-items: center; gap: 14px;
    background: rgba(0,0,0,.72); border: 1px solid rgba(255,215,0,.1); border-radius: 6px;
    padding: 13px 18px; min-width: 225px; backdrop-filter: blur(6px);
}
.hero-badge-icon { width: 32px; height: 32px; flex-shrink: 0; color: var(--gold); display: flex; align-items: center; justify-content: center; }
.hero-badge-icon svg { width: 28px; height: 28px; }
.hero-badge-text strong { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #fff; line-height: 1.3; }
.hero-badge-text span { font-size: 11px; color: var(--txt-muted); }

/* ============================================================
   BANDEAU STATS (réutilisé sur plusieurs pages)
============================================================ */
.hero-stats { position: relative; z-index: 2; background: #111; border-top: 1px solid rgba(255,255,255,.06); }
.hero-stats-inner { max-width: 1320px; margin: 0 auto; padding: 0 32px; display: flex; align-items: stretch; }
.stat-item { display: flex; align-items: center; gap: 14px; flex: 1; padding: 22px 0; justify-content: center; border-right: 1px solid rgba(255,255,255,.06); }
.stat-item:last-child { border-right: none; }
.stat-icon { width: 34px; height: 34px; flex-shrink: 0; color: var(--gold); }
.stat-icon svg { width: 100%; height: 100%; }
.stat-text strong { display: block; font-size: 22px; font-weight: 800; color: #fff; line-height: 1.1; font-family: 'Barlow Condensed', sans-serif; }
.stat-text span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--txt-muted); margin-top: 2px; }

/* ============================================================
   SECTION "POURQUOI GOTENNIS" (feature cards)
============================================================ */
.why-section { background: #0f0f0f; padding: 80px 0 90px; }
.why-title-wrap { text-align: center; margin-bottom: 56px; }
.why-label { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #555; margin-bottom: 6px; }
.why-heading { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-style: italic; font-size: clamp(38px, 5vw, 58px); line-height: .95; text-transform: uppercase; color: var(--gold); letter-spacing: 1px; margin: 0; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
    padding: 32px 24px 36px; height: 100%;
    transition: border-color .25s, transform .2s;
    position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: 0; transition: opacity .3s; }
.feature-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }
.feature-picto-wrap {
    width: 60px; height: 60px; background: #0a0a0a; border: 1px solid var(--border); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--gold);
}
.feature-picto-wrap svg { width: 30px; height: 30px; }
.feature-title { font-size: 13.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; line-height: 1.4; margin-bottom: 14px; }
.feature-desc { font-size: 13.5px; line-height: 1.72; color: var(--txt-gray); margin: 0; }

/* ============================================================
   HERO GÉNÉRIQUE PAGES INTÉRIEURES (fonctionnalités, tarifs, contact...)
============================================================ */
.page-hero {
    background: var(--bg-dark);
    padding: 64px 32px 44px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.section-tag {
    display: inline-block;
    font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 12px;
}
.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-style: italic;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1; text-transform: uppercase; letter-spacing: 1px;
    color: #fff; margin: 0 0 14px;
}
.section-title .yl { color: var(--gold); }
.page-hero p { max-width: 620px; margin: 0 auto; color: #aaa; font-size: 14.5px; line-height: 1.6; }

/* ============================================================
   CONTENU GÉNÉRIQUE PAGES (légal, fonctionnalités, tarifs...)
============================================================ */
.page-content { max-width: 880px; margin: 0 auto; padding: 56px 32px 90px; }
.page-content h2 {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-style: italic;
    font-size: 26px; text-transform: uppercase; letter-spacing: .5px;
    color: #fff; margin: 40px 0 14px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h2 .yl { color: var(--gold); }
.page-content h3 { font-size: 16px; font-weight: 800; color: var(--gold); letter-spacing: .3px; margin: 28px 0 10px; }
.page-content p { color: #bbb; line-height: 1.75; font-size: 14.5px; margin: 0 0 16px; }
.page-content a { color: var(--gold); }
.page-content a:hover { text-decoration: underline; }
.page-content ul { color: #bbb; line-height: 1.8; font-size: 14.5px; padding-left: 22px; }
.page-content li { margin-bottom: 6px; }

.simple-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.simple-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
    padding: 20px 16px; text-align: center;
}
.simple-card .val { color: var(--gold); margin-bottom: 8px; }
.simple-card .lbl { font-size: 12.5px; font-weight: 700; color: #ccc; letter-spacing: .3px; }

/* ============================================================
   CARTES CLUBS / CLASSEMENTS (listes)
============================================================ */
.list-card {
    display: flex; align-items: center; gap: 16px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
    padding: 16px 18px; margin-bottom: 10px;
}
.list-card-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: #1a1a1a; border: 1px solid var(--border2);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--gold); font-size: 13px;
}
.list-card-body { flex: 1; min-width: 0; }
.list-card-title { font-weight: 800; color: #fff; font-size: 14px; }
.list-card-sub { font-size: 12px; color: var(--txt-muted); margin-top: 2px; }
.list-card-badge {
    background: var(--gold); color: #000; font-weight: 900; font-size: 11px;
    padding: 4px 10px; border-radius: 4px; flex-shrink: 0;
}

/* ============================================================
   FORMULAIRES (auth : connexion / inscription / mdp-oublié / contact)
============================================================ */
.auth-card {
    max-width: 440px; margin: 0 auto;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 32px 30px;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #ccc; margin-bottom: 7px; }
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=password],
.form-group input[type=tel],
.form-group input[type=date],
.form-group select,
.form-group textarea {
    width: 100%; box-sizing: border-box;
    background: var(--bg-dark); border: 1.5px solid var(--border2); border-radius: 5px;
    color: #fff; font-family: 'Barlow', sans-serif; font-size: 14px;
    padding: 11px 14px; outline: none;
    transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-error {
    background: rgba(220,53,69,.12); border: 1px solid rgba(220,53,69,.4); color: #ff8a94;
    border-radius: 6px; padding: 12px 14px; font-size: 13px; margin-bottom: 18px;
}
.form-success {
    background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: #7bf1a8;
    border-radius: 6px; padding: 12px 14px; font-size: 13px; margin-bottom: 18px;
}
.btn-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; background: var(--gold); color: #000; border: none; border-radius: 5px;
    padding: 13px 20px; font-size: 12.5px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; transition: background .2s;
}
.btn-submit:hover { background: var(--gold-dark); }
.auth-links { text-align: center; margin-top: 18px; font-size: 12.5px; color: #999; }
.auth-links a { color: var(--gold); font-weight: 700; }

/* ============================================================
   FOOTER
============================================================ */
#main-footer { background: var(--bg-dark); border-top: 1px solid var(--border); }
.footer-cta {
    text-align: center; padding: 56px 32px;
    border-bottom: 1px solid var(--border);
}
.footer-cta h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-style: italic; font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; color: #fff; margin: 0 0 20px; }
.footer-cta h2 span { color: var(--gold); }
.footer-cols {
    max-width: 1320px; margin: 0 auto; padding: 52px 32px;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
}
.footer-brand .logo-wordmark { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-brand .logo-wordmark .go { color: var(--gold); }
.footer-brand .logo-wordmark .ten { color: #fff; }
.footer-brand p { color: var(--txt-muted); font-size: 13px; line-height: 1.6; margin: 12px 0 0; max-width: 260px; }
.footer-col h4 { font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aaa; font-size: 13px; transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 32px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    max-width: 1320px; margin: 0 auto;
    font-size: 12px; color: var(--txt-muted);
}
.footer-bottom a { color: var(--txt-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) { .hero-badges { display: none; } }
@media (max-width: 991px) {
    .nav-links, .nav-actions { display: none; }
    .nav-burger { display: flex; }
    .hero-body { padding: 48px 20px 40px; min-height: 380px; }
    .hero-stats-inner { flex-wrap: wrap; }
    .stat-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 16px 0; justify-content: flex-start; padding-left: 24px; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,.06); }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
    .why-section { padding: 60px 0 70px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .stat-item { flex: 0 0 100%; border-right: none !important; }
    .stat-item:nth-child(4) { border-bottom: none; }
    .footer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .nav-inner { padding: 0 16px; }
    .hero-body { padding: 36px 16px 32px; }
    .hero-stats-inner { padding: 0 16px; }
    .page-content { padding: 40px 20px 60px; }
    .auth-card { padding: 26px 20px; }
}
