﻿:root {
    --primary-color: #F25C5C;
    --dark: #1a1a1a;
    --white: #ffffff;
    --light-gray: #f8f8f8;
    --text-dark: #333333;
    --text-light: #666666;
    --font-heading: 'Climate Crisis', cursive;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.centered {
    text-align: center;
}

/* Navbar */
.navbar-light {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-light .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 2px;
}

.btn-nav {
    padding: 12px 28px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(242, 92, 92, 0.3);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero cr�ateur */
.hero-image-creator {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('photo/creator.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.hero-overlay {
    width: 100%;
}

.hero-image-creator h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.hero-small {
    font-size: 2rem;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.4rem;
    color: white;
    font-weight: 300;
}

/* Intro blanche */
.intro-white {
    background: white;
    padding: 100px 0;
    text-align: center;
}

.intro-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.8;
}

.intro-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.intro-highlight {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 30px;
}

/* Concept visuel avec image */
.concept-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.concept-image {
    background-size: cover;
    background-position: center;
}

.concept-text {
    background: var(--dark);
    color: white;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.concept-text h2 {
    font-family: var(--font-body);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.concept-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.9;
}

/* Pourquoi Fripeur avec scroll horizontal mobile */
.why-section {
    background: white;
    padding: 100px 0;
}

.section-title-dark {
    font-family: var(--font-body);
    font-size: 2rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.why-scroll-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    text-align: center;
    padding: 50px 40px;
    background: var(--light-gray);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    transform: rotate(360deg) scale(1.1);
}

.why-icon svg {
    width: 40px;
    height: 40px;
}

.why-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Scroll indicator for mobile carousels */
.scroll-indicator {
    display: none;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 10px;
}

.scroll-dot {
    width: 30px;
    height: 4px;
    background: #d0d0d0;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.scroll-dot.active {
    background: #1a1a1a;
}

/* Steps interactives avec effet flip */
.steps-interactive {
    background: var(--dark);
    padding: 100px 0;
}

.section-title-white {
    font-family: var(--font-body);
    font-size: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.step-card {
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
}

.step-front,
.step-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.step-front {
    background: linear-gradient(135deg, var(--primary-color), #d64545);
    color: white;
}

.step-back {
    background: white;
    color: var(--text-dark);
    transform: rotateY(180deg);
}

.step-card:hover .step-front {
    transform: rotateY(-180deg);
}

.step-card:hover .step-back {
    transform: rotateY(0);
}

.step-number-circle {
    width: 70px;
    height: 70px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.step-front h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.step-back p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}


/* Steps Vertical - Version Alternative */
.steps-vertical {
    background: var(--dark);
    padding: 100px 0;
}

.steps-timeline {
    max-width: 1100px;
    margin: 0 auto;
}

.step-vertical {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.step-vertical:nth-child(1) {
    animation-delay: 0.1s;
}

.step-vertical:nth-child(2) {
    animation-delay: 0.3s;
}

.step-vertical:nth-child(3) {
    animation-delay: 0.5s;
}

.step-vertical:nth-child(4) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-vertical.reverse {
    direction: rtl;
}

.step-vertical.reverse>* {
    direction: ltr;
}

.step-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transition: transform 0.5s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.step-vertical:hover .step-image {
    transform: scale(1.05);
}

.step-content-vertical {
    padding: 20px;
}

.step-badge {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(242, 92, 92, 0.4);
}

.step-content-vertical h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.step-content-vertical p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

/* Steps Compact - Version avec une image */
.steps-compact {
    background: var(--dark);
    padding: 100px 0;
}

.steps-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.steps-image-main {
    height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-compact {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.step-compact:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(242, 92, 92, 0.3);
}

.step-number-compact {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.4s ease;
}

.step-compact:hover .step-number-compact {
    transform: rotate(360deg);
}

.step-text-compact h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 600;
}

.step-text-compact p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Products section */
.products-section {
    background: white;
    padding: 100px 0;
}

.products-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.products-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: scale(1.05);
}

.product-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* FAQ */
.faq-white {
    background: var(--light-gray);
    padding: 100px 0;
}

.faq-clean {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-clean {
    margin-bottom: 10px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    padding: 25px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-btn:hover {
    color: var(--primary-color);
}

.faq-plus {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item-clean.active .faq-plus {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item-clean.active .faq-content {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact sombre */
.contact-dark {
    background: var(--dark);
    padding: 100px 0;
}

.subtitle-white {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.form-clean {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-clean input,
.form-clean textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-clean input::placeholder,
.form-clean textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-clean input:focus,
.form-clean textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-clean textarea {
    margin-bottom: 20px;
    resize: vertical;
}

.btn-submit-clean {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-clean:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 92, 92, 0.4);
}

/* Footer */
.footer-clean {
    background: white;
    padding: 60px 0 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {

    /* Mobile Navigation */
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 70px;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }

    .container,
    .container-narrow {
        padding: 0 25px;
    }

    .hero-image-creator {
        height: 50vh;
    }

    .hero-image-creator h1 {
        font-size: 2.5rem;
    }

    .hero-small {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    /* Concept en colonne */
    .concept-visual {
        grid-template-columns: 1fr;
    }

    .concept-image {
        min-height: 300px;
    }

    .concept-text {
        padding: 60px 30px;
    }

    /* Scroll horizontal pour les cartes why */
    .why-scroll-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 0 0 30px 0;
        margin: 0 -25px;
        padding-left: 25px;
        padding-right: 25px;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none;
    }

    .why-scroll-container::-webkit-scrollbar {
        display: none;
    }

    /* Show scroll indicator on mobile */
    #why-indicator {
        display: flex;
    }

    .why-card {
        min-width: 80vw;
        max-width: 80vw;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    /* Steps compact responsive */
    .steps-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-image-main {
        height: 300px;
    }

    .step-compact {
        padding: 20px;
    }

    .step-text-compact h3 {
        font-size: 1.1rem;
    }

    .step-text-compact p {
        font-size: 0.95rem;
    }

    /* Steps en colonne */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card {
        height: 250px;
    }

    /* Steps vertical responsive */
    .step-vertical {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }

    .step-vertical.reverse {
        direction: ltr;
    }

    .step-image {
        height: 250px;
    }

    .step-content-vertical {
        padding: 10px;
    }

    .products-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-item {
        height: 200px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .intro-highlight {
        font-size: 1.6rem;
    }

    .section-title-white,
    .section-title-dark {
        font-size: 1.6rem;
        white-space: nowrap;
    }
}