/**
 * ========================================
 * TIGSI HOME - Page d'Accueil
 * ========================================
 * Design System Mobile-First
 * Breakpoints: 576px, 768px, 992px, 1200px
 */

/* ============================================================
   VARIABLES & BASE
   ============================================================ */

:root {
    --home-spacing: clamp(3rem, 5vw, 6rem);
    --home-spacing-small: clamp(2rem, 4vw, 4rem);
}

/* ============================================================
   HERO SECTION - MOBILE FIRST
   ============================================================ */

.tigsi-hero {
    min-height: calc(100vh - 80px);
    padding: var(--home-spacing) 5%;
    background: linear-gradient(135deg, rgba(109, 198, 212, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.tigsi-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(109, 198, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.tigsi-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.tigsi-hero-content {
    text-align: center;
    z-index: 1;
}

.tigsi-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    color: var(--tigsi-purple);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.tigsi-hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--tigsi-purple) 0%, var(--tigsi-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tigsi-hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--tigsi-navy);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tigsi-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--tigsi-gradient-purple-violet);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.tigsi-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
    color: white;
}

.tigsi-hero-image {
    position: relative;
    z-index: 1;
}

.tigsi-hero-slider {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.tigsi-hero-slider img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* ============================================================
   SECTION GÉNÉRIQUE
   ============================================================ */

.tigsi-section {
    padding: var(--home-spacing) 5%;
}

.tigsi-section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.tigsi-section-header {
    text-align: center;
    margin-bottom: var(--home-spacing-small);
}

.tigsi-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--tigsi-purple);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.tigsi-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--tigsi-gradient-primary);
    border-radius: 2px;
}

.tigsi-section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--tigsi-navy);
    opacity: 0.8;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.tigsi-about {
    background: white;
}

.tigsi-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.tigsi-about-image {
    text-align: center;
}

.tigsi-about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.tigsi-about-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--tigsi-purple);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tigsi-about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--tigsi-navy);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.tigsi-about-stores {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tigsi-about-stores a {
    transition: transform 0.3s ease;
}

.tigsi-about-stores a:hover {
    transform: scale(1.05);
}

.tigsi-about-stores img {
    height: 50px;
    width: auto;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.tigsi-features {
    background: linear-gradient(135deg, rgba(109, 198, 212, 0.03) 0%, rgba(102, 126, 234, 0.03) 100%);
}

.tigsi-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.tigsi-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.tigsi-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    border-left-color: var(--tigsi-purple);
}

.tigsi-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--tigsi-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.tigsi-feature-card h3 {
    font-size: 1.3rem;
    color: var(--tigsi-navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tigsi-feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--tigsi-navy);
    opacity: 0.8;
    margin: 0;
}

/* ============================================================
   STATS SECTION
   ============================================================ */

.tigsi-stats {
    background: var(--tigsi-gradient-purple-violet);
    color: white;
}

.tigsi-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.tigsi-stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.tigsi-stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    display: block;
}

.tigsi-stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   EVENTS SECTION
   ============================================================ */

.tigsi-events {
    background: white;
}

.tigsi-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tigsi-event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    transition: all 0.4s ease;
}

.tigsi-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
}

.tigsi-event-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.tigsi-event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tigsi-event-content {
    padding: 1.5rem;
}

.tigsi-event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--tigsi-navy);
    margin-bottom: 0.75rem;
}

.tigsi-event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--tigsi-navy);
    opacity: 0.7;
}

.tigsi-see-more {
    text-align: center;
}

.tigsi-see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--tigsi-gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tigsi-see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(109, 198, 212, 0.4);
    color: white;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.tigsi-cta {
    background: linear-gradient(135deg, var(--tigsi-purple) 0%, var(--tigsi-violet) 100%);
    color: white;
    text-align: center;
}

.tigsi-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.tigsi-cta p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tigsi-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: white;
    color: var(--tigsi-purple);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.tigsi-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: var(--tigsi-purple);
}

/* ============================================================
   TABLET (min-width: 576px)
   ============================================================ */

@media (min-width: 576px) {
    .tigsi-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tigsi-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tigsi-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tigsi-event-meta {
        flex-direction: row;
        gap: 1rem;
    }
}

/* ============================================================
   TABLET LANDSCAPE (min-width: 768px)
   ============================================================ */

@media (min-width: 768px) {
    .tigsi-hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .tigsi-hero-content {
        text-align: left;
    }

    .tigsi-hero-description {
        margin-left: 0;
        margin-right: 0;
    }

    .tigsi-about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tigsi-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tigsi-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   DESKTOP (min-width: 992px)
   ============================================================ */

@media (min-width: 992px) {
    .tigsi-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tigsi-events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   LARGE DESKTOP (min-width: 1200px)
   ============================================================ */

@media (min-width: 1200px) {
    .tigsi-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tigsi-events-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   UTILITIES
   ============================================================ */

.tigsi-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(102, 126, 234, 0.03);
    border-radius: 16px;
    border: 2px dashed rgba(102, 126, 234, 0.2);
}

.tigsi-empty-state-icon {
    font-size: 4rem;
    color: var(--tigsi-purple);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.tigsi-empty-state h3 {
    color: var(--tigsi-purple);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tigsi-empty-state p {
    color: var(--tigsi-navy);
    opacity: 0.7;
}

