
        .footer, .footer * { box-sizing: border-box; }

        .footer {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            color: #f1f5f9;
            margin-top: auto;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
        }

        /* ============ CAPTURE E-MAIL ============
           Ne s'affiche que si NEWSLETTER_ENDPOINT est renseigné
           dans le script. Sans lui, aucune promesse n'est faite. */
        .footer-newsletter {
            padding: 50px 0;
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        }

        .footer-newsletter[hidden] { display: none !important; }

        .newsletter-content {
            max-width: 720px;
            margin: 0 auto;
            padding: 0 20px;
            text-align: center;
        }

        .newsletter-title {
            font-size: 28px;
            font-weight: 800;
            margin: 0 0 10px;
            color: #fff;
        }

        .newsletter-subtitle {
            font-size: 16px;
            color: rgba(255, 255, 255, .9);
            margin: 0 0 28px;
        }

        .newsletter-form {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .newsletter-input {
            flex: 1;
            min-width: 240px;
            padding: 15px 18px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            background: #fff;
            color: #1f2937;
            outline: none;
        }

        .newsletter-btn {
            padding: 15px 30px;
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .newsletter-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245,158,11,.4); }

        .newsletter-legal {
            font-size: 12px;
            color: rgba(255,255,255,.75);
            margin: 14px 0 0;
        }

        /* ============ CORPS ============ */
        .footer-main { padding: 55px 0 35px; }

        .footer-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
            gap: 40px;
            margin-bottom: 45px;
        }

        .footer-brand { max-width: 350px; }

        .footer-logo { display: flex; align-items: center; margin-bottom: 18px; }

        .logo-icon {
            width: 45px; height: 45px;
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            border-radius: 15px;
            display: flex; align-items: center; justify-content: center;
            margin-right: 15px;
            font-size: 22px; font-weight: bold; color: #fff;
        }

        .logo-text { font-size: 26px; font-weight: 800; color: #f1f5f9; }

        .footer-description { color: #94a3b8; margin: 0 0 22px; font-size: 15px; }

        .footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }

        .badge {
            padding: 9px 16px;
            background: rgba(59,130,246,.15);
            border: 1px solid rgba(59,130,246,.4);
            border-radius: 25px;
            font-size: 13px;
            color: #93c5fd;
            font-weight: 600;
        }

        .footer-column h3 {
            font-size: 19px; font-weight: 700;
            margin: 0 0 26px;
            color: #f1f5f9;
            position: relative;
        }

        .footer-column h3::after {
            content: '';
            position: absolute; bottom: -10px; left: 0;
            width: 40px; height: 4px;
            background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
            border-radius: 2px;
        }

        .footer-links { list-style: none; margin: 0; padding: 0; }
        .footer-links li { margin-bottom: 13px; }

        .footer-links a {
            color: #94a3b8;
            text-decoration: none;
            transition: color .3s ease, transform .3s ease;
            display: inline-flex;
            align-items: center;
            font-size: 15px;
        }

        .footer-links a:hover { color: #60a5fa; transform: translateX(6px); }

        .tag {
            font-size: 11px;
            padding: 3px 8px;
            border-radius: 10px;
            margin-left: 9px;
            font-weight: 700;
            white-space: nowrap;
        }

        .tag-top { background: #1d4ed8; color: #fff; }
        .tag-hotel { background: #b45309; color: #fff; }

        /* ============ PARTENAIRES ============ */
        .partners-box {
            background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
            border-radius: 20px;
            padding: 26px;
            color: #fff;
        }

        .partners-box h3 { color: #fff; margin: 0 0 20px; font-size: 18px; }
        .partners-box h3::after { background: rgba(255,255,255,.5); }

        .promo-stack { margin: 0 0 6px; }

        .promo-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            padding: 13px 15px;
            background: rgba(255,255,255,.1);
            border-radius: 12px;
            margin-bottom: 11px;
            transition: background .3s ease;
        }

        .promo-item:hover { background: rgba(255,255,255,.2); }

        .promo-code {
            font-family: 'Courier New', monospace;
            font-weight: 800;
            font-size: 14px;
            background: rgba(255,255,255,.2);
            padding: 5px 10px;
            border-radius: 6px;
            cursor: pointer;
        }

        .promo-desc { font-size: 13px; opacity: .9; flex: 1; }

        .promo-link {
            color: #fbbf24;
            text-decoration: none;
            font-weight: 700;
            font-size: 13px;
            white-space: nowrap;
        }

        .promo-link:hover { text-decoration: underline; }

        .promo-note { font-size: 11px; opacity: .75; margin: 12px 0 0; }

        /* Compte à rebours : n'apparaît que si PROMO_END est une vraie date à venir */
        .promo-timer {
            background: rgba(0,0,0,.3);
            border-radius: 12px;
            padding: 16px;
            text-align: center;
            margin-top: 16px;
        }

        .promo-timer[hidden] { display: none !important; }

        .timer-label { font-size: 12px; opacity: .85; display: block; margin-bottom: 8px; font-weight: 600; }

        .timer-display { display: flex; justify-content: center; gap: 7px; align-items: baseline; }

        .timer-number { font-size: 22px; font-weight: 800; color: #fbbf24; font-variant-numeric: tabular-nums; }

        .timer-unit { font-size: 13px; opacity: .7; }

        /* ============ BAS DE PAGE ============ */
        .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0; }

        .footer-bottom-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 22px;
        }

        .footer-legal { display: flex; gap: 26px; flex-wrap: wrap; }

        .footer-legal a {
            color: #94a3b8;
            text-decoration: none;
            font-size: 14px;
            transition: color .3s ease;
            font-weight: 500;
        }

        .footer-legal a:hover { color: #60a5fa; }

        .footer-copyright { color: #64748b; font-size: 14px; font-weight: 500; }

        .social-links { display: flex; gap: 14px; }

        .social-link {
            width: 44px; height: 44px;
            background: rgba(255,255,255,.1);
            border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            color: #94a3b8;
            text-decoration: none;
            transition: background .3s ease, color .3s ease, transform .3s ease;
            font-size: 18px;
        }

        .social-link:hover { background: #3b82f6; color: #fff; transform: translateY(-3px); }

        @media (max-width: 1200px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

        @media (max-width: 968px) {
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
            .footer-brand { max-width: none; grid-column: 1 / -1; }
            .newsletter-title { font-size: 24px; }
        }

        @media (max-width: 640px) {
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            .newsletter-form { flex-direction: column; }
            .newsletter-input { min-width: auto; }
            .footer-bottom-content { flex-direction: column; text-align: center; }
            .footer-legal { justify-content: center; }
            .newsletter-title { font-size: 21px; }
        }

        .footer :focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }
    
