:root {
    --sage: #7d9585;
    --sage-light: #9bb0a2;
    --sage-dark: #5e7668;
    --sage-deep: #45594e;
    --cream: #f3ede2;
    --cream-card: #f7f2e9;
    --gold: #c8a86a;
    --text-dark: #3a4640;
    --text-mid: #6a7a70;
    --warm-white: #faf7f0;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ═══ HERO ═══ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-card {
    position: relative;
    z-index: 1;
    background: rgba(247, 242, 233, 0.82);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    max-width: 620px;
    width: 100%;
    padding: 48px 56px 52px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(69, 89, 78, 0.12);
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-logo img {
    border-radius: 50%;
}

.hero-divider {
    width: 60px;
    height: 1.5px;
    background: var(--sage-light);
    margin: 0 auto 24px;
}

.hero-eyebrow {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 22px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--sage-dark);
    margin-bottom: 32px;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 4px;
    margin-bottom: 30px;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    color: var(--sage-dark);
}

.hero-meta-item svg { color: var(--sage); }

.hero-meta-item span {
    font-size: 18px;
    font-weight: 700;
    color: var(--sage-dark);
}

.hero-meta-sep {
    width: 1px;
    height: 44px;
    background: var(--sage-light);
    opacity: 0.5;
}

.hero-lede {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 480px;
    margin: 0 auto 30px;
}

.hero-speakers {
    text-align: left;
    max-width: 420px;
    margin: 0 auto 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(125, 149, 133, 0.25);
}

.hero-speakers-label {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-style: italic;
    color: var(--sage-dark);
    margin-bottom: 14px;
    text-align: center;
}

.speakers-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.speakers-list li {
    font-size: 18px;
    color: var(--text-mid);
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
}

.speakers-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--sage);
    border-radius: 0 100% 0 100%;
    transform: rotate(45deg);
    opacity: 0.55;
}

.speakers-list li strong { color: var(--text-dark); font-weight: 700; }

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 38px;
    background: var(--sage-dark);
    color: white;
    border-radius: 12px;
    font-size: 1.235rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(69, 89, 78, 0.25);
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: var(--sage-deep);
    box-shadow: 0 12px 32px rgba(69, 89, 78, 0.35);
}

.hero-cta svg { transition: transform 0.2s; }
.hero-cta:hover svg { transform: translateY(3px); }

/* ═══ FORM ═══ */
.form-section {
    position: relative;
    padding: 90px 20px;
    overflow: hidden;
}

.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(69, 89, 78, 0.78);
    z-index: 1;
}

.form-inner {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-tag {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 12px;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.7rem, 6.0vw, 3.6rem);
    color: white;
    font-style: italic;
}

.form-subtitle {
    font-size: 1.196rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    line-height: 1.6;
}

.form-card {
    background: var(--cream-card);
    border-radius: 18px;
    padding: 44px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-row .form-group { margin-bottom: 0; }

label {
    font-size: 1.014rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-mid);
}

input, select, textarea {
    background: white;
    border: 1.5px solid #e0dccf;
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    font-size: 1.235rem;
    outline: none;
    transition: all 0.2s;
    width: 100%;
}

input::placeholder, textarea::placeholder { color: #b0a89a; }

input:focus, select:focus, textarea:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(125, 149, 133, 0.15);
}

select option { background: white; color: var(--text-dark); }

.form-divider {
    border: none;
    border-top: 1px solid #e5e0d3;
    margin: 24px 0;
}

.agree-group { margin-top: 4px; }

.agree-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    color: var(--text-mid);
    font-size: 1.144rem;
    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 #ccc6b6;
    border-radius: 6px;
    background: 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(--sage);
    border-color: var(--sage);
}

.agree-option input[type="checkbox"]:checked ~ .agree-custom-check::after {
    transform: rotate(-45deg) scale(1);
}

.agree-option:hover .agree-custom-check { border-color: var(--sage); }

.agree-group .form-error {
    display: block;
    color: #c0392b;
    font-size: 1.014rem;
    margin-top: 8px;
    margin-left: 34px;
}

.rgpd-trigger-line {
    margin-top: 14px;
    margin-bottom: 22px;
    margin-left: 34px;
}

