/* ============================================
   Homepage Premium - Ghost-IA.com
   Design clair, lumineux, professionnel
   ============================================ */

:root {
    /* Palette Brand */
    --brand-1: #6366f1;
    --brand-2: #8b5cf6;
    --brand-3: #a78bfa;
    
    /* Backgrounds */
    --bg-soft: #fafbfc;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #fafbfc 0%, #f0f4ff 100%);
    
    /* Text */
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    
    /* Borders & Shadows */
    --border-light: #e2e8f0;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* ============================================
   HERO SECTION - Simple & Clean avec tons violet/mauve
   ============================================ */

.home-hero {
    /* Thémable via variables (default = design actuel) */
    background:
        var(--theme-hero-pattern, none),
        var(--theme-hero-overlay, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    position: relative;
    overflow: visible;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

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

/* Titre principal */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cta-primary {
    background: white;
    color: var(--color-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.hero-cta-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: var(--color-primary);
}

.hero-cta-primary svg {
    transition: transform 0.3s ease;
}

.hero-cta-primary:hover svg {
    transform: translateX(4px);
}

/* Bouton scroll vers le bas */
.hero-scroll-down {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.scroll-down-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-down-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(5px);
    color: white;
}

.scroll-down-btn svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        40% {
            transform: translateX(-50%) translateY(-10px);
        }
        60% {
            transform: translateX(-50%) translateY(-5px);
        }
    }
}

/* ============================================
   SECTION: Comment ça marche
   ============================================ */

.home-how-it-works {
    padding: 5rem 0;
    background: white;
}

.step-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-medium);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   SECTION: Teaser Formules
   ============================================ */

.home-plans-teaser {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

.plan-teaser-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
}

.plan-teaser-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--brand-1);
}

.plan-teaser-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.plan-teaser-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.plan-teaser-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-1);
    margin-bottom: 0.5rem;
}

.plan-teaser-subtitle {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.plan-teaser-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-teaser-features li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-teaser-features li svg {
    color: #10b981;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ============================================
   SECTION: Réalisations
   ============================================ */

.home-portfolio {
    padding: 5rem 0;
    background: white;
}

.portfolio-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    background: var(--bg-soft);
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.portfolio-placeholder {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
    padding: 2rem;
}

/* ============================================
   SECTION: FAQ
   ============================================ */

.home-faq {
    padding: 5rem 0;
    background: var(--bg-soft);
}

.home-faq .accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    --bs-accordion-border-radius: 0;
    --bs-accordion-btn-focus-box-shadow: none;
}

.home-faq .accordion-item {
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.home-faq .accordion-item:not(:last-child) {
    margin-bottom: 1rem;
}

.home-faq .accordion-button {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    background: white;
}

.home-faq .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
    color: var(--text-dark);
    box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.4);
}

.home-faq .accordion-button::after {
    filter: invert(48%) sepia(63%) saturate(7498%) hue-rotate(228deg) brightness(94%) contrast(101%);
}

.home-faq .accordion-body {
    padding: 1.25rem 1.5rem 1.5rem;
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   SECTION: Final CTA
   ============================================ */

.home-final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    color: white;
    text-align: center;
}

.home-final-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.home-final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.home-final-cta .btn {
    background: white;
    color: var(--brand-1);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.home-final-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Desktop - Positionner la flèche en bas de l'écran et remonter le contenu */
@media (min-width: 769px) {
    .home-hero {
        align-items: flex-start;
        padding-top: 1vh;
        position: relative;
        min-height: 100vh;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    .home-hero .container {
        padding-top: 0;
        flex: 1;
        display: flex;
        align-items: center;
    }
    
    .hero-cta-wrapper {
        margin-top: 2rem;
    }
    
    .hero-scroll-down {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        margin-bottom: 1rem;
    }
}

@media (max-width: 992px) {
    .home-hero {
        height: auto;
        min-height: 100vh;
        padding: 3rem 0 4rem;
    }
    
    .home-hero .container {
        padding-top: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .home-hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        padding: 1.5rem 0 4rem 0;
        align-items: flex-start;
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .home-hero .container {
        padding-top: 4.5rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: visible;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta-wrapper {
        margin-top: 1.5rem;
    }
    
    .hero-cta-primary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .hero-scroll-down {
        position: absolute;
        bottom: 5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .home-final-cta h2 {
        font-size: 1.75rem;
    }
    
    .home-final-cta p {
        font-size: 1rem;
    }
}

