/* ======================================
   CO EVENT - Styles principaux
   Mobile-first | Accessible | Performant
   ====================================== */

/* ----- VARIABLES ----- */
:root {
    --blue: #3333FF;
    --blue-dark: #2020CC;
    --blue-light: #EEF0FF;
    --blue-glow: rgba(51, 51, 255, 0.12);
    --green: #00CC99;
    --green-dark: #00A87D;
    --green-light: #E6FFF6;
    --green-glow: rgba(0, 204, 153, 0.12);
    --white: #FFFFFF;
    --gray-50: #F8F9FC;
    --gray-100: #F1F3F8;
    --gray-200: #E2E5EF;
    --gray-400: #9CA3B8;
    --gray-600: #5A6178;
    --gray-800: #2D3142;
    --gray-900: #1A1D2E;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(26, 29, 46, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 29, 46, 0.08);
    --shadow-lg: 0 8px 32px rgba(26, 29, 46, 0.10);
    --shadow-card: 0 2px 12px rgba(51, 51, 255, 0.06);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --header-h: 72px;
}

/* ----- RESET ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--blue);
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ----- LAYOUT ----- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 4rem 0;
}

/* ============================
   HEADER
   ============================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    height: var(--header-h);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 100%;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
    flex-shrink: 0;
}

.logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.02em;
}

/* Burger button */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.burger-btn:hover,
.burger-btn:focus-visible {
    background: var(--gray-100);
}

.burger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* Burger open state */
.burger-btn.active .burger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav */
.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
}

.main-nav.open {
    transform: translateX(0);
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.85rem 1rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
    background: var(--blue-light);
    color: var(--blue);
}

.nav-link--cta {
    margin-top: 0.75rem;
    background: var(--blue);
    color: var(--white);
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.nav-link--cta:hover,
.nav-link--cta:focus-visible {
    background: var(--blue-dark);
    color: var(--white);
}

/* Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 29, 46, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(51, 51, 255, 0.3);
}

.btn--primary:hover {
    background: var(--blue-dark);
    box-shadow: 0 6px 24px rgba(51, 51, 255, 0.4);
}

.btn--secondary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 204, 153, 0.3);
}

.btn--secondary:hover {
    background: var(--green-dark);
    box-shadow: 0 6px 24px rgba(0, 204, 153, 0.4);
}

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 2rem) 1.25rem 3rem;
    background:
        linear-gradient(135deg, rgba(51, 51, 255, 0.85) 0%, rgba(0, 204, 153, 0.7) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600"><rect fill="%23334" width="800" height="600"/><circle cx="200" cy="300" r="250" fill="%233333FF" opacity=".15"/><circle cx="600" cy="200" r="300" fill="%2300CC99" opacity=".12"/></svg>');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(51, 51, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(0, 204, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="white" opacity=".08"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
}

.hero h1 {
    font-size: clamp(1.7rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 2rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.btn--hero {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.btn--hero:hover {
    background: var(--gray-50);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ============================
   EVENTS SECTION
   ============================ */
.section--events {
    background: var(--gray-50);
}

.section--events h2 {
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--gray-600);
    font-size: 1.05rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    margin-bottom: 1rem;
    width: 64px;
    height: 64px;
}

.card-icon svg {
    width: 64px;
    height: 64px;
}

.card h3 {
    color: var(--blue);
}

.card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================
   VALEURS SECTION
   ============================ */
.section--valeurs {
    background: var(--gray-50);
}

.section--valeurs h2 {
    text-align: center;
}

.card--valeur {
    text-align: center;
}

.card--valeur .card-icon {
    margin-left: auto;
    margin-right: auto;
}

/* Stagger for cards 5-8 */
.card.fade-in:nth-child(5) { transition-delay: 0.05s; }
.card.fade-in:nth-child(6) { transition-delay: 0.15s; }
.card.fade-in:nth-child(7) { transition-delay: 0.25s; }
.card.fade-in:nth-child(8) { transition-delay: 0.35s; }

/* ============================
   STEPS SECTION
   ============================ */
.section--steps {
    background: var(--white);
}