.rgpd-trigger {
    background: none;
    border: none;
    color: var(--sage-dark);
    font-family: 'Lato', sans-serif;
    font-size: 1.04rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    transition: color 0.2s;
}

.rgpd-trigger:hover { color: var(--sage-deep); }

.submit-btn {
    width: 100%;
    padding: 17px;
    background: var(--sage-dark);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 8px;
    box-shadow: 0 6px 20px rgba(69, 89, 78, 0.25);
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: var(--sage-deep);
    box-shadow: 0 12px 30px rgba(69, 89, 78, 0.35);
}

.form-note {
    text-align: center;
    font-size: 1.014rem;
    color: var(--text-mid);
    margin-top: 16px;
}

/* ═══ PROGRAMME ═══ */
.programme-section {
    background: var(--warm-white);
    padding: 90px 20px;
}

.programme-inner {
    max-width: 780px;
    margin: 0 auto;
}

.section-tag {
    font-size: 14px;
    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(2.7rem, 6.0vw, 3.9rem);
    font-style: italic;
    color: var(--sage-dark);
    margin-bottom: 48px;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 78px;
    top: 8px;
    bottom: 8px;
    width: 1.5px;
    background: linear-gradient(to bottom, transparent, var(--sage-light) 8%, var(--sage-light) 92%, transparent);
}

.tl-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
    position: relative;
}

.tl-time {
    width: 70px;
    font-weight: 700;
    font-size: 1.17rem;
    color: var(--sage-dark);
    padding-top: 14px;
    flex-shrink: 0;
    text-align: right;
}

.tl-dot-wrap {
    width: 22px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 18px;
    margin: 0 8px;
}

.tl-dot {
    width: 11px;
    height: 11px;
    background: var(--warm-white);
    border: 2px solid var(--sage);
    border-radius: 0 100% 0 100%;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: all 0.2s;
}

.tl-item:hover .tl-dot {
    background: var(--sage);
    transform: rotate(45deg) scale(1.2);
}

.tl-content {
    margin-left: 12px;
    padding: 14px 22px;
    background: white;
    border-radius: 12px;
    border-left: 3px solid transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    flex: 1;
    transition: all 0.25s;
}

.tl-item:hover .tl-content {
    border-left-color: var(--sage);
    box-shadow: 0 6px 22px rgba(125, 149, 133, 0.15);
    transform: translateX(4px);
}

.tl-event {
    font-family: 'Playfair Display', serif;
    font-size: 1.575rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
}

.tl-desc {
    font-size: 1.105rem;
    color: var(--text-mid);
    margin-top: 5px;
    font-style: italic;
    line-height: 1.5;
}

.tl-pause .tl-content {
    background: #eef2ee;
    border-left-color: var(--sage-light);
}

.tl-pause .tl-event { color: var(--sage-dark); }

/* ═══ FOOTER ═══ */
footer {
    background: var(--sage-deep);
    padding: 30px 40px;
    text-align: center;
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
    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;
    object-position: center;
    opacity: 0.6;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s;
}

.footer-logos-grid img:hover {
    opacity: 1;
}

/* ═══ FLASH / RGPD ═══ */
.flash-overlay {
    position: fixed;
    inset: 0;
    background: rgba(58, 70, 64, 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: var(--warm-white);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(58, 70, 64, 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: 2.4rem;
    font-style: italic;
    color: var(--sage-dark);
    margin-bottom: 16px;
}

.flash-body {
    font-size: 1.235rem;
    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: 1.17rem;
    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; }
.flash-icon--info { background: var(--sage-light); }
.flash-close--info { background: var(--sage-light); }
.flash-close--info:hover { background: var(--sage); }

.rgpd-modal { max-width: 580px; }
.rgpd-icon { background: var(--sage-dark); }
.rgpd-body { text-align: left; font-size: 1.144rem; }
.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); } }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 640px) {
    .hero-card { padding: 36px 26px 40px; }
    .hero-meta { flex-direction: column; gap: 16px; }
    .hero-meta-sep { width: 44px; height: 1px; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 28px 22px; }
    .timeline::before { left: 62px; }
    .tl-time { width: 54px; font-size: 1.04rem; }
}