/* ============================================
   OCI Express - Page En Savoir Plus
   ============================================ */

/* ============================================
   VIGNETTES BENTO GRID - TAILLES VARIEES
   ============================================ */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    background: var(--card);
    border: 1px solid hsla(220, 15%, 20%, 0.5);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

/* Carte large (2 colonnes) */
.info-card.wide {
    grid-column: span 2;
    padding: 2rem 2.5rem;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, hsla(43, 89%, 50%, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    border-color: hsla(43, 89%, 50%, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-number {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: hsla(43, 89%, 50%, 0.08);
    line-height: 1;
}

.info-card.wide .info-card-number {
    font-size: 2.5rem;
}

.info-card-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: var(--radius-lg);
    background: hsla(43, 89%, 50%, 0.1);
    border: 1px solid hsla(43, 89%, 50%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.info-card.wide .info-card-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: var(--radius-lg);
}

.info-card:hover .info-card-icon {
    transform: scale(1.05);
}

.info-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.info-card.wide .info-card-icon svg {
    width: 36px;
    height: 36px;
}

.info-card-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.info-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.info-card.wide .info-card-title {
    font-size: 1.3rem;
}

.info-card-desc {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.info-card.wide .info-card-desc {
    font-size: 0.95rem;
}

.info-card-arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: hsla(43, 89%, 50%, 0.08);
    border: 1px solid hsla(43, 89%, 50%, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.info-card.wide .info-card-arrow {
    width: 48px;
    height: 48px;
    min-width: 48px;
}

.info-card:hover .info-card-arrow {
    background: var(--primary);
    border-color: var(--primary);
}

.info-card-arrow svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.info-card.wide .info-card-arrow svg {
    width: 22px;
    height: 22px;
}

.info-card:hover .info-card-arrow svg {
    color: #1a1d2e;
    transform: translateX(3px);
}

/* ── Mode clair ── */
[data-theme="light"] .info-card {
    background: hsl(40, 25%, 97%);
    border-color: hsla(43, 50%, 70%, 0.3);
}

[data-theme="light"] .info-card:hover {
    border-color: hsla(43, 89%, 50%, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ============================================
   MODALES
   ============================================ */
.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.info-modal {
    background: var(--card);
    border: 1px solid hsla(43, 89%, 50%, 0.15);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.info-modal-overlay.active .info-modal {
    transform: scale(1) translateY(0);
}

.info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid hsla(220, 14%, 20%, 0.5);
    background: hsla(43, 89%, 50%, 0.05);
}

.info-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-modal-header .modal-number {
    background: var(--gold);
    color: #1a1d2e;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.info-modal-close {
    background: hsla(220, 14%, 20%, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    transition: all 0.2s ease;
}

.info-modal-close:hover {
    background: hsla(0, 70%, 50%, 0.3);
    color: #ff6b6b;
}

.info-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
    -webkit-overflow-scrolling: touch;
}

.info-modal-body h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.info-modal-body h3:first-child {
    margin-top: 0;
}

.info-modal-body p {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-modal-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.info-modal-body li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
}

.info-modal-body li svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--primary);
}

.info-modal-body li.excluded {
    color: hsla(220, 10%, 50%, 0.7);
}

.info-modal-body li.excluded svg {
    color: hsla(220, 10%, 50%, 0.7);
}

.info-box {
    background: hsla(43, 89%, 50%, 0.06);
    border: 1px solid hsla(43, 89%, 50%, 0.2);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.info-box-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.procedure-box {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1rem;
}

.procedure-box h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.procedure-box ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 0;
}

.procedure-box ol li {
    display: list-item;
    margin-bottom: 0.75rem;
}

/* ── Espacement des sections ── */
.info-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.info-section-header {
    margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE - Media Queries
   (APRES tous les styles de base)
   ============================================ */

/* --- Tablettes paysage (1024px) --- */
@media (max-width: 1024px) {
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-card.wide {
        grid-column: span 2;
    }
}

/* --- Tablettes portrait (768px) --- */
@media (max-width: 768px) {
    .info-modal-overlay {
        padding: 1rem;
    }

    .info-modal-header {
        padding: 1rem 1.5rem;
    }

    .info-modal-header h2 {
        font-size: 1.25rem;
    }

    .info-modal-body {
        padding: 1.5rem;
    }
}

/* --- Mobiles (480px) --- */
@media (max-width: 480px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .info-card.wide {
        grid-column: span 1;
    }

    .info-card {
        border-radius: var(--radius-lg);
    }

    .info-card.wide {
        padding: 1.75rem 2rem;
    }

    .info-card.wide .info-card-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
        border-radius: var(--radius-lg);
    }

    .info-card.wide .info-card-icon svg {
        width: 32px;
        height: 32px;
    }

    .info-card.wide .info-card-title {
        font-size: 1.15rem;
    }

    .info-card.wide .info-card-desc {
        font-size: 0.9rem;
    }

    .info-card.wide .info-card-arrow {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .info-card.wide .info-card-arrow svg {
        width: 18px;
        height: 18px;
    }

    .info-card.wide .info-card-number {
        font-size: 2rem;
    }
}

/* --- Petits mobiles (480px) --- */
@media (max-width: 480px) {
    .info-card-arrow {
        display: none;
    }

    .info-card {
        border-radius: var(--radius);
        min-height: auto;
    }

    /* Indicateur de cliquabilite sur mobile */
    .info-card-desc::after {
        content: 'Découvrir →';
        display: block;
        margin-top: 0.5rem;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--primary);
        opacity: 0.85;
        letter-spacing: 0.02em;
    }
}


/* ============================================
   OCI Express - Page En Savoir Plus (Premium)
   Surcouche de design editorial premium :
   animations de scroll, cartes ameliorees,
   modales et section CTA
   ============================================ */

/* ── Animations de revelation au scroll ── */
@keyframes espRevealUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes espShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes espPulse {
    0%, 100% { opacity: 0.04; }
    50% { opacity: 0.08; }
}

@keyframes espCardStagger {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.esp-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.esp-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Revelation en cascade des cartes */
.esp-reveal.visible .info-card {
    animation: espCardStagger 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.esp-reveal.visible .info-card:nth-child(1) { animation-delay: 0s; }
.esp-reveal.visible .info-card:nth-child(2) { animation-delay: 0.08s; }
.esp-reveal.visible .info-card:nth-child(3) { animation-delay: 0.16s; }
.esp-reveal.visible .info-card:nth-child(4) { animation-delay: 0.24s; }
.esp-reveal.visible .info-card:nth-child(5) { animation-delay: 0.32s; }
.esp-reveal.visible .info-card:nth-child(6) { animation-delay: 0.40s; }
.esp-reveal.visible .info-card:nth-child(7) { animation-delay: 0.48s; }

/* ── Hero ameliore ── */
.esp-hero {
    position: relative;
    overflow: hidden;
}

.esp-hero .hero-content {
    position: relative;
    z-index: 2;
}

.esp-hero__deco {
    position: absolute;
    font-family: 'Playfair Display', serif;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Motif decoratif etoile/boussole */
.esp-hero__deco--star {
    top: 15%;
    right: 8%;
    width: 180px;
    height: 180px;
    opacity: 0.03;
    color: var(--gold);
}

.esp-hero__deco--lines {
    bottom: 10%;
    left: 5%;
    width: 140px;
    height: 140px;
    opacity: 0.03;
    color: var(--gold);
}

.esp-hero h1 {
    position: relative;
    z-index: 1;
}

.esp-hero .hero-subtitle {
    position: relative;
    z-index: 1;
}

/* ── En-tete de section premium ── */
.esp-section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.esp-section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto 0;
}

.esp-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--foreground);
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.esp-section-header p {
    color: var(--muted-foreground);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Cartes d'information version premium ── */
.info-card {
    background: linear-gradient(165deg, rgba(26, 29, 42, 0.9), rgba(18, 20, 30, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    position: relative;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-card:hover::after {
    opacity: 1;
}

.info-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(212, 175, 55, 0.06);
    transform: translateY(-6px);
}

.info-card-number {
    color: rgba(212, 175, 55, 0.06);
    font-size: 2.5rem;
    transition: color 0.4s ease;
}

.info-card:hover .info-card-number {
    color: rgba(212, 175, 55, 0.12);
}

.info-card.wide .info-card-number {
    font-size: 3rem;
}

.info-card-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.info-card:hover .info-card-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
    transform: scale(1.08);
}

.info-card-arrow {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-card:hover .info-card-arrow {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

/* ── Modales version premium ── */
.info-modal-overlay {
    background: rgba(6, 7, 12, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.info-modal {
    background: linear-gradient(165deg, rgba(22, 25, 36, 1), rgba(16, 18, 28, 1));
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(212, 175, 55, 0.05) inset;
}

.info-modal-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.02));
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1.75rem 2rem;
}

.info-modal-header .modal-number {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    border-radius: var(--radius);
}

.info-modal-close {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.info-modal-close:hover {
    background: rgba(220, 60, 60, 0.15);
    border-color: rgba(220, 60, 60, 0.3);
}

.info-modal-body {
    padding: 2.5rem 2rem;
}

.info-modal-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--foreground);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.info-modal-body h3::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1em;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin-right: 0.75rem;
    vertical-align: middle;
    border-radius: var(--radius-xs);
}

.info-modal-body li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.info-modal-body li:last-child {
    border-bottom: none;
}

.info-modal-body li svg {
    color: var(--gold);
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.2));
}

.info-modal-body li.excluded svg {
    color: rgba(220, 80, 80, 0.6);
    filter: none;
}

.info-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), transparent);
    border-radius: var(--radius-xs);
}

.info-box-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.procedure-box {
    background: linear-gradient(165deg, rgba(26, 29, 42, 0.8), rgba(18, 20, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.procedure-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    margin-bottom: 1.25rem;
}

.procedure-box ol li {
    color: var(--muted-foreground);
    line-height: 1.6;
    padding: 0.25rem 0;
}

.procedure-box ol li strong {
    color: var(--foreground);
}

/* ── Section CTA premium ── */
.esp-cta-section {
    position: relative;
    overflow: hidden;
}

.esp-cta-section .cta-bg {
    background: linear-gradient(165deg, rgba(22, 25, 36, 0.95), rgba(14, 16, 24, 0.98));
}

.esp-cta-section .cta-border-top {
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%);
}

.esp-cta-section .cta-content {
    position: relative;
    z-index: 2;
}

.esp-cta-section .cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.esp-cta-section .cta-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
}

.esp-cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
}

.esp-cta-section p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 1.05rem;
}

.esp-cta-section .cta-buttons {
    position: relative;
}

.esp-cta-section .btn-xl {
    border-radius: var(--radius);
    letter-spacing: 0.02em;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.esp-cta-section .btn-gold.btn-xl::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.esp-cta-section .btn-gold.btn-xl:hover::after {
    left: 100%;
}

/* ── Responsive ── */

/* --- Tablettes portrait (768px) --- */
@media (max-width: 768px) {
    /* Hero decorations */
    .esp-hero__deco--star {
        width: 120px;
        height: 120px;
        top: 10%;
        right: 3%;
    }

    .esp-hero__deco--lines {
        width: 100px;
        height: 100px;
        bottom: 5%;
        left: 3%;
    }

    /* Section header */
    .esp-section-header {
        margin-bottom: 2rem;
    }

    .esp-section-header p {
        font-size: 0.95rem;
    }

    /* Info cards */
    .info-card {
        padding: 1.25rem 1.5rem;
    }

    .info-card.wide {
        padding: 1.25rem 1.5rem;
    }

    .info-card-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        border-radius: var(--radius);
    }

    .info-card.wide .info-card-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

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

    .info-card.wide .info-card-icon svg {
        width: 28px;
        height: 28px;
    }

    .info-card-title {
        font-size: 1.05rem;
    }

    .info-card.wide .info-card-title {
        font-size: 1.1rem;
    }

    .info-card-arrow {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .info-card.wide .info-card-arrow {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .info-card-arrow svg {
        width: 16px;
        height: 16px;
    }

    /* Modals */
    .info-modal {
        max-width: 100%;
        max-height: 90vh;
        border-radius: var(--radius-lg);
    }

    .info-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .info-modal-header h2 {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    .info-modal-header .modal-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        border-radius: var(--radius-sm);
    }

    .info-modal-body {
        padding: 1.75rem 1.5rem;
        max-height: calc(90vh - 70px);
    }

    .info-modal-body h3 {
        font-size: 1.05rem;
    }

    .info-modal-body h3::before {
        display: none;
    }

    .info-modal-body p {
        font-size: 0.9rem;
    }

    .info-modal-body li {
        font-size: 0.9rem;
    }

    .info-box {
        padding: 1.25rem;
    }

    .procedure-box {
        padding: 1.25rem;
    }

    /* CTA */
    .esp-cta-section .cta-icon {
        width: 56px;
        height: 56px;
        border-radius: var(--radius);
        margin-bottom: 1.5rem;
    }

    .esp-cta-section .cta-icon svg {
        width: 28px;
        height: 28px;
    }

    .esp-cta-section p {
        font-size: 0.95rem;
    }
}

/* --- Mobiles standard (480px) --- */
@media (max-width: 480px) {
    /* Hero decorations hidden */
    .esp-hero__deco--star,
    .esp-hero__deco--lines {
        display: none;
    }

    /* Section header */
    .esp-section-header {
        margin-bottom: 1.5rem;
    }

    .esp-section-header p {
        font-size: 0.88rem;
    }

    /* Info cards compact */
    .info-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .info-card.wide {
        padding: 1.25rem;
    }

    .info-card-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: var(--radius);
    }

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

    .info-card-number {
        font-size: 1.75rem;
    }

    .info-card.wide .info-card-number {
        font-size: 1.75rem;
    }

    .info-card-title {
        font-size: 1rem;
    }

    .info-card.wide .info-card-title {
        font-size: 1rem;
    }

    .info-card-desc {
        font-size: 0.82rem;
    }

    .info-card.wide .info-card-desc {
        font-size: 0.82rem;
    }

    /* Modals : bottom-sheet style */
    .info-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .info-modal {
        max-height: 93vh;
        border-radius: 20px 20px 0 0;
    }

    .info-modal-header {
        padding: 1rem 1.25rem;
    }

    .info-modal-header h2 {
        font-size: 1.05rem;
    }

    .info-modal-header .modal-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        border-radius: var(--radius-sm);
    }

    .info-modal-close {
        width: 36px;
        height: 36px;
        border-radius: var(--radius);
    }

    .info-modal-body {
        padding: 1.25rem;
        max-height: calc(93vh - 60px);
    }

    .info-modal-body h3 {
        font-size: 0.95rem;
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .info-modal-body p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .info-modal-body li {
        font-size: 0.85rem;
        gap: 0.5rem;
        padding: 0.35rem 0;
    }

    .info-modal-body li svg {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }

    .info-box {
        padding: 1rem;
    }

    .info-box-title {
        font-size: 0.8rem;
    }

    .info-box p {
        font-size: 0.85rem;
    }

    .procedure-box {
        padding: 1rem;
    }

    .procedure-box h4 {
        font-size: 0.95rem;
    }

    .procedure-box ol li {
        font-size: 0.85rem;
    }

    /* CTA */
    .esp-cta-section .cta-icon {
        width: 48px;
        height: 48px;
        border-radius: var(--radius);
        margin-bottom: 1.25rem;
    }

    .esp-cta-section .cta-icon svg {
        width: 24px;
        height: 24px;
    }

    .esp-cta-section p {
        font-size: 0.88rem;
    }
}

/* --- Tres petits ecrans (360px) --- */
@media (max-width: 360px) {
    .info-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .info-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: var(--radius);
    }

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

    .info-card-title {
        font-size: 0.92rem;
    }

    .info-card-desc {
        font-size: 0.78rem;
    }

    .info-modal-header h2 {
        font-size: 0.95rem;
    }

    .info-modal-body {
        padding: 1rem;
    }

    .info-modal-body h3 {
        font-size: 0.9rem;
    }

    .info-modal-body p,
    .info-modal-body li {
        font-size: 0.82rem;
    }

    /* Hero & Section headers */
    .esp-hero h1 {
        font-size: 1.3rem;
    }

    .esp-section-header h2 {
        font-size: 1.2rem;
    }

    .esp-section-header p {
        font-size: 0.82rem;
    }

    /* Info box */
    .info-box {
        padding: 0.85rem;
    }

    .procedure-box {
        padding: 0.85rem;
    }

    /* Modal overlay */
    .info-modal {
        max-height: 95vh;
    }

    .info-modal-header {
        padding: 0.85rem 1rem;
    }

    .info-modal-close {
        width: 32px;
        height: 32px;
    }

    /* CTA */
    .esp-cta-section .cta-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .esp-cta-section .cta-icon svg {
        width: 20px;
        height: 20px;
    }

    .esp-cta-section p {
        font-size: 0.82rem;
    }
}

/* ── Ajustements mode clair ── */
[data-theme="light"] .info-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 240, 0.95));
    border-color: rgba(212, 175, 55, 0.15);
}

[data-theme="light"] .info-card:hover {
    box-shadow: 0 20px 60px -15px rgba(212, 175, 55, 0.12),
                0 0 30px rgba(212, 175, 55, 0.06);
}

[data-theme="light"] .info-modal {
    background: linear-gradient(165deg, #faf9f6, #f5f3ee);
    border-color: rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .info-modal-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.03));
    border-bottom-color: rgba(212, 175, 55, 0.15);
}

[data-theme="light"] .info-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.02));
    border-color: rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .procedure-box {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(212, 175, 55, 0.15);
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .esp-reveal {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .esp-reveal.visible .info-card {
        animation: none !important;
    }

    .info-card {
        transition-duration: 0.01ms !important;
    }

    .info-card:hover {
        transform: none;
    }

    .info-card::after {
        transition-duration: 0.01ms !important;
    }

    .info-card-number {
        transition-duration: 0.01ms !important;
    }

    .info-card-icon {
        transition-duration: 0.01ms !important;
    }

    .info-card:hover .info-card-icon {
        transform: none;
    }

    .info-card-arrow {
        transition-duration: 0.01ms !important;
    }

    .esp-cta-section .btn-gold.btn-xl::after {
        transition-duration: 0.01ms !important;
    }
}
