/* ===== VARIABLES ===== */
:root {
    --vert: #253789;
    --vert-fonce: #0033ff;
    --vert-clair: #0448f6;
    --or: #e76e39;
    --or-clair: #e76e39;
    --blanc: #ffffff;
    --creme: #faf7f0;
    --gris: #f0ede6;
    --noir: #0a0a0a;
    --bg-image: url("/assets/images/banner-bg.jpg");
    --glow-or: 0 0 15px rgba(231, 110, 57, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Barlow", sans-serif;
    background-image: var(--bg-image);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #2c2c2c;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 51, 255, 0.3), rgba(10, 10, 10, 0.85));
    pointer-events: none;
    z-index: -1;
}

/* ===== MENU ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    transition: background 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar:hover {
    background: rgba(0, 0, 0, 0.7);
}
.logo-small {
    height: 40px;
    filter: drop-shadow(0 0 5px var(--or));
    transition: transform 0.2s;
}
.logo-small:hover {
    transform: scale(1.05);
}
.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}
.nav-links li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.2s;
}
.nav-links li a:hover {
    color: var(--or);
}
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}
.menu-icon span {
    width: 28px;
    height: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 2px;
}
.menu-icon.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-icon.open span:nth-child(2) { opacity: 0; }
.menu-icon.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(16px);
    transition: right 0.3s;
    padding-top: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 30px;
}
.mobile-menu.open {
    right: 0;
}
.mobile-menu a {
    color: white;
    text-decoration: none;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    font-weight: 600;
}
.mobile-menu a:hover { color: var(--or); }
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 998;
    display: none;
}
.overlay.open { display: block; }

@media (max-width: 800px) {
    .nav-links { display: none; }
    .menu-icon { display: flex; }
    .top-bar { padding: 8px 16px; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.9s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO (page accueil) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px 50px;
    background: radial-gradient(ellipse 150% 100% at 50% 30%, rgba(0, 51, 255, 0.4), rgba(37, 55, 137, 0.7));
    border-bottom: 2px solid var(--or);
    position: relative;
    z-index: 2;
}
.hero-badge {
    background: var(--or);
    color: white;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 5px;
    padding: 8px 24px;
    border-radius: 40px;
    margin-bottom: 30px;
    box-shadow: var(--glow-or);
}
.inscription-badge {
    background: var(--or);
    color: white;
    /* padding: 8px 24px; */
    padding-top: 10px;
    padding-bottom: 10px;
    /* border-radius: 40px; */
    box-shadow: var(--glow-or);
}
.hero-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(48px, 10vw, 100px);
    font-weight: 900;
    color: white;
    line-height: 0.9;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.hero-title span {
    color: var(--or);
    text-shadow: 0 0 15px var(--or);
}
.hero-logo {
    filter: drop-shadow(0 0 10px var(--or));
    margin-bottom: 15px;
}
.hero-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--or), var(--or), transparent);
    margin: 20px auto;
}
.hero-theme {
    font-family: "Playfair Display", serif;
    font-size: clamp(16px, 3vw, 22px);
    font-style: italic;
    color: var(--or-clair);
    max-width: 700px;
    margin: 20px auto;
}
.hero-meta {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 25px;
    flex-wrap: wrap;
}
.countdown-item {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 12px 18px;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.countdown-number {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--or);
    line-height: 1;
    text-shadow: 0 0 8px var(--or);
}
.countdown-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}
.hero-countries {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 15px;
}
.countries-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.country-flag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.flag-ico {
    font-size: 28px;
    filter: drop-shadow(0 0 4px var(--or));
    transition: transform 0.2s;
}
.flag-ico.small {
    font-size: 22px;
}
.flag-ico:hover {
    transform: scale(1.1);
}
.flag-label {
    font-size: 9px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}
