/* =============================================
   CAP AVENIR BUSIGNY - Campagne Municipale
   Design System & Main Stylesheet
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors (from logo) */
    --cap-navy: #1B2A4A;
    --cap-orange: #E8732A;
    --cap-orange-light: #F5923E;
    --cap-pink: #D4447C;
    --cap-gradient: linear-gradient(135deg, #D4447C 0%, #E8732A 50%, #F5923E 100%);
    --cap-gradient-soft: linear-gradient(135deg, rgba(212,68,124,0.1) 0%, rgba(232,115,42,0.1) 100%);

    /* Theme Colors */
    --securite: #2563EB;
    --securite-light: #DBEAFE;
    --cadrevie: #059669;
    --cadrevie-light: #D1FAE5;
    --jeunesse: #D97706;
    --jeunesse-light: #FEF3C7;
    --aines: #DC2626;
    --aines-light: #FEE2E2;
    --vielocale: #7C3AED;
    --vielocale-light: #EDE9FE;
    --immobilier: #0891B2;
    --immobilier-light: #CFFAFE;
    --finances: #047857;
    --finances-light: #D1FAE5;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 6rem;
    --container-max: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

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

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--cap-navy);
    text-align: center;
    margin-bottom: 1.5rem;
}

.highlight {
    background: var(--cap-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--cap-gradient);
    color: var(--white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 115, 42, 0.4);
}

.btn-white {
    background: var(--white);
    color: var(--cap-navy);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--cap-navy);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    padding: 0.5rem 0.85rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--cap-navy);
    background: var(--gray-100);
}

.nav-link--cta {
    background: var(--cap-gradient);
    color: var(--white) !important;
    margin-left: 0.5rem;
}

.nav-link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(232, 115, 42, 0.3);
    background: var(--cap-gradient) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--cap-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cap-navy);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 68, 124, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(232, 115, 42, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(245, 146, 62, 0.1) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-logo-img {
    max-width: clamp(280px, 50vw, 500px);
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-title .highlight {
    background: var(--cap-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(6px); }
    60% { transform: rotate(45deg) translateY(3px); }
}

/* =============================================
   CANDIDAT SECTION
   ============================================= */
.candidat {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.candidat-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.candidat-portrait {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/5;
    object-fit: cover;
}

.candidat-text p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.candidat-signature {
    font-family: var(--font-heading);
    font-size: 1.3rem !important;
    color: var(--cap-navy) !important;
    margin-top: 1.5rem !important;
}

.candidat-slogan {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem !important;
    background: var(--cap-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.equipe-section {
    text-align: center;
}

.equipe-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--cap-navy);
    margin-bottom: 2rem;
}

.equipe-photo {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* =============================================
   INTRO / PROGRAMME OVERVIEW
   ============================================= */
.intro {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.intro-content {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem;
}

.intro-text {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.theme-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
}

.theme-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.theme-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
}

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

.theme-card h3 {
    font-size: 1.05rem;
    color: var(--cap-navy);
    margin-bottom: 0.5rem;
}

.theme-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Theme card color variants */
.theme-card--securite .theme-card-icon { background: var(--securite-light); color: var(--securite); }
.theme-card--securite:hover { border-color: var(--securite); }
.theme-card--cadrevie .theme-card-icon { background: var(--cadrevie-light); color: var(--cadrevie); }
.theme-card--cadrevie:hover { border-color: var(--cadrevie); }
.theme-card--jeunesse .theme-card-icon { background: var(--jeunesse-light); color: var(--jeunesse); }
.theme-card--jeunesse:hover { border-color: var(--jeunesse); }
.theme-card--aines .theme-card-icon { background: var(--aines-light); color: var(--aines); }
.theme-card--aines:hover { border-color: var(--aines); }
.theme-card--vielocale .theme-card-icon { background: var(--vielocale-light); color: var(--vielocale); }
.theme-card--vielocale:hover { border-color: var(--vielocale); }
.theme-card--immobilier .theme-card-icon { background: var(--immobilier-light); color: var(--immobilier); }
.theme-card--immobilier:hover { border-color: var(--immobilier); }
.theme-card--finances .theme-card-icon { background: var(--finances-light); color: var(--finances); }
.theme-card--finances:hover { border-color: var(--finances); }

/* =============================================
   THEME SECTIONS
   ============================================= */
.theme-section {
    padding: var(--section-padding) 0;
}

.theme-section:nth-child(even) {
    background: var(--gray-50);
}

.theme-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.theme-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.15;
}

.theme-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--cap-navy);
    margin-bottom: 0.5rem;
}

.theme-tagline {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
}

/* Theme number colors */
.theme-section--securite .theme-number { color: var(--securite); }
.theme-section--cadrevie .theme-number { color: var(--cadrevie); }
.theme-section--jeunesse .theme-number { color: var(--jeunesse); }
.theme-section--aines .theme-number { color: var(--aines); }
.theme-section--vielocale .theme-number { color: var(--vielocale); }
.theme-section--immobilier .theme-number { color: var(--immobilier); }
.theme-section--finances .theme-number { color: var(--finances); }

/* --- Measures Grid --- */
.measures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.measures-grid--single {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
}

.measure-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.measure-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.measure-card--highlight {
    border: 2px solid;
    border-image: var(--cap-gradient) 1;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(212,68,124,0.03), rgba(232,115,42,0.03));
}

