/* ==========================================================================
   VEA — CLEAN ACADEMY THEME
   Minimaliste premium. Scopé sous .vea-theme pour ne pas affecter camp-enfants.html
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
.vea-theme {
    --vt-bg:          #FAFAF8;
    --vt-surface:     #FFFFFF;
    --vt-surface-alt: #F5F3EF;
    --vt-border:      #E8E5DF;
    --vt-border-soft: rgba(40, 40, 35, 0.08);

    --vt-text:        #1A1A17;
    --vt-muted:       #6B6860;
    --vt-subtle:      #9A978F;

    --vt-green:       #1E4DB7;
    --vt-green-mid:   #1740A0;
    --vt-green-light: #DBEAFE;
    --vt-green-pale:  #EFF6FF;

    --vt-red:         #E31E24;
    --vt-red-light:   #FEE2E2;

    --vt-amber:       #92400E;
    --vt-amber-light: #FEF3C7;

    --vt-radius-sm:   8px;
    --vt-radius:      14px;
    --vt-radius-lg:   22px;
    --vt-radius-xl:   32px;

    --vt-shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --vt-shadow:      0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
    --vt-shadow-lg:   0 12px 40px rgba(0,0,0,0.10), 0 3px 10px rgba(0,0,0,0.05);

    --vt-font-body:   'Inter', 'Poppins', sans-serif;
    --vt-font-head:   'DM Serif Display', 'Georgia', serif;

    --vt-ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Global resets inside theme ─────────────────────────────────────────── */
html.vea-theme-html, .vea-theme-html body {
    background-color: #060B19;
}

.vea-theme body,
body.vea-theme {
    background-color: #ffffff;
    background: var(--vt-bg);
    color: var(--vt-text);
    font-family: var(--vt-font-body);
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.vea-theme .site-header {
    background: rgba(250, 250, 248, 0.92);
    border-bottom: 1px solid var(--vt-border);
    box-shadow: 0 1px 0 var(--vt-border-soft);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.vea-theme .brand strong {
    font-family: var(--vt-font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--vt-text);
    letter-spacing: -0.01em;
}

.vea-theme .brand-logo {
    width: 130px;
}

.vea-theme .primary-nav a {
    color: var(--vt-muted);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: var(--vt-radius-sm);
    transition: color 0.2s var(--vt-ease), background 0.2s var(--vt-ease);
}

.vea-theme .primary-nav a:hover {
    color: var(--vt-text);
    background: var(--vt-surface-alt);
}

.vea-theme .primary-nav a.is-active,
.vea-theme .primary-nav a[aria-current="page"] {
    color: var(--vt-green);
    font-weight: 600;
}

.vea-theme .primary-nav .btn {
    background: var(--vt-green);
    color: #fff !important;
    border-radius: var(--vt-radius-sm);
    padding: 0.55rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: none;
    border: none;
    transition: background 0.2s var(--vt-ease), transform 0.15s var(--vt-ease);
}

.vea-theme .primary-nav .btn:hover {
    background: var(--vt-green-mid);
    transform: translateY(-1px);
    color: #fff !important;
}

.vea-theme .primary-nav .btn::after {
    display: none;
}

/* ── Global buttons ─────────────────────────────────────────────────────── */
.vea-theme .btn {
    font-family: var(--vt-font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: var(--vt-radius-sm);
    padding: 0.85rem 1.5rem;
    background: var(--vt-green);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(30, 77, 183, 0.25);
    transition: background 0.2s var(--vt-ease), transform 0.15s var(--vt-ease), box-shadow 0.2s var(--vt-ease);
}

.vea-theme .btn:hover {
    background: var(--vt-green-mid);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 77, 183, 0.30);
}

.vea-theme .btn-outline {
    background: transparent;
    color: var(--vt-text);
    border: 1.5px solid var(--vt-border);
    box-shadow: none;
}

.vea-theme .btn-outline:hover {
    background: var(--vt-surface-alt);
    border-color: var(--vt-text);
    transform: translateY(-1px);
    box-shadow: none;
}

/* ── Eyebrow labels ─────────────────────────────────────────────────────── */
.vea-theme .eyebrow {
    font-family: var(--vt-font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vt-green);
}

/* ── Section headings ───────────────────────────────────────────────────── */
.vea-theme .section-heading h2,
.vea-theme h1 {
    font-family: var(--vt-font-head);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--vt-text);
}

.vea-theme h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
}

