@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   REGION.CSS — Design Premium pour la page Régions & Datacenters
   ============================================================ */

:root {
    --hc-primary: #2563eb;
    --hc-secondary: #18316A;
    --hc-dark: #0f172a;
    --hc-light: #f8fafc;
    --hc-text-main: #1e293b;
    --hc-text-muted: #64748b;
}

/* -------- HERO -------- */
.hero-premium {
    background: var(--hc-secondary);
    padding: 100px 0 80px;
    position: relative;
    color: #fff;
    text-align: center;
}

.hero-badge-premium {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* -------- SECTIONS SHARED -------- */
.section-premium {
    padding: 100px 0;
    position: relative;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--hc-text-main);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--hc-text-muted);
}

/* -------- WORLD MAP & STATS -------- */
.world-map-container {
    position: relative;
    margin: 3rem 0;
}

.world-map img {
    width: 100%;
    height: auto;
    filter: grayscale(0.2);
    opacity: 0.9;
}

.stats-summary {
    margin-top: 3rem;
}

.stat-item-premium {
    text-align: center;
    padding: 20px;
}

.stat-number-premium {
    font-size: 3rem;
    font-weight: 900;
    color: var(--hc-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.stat-number-premium span.unit {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label-premium {
    font-size: 1.1rem;
    color: var(--hc-text-muted);
    font-weight: 600;
}

/* -------- COUNTRY CARDS -------- */
.country-card-premium {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.country-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--hc-primary);
}

.country-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.country-flag-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background: #fff;
    overflow: hidden;
}

.country-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hc-text-main);
    margin-bottom: 4px;
}

.country-datacenter {
    font-size: 0.95rem;
    color: var(--hc-text-muted);
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--hc-light);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hc-text-main);
}

.service-item i {
    font-size: 1.1rem;
    margin-right: 10px;
}

.service-item.success i {
    color: #10b981;
}

.service-item.disabled i {
    color: #ef4444;
}

.service-item.disabled {
    color: var(--hc-text-muted);
    opacity: 0.8;
}

/* -------- FLAGS -------- */
.french-flag,
.german-flag,
.uk-flag {
    width: 48px;
    height: 32px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.german-flag {
    flex-direction: column;
}

.uk-flag {
    background: #012169;
    position: relative;
}

/* -------- BIG STATS CARDS -------- */
.stats-card-premium {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stats-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
    border-color: #bfdbfe;
}

.stats-card-small {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.stats-card-small:hover {
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

/* -------- ADVANTAGE CARDS -------- */
.advantage-card-premium {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: all 0.3s ease;
}

.advantage-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--hc-primary);
}

.advantage-icon-premium {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.05));
    color: var(--hc-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.advantage-card-premium:hover .advantage-icon-premium {
    background: var(--hc-primary);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.advantage-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--hc-text-main);
    margin-bottom: 15px;
}

.advantage-desc {
    color: var(--hc-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* -------- TESTIMONIALS -------- */
.testimonial-card-premium {
    background: #fff;
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.quote-icon-premium {
    position: absolute;
    top: -20px;
    left: 35px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--hc-primary), var(--hc-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.testimonial-text {
    color: var(--hc-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
    margin-top: 10px;
}

.client-info-premium {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.client-name-premium {
    font-weight: 800;
    color: var(--hc-text-main);
    font-size: 1.1rem;
}

.client-pos-premium {
    color: var(--hc-text-muted);
    font-size: 0.9rem;
}