.flag-label.small {
    font-size: 8px;
}
.row-title {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--or);
    margin: 4px 0 2px;
    text-transform: uppercase;
    font-weight: 600;
}
.hero-year {
    font-size: clamp(100px, 22vw, 220px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    letter-spacing: -10px;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
}

/* ===== STATS ===== */
.stats-bar {
    background: linear-gradient(135deg, var(--or), #d45a2a);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    z-index: 2;
    position: relative;
}
.stat-num-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.stat-num {
    font-size: 64px;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    line-height: 1;
}
.stat-num-wrapper sup,
.stat-num-wrapper span:not(.stat-num) {
    font-size: 32px;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.stat-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: white;
    margin-top: 8px;
}

/* ===== THÈME ===== */
.theme-section {
    background: rgba(250, 247, 240, 0.92);
    padding: 100px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    z-index: 2;
    position: relative;
}
.theme-text h2 {
    font-size: 20px;
    letter-spacing: 4px;
    color: var(--or);
    font-weight: 900;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--or);
    margin-bottom: 6px;
}
.theme-text .theme-phrase {
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
    color: var(--vert);
    line-height: 1.4;
    margin: 10px 0 18px;
}
.theme-text h3 {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--vert-fonce), var(--vert));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.theme-text p {
    font-size: 17px;
    line-height: 1.7;
    color: #2c2c2c;
    margin-bottom: 20px;
}
.theme-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.theme-card {
    background: var(--vert);
    padding: 28px 20px;
    border-radius: 20px;
    text-align: center;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}
.theme-card a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; width: 100%; }
.theme-card:first-child {
    grid-column: span 2;
    background: linear-gradient(145deg, var(--or), #c04e20);
}
.theme-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.3);
}
.theme-card-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.theme-card-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ===== PÔLES ===== */
.poles-section {
    background: rgba(0, 51, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 100px 60px;
    z-index: 2;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-eyebrow {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    letter-spacing: 5px;
    color: var(--or);
    font-weight: 800;
}
.section-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: white;
    text-transform: uppercase;
}
.poles-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}
.pole-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}
.pole-card-img {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pole-card-icon { font-size: 46px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
.pole-card-body { padding: 22px 20px; display: flex; flex-direction: column; flex-grow: 1; text-align: center; align-items: center; }
.pole-num {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--or);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.poles-grid-new .pole-link { display: flex; height: 100%; width: 100%; }
.pole-card:hover {
    transform: translateY(-10px);
    background: rgba(231, 110, 57, 0.2);
    border-color: var(--or);
    box-shadow: var(--glow-or);
}
.pole-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.pole-title-new {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pole-sub-new {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* ===== TARIFS ===== */
.tarifs-section {
    background: rgba(240, 237, 230, 0.95);
    padding: 100px 60px;
    z-index: 2;
}
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}
.tarif-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.tarif-card.featured {
    border: 3px solid var(--or);
    box-shadow: 0 0 30px rgba(231, 110, 57, 0.5);
    transform: scale(1.05);
}
.tarif-card.featured:hover {
    transform: scale(1.08);
}
.tarif-header {
    background: linear-gradient(135deg, var(--vert), var(--vert-fonce));
    padding: 28px 24px;
    text-align: center;
    color: white;
}
.tarif-card.featured .tarif-header {
    background: linear-gradient(135deg, var(--or), #c04e20);
}
.tarif-type {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}
.tarif-name {
    font-size: 32px;
    font-weight: 800;
    font-family: "Barlow Condensed", sans-serif;
}
.tarif-surface {
    font-size: 14px;
    opacity: 0.8;
}
.tarif-body {
    padding: 28px 24px;
}
.tarif-price {
    font-size: 44px;
    font-weight: 800;
    color: var(--vert);
    font-family: "Barlow Condensed", sans-serif;
}
.tarif-card.featured .tarif-price {
    color: var(--or);
}
.popular-badge {
    background: var(--or);
    color: var(--noir);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 40px;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: var(--glow-or);
}
.tarif-features {
    list-style: none;
    margin-top: 20px;
}
.tarif-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 8px;
    font-size: 14px;
}
.tarif-features li::before {
    content: "✓";
    color: var(--vert);
    font-weight: bold;
}

/* ===== SPONSORS ===== */
.sponsors-section {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(8px);
    padding: 100px 60px;
    z-index: 2;
}
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
}

/* Tablette */
@media (max-width: 992px) {
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Téléphone */
@media (max-width: 576px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
}


.sponsor-tier {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 24px;
    text-align: center;
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.sponsor-tier:hover {
    background: rgba(231, 110, 57, 0.2);
    transform: translateY(-8px);
    border-color: var(--or);
    box-shadow: var(--glow-or);
}
.sponsor-gem {
    font-size: 44px;
    margin-bottom: 12px;
}
.sponsor-name {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    color: white;
}
.sponsor-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--or);
    margin: 10px 0;
}
.sponsor-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}
.sponsors-note {
    text-align: center;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* ===== CONFIANCE ===== */
.trust-section {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    text-align: center;
    z-index: 2;
    border-top: 1px solid var(--or);
    border-bottom: 1px solid var(--or);
}
.trust-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 40px;
}
.trust-title span {
    color: var(--or);
}
.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}
.trust-logo {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 18px;
    color: white;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.trust-logo:hover {
    background: var(--or);
    transform: scale(1.05);
    border-color: var(--or);
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(37, 55, 137, 0.9), rgba(0, 51, 255, 0.9));
    backdrop-filter: blur(4px);
    padding: 100px 60px;
    text-align: center;
    border-top: 2px solid var(--or);
    border-bottom: 2px solid var(--or);
    z-index: 2;
}
.cta-section h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 64px;
    font-weight: 800;
    color: white;
}
.cta-section h2 span {
    color: var(--or);
}
.cta-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 24px auto;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 16px 42px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-primary {
    background: linear-gradient(95deg, var(--or), #ff8c5a);
    color: white;
    box-shadow: var(--glow-or);
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--or);
}
.btn-secondary {
    border: 2px solid var(--or);
    color: white;
    background: transparent;
}
.btn-secondary:hover {
    background: var(--or);
    color: black;
}