.measure-card--highlight {
    border: none;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                var(--cap-gradient) border-box;
    border: 2px solid transparent;
}

.measure-badge {
    position: absolute;
    top: -0.75rem;
    right: 1.5rem;
    background: var(--cap-gradient);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.measure-card--large {
    text-align: center;
    padding: 3rem 2rem;
}

.measure-card--large .measure-icon {
    margin: 0 auto 1.5rem;
}

.measure-card--large p {
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.measure-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.measure-icon svg {
    width: 24px;
    height: 24px;
}

/* Measure card colors per theme */
.theme-section--securite .measure-icon { background: var(--securite-light); color: var(--securite); }
.theme-section--securite .measure-card:hover { border-color: var(--securite); }
.theme-section--cadrevie .measure-icon { background: var(--cadrevie-light); color: var(--cadrevie); }
.theme-section--cadrevie .measure-card:hover { border-color: var(--cadrevie); }
.theme-section--jeunesse .measure-icon { background: var(--jeunesse-light); color: var(--jeunesse); }
.theme-section--jeunesse .measure-card:hover { border-color: var(--jeunesse); }
.theme-section--aines .measure-icon { background: var(--aines-light); color: var(--aines); }
.theme-section--aines .measure-card:hover { border-color: var(--aines); }
.theme-section--vielocale .measure-icon { background: var(--vielocale-light); color: var(--vielocale); }
.theme-section--vielocale .measure-card:hover { border-color: var(--vielocale); }
.theme-section--immobilier .measure-icon { background: var(--immobilier-light); color: var(--immobilier); }
.theme-section--immobilier .measure-card:hover { border-color: var(--immobilier); }
.theme-section--finances .measure-icon { background: var(--finances-light); color: var(--finances); }
.theme-section--finances .measure-card:hover { border-color: var(--finances); }

.measure-card h4 {
    font-size: 1.05rem;
    color: var(--cap-navy);
    margin-bottom: 0.5rem;
}

.measure-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* =============================================
   PROJECTIONS SECTION
   ============================================= */
.projections {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.projections-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 3rem;
}

.projections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.projection-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.projection-card--wide {
    grid-column: 1 / -1;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.projection-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.projection-card--wide .projection-img {
    height: 350px;
}

.projection-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--cap-navy);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212, 68, 124, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(232, 115, 42, 0.2) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-reminder {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-social {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cta-social p {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 0 !important;
}

.qr-code {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    background: var(--white);
    padding: 6px;
}

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

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin: 0 auto;
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease both;
}

/* Stagger animations */
.measures-grid .measure-card:nth-child(1) { animation-delay: 0.1s; }
.measures-grid .measure-card:nth-child(2) { animation-delay: 0.2s; }
.measures-grid .measure-card:nth-child(3) { animation-delay: 0.3s; }
.measures-grid .measure-card:nth-child(4) { animation-delay: 0.4s; }
.measures-grid .measure-card:nth-child(5) { animation-delay: 0.5s; }
.measures-grid .measure-card:nth-child(6) { animation-delay: 0.6s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: 100%;
    }

    .nav-link--cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

    /* Hero */
    .hero-logo {
        flex-direction: column;
        gap: 0;
    }

    .hero-logo-busigny {
        margin-top: 0.25rem;
    }

    /* Candidat */
    .candidat-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .candidat-portrait {
        max-width: 250px;
        margin: 0 auto;
    }

    .candidat-content .section-title {
        text-align: center !important;
    }

    /* Projections */
    .projections-grid {
        grid-template-columns: 1fr;
    }

    .projection-img {
        height: 220px;
    }

    .projection-card--wide .projection-img {
        height: 250px;
    }

    /* Themes grid */
    .themes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .theme-card {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
        gap: 1rem;
    }

    .theme-card-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    /* Theme header */
    .theme-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .theme-number {
        font-size: 2.5rem;
    }

    /* Measures */
    .measures-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-logo-cap,
    .hero-logo-avenir {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.25rem;
    }
}
