﻿/* ðŸŽ¨ TEMPLATE ULTRA-MODERNE - POPOTE Ã€ DOM */

/* === VARIABLES === */
:root {
    /* Palette Popote Dark Mode (Orange Chaleureux) */
    --netflix-red: #FF6B35;
    /* Orange vif mais chaleureux */
    --netflix-black: #141414;
    --netflix-dark: #0a0a0a;
    --netflix-gray: #b3b3b3;

    /* Mapping sur les anciennes variables */
    --orange-vif: #FF6B35;
    /* Retour à l'orange signature */
    --rouge-chaud: #D84315;
    /* Rouge brique plus doux */
    --jaune-or: #FFA726;
    /* Orange doré */

    /* Fonds et Textes (inchangés pour le mode sombre) */
    --creme-chaud: #000000;
    /* Fond très sombre */
    --marron-fonce: #FFFFFF;
    /* Texte principal */
    --blanc: #141414;
    /* Fond principal (inverse du blanc) */
    --noir: #FFFFFF;
    /* Texte principal (inverse du noir) */

    /* Variable helper pour les textes sur fond sombre */
    --text-main: #FFFFFF;
    --text-muted: #b3b3b3;

    /* Typographie */
    --font-main: 'Poppins', sans-serif;

    /* Espacements généreux */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--noir);
    background: var(--blanc);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === NAVIGATION STYLE NETSTREAM (DARK/TRANSPARENT) === */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    backdrop-filter: blur(4px);
    padding: 1.2rem 0;
    transition: background 0.4s ease;
}

.modern-nav.nav-scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon-modern {
    font-size: 2rem;
    display: none;
}

.logo-img {
    height: 35px;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    filter: brightness(1.1);
}

.logo-text-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange-vif);
    line-height: 1;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-item:hover {
    color: #ffffff;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-vif);
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

.btn-nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--orange-vif);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
}

.btn-nav-cta:hover {
    background: var(--rouge-chaud);
    transform: scale(1.02);
}

/* === HERO FULLSCREEN - STYLE NETSTREAM/NETFLIX === */
/* === HERO FULLSCREEN - STYLE NETSTREAM/NETFLIX === */
.hero-fullscreen {
    position: relative;
    height: 115vh;
    min-height: 800px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-color: #000;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* === HERO BACKGROUND SLIDER === */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* .hero-slide:first-child rule removed to fix transition consistency */

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay : dégradé sombre du bas UNIQUEMENT (pas d'orange!) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.1) 60%, transparent 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    z-index: 1;
}

/* Contenu : en bas Ã  gauche (style Netflix) */
.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--blanc);
    padding: 0 4% calc(12vh + 8rem);
    max-width: 700px;
}

