/* ============================================
   GRANVILLE 2026 - CHARTE GRAPHIQUE OFFICIELLE
   Design basé sur la charte Isazalie
   ============================================ */

/* Intégration des polices personnalisées */
@font-face {
    font-family: 'Helvetica Neue LT Pro';
    src: url('../fonts/HelveticaNeueLTPro-Cn.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue LT Pro';
    src: url('../fonts/HelveticaNeueLTPro-LtCn.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Maax';
    src: url('../fonts/Maax - Regular-205TF.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Maax';
    src: url('../fonts/Maax - Medium-205TF.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Maax';
    src: url('../fonts/Maax - Italic-205TF.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

:root {
    /* Palette de couleurs - Charte Granville 2026 */
    --primary-blue: #5768AE;
    --primary-purple: #6B3A8F;
    --primary-orange: #E47024;
    --primary-green: #4A9C3A;
    --primary-red: #9C2E3A;

    /* Couleurs d'appoint */
    --secondary-yellow: #E8A546;
    --secondary-blue: #5B76C4;
    --secondary-teal: #3A7A8F;

    /* Couleurs neutres */
    --black: #222222;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-gray: #EDEDED;
    --medium-gray: #999999;
    --dark-gray: #555555;

    /* Typographie - Charte */
    --font-heading: 'Helvetica Neue LT Pro', 'Arial Narrow', 'Helvetica', sans-serif;
    --font-body: 'Maax', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Espacements */
    --pad-xs: clamp(0.5rem, 2vw, 1rem);
    --pad-sm: clamp(1rem, 2vw, 1.5rem);
    --pad-md: clamp(1.5rem, 3vw, 2.5rem);
    --pad-lg: clamp(2rem, 4vw, 3.5rem);
    --pad-xl: clamp(3rem, 6vw, 5rem);

    /* Transitions subtiles */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    line-height: 1.7;
    background-color: var(--white);
    font-weight: 400;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Titres principaux (h1, h2) - Helvetica Neue LT Pro Condensed, bleu */
h1, h2 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
}

/* Sous-titres (h3, h4) - Helvetica Neue LT Pro Condensed, corail/orange */
h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-orange);
}

/* Textes paragraphes - Maax regular, noir */
p {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--black);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--pad-md);
}

.btn {
    display: inline-block;
    padding: clamp(0.875rem, 2vw, 1.125rem) clamp(2rem, 4vw, 3rem);
    border-radius: 50px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: clamp(0.875rem, 2vw, 1rem);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: #5768AE;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--pad-sm) var(--pad-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--black);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo .tagline {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: var(--primary-blue);
    font-weight: 500;
    margin-top: 0.25rem;
}

.logo img {
    height: clamp(60px, 10vw, 90px);
    width: auto;
}

.nav-menu {
    display: flex;
    gap: var(--pad-sm);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: clamp(0.8rem, 1.3vw, 0.9rem);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--secondary-yellow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: clamp(300px, 40vh, 400px);
    background: var(--off-white);
    background-image: url('../images/hero-group.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(74, 95, 165, 0.05) 20%,
        rgba(107, 58, 143, 0.05) 40%,
        rgba(228, 112, 36, 0.05) 60%,
        rgba(74, 156, 58, 0.05) 80%,
        transparent 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #5768AE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    color: var(--white);
    max-width: 1100px;
    padding: var(--pad-md);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--pad-xs);
    letter-spacing: -2px;
    line-height: 1.1;
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: var(--pad-md);
    line-height: 1.5;
    font-weight: 400;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.hero-cta {
    display: flex;
    gap: var(--pad-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   VIDEO + ENGAGEMENT SECTION (côte à côte)
   ============================================ */

.video-engagement-section {
    padding: var(--pad-xl) 0;
    background: linear-gradient(135deg, rgba(74, 95, 165, 0.05) 0%, rgba(228, 112, 36, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.video-engagement-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--pad-lg);
    align-items: center;
}

.video-side .video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-side video {
    width: 100%;
    height: auto;
    display: block;
}

.video-side iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
}

.engagement-side h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--black);
    margin-bottom: var(--pad-md);
    font-weight: 700;
    letter-spacing: -1px;
}

.engagement-side .engagement-text {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--dark-gray);
    line-height: 1.8;
}

.engagement-side .engagement-text p {
    margin-bottom: var(--pad-sm);
}

.engagement-side .engagement-text .highlight {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    color: var(--black);
    padding: var(--pad-sm);
    background: var(--off-white);
    border-left: 4px solid var(--primary-orange);
    margin-top: var(--pad-md);
    line-height: 1.6;
}

.engagement-side .engagement-cta {
    margin-top: var(--pad-md);
}

/* ============================================
   TABS SECTION (Candidat / Liste / Programme)
   ============================================ */

.tabs-section {
    padding: var(--pad-xl) 0;
    background: linear-gradient(135deg, rgba(74, 95, 165, 0.08) 0%, rgba(107, 58, 143, 0.08) 100%);
}

.tabs-carousel {
    display: flex;
    align-items: center;
    gap: var(--pad-md);
    max-width: 1200px;
    margin: 0 auto;
}

.tabs-content-wrapper {
    flex: 1;
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.tab-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.tab-content {
    background: var(--white);
    border-radius: 12px;
    padding: var(--pad-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.tab-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--black);
    margin-bottom: var(--pad-md);
    font-weight: 700;
}

/* Candidat Tab */
.candidat-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--pad-lg);
    align-items: start;
}

.candidat-photo {
    position: sticky;
    top: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.candidat-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.candidat-text {
    max-height: 500px;
    overflow-y: auto;
    padding-right: var(--pad-sm);
}

.candidat-text::-webkit-scrollbar {
    width: 6px;
}

.candidat-text::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.candidat-text::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.candidat-text p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: var(--pad-sm);
}

.candidat-role {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: var(--pad-sm);
}

/* Liste Tab */
.liste-content {
    text-align: left;
}

.liste-intro {
    color: var(--dark-gray);
    margin-bottom: var(--pad-md);
}

.liste-placeholder {
    padding: var(--pad-xl);
    background: var(--off-white);
    border-radius: 8px;
    color: var(--medium-gray);
}

/* Programme Tab */
.programme-content {
    max-width: 900px;
    margin: 0 auto;
}

.programme-text p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: var(--pad-sm);
}