.vea-theme .section-heading h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.vea-theme h3 {
    font-family: var(--vt-font-body);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--vt-text);
}

.vea-theme .lead {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--vt-muted);
    max-width: 52ch;
}

.vea-theme .section-heading p {
    color: var(--vt-muted);
    line-height: 1.7;
}

/* ── Section backgrounds ────────────────────────────────────────────────── */
/* Uniform padding for ALL major sections */
.vea-theme .section-pad {
    padding: 3.5rem 0;
}

/* Hero keeps its own breathing room */
.vea-theme .hero.section-pad {
    padding: 0;
}

.vea-theme .alt-bg {
    background: var(--vt-surface-alt);
}

/* ── Hero section ───────────────────────────────────────────────────────── */
.vea-theme .hero {
    background:
        url("images/IMG_3809.jpg.jpeg") center center / cover no-repeat,
        linear-gradient(180deg, #FAFAF8 0%, #F0EDE8 100%);
    position: relative;
    overflow: hidden;
}

/* Warm overlay that fades the photo, keeping the off-white tone */
.vea-theme .hero::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(250, 250, 248, 0.93) 0%,
        rgba(250, 250, 248, 0.82) 45%,
        rgba(250, 250, 248, 0.50) 100%
    );
    pointer-events: none;
}

.vea-theme .hero::after {
    display: none;
}

.vea-theme .hero > .container {
    position: relative;
    z-index: 1;
}

.vea-theme .hero-grid {
    min-height: clamp(560px, 68vh, 780px);
    padding-block: 3rem;
    align-items: center;
    gap: 3rem;
}

.vea-theme .hero h1 {
    max-width: 14ch;
    margin-bottom: 1.25rem;
}

.vea-theme .hero-highlights {
    margin-top: 1rem;
    gap: 0.5rem;
}

.vea-theme .hero-highlights span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--vt-muted);
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.vea-theme .hero-actions {
    margin-top: 2rem;
    gap: 0.75rem;
}

/* Hero card */
.vea-theme .hero-card {
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: var(--vt-radius-lg);
    box-shadow: var(--vt-shadow-lg);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vea-theme .hero-card .featured-img {
    border-radius: 0;
    margin-bottom: 0;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Card body — consistent padding for all text content */
.vea-theme .hero-card-body {
    padding: 1.25rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vea-theme .hero-card .card-tag {
    color: var(--vt-green);
    font-size: 0.70rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}

.vea-theme .hero-card h2 {
    font-family: var(--vt-font-head);
    font-weight: 400;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    color: var(--vt-text);
    margin: 0 0 0.6rem;
    line-height: 1.25;
}

.vea-theme .hero-card-desc {
    font-size: 0.875rem;
    color: var(--vt-muted);
    line-height: 1.65;
    margin: 0 0 0.5rem;
}

.vea-theme .hero-card .checklist {
    padding: 0;
    margin: 0.25rem 0 0;
}

.vea-theme .hero-card .checklist li {
    font-size: 0.875rem;
    padding-left: 1.4rem;
    margin-bottom: 0.45rem;
    color: var(--vt-text);
}

/* Divider between checklist and button */
.vea-theme .hero-card hr {
    border: none;
    border-top: 1px solid var(--vt-border);
    margin: 1rem 0 0;
}

/* Footer area — full bleed background for button */
.vea-theme .hero-card-footer {
    padding: 1rem 1.5rem 1.5rem;
    margin: 0 -1.5rem -0rem;
}

.vea-theme .hero-card-footer .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.8rem 1.25rem;
    border-radius: var(--vt-radius-sm);
}

/* ── Hero highlights (Single badge) ───────────────────────────────────────── */
.vea-theme .hero-highlights {
    margin-top: 1.5rem;
}

.vea-theme .hero-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--vt-text);
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    letter-spacing: 0.01em;
    line-height: 1.3;
    box-shadow: var(--vt-shadow-sm);
    transition: border-color 0.2s var(--vt-ease), box-shadow 0.2s var(--vt-ease);
}

