:root {
    --sage: #5a8a7a;
    --sage-light: #7aab99;
    --sage-dark: #3d6b5e;
    --sage-deep: #2e5248;
    --mint: #e8f3f0;
    --mint-soft: #f0f7f5;
    --warm-white: #fafcfb;
    --text-dark: #1e3530;
    --text-mid: #4a6b63;
    --accent-teal: #4a9080;
    --gold: #c8a96e;
}

html {
  scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--warm-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ── BOTANICAL SVG BACKGROUND ── */
.botanical-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
}

/* ── HERO ── */
.hero-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(232, 243, 240, 0.55);
    z-index: 0;
}

.hero>*:not(.hero-bg) {
    position: relative;
    z-index: 1;
}

.logo-area {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    animation: fadeDown 0.9s ease both;
}

.logo-circle {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 2px solid var(--sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    margin-bottom: 12px;
}

.logo-circle img {
    border-radius: 50%;
}

.logo-text {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--sage-dark);
    text-transform: uppercase;
}

.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--sage);
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    animation: fadeDown 1s ease 0.15s both;
}

.hero-title {
    font-family: 'Playfair Display', sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.15;
    position: relative;
    z-index: 1;
    animation: fadeDown 1s ease 0.25s both;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 3.2vw, 1.75rem);
    font-style: italic;
    color: var(--text-mid);
    text-align: center;
    max-width: 620px;
    margin: 24px auto 0;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    animation: fadeDown 1s ease 0.35s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 80px;
    padding: 16px 40px;
    background: var(--sage-dark);
    color: white;
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.25s;
    box-shadow: 0 8px 28px rgba(45, 95, 80, 0.35);
    animation: fadeUp 1s ease 0.55s both;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(45, 95, 80, 0.45);
    background: var(--sage-deep);
}

.hero-cta svg {
    transition: transform 0.2s;
}

.hero-cta:hover svg {
    transform: translateY(3px);
}

/* Date badge */
.date-badge-wrap {
    position: relative;
    z-index: 1;
    margin: 44px 0 0;
    animation: fadeUp 1s ease 0.45s both;
}

.date-badge {
    width: 142px;
    height: 142px;
    background: var(--sage-dark);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 12px 40px rgba(45, 95, 80, 0.35);
    position: relative;
}

.date-badge::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(90, 138, 122, 0.5);
}

.date-day {
    font-family: 'Playfair Display', serif;
    font-size: 3.88rem;
    font-weight: 700;
    line-height: 0.8;
}

.date-month {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 2px;
    line-height: 2.5;
}

/* ── INFO STRIP ── */
.info-strip {
    background: var(--sage-dark);
    color: white;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.info-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 26px;
    height: 26px;
}

.info-label {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 3px;
}

.info-value {
    font-family: 'Montserrat', serif;
    font-size: 1.45rem;
    font-style: italic;
}

.info-sub {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* ── PROGRAMME ── */
.section {
    position: relative;
    z-index: 1;
    padding: 90px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-tag {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 52px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 90px;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: linear-gradient(to bottom, transparent, var(--sage-light) 10%, var(--sage-light) 90%, transparent);
}

.tl-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 40px;
    position: relative;
    animation: fadeLeft 0.6s ease both;
}

.tl-item:nth-child(1) {
    animation-delay: 0.1s;
}

.tl-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tl-item:nth-child(3) {
    animation-delay: 0.3s;
}

.tl-item:nth-child(4) {
    animation-delay: 0.4s;
}

.tl-item:nth-child(5) {
    animation-delay: 0.5s;
}

.tl-item:nth-child(6) {
    animation-delay: 0.6s;
}

.tl-item:nth-child(7) {
    animation-delay: 0.7s;
}

.tl-item:nth-child(8) {
    animation-delay: 0.8s;
}

.tl-item:nth-child(9) {
    animation-delay: 0.9s;
}

.tl-time {
    width: 80px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--sage-dark);
    padding-top: 2px;
    flex-shrink: 0;
}

.tl-dot-wrap {
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 6px;
}

.tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--sage);
    background: var(--warm-white);
    flex-shrink: 0;
}

.tl-item:hover .tl-dot {
    background: var(--sage);
    transform: scale(1.3);
    transition: all 0.2s;
}

.tl-content {
    margin-left: 20px;
    padding: 14px 20px;
    background: white;
    border-radius: 10px;
    border-left: 3px solid transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: all 0.25s;
    cursor: default;
}

.tl-item:hover .tl-content {
    border-left-color: var(--sage);
    box-shadow: 0 6px 24px rgba(90, 138, 122, 0.15);
    transform: translateX(4px);
}