/* Tabs Navigation Buttons */
.tabs-nav-btn {
    background: var(--white);
    color: var(--black);
    border: none;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 300;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.tabs-nav-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

/* Tabs Indicators */
.tabs-indicators {
    display: flex;
    justify-content: center;
    gap: var(--pad-sm);
    margin-top: var(--pad-md);
}

.tab-indicator {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    color: var(--dark-gray);
}

.tab-indicator:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.tab-indicator.active {
    background: var(--primary-blue);
    color: var(--white);
}

/* Nav menu active state for tabs */
.nav-menu a.nav-tab-link.active {
    color: var(--secondary-yellow);
}

/* ============================================
   PHOTO SLIDESHOW SECTION
   ============================================ */

.photo-slideshow {
    padding: var(--pad-md) 0;
    background: linear-gradient(to right, rgba(74, 156, 58, 0.06), rgba(228, 112, 36, 0.06));
    overflow: hidden;
}

.slideshow-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: clamp(400px, 60vh, 700px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--black);
    border: none;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-slow);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 300;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
}

.slide-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.15);
    opacity: 1;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.slide-btn.prev {
    left: 20px;
}

.slide-btn.next {
    right: 20px;
}

.slide-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-slow);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--white);
    width: 36px;
    border-radius: 7px;
    border-color: var(--white);
}

/* ============================================
   ENGAGEMENT SECTION
   ============================================ */

.engagement {
    padding: var(--pad-xl) 0;
    background: linear-gradient(135deg, rgba(74, 95, 165, 0.05) 0%, rgba(228, 112, 36, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.engagement-content h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--black);
    margin-bottom: var(--pad-lg);
    text-align: left;
    font-weight: 700;
    letter-spacing: -1px;
}

.engagement-text {
    max-width: 800px;
    margin: 0 auto var(--pad-lg);
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--dark-gray);
    line-height: 1.8;
}