.section--steps h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 520px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.step:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 20px var(--blue-glow);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue), #5555FF);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-content h3 {
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.step-connector {
    width: 2px;
    height: 28px;
    background: linear-gradient(to bottom, var(--blue), var(--green));
    border-radius: 2px;
    opacity: 0.4;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================
   TRANSFORM SECTION
   ============================ */
.section--transform {
    background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
}

.transform-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.transform-visual {
    display: flex;
    justify-content: center;
}

.transform-illustration {
    max-width: 360px;
    width: 100%;
}

.transform-illustration svg {
    width: 100%;
    height: auto;
}

.transform-text h2 {
    margin-bottom: 1.25rem;
}

.transform-text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.transform-highlight {
    font-weight: 600;
    color: var(--blue) !important;
    font-style: italic;
    font-size: 1.08rem !important;
}

/* ============================
   HISTOIRE / TIMELINE SECTION
   ============================ */
.section--histoire {
    background: var(--white);
}

.section--histoire h2 {
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--blue), var(--green), var(--blue-light));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--white);
}

.timeline-content {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.timeline-content:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 20px var(--blue-glow);
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-light);
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.timeline-content h3 {
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.timeline-img {
    margin: 0.75rem 0 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.timeline-img svg {
    width: 100%;
    height: auto;
    display: block;
}

.timeline-item--future .timeline-content {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--green-light) 100%);
    border-color: var(--green);
}

/* Timeline stagger animations */
.timeline-item.fade-in:nth-child(2) { transition-delay: 0.1s; }
.timeline-item.fade-in:nth-child(3) { transition-delay: 0.2s; }
.timeline-item.fade-in:nth-child(4) { transition-delay: 0.3s; }
.timeline-item.fade-in:nth-child(5) { transition-delay: 0.4s; }
.timeline-item.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================
   CONTACT SECTION
   ============================ */
.section--contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card--contact {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.card--contact h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 0.75rem;
}

.card--contact > p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-icon--lg {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
}

.card-icon--lg svg {
    width: 72px;
    height: 72px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.contact-row svg {
    flex-shrink: 0;
    color: var(--blue);
}

.contact-row a {
    color: var(--blue);
    font-weight: 600;
    transition: color var(--transition);
}

.contact-row a:hover {
    color: var(--blue-dark);
}

/* ============================
   REASSURANCE SECTION
   ============================ */
.section--reassurance {
    background: var(--white);
}

.section--reassurance > .container > h2 {
    text-align: center;
}

.reassurance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.card--reassurance {
    text-align: center;
    padding: 2rem 1.5rem;
}

.card--reassurance .card-icon {
    margin: 0 auto 1rem;
}

.card--reassurance h3 {
    color: var(--blue);
}

.card--reassurance p {
    color: var(--gray-600);
    font-size: 0.93rem;
}

/* ============================
   FAQ SECTION
   ============================ */
.section--faq {
    background: var(--gray-50);
}

.section--faq > .container > h2 {
    text-align: center;
}

/* Filters bar */
.faq-filters {
    max-width: 780px;
    margin: 0 auto 2rem;
}

.faq-search {
    position: relative;
    margin-bottom: 1rem;
}

.faq-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.faq-search input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-search input::placeholder {
    color: var(--gray-400);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

.faq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.faq-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 20px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
}

.faq-tag:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.faq-tag.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

/* No results message */
.faq-no-results {
    text-align: center;
    color: var(--gray-400);
    font-size: 1.05rem;
    padding: 2rem 0;
}

/* FAQ categories */
.faq-category {
    max-width: 780px;
    margin: 0 auto 2rem;
}

.faq-category > h3 {
    color: var(--blue);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--blue-glow);
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.accordion-item:hover {
    border-color: var(--blue);
}

.accordion-item[open] {
    border-color: var(--blue);
    box-shadow: 0 2px 12px var(--blue-glow);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    list-style: none;
    transition: color var(--transition);
}

/* Hide default marker */
.accordion-trigger::-webkit-details-marker {
    display: none;
}

.accordion-trigger::marker {
    content: '';
}

/* Custom chevron */
.accordion-trigger::after {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-left: 1rem;
    border-right: 2.5px solid var(--blue);
    border-bottom: 2.5px solid var(--blue);
    transform: rotate(45deg);
    transition: transform var(--transition);
}

.accordion-item[open] > .accordion-trigger::after {
    transform: rotate(-135deg);
}

.accordion-item[open] > .accordion-trigger {
    color: var(--blue);
}

.accordion-body {
    padding: 0 1.25rem 1.25rem;
}

.accordion-body p {
    color: var(--gray-600);
    font-size: 0.93rem;
    line-height: 1.7;
}

.accordion-body a {
    color: var(--blue);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.accordion-body a:hover {
    color: var(--blue-dark);
}

/* CTA Banner */
.section--cta-banner {
    background: linear-gradient(135deg, var(--blue) 0%, #5555FF 50%, var(--green) 100%);
    text-align: center;
    padding: 3.5rem 0;
}

.section--cta-banner h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-200);
    padding: 3.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-col h2 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--gray-400);
}