/* ===== FOOTER ===== */
.contact-footer {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    border-top: 1px solid var(--or);
    z-index: 2;
}
.contact-block h4 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--or);
    margin-bottom: 16px;
}
.contact-block p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}
.contact-block strong {
    color: white;
    display: block;
    margin-bottom: 4px;
}
.footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.logo-chip img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}
.contact-footer { align-items: start; }
@media (max-width: 768px) {
    .footer-logos { justify-content: center; }
}
.footer-brand {
    background: rgba(0, 51, 255, 0.8);
    text-align: center;
    padding: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.footer-brand span {
    color: var(--or);
}

/* ===== FORMULAIRE INSCRIPTION ===== */
.form-container {
    max-width: 1200px;
    margin: 100px auto 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 32px;
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}
.form-header {
    background: linear-gradient(135deg, var(--vert), var(--vert-fonce));
    padding: 30px;
    text-align: center;
    color: white;
}
.form-header h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
}
.form-header p {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 10px;
}
.form-body {
    padding: 40px;
}
.form-section {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--gris);
    padding-bottom: 30px;
}
.form-section h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    color: var(--vert);
    margin-bottom: 20px;
    border-left: 5px solid var(--or);
    padding-left: 15px;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    flex: 1;
    min-width: 200px;
}
label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}
input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-family: "Barlow", sans-serif;
    font-size: 16px;
    transition: all 0.2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--or);
    box-shadow: 0 0 0 3px rgba(231,110,57,0.2);
}
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}
.price-calc {
    background: var(--creme);
    padding: 20px;
    border-radius: 20px;
    margin: 20px 0;
    text-align: center;
}
.total-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--or);
    font-family: "Barlow Condensed", sans-serif;
}
.btn-submit {
    background: linear-gradient(95deg, var(--or), #ff8c5a);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--glow-or);
    width: 100%;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 2px;
}
.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px var(--or);
}
.legal {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    text-align: center;
}
.signature-area {
    border: 1px dashed var(--or);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    margin-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .theme-section { grid-template-columns: 1fr; padding: 60px 30px; gap: 40px; }
    .poles-grid-new { grid-template-columns: 1fr; gap: 20px; }
    .poles-section { padding: 60px 30px; }
    .tarifs-grid { grid-template-columns: 1fr; }
    /* .sponsors-grid { grid-template-columns: 1fr 1fr; } */
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .hero-countries { padding: 10px 15px; }
    .countries-row { gap: 10px; }
    .flag-ico { font-size: 24px; }
    .flag-ico.small { font-size: 18px; }
    .contact-footer { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 48px; }
    .stat-num { font-size: 48px; }
    .stat-num-wrapper sup, .stat-num-wrapper span:not(.stat-num) { font-size: 24px; }
    .form-body { padding: 20px; }
    .form-header h1 { font-size: 32px; }
}