.hero-title-massive {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

/* Plus de gradient orange sur le texte */
.gradient-orange {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.hero-subtitle-large {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 1.5rem;
    max-width: 500px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Boutons style Netflix: "Lecture" blanc + "Plus d'infos" outline */
.btn-hero-giant {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: #141414;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background 0.2s;
    border: none;
}

.btn-hero-giant:hover {
    background: rgba(255, 255, 255, 0.75);
}

.btn-hero-giant svg {
    width: 20px;
    height: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 400;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

/* === SECTION INTRO === */
.section-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: 0 2rem;
}

.section-intro.centered {
    text-align: center;
}

.section-intro.white * {
    color: var(--blanc);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--orange-vif), var(--rouge-chaud));
    color: var(--blanc);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title-big {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-title-big.white {
    color: var(--blanc);
}

/* === SERVICES - CARDS XXL HORIZONTALES (FULL WIDTH) === */
.services-modern {
    padding: 0;
    /* Plus de padding pour coller aux bords */
    background: transparent;
}

.service-card-xxl {
    max-width: 100%;
    /* Pleine largeur */
    margin: 0;
    /* Pas de marge entre les sections */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 0;
    /* Pas d'arrondi */
    overflow: hidden;
    box-shadow: none;
    /* Plus besoin d'ombre si pleine largeur */
    min-height: 600px;
}

.service-card-xxl.reverse {
    direction: rtl;
}

.service-card-xxl.reverse>* {
    direction: ltr;
}

.card-image-side {
    position: relative;
    overflow: hidden;
}

.card-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-xxl:hover .card-image-side img {
    transform: scale(1.1);
}

.card-content-side {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.gradient-orange-bg {
    background: linear-gradient(135deg, var(--orange-vif), #FF8A5B);
    color: var(--blanc);
}

.gradient-red-bg {
    background: linear-gradient(135deg, var(--rouge-chaud), #E64A19);
    color: var(--blanc);
}

.gradient-yellow-bg {
    background: linear-gradient(135deg, var(--jaune-or), #FFB74D);
    color: var(--blanc);
}

.card-number {
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.1;
    position: absolute;
    top: -2rem;
    right: 2rem;
    line-height: 1;
}

.card-title-large {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.card-text-large {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.feature-list-modern {
    list-style: none;
}

.feature-list-modern li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* === GALERIE MODERNE === */
.gallery-modern {
    padding: var(--spacing-xxl) 2rem;
    background: var(--blanc);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--blanc);
    transform: translateY(100%);
    transition: transform 0.4s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* === TIMELINE PROCESS === */
.process-timeline {
    padding: var(--spacing-xxl) 2rem;
    background: #090909;
    /* Gris très sombre presque noir */
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--orange-vif), var(--rouge-chaud));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item.left .timeline-content {
    margin-right: 55%;
    text-align: right;
}

.timeline-item.right .timeline-content {
    margin-left: 55%;
}

.timeline-content {
    background: #1a1a1a;
    /* Fond gris foncé pour les bulles */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Légère bordure */
}

.timeline-number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-vif), var(--rouge-chaud));
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

.timeline-item.left .timeline-number {
    right: -30px;
}

.timeline-item.right .timeline-number {
    left: -30px;
}

.timeline-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--orange-vif);
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

/* === TÉMOIGNAGES MODERNE === */
.testimonials-modern {
    padding: var(--spacing-xxl) 2rem;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    /* Dégradé de noirs */
}

.testimonial-carousel {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-content-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    color: var(--blanc);
}

.quote-mark {
    font-size: 8rem;
    line-height: 0;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text-large {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author-modern h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author-modern span {
    font-size: 1rem;
    opacity: 0.9;
}

.rating-stars {
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* === TARIFS 3D === */
.pricing-3d {
    padding: var(--spacing-xxl) 2rem;
    background: var(--creme-chaud);
}

.pricing-grid-3d {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card-3d {
    background: var(--blanc);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
}

.pricing-card-3d:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.pricing-card-3d.featured-pricing {
    background: linear-gradient(135deg, var(--orange-vif), var(--rouge-chaud));
    color: var(--blanc);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--jaune-or);
    color: var(--noir);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 4rem;
    font-weight: 900;
    margin: 0 0.25rem;
}

.period {
    font-size: 1rem;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card-3d.featured-pricing .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.btn-pricing {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--orange-vif);
    color: var(--orange-vif);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-pricing:hover {
    background: var(--orange-vif);
    color: var(--blanc);
}

.btn-pricing.primary {
    background: var(--blanc);
    border-color: var(--blanc);
    color: var(--orange-vif);
}

.btn-pricing.primary:hover {
    background: var(--jaune-or);
    border-color: var(--jaune-or);
    color: var(--noir);
}

/* === CONTACT MODERNE === */
.contact-modern {
    padding: var(--spacing-xxl) 2rem;
    background: var(--blanc);
}

.contact-split {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
}

.contact-title-big {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--orange-vif);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item-modern {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-item-modern h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item-modern a,
.contact-item-modern p {
    font-size: 1.15rem;
    color: var(--noir);
    text-decoration: none;
}

.contact-item-modern a:hover {
    color: var(--orange-vif);
}

/* Formulaire moderne avec labels flottants */
.form-modern {
    background: var(--creme-chaud);
    padding: 3rem;
    border-radius: 20px;
}

.form-group-modern {
    position: relative;
    margin-bottom: 2rem;
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    padding: 1.25rem 1rem 0.5rem;
    font-size: 1.1rem;
    font-family: var(--font-main);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: transparent;
    transition: border-color 0.3s;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-bottom-color: var(--orange-vif);
}

.form-group-modern label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: all 0.3s;
}

.form-group-modern input:focus+label,
.form-group-modern textarea:focus+label,
.form-group-modern input:not(:placeholder-shown)+label,
.form-group-modern textarea:not(:placeholder-shown)+label {
    top: 0.25rem;
    font-size: 0.8rem;
    color: var(--orange-vif);
}

.btn-submit-modern {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--orange-vif), var(--rouge-chaud));
    color: var(--blanc);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* === FOOTER MINIMAL === */
.footer-minimal {
    padding: 3rem 2rem 1.5rem;
    background: var(--marron-fonce);
    color: var(--blanc);
}

.footer-content-minimal {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    margin-top: 0.75rem;
    opacity: 0.8;
}

.footer-links-minimal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-minimal a {
    color: var(--blanc);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links-minimal a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 1.75rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}


/* === RESPONSIVE FINAL FIX === */
@media (max-width: 1024px) {

    .service-card-xxl,
    .service-card-xxl.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

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

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin: 0;
        text-align: left;
    }

    .timeline-line {
        left: 30px;
    }

    .pricing-grid-3d,
    .contact-split,
    .footer-content-minimal {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
    }
}

/* === MENU MOBILE FIX === */
.mobile-menu-toggle {
    display: none;
    /* Masqué sur Desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    margin-left: 2rem;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--blanc);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
        /* Cacher le menu normal */
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(15, 17, 21, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        padding: 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
        /* Visible sur Mobile */
    }

    /* Animation Burger */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}