:root {
    --navy: #1a3a8f;
    --navy-dark: #152e78;
    --navy-deep: #0f2260;
    --red: #c0392b;
    --red-light: #e74c3c;
    --gold: #f0b429;
    --gold-light: #f7d070;
    --white: #ffffff;
    --off-white: #f4f7ff;
    --text-light: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --blue-light: #60a3db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    background: var(--navy-deep);
    color: var(--white);
    overflow-x: hidden;
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

/* Côté gauche — texte */
.hero-left {
    position: relative;
    width: 49%;
    flex-shrink: 0;
    background: var(--navy-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 72px 64px 80px;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

/* Côté droit — image plein bord */
.hero-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-visual-img {
    position: absolute;
    inset: 0;
    width: 80%;
    height: 80%;
    margin: auto;
    object-fit: contain;
    object-position: center;
}


.geo-gold-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--red));
    z-index: 3;
}

/* Layout hero */
.hero-wrapper {
    display: contents;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title em {
    font-style: italic;
    color: var(--blue-light);
    font-weight: 700;
}

.hero-placeholder {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.04);
    border-left: 1px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 1px;
}

.hero-subtitle-sm {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
    border-left: 3px solid var(--gold);
    padding-left: 18px;
    margin-bottom: 20px;
}

.hero-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.75;
    border-left: 3px solid var(--red);
    padding-left: 18px;
    margin: 0 0 32px;
    width: 90%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px;
    animation: fadeDown 0.8s ease both;
}

.logo-img {
    height: 100px;
    width: auto;
}

.logo-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

.logo-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    line-height: 1.4;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 44px; height: 2px;
  background: var(--gold);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    background: var(--gold);
    color: var(--navy-dark);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.25s;
    width: fit-content;
    animation: fadeDown 0.8s ease 0.4s both;
    box-shadow: 0 8px 28px rgba(240, 180, 41, 0.3);
}

.hero-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(240, 180, 41, 0.4);
}

.hero-cta svg {
    transition: transform 0.2s;
}

.hero-cta:hover svg {
    transform: translateY(3px);
}

/* Info strip */
.info-strip {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 36px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    width: 52px;
    height: 52px;
    border: 1.5px solid var(--gold);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
}

.info-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 3px;
}

.info-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.info-sub {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ── SECTION PROGRAMME ── */
.programme-section {
    background: var(--navy-dark);
    padding: 90px 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.programme-section::before {
    content: 'PROGRAMME';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    white-space: nowrap;
}

.tl-grid {
    position: relative;
    padding-left: 0;
    max-width: 920px;
}

.tl-grid::before {
    content: '';
    position: absolute;
    left: 72px;
    top: 10px;
    bottom: 10px;
    width: 1.5px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15) 8%, rgba(255, 255, 255, 0.15) 92%, transparent);
}

.tl-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 32px;
    position: relative;
}

.tl-time {
    width: 62px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold);
    padding-top: 3px;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.tl-dot-col {
    width: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    flex-shrink: 0;
}

.tl-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: var(--navy-dark);
    flex-shrink: 0;
    transition: all 0.2s;
}

.tl-dot--red {
    border-color: var(--red);
    background: var(--red);
}

.tl-dot--gold {
    border-color: var(--gold);
    background: var(--gold);
}

.tl-body {
    margin-left: 20px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    border-left: 2px solid transparent;
    flex: 1;
    transition: all 0.2s;
    cursor: default;
}

.tl-item:hover .tl-body {
    background: rgba(255, 255, 255, 0.07);
    border-left-color: rgba(255, 255, 255, 0.2);
    transform: translateX(3px);
}

.tl-item:hover .tl-dot {
    border-color: white;
}

.tl-event {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
}

.tl-event--red {
    color: var(--gold);
}

.tl-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 4px;
    font-style: italic;
    line-height: 1.5;
}

.tl-pause .tl-body {
    background: transparent;
    border-left: none;
    padding: 6px 18px;
}

.tl-pause .tl-event {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.tl-pause:hover .tl-body {
    background: transparent;
    transform: none;
    border-left: none;
}

/* ── FORM SECTION ── */
.section-header {
    margin-bottom: 52px;
}

.section-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.05;
}

/* ── FORM SECTION ── */
.form-section {
    background: var(--off-white);
    padding: 90px 80px;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--red));
}

.form-inner {
    max-width: 780px;
    margin: 0 auto;
}

.form-section .section-tag {
    color: var(--red);
}

.form-section .section-tag::before {
    background: var(--red);
}

.form-section .section-title {
    color: var(--navy-dark);
}