/* ===== RESPONSIVE TARIFS : TABLEETTE & MOBILE ===== */
@media (max-width: 1024px) and (min-width: 768px) {
  .tarifs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  /* La carte "Premium" (featured) reste mise en avant sur tablette */
  .tarif-card.featured {
    transform: scale(1.02);
    grid-row: span 1;
  }
}

@media (max-width: 767px) {
  .tarifs-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .tarif-card.featured {
    transform: none;
    order: -1; /* la carte premium remonte en tête sur mobile */
  }
  .tarif-header {
    padding: 20px;
  }
  .tarif-name {
    font-size: 26px;
  }
  .tarif-price {
    font-size: 36px;
  }
}


/* Options supplémentaires améliorées */
.options-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.option-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 48px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1 1 auto;
}

.option-checkbox:hover {
    background: #fff3e8;
    border-color: var(--or);
}

.option-checkbox input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--or);
}

.option-label {
    font-weight: 500;
    font-size: 14px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.option-badge {
    background: var(--or);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.options-hint {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive : sur très petit mobile, les options prennent toute la largeur */
@media (max-width: 480px) {
    .option-checkbox {
        width: 100%;
        justify-content: space-between;
    }
    .options-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* Conditions générales : version améliorée */
.conditions-group {
    margin-top: 20px;
}

.conditions-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.conditions-checkbox:hover {
    background: #fff3e8;
    border-color: var(--or);
    box-shadow: 0 2px 8px rgba(231, 110, 57, 0.1);
}

.conditions-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--or);
    flex-shrink: 0;
}

.conditions-label {
    font-size: 14px;
    line-height: 1.5;
    color: #1e293b;
}

.conditions-label strong {
    font-weight: 700;
    color: var(--vert);
}

/* Responsive : sur mobile, on réduit le padding */
@media (max-width: 640px) {
    .conditions-checkbox {
        padding: 12px 16px;
        gap: 10px;
    }
    .conditions-label {
        font-size: 13px;
    }
    .conditions-checkbox input {
        width: 18px;
        height: 18px;
    }
}

/* Style spécifique pour Mobile (moins de 768px) */
@media (max-width: 768px) {
    .logo-mobile-hide {
        display: none; /* Cache complètement le bloc du 2ème logo */
    }

    h1 {
        font-size: 1.2rem; /* Réduit un peu le titre sur mobile */
    }

    .header-container {
        justify-content: center; /* Centre le logo restant et le texte */
    }
}

 /* Style de base (Ordinateur) */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 15px; /* Espace minimum entre les éléments */
}

.text-center {
    text-align: center;
    flex: 1; /* Prend tout l'espace central */
}

/* .logo-small {
    width: 80px;
    height: auto;
} */



/* Dossier de participation */
.dossier-container {
    max-width: 1300px;
    margin: 100px auto 60px;
    padding: 0 30px;
}

.dossier-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 32px;
    backdrop-filter: blur(4px);
}

.dossier-header h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 48px;
    color: var(--vert);
}

.dossier-sub {
    font-style: italic;
    color: var(--or);
    font-size: 18px;
}

.dossier-section {
    background: rgba(255,255,255,0.95);
    border-radius: 28px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.dossier-section h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 32px;
    color: var(--vert);
    border-left: 5px solid var(--or);
    padding-left: 20px;
    margin-bottom: 25px;
}

.dossier-section h3 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: var(--vert-fonce);
}

.table-responsive {
    overflow-x: auto;
}

.tarif-table, .sponsor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tarif-table th, .sponsor-table th,
.tarif-table td, .sponsor-table td {
    border: 1px solid #ddd;
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
}

.tarif-table th, .sponsor-table th {
    background: var(--vert);
    color: white;
    font-weight: 700;
}

.tarif-table tr:nth-child(even), .sponsor-table tr:nth-child(even) {
    background: #f9f9f9;
}