.engagement-text p {
    margin-bottom: var(--pad-sm);
}

.engagement-text .highlight {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--black);
    padding: var(--pad-md);
    background: var(--off-white);
    border-left: 4px solid var(--primary-orange);
    margin-top: var(--pad-lg);
    line-height: 1.6;
}

.engagement-cta {
    text-align: left;
    margin-top: var(--pad-lg);
}

/* ============================================
   VALUES SECTION
   ============================================ */

.values {
    padding: var(--pad-xl) 0;
    background: linear-gradient(135deg, rgba(107, 58, 143, 0.08) 0%, rgba(74, 156, 58, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.values h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--black);
    text-align: left;
    margin-bottom: var(--pad-lg);
    font-weight: 700;
    letter-spacing: -1px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--pad-md);
    max-width: 1300px;
    margin: 0 auto;
}

.value-card {
    background: var(--white);
    padding: var(--pad-lg);
    text-align: left;
    transition: var(--transition-slow);
    border-radius: 8px;
    border-top: 5px solid transparent;
}

.value-card:nth-child(1) {
    border-top-color: var(--primary-orange);
    background: linear-gradient(to bottom, rgba(228, 112, 36, 0.05), var(--white));
}

.value-card:nth-child(2) {
    border-top-color: var(--primary-green);
    background: linear-gradient(to bottom, rgba(74, 156, 58, 0.05), var(--white));
}

.value-card:nth-child(3) {
    border-top-color: var(--primary-blue);
    background: linear-gradient(to bottom, rgba(74, 95, 165, 0.05), var(--white));
}

.value-card:nth-child(4) {
    border-top-color: var(--primary-purple);
    background: linear-gradient(to bottom, rgba(107, 58, 143, 0.05), var(--white));
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.value-icon {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--pad-sm);
}

.value-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--black);
    margin-bottom: var(--pad-sm);
    font-weight: 700;
}

.value-card p {
    color: var(--dark-gray);
    font-size: clamp(0.9375rem, 2vw, 1rem);
    line-height: 1.7;
}

/* ============================================
   GET INVOLVED SECTION
   ============================================ */

.get-involved {
    padding: var(--pad-xl) 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-red) 100%);
    color: var(--white);
}

.get-involved h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    text-align: left;
    margin-bottom: var(--pad-sm);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--white);
}

.section-intro {
    text-align: left;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--pad-lg);
    opacity: 0.9;
}

.get-involved .section-intro {
    color: var(--white);
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--pad-md);
    max-width: 1300px;
    margin: 0 auto;
}

.cta-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--pad-lg);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-slow);
    border-radius: 4px;
}

.cta-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.cta-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: var(--pad-sm);
    font-weight: 700;
    color: var(--white);
}

.cta-card p {
    margin-bottom: var(--pad-md);
    font-size: clamp(0.9375rem, 2vw, 1rem);
    opacity: 0.9;
    line-height: 1.7;
    color: var(--white);
}

/* ============================================
   ACTUALITÉS SECTION
   ============================================ */

.actualites {
    padding: var(--pad-lg) 0;
    background: linear-gradient(135deg, rgba(74, 156, 58, 0.08) 0%, rgba(74, 95, 165, 0.08) 100%);
}

.actualites h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: left;
    margin-bottom: var(--pad-xs);
    font-weight: 700;
    letter-spacing: -1px;
}

.actualites .section-intro {
    text-align: left;
    color: var(--dark-gray);
    margin-bottom: var(--pad-lg);
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--pad-md);
    max-width: 900px;
    margin: 0 auto;
}

.actualite-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.actualite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.actualite-date {
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--pad-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.actualite-featured .actualite-date {
    background: var(--primary-orange);
}

.date-jour {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1;
}

.date-mois {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.actualite-content {
    padding: var(--pad-md);
    flex: 1;
}

.actualite-content h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--pad-xs);
    font-weight: 700;
}

