/**
 * ========================================
 * TIGSI - SEO Pages Style
 * ========================================
 * Style moderne et cohérent pour toutes les pages SEO
 * Utilise les variables Tigsi et le glassmorphism
 */

/* ==================== HERO SECTION ==================== */
.seo-hero {
    padding: clamp(3rem, 8vw, 6rem) 5% clamp(2rem, 5vw, 3rem);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Pattern de fond subtil */
.seo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.5;
    z-index: 1;
}

.seo-hero .container {
    position: relative;
    z-index: 2;
}

.seo-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    animation: fadeInDown 0.6s ease-out;
}

.seo-hero .lead {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.seo-hero-image {
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.seo-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.seo-hero-image img:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* Boutons Hero */
.btn-hero-primary {
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border: none;
    color: white;
    box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(67, 233, 123, 0.5);
    color: white;
}

.btn-hero-secondary {
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* ==================== CONTENT SECTION ==================== */
.seo-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.seo-content h2 {
    color: #272D3B;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.seo-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.seo-content h3 {
    color: #272D3B;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin: 3rem 0 2rem;
    padding-left: 1.5rem;
    border-left: 5px solid #667eea;
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* ==================== CARTES MODERNES - GLASSMORPHISM ==================== */
.seo-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.seo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.08), transparent);
    transition: left 0.6s;
}

.seo-card:hover::before {
    left: 100%;
}

.seo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.seo-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.seo-card:hover .seo-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.seo-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #272D3B;
    margin-bottom: 1rem;
}

.seo-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* Variantes de couleurs pour les icônes */
.seo-card-icon.primary {
    background: linear-gradient(135deg, #6DC6D4 0%, #667eea 100%);
}

.seo-card-icon.success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.seo-card-icon.warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.seo-card-icon.info {
    background: linear-gradient(135deg, #667eea 0%, #6DC6D4 100%);
}

/* ==================== PROCESS STEPS ==================== */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.process-step-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.process-step-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.process-step:hover .process-step-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.process-step:hover .process-step-icon::after {
    opacity: 0.6;
}

.process-step h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #272D3B;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

/* ==================== FEATURE BOXES ==================== */
.feature-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(109, 198, 212, 0.05) 100%);
    border-left: 5px solid #667eea;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(109, 198, 212, 0.1) 100%);
    border-left-width: 7px;
    transform: translateX(5px);
}

.feature-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #272D3B;
    margin-bottom: 1rem;
}

.feature-box h4 i {
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.feature-box p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* ==================== LISTES D'AVANTAGES ==================== */
.advantage-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.advantage-list li {
    padding: 1rem 0;
    font-size: 1.1rem;
    color: #272D3B;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.advantage-list li:last-child {
    border-bottom: none;
}

.advantage-list li:hover {
    padding-left: 1rem;
    background: rgba(102, 126, 234, 0.03);
    border-radius: 8px;
}

.advantage-list li i {
    margin-right: 1rem;
    font-size: 1.3rem;
}

/* ==================== ALERTS MODERNES ==================== */
.seo-alert {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.12);
    margin: 3rem 0;
    border-left: 5px solid;
}

.seo-alert h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.seo-alert h4 i {
    margin-right: 0.75rem;
}

.seo-alert p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.seo-alert.info {
    border-left-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(109, 198, 212, 0.05) 100%);
}

.seo-alert.info h4 {
    color: #667eea;
}

.seo-alert.success {
    border-left-color: #43e97b;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.05) 0%, rgba(56, 249, 215, 0.05) 100%);
}

.seo-alert.success h4 {
    color: #43e97b;
}

.seo-alert.warning {
    border-left-color: #f093fb;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.05) 0%, rgba(245, 87, 108, 0.05) 100%);
}

.seo-alert.warning h4 {
    color: #f093fb;
}

/* ==================== COUNTRY CARDS (Page Index) ==================== */
.country-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.country-card:hover::before {
    left: 100%;
}

.country-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.country-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.country-card .capital {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.country-card .links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.country-card .btn {
    border-radius: 20px;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.country-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.25) !important;
}

/* ==================== SERVICE CARDS (Page Index) ==================== */
.service-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.service-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.service-card h4 {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin: 0;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .seo-hero {
        text-align: center;
    }

    .seo-hero-image {
        margin-top: 2rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 1rem auto;
    }
}

@media (max-width: 768px) {
    .seo-hero h1 {
        font-size: 2rem;
    }

    .seo-hero .lead {
        font-size: 1rem;
    }

    .seo-content h2 {
        font-size: 1.8rem;
    }

    .seo-content h3 {
        font-size: 1.4rem;
    }

    .seo-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .process-step-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .country-card .links {
        flex-direction: column;
    }

    .country-card .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .seo-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .feature-box,
    .seo-alert {
        padding: 1.5rem;
    }
}

/* ==================== UTILITIES ==================== */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-pattern {
    position: relative;
    overflow: hidden;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(109, 198, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