.vea-theme .hero-badge:hover {
    border-color: var(--vt-green);
    box-shadow: 0 2px 8px rgba(30, 77, 183, 0.12);
}

/* ── Section cards ──────────────────────────────────────────────────────── */
.vea-theme .hero-card,
.vea-theme .info-card,
.vea-theme .format-card,
.vea-theme .step-card,
.vea-theme .testimonial-card,
.vea-theme .pricing-card,
.vea-theme .founder-card,
.vea-theme .form-card,
.vea-theme .map-card,
.vea-theme .faq-card,
.vea-theme .target-card {
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: var(--vt-radius);
    box-shadow: var(--vt-shadow-sm);
    transition: box-shadow 0.25s var(--vt-ease), transform 0.25s var(--vt-ease), border-color 0.25s var(--vt-ease);
}

.vea-theme .info-card,
.vea-theme .format-card,
.vea-theme .step-card,
.vea-theme .faq-card,
.vea-theme .target-card {
    padding: 1.75rem;
}

.vea-theme .info-card:hover,
.vea-theme .format-card:hover,
.vea-theme .step-card:hover {
    box-shadow: var(--vt-shadow);
    transform: translateY(-3px);
    border-color: rgba(27, 67, 50, 0.2);
}

/* ── Checklist ──────────────────────────────────────────────────────────── */
.vea-theme .checklist li::before {
    content: '✓';
    color: var(--vt-green);
    font-weight: 700;
}