.actualite-lieu,
.actualite-horaire,
.actualite-desc {
    font-size: 0.9375rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-lieu,
.icon-horaire {
    font-size: 1rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: var(--pad-md) 0;
    background: var(--white);
}

.contact h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--black);
    text-align: left;
    margin-bottom: var(--pad-xs);
    font-weight: 700;
    letter-spacing: -1px;
}

.contact .section-intro {
    color: var(--dark-gray);
    margin-bottom: var(--pad-sm);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--pad-md);
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--pad-xs);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.25rem;
    color: var(--black);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
}

.contact-info {
    background: var(--off-white);
    padding: var(--pad-sm);
    border-radius: 4px;
    height: fit-content;
}

.contact-info h3 {
    color: var(--black);
    margin-bottom: var(--pad-xs);
    font-weight: 700;
    font-size: 1.125rem;
}

.contact-info a {
    color: var(--primary-blue);
    font-weight: 500;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.form-consent {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: var(--pad-sm);
    font-style: italic;
}

/* ============================================
   LEGAL PAGE (Mentions légales)
   ============================================ */

.legal-page {
    padding: var(--pad-xl) 0;
    background: var(--white);
    min-height: 60vh;
}

.legal-page h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--black);
    margin-bottom: var(--pad-lg);
    text-align: left;
}

.legal-section {
    margin-bottom: var(--pad-lg);
    padding-bottom: var(--pad-md);
    border-bottom: 1px solid var(--light-gray);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--primary-blue);
    margin-bottom: var(--pad-sm);
}

.legal-section p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: var(--pad-xs);
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-blue);
}

.legal-section a:hover {
    color: var(--primary-purple);
}

.back-link {
    text-align: left;
    margin-top: var(--pad-lg);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #5768AE;
    color: var(--white);
    padding: var(--pad-lg) 0 var(--pad-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--pad-md);
    margin-bottom: var(--pad-md);
}

.footer-section h3 {
    color: var(--white) !important;
    margin-bottom: var(--pad-sm);
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-section h4 {
    color: var(--white) !important;
    margin-bottom: var(--pad-sm);
    font-weight: 600;
    font-size: 1rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    font-size: 0.9375rem;
}

.footer-section a:hover {
    color: var(--secondary-yellow);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--pad-sm);
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--secondary-yellow);
    transform: scale(1.1);
}

/* ============================================
   ÉLÉMENTS DÉCORATIFS - FEUILLES
   ============================================ */

.decorative-leaf {
    position: absolute;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.hero .decorative-leaf-1 {
    top: 10%;
    left: 5%;
    width: clamp(100px, 15vw, 180px);
    transform: rotate(-15deg);
}

.hero .decorative-leaf-2 {
    bottom: 15%;
    right: 8%;
    width: clamp(80px, 12vw, 150px);
    transform: rotate(25deg);
}

.engagement .decorative-leaf {
    bottom: 5%;
    right: 3%;
    width: clamp(90px, 12vw, 160px);
    opacity: 0.2;
    transform: rotate(-20deg);
}

.values .decorative-leaf {
    top: 10%;
    left: 2%;
    width: clamp(110px, 14vw, 170px);
    opacity: 0.18;
    transform: rotate(10deg);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        flex-wrap: nowrap;
    }

    .nav-menu.active {
        max-height: 600px;
        padding: var(--pad-sm) 0;
    }

    .nav-menu a {
        padding: 1rem var(--pad-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .slideshow-container {
        height: clamp(300px, 50vh, 500px);
    }

    .slide-btn {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .slide-btn.prev {
        left: 10px;
    }

    .slide-btn.next {
        right: 10px;
    }

    .slide-dots {
        bottom: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Tabs responsive */
    .tabs-carousel {
        flex-direction: column;
    }

    .tabs-nav-btn {
        display: none;
    }

    .candidat-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .tabs-indicators {
        flex-wrap: wrap;
    }

    /* Video + Engagement responsive */
    .video-engagement-grid {
        grid-template-columns: 1fr;
    }

    .engagement-side {
        text-align: left;
    }

    .engagement-side .engagement-text .highlight {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }
}
