/* ==========================================================================
           DESIGN SYSTEM LIGHT & MOBILE-FIRST — COURSIER.TEL
           ========================================================================== */
        :root {
            --bg-page: #f8fafc;
            --bg-card: #ffffff;
            --bg-subtle: #f1f5f9;
            --text-main: #0f172a;
            --text-muted: #475569;
            --text-light: #64748b;
            --border: #e2e8f0;
            --amber: #f59e0b;
            --amber-dark: #d97706;
            --amber-soft: #fef3c7;
            --emerald: #10b981;
            --emerald-dark: #059669;
            --emerald-soft: #d1fae5;
            --radius-lg: 18px;
            --radius-md: 12px;
            --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
            --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-page);
            color: var(--text-main);
            line-height: 1.5;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .hidden {
            display: none !important;
        }

        .container {
            width: 100%;
            max-width: 520px;
            margin: 0 auto;
            padding: 0 16px;
        }

        /* Barre de navigation supérieure */
        .topbar {
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 50;
            padding: 12px 0;
            box-shadow: var(--shadow-sm);
        }

        .topbar-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            text-decoration: none;
            font-weight: 900;
            font-size: 1.2rem;
            letter-spacing: -0.02em;
            color: var(--text-main);
        }

        .brand-code {
            background: var(--amber);
            color: #ffffff;
            padding: 2px 8px;
            border-radius: 7px;
            margin-right: 3px;
            font-size: 1.05rem;
        }

        .brand-tld {
            color: var(--amber-dark);
        }

        .switcher-box {
            display: inline-flex;
            align-items: center;
            background: var(--bg-subtle);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 6px 10px;
            gap: 6px;
        }

        .switcher-select {
            border: none;
            background: transparent;
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--text-main);
            max-width: 155px;
            outline: none;
            cursor: pointer;
        }

        /* Contenu principal */
        main {
            flex: 1;
            padding: 20px 0 36px;
        }

        .stack {
            display: flex;
            flex-direction: column;
            gap: 22px;
        }

        /* Hero B2C */
        .hero-card {
            background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
            border: 1px solid #fde68a;
            border-radius: var(--radius-lg);
            padding: 24px 20px;
            text-align: center;
            box-shadow: var(--shadow-md);
        }

        .pill-badge {
            display: inline-block;
            background: var(--amber-soft);
            color: #92400e;
            font-size: 0.72rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 5px 12px;
            border-radius: 999px;
            margin-bottom: 12px;
        }

        .hero-title {
            font-size: 1.55rem;
            font-weight: 900;
            line-height: 1.2;
            color: var(--text-main);
            margin-bottom: 12px;
        }

        .hero-title span {
            color: var(--amber-dark);
            text-decoration: underline;
            text-decoration-color: var(--amber);
            text-underline-offset: 4px;
        }

        .hero-text {
            font-size: 0.94rem;
            color: var(--text-muted);
            margin-bottom: 18px;
        }

        .hero-text strong {
            color: var(--text-main);
        }

        /* Encart installation PWA / Mémorisation */
        .memo-box {
            background: #ffffff;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 12px 14px;
            text-align: left;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .memo-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .memo-desc {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border: none;
            border-radius: 10px;
            font-weight: 800;
            font-size: 0.82rem;
            padding: 10px 14px;
            cursor: pointer;
            text-decoration: none;
            transition: transform 0.12s ease, background-color 0.15s ease;
        }

        .btn:active {
            transform: scale(0.98);
        }

        .btn-amber {
            background: var(--amber);
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
        }

        .btn-amber:hover {
            background: var(--amber-dark);
        }

        .btn-dark {
            background: var(--text-main);
            color: #ffffff;
        }

        .btn-emerald {
            background: var(--emerald);
            color: #ffffff;
            font-size: 1rem;
            padding: 15px 18px;
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
        }

        .btn-emerald:hover {
            background: var(--emerald-dark);
        }

        .btn-outline-emerald {
            background: var(--emerald-soft);
            color: #065f46;
            border: 1px solid #a7f3d0;
            width: 100%;
            padding: 11px 12px;
        }

        .btn-full {
            width: 100%;
            padding: 13px 16px;
            font-size: 0.9rem;
        }

        .ios-hint {
            font-size: 0.76rem;
            color: #92400e;
            background: var(--amber-soft);
            padding: 8px 10px;
            border-radius: 8px;
        }

        /* Section Sélection Pays */
        .section-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .section-title {
            font-size: 1.05rem;
            font-weight: 800;
        }

        .count-badge {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-light);
            background: var(--bg-subtle);
            padding: 3px 9px;
            border-radius: 999px;
        }

        .search-input {
            width: 100%;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 12px 14px;
            font-size: 0.88rem;
            color: var(--text-main);
            margin-bottom: 12px;
            outline: none;
            box-shadow: var(--shadow-sm);
        }

        .search-input:focus {
            border-color: var(--amber);
        }

        .countries-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }

        @media (min-width: 440px) {
            .countries-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .country-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 12px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-decoration: none;
            color: inherit;
            box-shadow: var(--shadow-sm);
            transition: border-color 0.15s ease, transform 0.12s ease;
        }

        .country-card:hover {
            border-color: var(--amber);
            transform: translateY(-1px);
        }

        .country-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .country-flag {
	     font-size: 1.5rem;
             line-height: 1;
}
.country-name {
font-weight: 800;
font-size: 0.88rem;
color: var(--text-main);
}
.country-sub {
font-size: 0.72rem;
color: var(--text-light);
}
.country-code-pill {
background: var(--amber-soft);
color: #92400e;
font-weight: 800;
font-size: 0.75rem;
padding: 4px 8px;
border-radius: 8px;
}
/* Section Régie B2B */
.b2b-card {
background: var(--bg-card);
border: 2px solid #fcd34d;
border-radius: var(--radius-lg);
padding: 22px 18px;
box-shadow: var(--shadow-md);
}
.b2b-tag {
display: inline-block;
background: var(--text-main);
color: #ffffff;
font-size: 0.7rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 4px 10px;
border-radius: 6px;
margin-bottom: 10px;
}
.b2b-title {
font-size: 1.2rem;
font-weight: 900;
line-height: 1.25;
margin-bottom: 8px;
}
.b2b-lead {
font-size: 0.88rem;
color: var(--text-muted);
margin-bottom: 14px;
}
.b2b-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 18px;
font-size: 0.85rem;
color: var(--text-main);
}
.b2b-list li {
display: flex;
align-items: flex-start;
gap: 8px;
}
.check-icon {
color: var(--emerald-dark);
font-weight: 900;
}
.b2b-cta-box {
background: var(--bg-subtle);
border-radius: var(--radius-md);
padding: 14px;
text-align: center;
}
.b2b-cta-box p {
font-size: 0.8rem;
color: var(--text-muted);
margin-bottom: 10px;
}
/* ==========================================================================
VUE PAYS (SOUS-DOMAINE INDICATIF + 3 PLACEHOLDERS)
========================================================================== */
.country-header {
text-align: center;
padding: 4px 0;
}
.live-pill {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--bg-card);
border: 1px solid var(--border);
padding: 5px 12px;
border-radius: 999px;
font-size: 0.78rem;
color: var(--text-muted);
margin-bottom: 8px;
}
.dot-green {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--emerald);
}
.country-h1 {
font-size: 1.25rem;
font-weight: 900;
}
.country-h1 span {
color: var(--amber-dark);
}
/* Placeholder Majeur (N°1) */
.slot-major-active {
background: var(--bg-card);
border: 2px solid var(--amber);
border-radius: var(--radius-lg);
padding: 20px;
box-shadow: var(--shadow-md);
}
.slot-major-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.major-badge {
background: var(--amber);
color: #ffffff;
font-size: 0.7rem;
font-weight: 900;
text-transform: uppercase;
padding: 4px 10px;
border-radius: 999px;
}
.status-open {
font-size: 0.75rem;
font-weight: 700;
color: var(--emerald-dark);
}
.partner-name {
font-size: 1.4rem;
font-weight: 900;
margin-bottom: 4px;
}
.partner-tagline {
font-size: 0.88rem;
color: var(--text-muted);
margin-bottom: 16px;
}
.call-subtext {
text-align: center;
font-size: 0.72rem;
color: var(--text-light);
margin-top: 8px;
}
/* Teasing Emplacement Libre */
.slot-teasing-major {
background: #fffbeb;
border: 2px dashed var(--amber);
border-radius: var(--radius-lg);
padding: 22px 18px;
text-align: center;
}
.teasing-label {
display: inline-block;
background: var(--amber-soft);
color: #92400e;
font-size: 0.72rem;
font-weight: 800;
text-transform: uppercase;
padding: 4px 10px;
border-radius: 999px;
margin-bottom: 10px;
}
.teasing-copy {
font-size: 0.92rem;
color: var(--text-main);
margin-bottom: 16px;
line-height: 1.45;
}