.form-card {
    background: white;
    border-radius: 4px;
    padding: 52px;
    box-shadow: 0 4px 40px rgba(13, 34, 87, 0.08);
    border-top: 4px solid var(--gold);
    margin-top: 40px;
}

.form-section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(13, 34, 87, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
    opacity: 0.6;
}

input,
select,
textarea {
    background: var(--off-white);
    border: 1.5px solid rgba(13, 34, 87, 0.12);
    border-radius: 3px;
    padding: 13px 16px;
    color: var(--navy-dark);
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--navy);
    background: white;
    box-shadow: 0 0 0 3px rgba(13, 34, 87, 0.08);
}

input::placeholder,
textarea::placeholder {
    color: rgba(13, 34, 87, 0.3);
}

.form-divider {
    border: none;
    border-top: 1px solid rgba(13, 34, 87, 0.08);
    margin: 28px 0;
}

/* Checkbox agree */
.agree-group {
    margin-bottom: 20px;
}

.agree-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    color: rgba(13, 34, 87, 0.65);
    font-size: 0.88rem;
    line-height: 1.5;
    position: relative;
}

.agree-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.agree-custom-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1.5px solid rgba(13, 34, 87, 0.25);
    border-radius: 3px;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: all 0.2s;
}

.agree-custom-check::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.15s ease;
    margin-top: -3px;
}

.agree-option input[type="checkbox"]:checked~.agree-custom-check {
    background: var(--navy);
    border-color: var(--navy);
}

.agree-option input[type="checkbox"]:checked~.agree-custom-check::after {
    transform: rotate(-45deg) scale(1);
}

.agree-option:hover .agree-custom-check {
    border-color: var(--navy);
}

.rgpd-trigger-line {
    margin-top: -10px;
    margin-bottom: 24px;
    margin-left: 34px;
}

.rgpd-trigger {
    background: none;
    border: none;
    color: var(--navy);
    opacity: 0.4;
    font-family: 'Barlow', sans-serif;
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    transition: opacity 0.2s;
}

.rgpd-trigger:hover {
    opacity: 0.8;
}

/* Submit */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--navy-dark);
    color: white;
    border: none;
    border-radius: 3px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 8px;
    box-shadow: 0 6px 24px rgba(13, 34, 87, 0.2);
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transition: width 0.3s ease;
}

.submit-btn:hover {
    background: var(--navy);
}

.submit-btn:hover::after {
    width: 8px;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(13, 34, 87, 0.35);
    margin-top: 14px;
}

/* ── MODALS ── */
.flash-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 15, 46, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.flash-overlay.hidden {
    display: none;
}

.flash-modal {
    background: white;
    border-radius: 4px;
    padding: 52px 44px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(5, 15, 46, 0.4);
    animation: slideUp 0.35s ease;
    border-top: 4px solid var(--gold);
}

.flash-icon {
    width: 64px;
    height: 64px;
    background: var(--navy-dark);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.flash-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.flash-body {
    font-size: 0.92rem;
    color: rgba(13, 34, 87, 0.65);
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: left;
}

.flash-body a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.flash-close {
    padding: 14px 40px;
    background: var(--navy-dark);
    color: white;
    border: none;
    border-radius: 3px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.flash-close:hover {
    background: var(--navy);
    transform: translateY(-1px);
}

.flash-icon--error {
    background: var(--red);
}

.flash-close--error {
    background: var(--red);
}

.flash-close--error:hover {
    background: var(--red-light);
}

.flash-icon--info { background: var(--gold); }
.flash-close--info { background: var(--gold); color: var(--navy-dark); }
.flash-close--info:hover { background: var(--gold-light); }

.rgpd-modal {
    max-width: 580px;
    border-top-color: var(--navy);
}

.rgpd-body {
    text-align: left;
    font-size: 0.88rem;
}

.rgpd-body a:hover {
  color: var(--gold);
}

/* ── FOOTER ── */
footer {
    background: var(--navy-deep);
    padding: 40px 80px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.footer-logos-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 20px;
}

.footer-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logos-grid img {
    height: 32px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    opacity: 0.45;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s;
}

.footer-logos-grid img:hover {
    opacity: 0.9;
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .hero-left {
        width: 100%;
        clip-path: none;
        padding: 48px 24px 40px;
    }

    .hero-right {
        display: none;
    }

    .geo-gold-line {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .info-strip {
        padding: 28px 24px;
        gap: 28px;
    }

    .programme-section,
    .form-section {
        padding: 60px 24px;
    }

    footer {
        padding: 40px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 28px 20px;
    }
}