/* ── Info cards ─────────────────────────────────────────────────────────── */
.vea-theme .info-card h3,
.vea-theme .format-card h3,
.vea-theme .step-card h3,
.vea-theme .faq-card h3 {
    font-family: var(--vt-font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

/* ── Step cards ─────────────────────────────────────────────────────────── */
.vea-theme .step-card span {
    background: var(--vt-green-pale);
    color: var(--vt-green);
    border-radius: var(--vt-radius-sm);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

/* ── Feature icons ──────────────────────────────────────────────────────── */
.vea-theme .feature-icon {
    background: var(--vt-green-pale);
    color: var(--vt-green);
    border-radius: var(--vt-radius-sm);
}

/* ── Target cards ───────────────────────────────────────────────────────── */
.vea-theme .target-badge {
    background: var(--vt-green-pale);
    color: var(--vt-green);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

/* ── Format cards ───────────────────────────────────────────────────────── */
.vea-theme .format-img {
    border-radius: calc(var(--vt-radius) - 2px);
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.25rem;
}

/* ── Testimonials ───────────────────────────────────────────────────────── */
.vea-theme .testimonial-card {
    padding: 1.5rem;
    border-radius: var(--vt-radius);
}

.vea-theme .stars {
    color: var(--vt-amber);
}

/* ── Pricing section ────────────────────────────────────────────────────── */
.vea-theme .pricing-card {
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: var(--vt-radius-lg);
    padding: 2.25rem;
    box-shadow: var(--vt-shadow);
}

.vea-theme .pricing-card .section-heading.narrow {
    padding-top: 0;
}

.vea-theme .pricing-hero-img {
    border-radius: var(--vt-radius);
    border: 1px solid var(--vt-border);
}

.vea-theme .pricing-hero-card {
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: var(--vt-radius);
    box-shadow: var(--vt-shadow-sm);
}

.vea-theme .card-tag,
.vea-theme .price-label {
    color: var(--vt-green);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.vea-theme .price {
    color: var(--vt-text);
}

/* ── Founder section ────────────────────────────────────────────────────── */
.vea-theme .founder-img {
    border-radius: var(--vt-radius);
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.vea-theme .faq-card {
    background: var(--vt-surface);
}

.vea-theme .faq-card:hover {
    border-color: rgba(27, 67, 50, 0.25);
    box-shadow: var(--vt-shadow);
}

/* ── Assessment section ─────────────────────────────────────────────────── */
.vea-theme .assessment-panel {
    border-left: 3px solid var(--vt-green);
    background: var(--vt-green-pale);
}

.vea-theme .assessment-badge {
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: var(--vt-radius);
}

/* Restore original target image dimensions */
.vea-theme .target-img {
    min-height: 560px;
    aspect-ratio: 2 / 3;
    border-radius: var(--vt-radius);
}

.vea-theme .target-note {
    background: var(--vt-green-pale);
    border: 1px solid rgba(30, 77, 183, 0.15);
    color: var(--vt-green);
    border-radius: var(--vt-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ── Map card ───────────────────────────────────────────────────────────── */
.vea-theme .map-card {
    border-radius: var(--vt-radius-lg);
    overflow: hidden;
    border: 1px solid var(--vt-border);
}

/* ── Form card ──────────────────────────────────────────────────────────── */
.vea-theme .form-card {
    border-radius: var(--vt-radius-lg);
    padding: 2rem;
}

.vea-theme .form-card input,
.vea-theme .form-card select,
.vea-theme .form-card textarea {
    border: 1.5px solid var(--vt-border);
    border-radius: var(--vt-radius-sm);
    background: var(--vt-bg);
    color: var(--vt-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.vea-theme .form-card input:focus,
.vea-theme .form-card select:focus,
.vea-theme .form-card textarea:focus {
    border-color: var(--vt-green);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.10);
    outline: none;
}

/* ── Hero-meta stats bar ────────────────────────────────────────────────── */
.vea-theme .hero-meta div {
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    border-radius: var(--vt-radius);
    box-shadow: none;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.vea-theme .site-footer {
    background: #0A1128; /* Very dark rich blue */
    color: rgba(255, 255, 255, 0.7);
    padding: 4.5rem 0 0;
    border-top: none;
    font-family: var(--vt-font-body);
}

.vea-theme .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.vea-theme .footer-brand .footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-sizing: content-box;
}

.vea-theme .footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 380px;
    margin-bottom: 1.5rem;
}

.vea-theme .footer-links h3,
.vea-theme .footer-contact h3 {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    font-family: var(--vt-font-head);
    letter-spacing: 0.02em;
}

.vea-theme .site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vea-theme .site-footer ul li,
.vea-theme .site-footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s var(--vt-ease);
}

.vea-theme .site-footer ul li a:hover {
    color: #FFFFFF;
}

.vea-theme .footer-bottom {
    background: #060B19;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.vea-theme .footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.vea-theme .footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
    .vea-theme .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .vea-theme .footer-brand {
        grid-column: 1 / -1;
    }
    .vea-theme .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .vea-theme .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2.5rem;
    }
    .vea-theme .site-footer {
        padding: 3rem 0 0;
    }
}

/* ── Video player overlay ───────────────────────────────────────────────── */
.vea-theme .section-video-container {
    border-radius: var(--vt-radius);
    overflow: hidden;
}

.vea-theme .play-icon-wrapper {
    background: rgba(27, 67, 50, 0.9);
    border: none;
}

.vea-theme .video-play-overlay:hover .play-icon-wrapper {
    background: var(--vt-green);
}

/* ── Registration modal ─────────────────────────────────────────────────── */
.vea-theme .registration-modal__close:hover {
    background: var(--vt-green);
}

/* ── Mobile responsive overrides ───────────────────────────────────────── */
@media (max-width: 1120px) {
    .vea-theme .section-pad {
        padding: 3rem 0;
    }
    .vea-theme .hero.section-pad {
        padding: 0;
    }
}

@media (max-width: 640px) {
    .vea-theme .section-pad {
        padding: 2rem 0;
    }
    .vea-theme .hero.section-pad {
        padding: 0;
    }

    .vea-theme h1 {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .vea-theme .hero h1 {
        max-width: 100%;
    }

    .vea-theme .hero-card {
        border-radius: var(--vt-radius);
    }

    .vea-theme .hero-highlights {
        display: none;
    }

    .vea-theme .btn,
    .vea-theme .btn-outline {
        width: 100%;
    }

    .vea-theme .pricing-card {
        padding: 1.5rem;
        border-radius: var(--vt-radius);
    }

    .vea-theme .form-card {
        padding: 1.25rem;
    }
}