/* Navigation, états et emplacements secondaires */
[hidden] { display: none !important; }

.brand, .switcher-box, .switcher-select { min-width: 0; }
.switcher-select { width: 100%; }
.brand { white-space: nowrap; }
.brand-tld, a { color: #92400e; }
.brand-code, .btn-amber { color: var(--text-main); }
.btn-emerald { background: #047857; }
.btn-emerald:hover { background: #065f46; }
:focus-visible { outline: 2px solid #92400e; outline-offset: 3px; }
.switcher-select:focus-visible, .search-input:focus-visible { outline: 2px solid #92400e; }
.memo-row > button, .country-code-pill, .count-badge { flex-shrink: 0; }
.country-card { gap: 8px; }
.country-left { min-width: 0; }
.country-sub { overflow-wrap: anywhere; }
#copy-status:empty { display: none; }
#no-results { font-size: .9rem; color: var(--text-muted); }
.stack { overflow-wrap: anywhere; }
.secondary-grid { display: grid; gap: 10px; }
.secondary-grid article {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.secondary-grid .btn { margin-top: auto; }
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 16px 0;
    color: var(--text-muted);
    text-align: center;
    font-size: .8rem;
}
@media (min-width: 480px) {
    .secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 375px) {
    .topbar-inner, .memo-row { flex-wrap: wrap; }
}
