        :root {
            --primary-color: #d4a574;
            --secondary-color: #f5e6d3;
            --accent-color: #8b6f47;
            --text-color: #4a4a4a;
        }

        body {
            font-family: 'Georgia', serif;
            color: var(--text-color);
            background-color: #fafafa;
        }

        .hero-section {
            position: relative;
            padding: 40px 0 0;
            background-image: url("/images/test5.jpg");
            background-size: cover;
            background-position: 50% 60%;
            background-repeat: no-repeat;
        }

        .hero-overlay {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 5%;
            background: linear-gradient(
                to top,
                rgba(245, 230, 211, 1) 0,
                rgba(245, 230, 211, 0.95) 33%,
                rgba(245, 230, 211, 0) 100%
            );
            z-index: 0;
        }

        .hero-container {
            position: relative;
            z-index: 1;
            min-height: 70vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            text-align: center;
        }

        .hero-top {
            margin-top: 20px;
        }

        .hero-bottom {
            margin-bottom: -40px;
            transform: translateY(20px);
        }

        .hero-section h1 {
            font-size: 3.6rem;
            color: var(--accent-color);
            margin-bottom: 8px;
            font-weight: 300;
            letter-spacing: 0.06em;
        }

        .hero-section .date {
            font-size: 1.2rem;
            color: #777777;
            margin-bottom: 26px;
        }

        .hero-section .date i {
            margin-right: 8px;
            color: var(--primary-color);
        }

        .countdown {
            display: flex;
            justify-content: center;
            gap: 18px;
            margin-bottom: 20px;
            font-weight: 600;
            font-size: 2rem;
        }

        .countdown-item {
            width: 120px;
            padding: 18px 12px;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
            text-align: center;
        }

        .countdown-item > div {
            font-size: 2rem;
            color: var(--accent-color);
        }

        .countdown-item span {
            display: block;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: #999999;
            margin-top: 6px;
        }

        /* =========================
        Compteur mobile simplifié
        ========================= */

        .countdown-mobile {
            display: none;
            justify-content: center;
            gap: 12px;
            margin: 18px 0 0;
            flex-wrap: nowrap;
          }
          
          .countdown-mobile-item {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
            padding: 14px 14px;
            min-width: 120px;
            text-align: center;
            color: var(--accent-color);
            font-weight: 600;
            letter-spacing: 0.06em;
            font-size: 1.35rem;
            line-height: 1.1;
          }
          
          .countdown-mobile-time {
            font-family: "Courier New", monospace;
            letter-spacing: 0.10em;
          }

        .welcome-section {
            background-color: var(--secondary-color);
            color: var(--accent-color);
            padding: 60px 0;
        }

        .welcome-section .welcome-text {
            max-width: 1000px;
            margin: 0 auto;
            text-align: left;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: var(--accent-color);
            margin-bottom: 50px;
            font-weight: 300;
        }

        .timeline {
            position: relative;
            padding: 20px 0;
        }

        .timeline-item {
            position: relative;
            padding-left: 50px;
            margin-bottom: 40px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary-color);
            border: 4px solid white;
            box-shadow: 0 0 0 2px var(--primary-color);
        }

        .timeline-item::after {
            content: '';
            position: absolute;
            left: 9px;
            top: 20px;
            width: 2px;
            height: calc(100% + 20px);
            background: var(--secondary-color);
        }

        .timeline-item:last-child::after {
            display: none;
        }

        .timeline-time {
            font-weight: bold;
            color: var(--accent-color);
            font-size: 1.1rem;
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            aspect-ratio: 1;
            background: var(--secondary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 3rem;
        }

        .gallery-carousel-img {
            max-height: 720px;
            width: auto;
            margin: 0 auto;
            object-fit: contain;
            border-radius: 16px;
            background-color: #000;
            display: block;
        }

        .gallery-grid-btn {
            border-radius: 14px;
            overflow: hidden;
        }

        .gallery-grid-img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: 14px;
            display: block;
        }

        .vote-section {
            background: var(--secondary-color);
            padding: 60px 0;
        }

        .vote-card {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            max-width: 1000px;
            margin: 0 auto;
        }

        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            padding: 12px 40px;
            font-size: 1.1rem;
        }

        .btn-primary:hover {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
        }

        #map {
            margin-top: 30px;
        }
        #map iframe {
            width: 100%;
            height: 400px;
            border-radius: 10px;
        }

        @media (max-width: 768px) {
            .hero-section {
                padding: 40px 12px 30px;
                min-height: 100vh;
                background-position: 50% 50%;
            }

            .hero-container {
                min-height: 100vh;
                justify-content: flex-start;
            }

            .hero-section h1 {
                font-size: 2.2rem;
            }

            .hero-section .date {
                font-size: 1rem;
                margin-bottom: 14px;
            }

            .hero-bottom {
                margin-top: 28px;
                margin-bottom: 0;
                transform: none;
            }

            .countdown {
                flex-wrap: wrap;
                gap: 8px;
                font-size: 1rem;
            }

            .countdown-item {
                width: 100px;
                padding: 8px 6px;
                overflow: hidden;
            }

            .countdown-item > div {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                line-height: 1;
                font-family: "Courier New", monospace;
                white-space: nowrap;
                width: 100%;
            }

            .countdown-item span {
                display: none;
            }

            #days::before,
            #hours::before,
            #minutes::before,
            #seconds::before {
                font-size: 1em;
                margin-right: 3px;
            }

            #days::before { content: "J-"; }
            #hours::before { content: "H-"; }
            #minutes::before { content: "M-"; }
            #seconds::before { content: "S-"; }

            
            .countdown-desktop { 
                display: none; 
            }

            .countdown-mobile { 
                display: flex; 
            }

            .welcome-section {
                padding: 30px 0;
            }

            .section {
                padding: 60px 0;
            }
        }

        @media (max-width: 480px) {
            .hero-section {
                padding-top: 35px;
            }

            .hero-top {
                margin-top: 10px;
            }

            .hero-section h1 {
                font-size: 1.7rem;
                letter-spacing: 0.04em;
            }

            .hero-section .date {
                font-size: 0.95rem;
            }

            .countdown {
                gap: 6px;
                font-size: 1rem;
            }

            .countdown-item {
                width: 44%;
                padding: 7px 5px;
                margin-bottom: 6px;
            }

            .countdown-item > div {
                font-size: 1.2rem;
            }

            .countdown-mobile {
                flex-direction: column;
                align-items: center;
                gap: 10px;
              }

            .welcome-section .welcome-text {
                font-size: 1rem;
                padding: 0 10px;
            }

            .timeline-item {
                padding-left: 32px;
            }

            .timeline-item::before {
                width: 14px;
                height: 14px;
            }

            .timeline-item::after {
                left: 6px;
            }
        }

        /* Layout plein écran pour les formats ordinateur */
        @media (min-width: 769px) {
            .hero-section {
                height: 70vh;
                min-height: 0;
                padding: 0;
            }

            .hero-container {
                height: 100%;
                min-height: 0;
                justify-content: flex-start;
            }

            .hero-top {
                margin-top: 30px;
            }

            .hero-bottom {
                margin-top: auto;
                margin-bottom: -30px;
                transform: translateY(15px);
            }

            .welcome-section {
                height: 30vh;
                min-height: 0;
                padding: 50px 0 0;
                display: flex;
                align-items: flex-start;
            }

            .welcome-section .welcome-text {
                padding: 0 40px;
                text-align: center;
            }
        }