.info-note {
    background: #fef3e8;
    border-left: 4px solid var(--or);
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 16px;
    font-size: 14px;
}

.simulator-card {
    background: var(--creme);
    padding: 25px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.simulator-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.simulator-row label {
    min-width: 200px;
    font-weight: 600;
}

.simulator-row select, .simulator-row input {
    padding: 10px 15px;
    border-radius: 40px;
    border: 1px solid #ccc;
}

.simulator-result {
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-align: right;
    font-size: 18px;
}

.total-ttc {
    font-size: 28px;
    font-weight: 800;
    color: var(--or);
    margin: 10px 0;
}

.acompte {
    font-size: 20px;
    font-weight: 700;
    color: var(--vert);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.condition-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.4;
}

.condition-item span {
    font-weight: 800;
    color: var(--or);
    margin-right: 8px;
}

.dossier-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .dossier-container {
        padding: 0 15px;
        margin-top: 80px;
    }
    .dossier-header h1 {
        font-size: 32px;
    }
    .dossier-section {
        padding: 20px;
    }
    .simulator-row {
        flex-direction: column;
        align-items: flex-start;
    }
}




/* Page inscription officielle */
.inscription-officielle-container {
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 0 20px;
}
.inscription-header {
    background: rgba(255,255,255,0.95);
    border-radius: 32px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
}
.inscription-header h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 42px;
    color: var(--vert);
}
.inscription-sub {
    font-style: italic;
    color: var(--or);
    font-size: 18px;
}
.inscription-coordo {
    font-size: 13px;
    color: #555;
    margin-top: 10px;
}
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}
.condition-item {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 16px;
    font-size: 13px;
}
.condition-item span {
    font-weight: 800;
    color: var(--or);
    margin-right: 6px;
}
.conditions-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fef3e8;
    padding: 15px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
}
.conditions-checkbox input {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    accent-color: var(--or);
}
.conditions-label strong {
    color: var(--vert);
}

/* Pôles thématiques en grille */
.poles-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 15px 0;
}
.poles-checkboxes label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
}
.poles-checkboxes label:hover {
    background: #fff3e8;
    border-color: var(--or);
}
.poles-checkboxes input {
    width: 18px;
    height: 18px;
    accent-color: var(--or);
}

/* Affichage prix CFA + équivalent EUR (petit) */
.prix-eur { display:block; font-size: 0.72em; font-weight: 400; color: #8a93ad; margin-top: 1px; }
.prix-cfa { display:block; }
.eur-inline { font-size: 0.8em; color: #8a93ad; font-weight: 400; }

/* ============================================================
   MOBILE : récupérer l'espace latéral gaspillé (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
    /* Sections pleine largeur : padding horizontal réduit */
    .hero { padding: 40px 16px 40px; }
    .theme-section { padding: 40px 16px; gap: 28px; }
    .poles-section { padding: 40px 16px; }
    .contact-footer { padding: 36px 16px; }
    .trust-section { padding: 40px 16px; }
    .tarifs-section,
    .sponsors-section,
    .cta-section { padding-left: 16px; padding-right: 16px; }

    /* Conteneurs centrés (formulaires, paiement, sponsoring) */
    .form-container,
    .payment-container,
    .sponsor-wrap { padding-left: 12px; padding-right: 12px; }
    .form-body { padding: 18px 14px; }

    /* Cartes : marges internes resserrées */
    .search-card,
    .result-card,
    .detail-card,
    .inscription-details,
    .form-section { padding-left: 16px; padding-right: 16px; }

    /* Tables larges : éviter le débordement, garder lisible */
    .table-responsive { margin-left: -4px; margin-right: -4px; }
    .tarif-table th, .tarif-table td,
    .sponsor-table th, .sponsor-table td { padding-left: 8px; padding-right: 8px; font-size: 13px; }
}

@media (max-width: 380px) {
    .hero { padding: 32px 12px 32px; }
    .theme-section, .poles-section, .contact-footer, .trust-section { padding: 32px 12px; }
}

/* Justification des paragraphes de contenu (lisibilité, blocs de texte longs) */
.theme-text p,
.projet-section p,
.acc-intro,
.pp-intro,
.regl-body p,
.regl-placeholder p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}
/* On évite de justifier les paragraphes très courts / centrés (titres, notes) */
.theme-text p:first-of-type,
.confirm-hint,
.acc-note,
.pp-note { text-align: inherit; hyphens: manual; }