.tl-event {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.tl-desc {
    font-size: 0.82rem;
    color: var(--text-mid);
    margin-top: 4px;
    font-style: italic;
}

.tl-speaker {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-style: italic;
  margin-top: 2px;
}

.tl-pause .tl-content {
    background: var(--mint);
    border-left-color: var(--sage-light);
}

.tl-pause .tl-event {
    color: var(--sage-dark);
}

/* ── FORM SECTION ── */
.form-section {
    position: relative;
    padding: 90px 20px;
    overflow: hidden;
    z-index: 1;
}

.form-section-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.form-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(45, 82, 72, 0.75);
    z-index: 1;
}

.form-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-header {
    text-align: center;
    margin-bottom: 48px;
}

.form-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: white;
    font-style: italic;
}

.form-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    line-height: 1.6;
}

.form-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 44px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

input,
select,
textarea {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 13px 16px;
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    width: 100%;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--sage-light);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 0 0 3px rgba(122, 171, 153, 0.2);
}

select option {
    background: var(--sage-deep);
    color: white;
}

.radio-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

.radio-option input[type="radio"] {
    width: auto;
    padding: 0;
    accent-color: var(--sage-light);
}

.radio-option:has(input:checked) {
    border-color: var(--sage-light);
    background: rgba(122, 171, 153, 0.2);
    color: white;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    padding: 0;
    accent-color: var(--sage-light);
    flex-shrink: 0;
}

.agree-group {
    margin-top: 8px;
}

.agree-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    line-height: 1.5;
    position: relative;
}

/* Cache la checkbox native */
.agree-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Checkbox custom */
.agree-custom-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: all 0.2s;
}

/* Checkmark SVG via pseudo-élément */
.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;
}

/* État coché */
.agree-option input[type="checkbox"]:checked~.agree-custom-check {
    background: var(--sage);
    border-color: var(--sage-light);
}

.agree-option input[type="checkbox"]:checked~.agree-custom-check::after {
    transform: rotate(-45deg) scale(1);
}

/* Focus */
.agree-option input[type="checkbox"]:focus~.agree-custom-check {
    box-shadow: 0 0 0 3px rgba(122, 171, 153, 0.3);
}

/* Hover */
.agree-option:hover .agree-custom-check {
    border-color: var(--sage-light);
    background: rgba(255, 255, 255, 0.12);
}

/* Erreur */
.agree-group .form-error {
    display: block;
    color: #f4a8a8;
    font-size: 0.78rem;
    margin-top: 8px;
    margin-left: 34px;
}

.form-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 28px 0;
}

.section-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: white;
    color: var(--sage-dark);
    border: none;
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
    background: var(--mint);
}

.form-note {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
}

/* ── FOOTER ── */
footer {
    background: var(--sage-deep);
    padding: 28px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1px;
}

.footer-logos {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logos-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.footer-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 36px;
}

.footer-logos-grid img {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.6;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s;
}

.footer-logos-grid img:hover {
    opacity: 1;
}

/* ── POP UP ── */
.flash-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 53, 48, 0.6);
    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: 20px;
    padding: 48px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(30, 53, 48, 0.25);
    animation: slideUp 0.35s ease;
}

.flash-icon {
    width: 64px;
    height: 64px;
    background: var(--sage-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.flash-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.flash-body {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 32px;
}

.flash-body a {
    color: var(--sage-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.flash-close {
    padding: 14px 40px;
    background: var(--sage-dark);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.flash-close:hover {
    background: var(--sage-deep);
    transform: translateY(-1px);
}

.flash-icon--error {
    background: #c0392b;
}

.flash-close--error {
    background: #c0392b;
}

.flash-close--error:hover {
    background: #a93226;
}

/* RGPD */
.rgpd-trigger-line {
    margin-top: -10px;
    margin-bottom: 20px;
    margin-left: 34px;
}

.rgpd-trigger {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    transition: color 0.2s;
}

.rgpd-trigger:hover {
    color: rgba(255, 255, 255, 0.8);
}

.rgpd-modal {
    max-width: 580px;
}

.rgpd-icon {
    background: var(--sage-dark);
}

.rgpd-body {
    text-align: left;
    font-size: 0.88rem;
}

.rgpd-body a {
    color: var(--sage-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── ANIMATIONS ── */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 28px 20px;
    }

    .info-strip {
        gap: 28px;
        padding: 24px 20px;
    }

    .timeline::before {
        left: 70px;
    }

    .tl-time {
        width: 60px;
        font-size: 0.78rem;
    }
}