.footer-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.footer-phone a {
    color: var(--green);
    font-weight: 500;
    transition: color var(--transition);
}

.footer-phone a:hover {
    color: var(--white);
}

.footer-phone svg {
    color: var(--green);
    flex-shrink: 0;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-link:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.footer-map {
    margin-top: 1rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-400);
}

.footer-bottom a {
    color: var(--gray-400);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--green);
}

/* ============================
   MENTIONS LÉGALES
   ============================ */
.section--mentions {
    background: var(--gray-50);
}

.cards-grid--mentions {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
}

.card--mention {
    text-align: left;
}

.card--mention .card-icon {
    margin-bottom: 0.75rem;
}

.card--mention h2 {
    text-align: left;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.mention-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mention-details p {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.65;
}

.mention-details svg {
    flex-shrink: 0;
    color: var(--blue);
    opacity: 0.7;
}

.mention-details a {
    color: var(--blue);
    font-weight: 500;
    transition: color var(--transition);
}

.mention-details a:hover {
    color: var(--blue-dark);
}

.mention-details strong {
    font-weight: 600;
    color: var(--gray-800);
}

/* Extra sections (PI, RGPD, Cookies) */
.mentions-extra {
    max-width: 720px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mention-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
}

.mention-block-icon {
    margin-bottom: 0.75rem;
}

.mention-block h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.mention-block p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ============================
   ANIMATIONS (scroll-based)
   ============================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered cards */
.card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.card.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* Step stagger */
.step.fade-in:nth-child(1) { transition-delay: 0s; }
.step.fade-in:nth-child(3) { transition-delay: 0.15s; }
.step.fade-in:nth-child(5) { transition-delay: 0.3s; }

/* ============================
   FOCUS VISIBLE
   ============================ */
:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* ============================
   TABLET (≥ 640px)
   ============================ */
@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid--mentions {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.2rem);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reassurance-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================
   DESKTOP (≥ 1024px)
   ============================ */
@media (min-width: 1024px) {
    :root {
        --header-h: 80px;
    }

    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 5rem 0;
    }

    /* Header - Desktop nav */
    .burger-btn {
        display: none;
    }

    .main-nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: none;
        padding: 0;
        transform: none;
        box-shadow: none;
        overflow: visible;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
    }

    .nav-link {
        font-size: 0.92rem;
        padding: 0.55rem 0.85rem;
    }

    .nav-link--cta {
        margin-top: 0;
        margin-left: 0.5rem;
        padding: 0.6rem 1.4rem;
    }

    /* Events cards grid */
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .cards-grid--mentions {
        grid-template-columns: 1fr;
    }

    .mention-block {
        padding: 2.5rem;
    }

    /* Steps horizontal */
    .steps {
        flex-direction: row;
        align-items: flex-start;
        max-width: 100%;
        gap: 0;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
    }

    .step-connector {
        width: 40px;
        height: 2px;
        margin-top: 24px;
        align-self: flex-start;
    }

    /* Transform grid side-by-side */
    .transform-grid {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .transform-visual {
        flex: 0 0 40%;
    }

    .transform-text {
        flex: 1;
    }

    /* Footer 3 columns */
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1.2fr;
        gap: 3rem;
    }

    /* Timeline desktop */
    .timeline {
        max-width: 800px;
        padding-left: 3rem;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-content {
        padding: 2rem;
    }

    /* FAQ desktop */
    .faq-filters {
        max-width: 800px;
    }

    .faq-category {
        max-width: 800px;
    }

    .faq-tags {
        gap: 0.6rem;
    }

    .accordion-trigger {
        font-size: 1rem;
        padding: 1.1rem 1.5rem;
    }

    .accordion-body {
        padding: 0 1.5rem 1.5rem;
    }

    /* Contact desktop */
    .card--contact {
        padding: 3rem 2.5rem;
    }

    .card--contact h2 {
        font-size: 1.5rem;
    }
}

/* ============================
   LARGE DESKTOP (≥ 1280px)
   ============================ */
@media (min-width: 1280px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .container {
        padding: 0 2.5rem;
    }
}

/* ============================
   REDUCED MOTION
   ============================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* ============================
   BODY LOCK (when menu open)
   ============================ */
body.nav-open {
    overflow: hidden;
}