/* =====================================================================
   SOCLE COMMUN DES PAGES (hors accueil & intro)
   Briques réutilisables : conteneur, carte, en-tête, formulaire, boutons.
   Objectif : un style uniforme sur inscription, sponsoring, paiement,
   accréditation, porteurs, etc.
   ===================================================================== */

/* Conteneur centré standard */
.feaa-page { max-width: 880px; margin: 110px auto 60px; padding: 0 16px; }
.feaa-page--wide { max-width: 1100px; }
.feaa-page--narrow { max-width: 640px; }

/* En-tête de page (titre + sous-ligne) — pastille blanche lisible sur fond sombre */
.feaa-head {
    background: rgba(255,255,255,0.95);
    border-radius: 28px;
    padding: 26px 30px;
    text-align: center;
    margin-bottom: 28px;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.feaa-head h1 { font-family: "Barlow Condensed", sans-serif; color: var(--vert); margin: 0 0 6px; }
.feaa-head p { color: #555; margin: 0; }
.feaa-head .feaa-lead { max-width: 620px; margin: 8px auto 0; color: #555; }

/* Carte blanche standard */
.feaa-card { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 8px 28px rgba(0,0,0,.08); }

/* Titre de section dans une carte */
.feaa-section-title { font-family: "Barlow Condensed", sans-serif; color: var(--or); font-size: 1.15rem; margin: 18px 0 10px; border-bottom: 2px solid #f0f0f0; padding-bottom: 4px; }
.feaa-section-title:first-child { margin-top: 0; }

/* Grille de champs */
.feaa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feaa-grid .feaa-full { grid-column: 1 / -1; }

/* Champs de formulaire homogènes */
.feaa-field { display: flex; flex-direction: column; }
.feaa-field label { font-size: .85rem; font-weight: 600; color: var(--vert); margin-bottom: 4px; }
.feaa-field input, .feaa-field select, .feaa-field textarea {
    padding: 10px 12px; border: 1px solid #ccc; border-radius: 10px; font-size: .95rem; font-family: inherit;
}
.feaa-hint { color: #999; font-size: .75rem; margin-top: 3px; }

/* Boutons standard */
.btn-feaa-primary {
    display: inline-block; width: 100%; box-sizing: border-box; text-align: center;
    background: linear-gradient(135deg, #253789, #3a52c4); color: #fff; border: none;
    padding: 14px; border-radius: 40px; font-size: 1.05rem; font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn-feaa-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,55,137,.35); }

/* Notes / alertes */
.feaa-note { text-align: center; color: #888; font-size: .82rem; margin-top: 12px; }
.feaa-alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c2bd; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; }

/* Carte de confirmation (statut) commune */
.feaa-confirm { background: #fff; border-radius: 24px; padding: 36px 28px; box-shadow: 0 8px 28px rgba(0,0,0,.08); text-align: center; }
.feaa-confirm h1 { font-family: "Barlow Condensed", sans-serif; color: var(--vert); margin: 8px 0; }
.feaa-status-icon { width: 70px; height: 70px; line-height: 70px; border-radius: 50%; font-size: 2rem; color: #fff; margin: 0 auto 8px; }
.feaa-status-icon.ok { background: #2ecc71; } .feaa-status-icon.ko { background: #b3261e; } .feaa-status-icon.wait { background: var(--or); }
.feaa-ref-box { background: #f0f2f8; border-radius: 14px; padding: 12px; margin: 20px 0; }
.feaa-ref-box span { display: block; font-size: .75rem; color: #888; text-transform: uppercase; }
.feaa-ref-box strong { font-size: 1.2rem; color: var(--vert); font-family: monospace; }

@media (max-width: 600px) {
    .feaa-page { padding: 0 12px; }
    .feaa-card, .feaa-confirm { padding: 18px 16px; }
    .feaa-grid { grid-template-columns: 1fr; }
}
