/* ============================================================================
   TIPZ — Design System
   Style moderne et audacieux, inspiration startup tech
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Polices custom (Google Fonts)
   - Display : Bricolage Grotesque (caractère, moderne, distinctif)
   - Body : Plus Jakarta Sans (lisible, moderne)
   - Mono : JetBrains Mono (codes, chiffres)
   ---------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');


/* ----------------------------------------------------------------------------
   Variables CSS — système de design
   ---------------------------------------------------------------------------- */

:root {
    /* Couleurs primaires */
    --color-bg: #0a0a0f;
    --color-bg-soft: #13131a;
    --color-surface: #1c1c26;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.16);
    
    /* Couleurs textuelles */
    --color-text: #ededf2;
    --color-text-soft: #a8a8b8;
    --color-text-muted: #6b6b7d;
    
    /* Accent principal : violet électrique vibrant */
    --color-accent: #7c5cff;
    --color-accent-hover: #6b4eff;
    --color-accent-soft: rgba(124, 92, 255, 0.15);
    
    /* Accent secondaire : jaune/amber pour les récompenses */
    --color-amber: #ffc145;
    --color-amber-hover: #ffb01a;
    --color-amber-soft: rgba(255, 193, 69, 0.15);
    
    /* Accent tertiaire : rose/magenta pour highlights */
    --color-pink: #ff5ca8;
    --color-pink-soft: rgba(255, 92, 168, 0.15);
    
    /* États */
    --color-success: #4ade80;
    --color-warning: #fb923c;
    --color-error: #f87171;
    
    /* Typography */
    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-glow: 0 0 60px rgba(124, 92, 255, 0.4);
    --shadow-amber-glow: 0 0 40px rgba(255, 193, 69, 0.3);
}


/* ----------------------------------------------------------------------------
   Reset et base
   ---------------------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    
    /* Texture subtile en fond */
    background-image: 
        radial-gradient(at 20% 0%, rgba(124, 92, 255, 0.08) 0%, transparent 50%),
        radial-gradient(at 80% 100%, rgba(255, 92, 168, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Sélection de texte */
::selection {
    background: var(--color-accent);
    color: white;
}


/* ----------------------------------------------------------------------------
   Typography
   ---------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
    font-size: 1.5rem;
}

p {
    color: var(--color-text-soft);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-pink) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-amber {
    color: var(--color-amber);
}

.text-mono {
    font-family: var(--font-mono);
}


/* ----------------------------------------------------------------------------
   Container & Layout
   ---------------------------------------------------------------------------- */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

section {
    padding: var(--space-xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--space-lg) 0;
    }
}


/* ----------------------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------------------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}

.nav.scrolled {
    border-bottom-color: var(--color-border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: white;
    transition: transform var(--transition);
}

.nav__logo:hover {
    transform: translateY(-1px);
}

.nav__logo .dot {
    color: var(--color-accent);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-soft);
    transition: color var(--transition-fast);
}

.nav__link:hover {
    color: var(--color-text);
}

.nav__link.active {
    color: var(--color-text);
}

@media (max-width: 1024px) {
    .nav__menu {
        gap: 1.5rem;
    }
}

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

.nav__toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    color: var(--color-text);
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.nav__mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 99;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
}

.nav__mobile.open {
    transform: translateX(0);
}

.nav__mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nav__mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}


/* ----------------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 
                0 0 0 1px rgba(124, 92, 255, 0.5),
                0 8px 24px rgba(124, 92, 255, 0.25);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset,
                0 0 0 1px rgba(124, 92, 255, 0.6),
                0 12px 32px rgba(124, 92, 255, 0.4);
}

.btn--amber {
    background: var(--color-amber);
    color: #1a1500;
    box-shadow: 0 8px 24px rgba(255, 193, 69, 0.25);
}

.btn--amber:hover {
    background: var(--color-amber-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 193, 69, 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-strong);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn--xl {
    padding: 1.5rem 3rem;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
}


/* ----------------------------------------------------------------------------
   Hero Section
   ---------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Cercles glowing en background */
.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.hero__glow--1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.hero__glow--2 {
    width: 500px;
    height: 500px;
    background: var(--color-pink);
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

.hero__glow--3 {
    width: 400px;
    height: 400px;
    background: var(--color-amber);
    top: 50%;
    right: 30%;
    opacity: 0.2;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: var(--color-accent-soft);
    border: 1px solid rgba(124, 92, 255, 0.3);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero__badge .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(124, 92, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0); }
}

.hero__title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-soft);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

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


/* ----------------------------------------------------------------------------
   Stats / Compteur Founders
   ---------------------------------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--color-border);
    margin: 4rem auto 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 800px;
    border: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    background: var(--color-surface);
    padding: 2rem 1.5rem;
    text-align: center;
}

.stat__value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat__value.amber {
    color: var(--color-amber);
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}


/* ----------------------------------------------------------------------------
   Section : Comment ça marche
   ---------------------------------------------------------------------------- */

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section__description {
    font-size: 1.125rem;
    color: var(--color-text-soft);
}


.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.step {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.step:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124, 92, 255, 0.15);
}

.step__number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent-soft);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.step__icon {
    width: 56px;
    height: 56px;
    background: var(--color-accent-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
}

.step__title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.step__description {
    font-size: 0.9375rem;
    color: var(--color-text-soft);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}


/* ----------------------------------------------------------------------------
   Section : Pour qui (cards Pro / Recommandeur)
   ---------------------------------------------------------------------------- */

.audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .audience {
        grid-template-columns: 1fr;
    }
}

.audience__card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.audience__card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-4px);
}

.audience__card--pro {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.05) 0%, rgba(255, 92, 168, 0.03) 100%);
}

.audience__card--reco {
    background: linear-gradient(135deg, rgba(255, 193, 69, 0.05) 0%, rgba(255, 92, 168, 0.03) 100%);
}

.audience__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.audience__card--pro .audience__icon {
    background: var(--color-accent);
    color: white;
}

.audience__card--reco .audience__icon {
    background: var(--color-amber);
    color: #1a1500;
}

.audience__title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.audience__tagline {
    font-size: 1rem;
    color: var(--color-text-soft);
    margin-bottom: 2rem;
}

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

.audience__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--color-text-soft);
    font-size: 0.9375rem;
}

.audience__features li::before {
    content: "→";
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
}

.audience__card--reco .audience__features li::before {
    color: var(--color-amber);
}


/* ----------------------------------------------------------------------------
   Section : Témoignage / Citation
   ---------------------------------------------------------------------------- */

.quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.quote__mark {
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: -2rem;
    user-select: none;
}

.quote__text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.quote__author {
    font-size: 0.9375rem;
    color: var(--color-text-soft);
}

.quote__author strong {
    color: var(--color-text);
}


/* ----------------------------------------------------------------------------
   Section : FAQ
   ---------------------------------------------------------------------------- */

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.faq__question:hover {
    color: var(--color-accent);
}

.faq__icon {
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform var(--transition);
    font-size: 1.5rem;
    color: var(--color-accent);
}

.faq__item.open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq__answer-inner {
    padding: 1rem 0 0;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.faq__item.open .faq__answer {
    max-height: 1000px;
}


/* ----------------------------------------------------------------------------
   Forms
   ---------------------------------------------------------------------------- */

.form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .form {
        padding: 2rem 1.5rem;
    }
}

.form__title {
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.form__description {
    color: var(--color-text-soft);
    margin-bottom: 2.5rem;
}

.form__group {
    margin-bottom: 1.25rem;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form__row {
        grid-template-columns: 1fr;
    }
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form__label--required::after {
    content: " *";
    color: var(--color-accent);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--color-text-muted);
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3e%3cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23a8a8b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-soft);
}

.form__checkbox input {
    margin-top: 3px;
    accent-color: var(--color-accent);
    flex-shrink: 0;
}

.form__hint {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.form__submit {
    width: 100%;
    margin-top: 1rem;
}

/* États du formulaire */
.form__success,
.form__error {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    display: none;
}

.form__success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: var(--color-success);
}

.form__error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: var(--color-error);
}

.form__success.show,
.form__error.show {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

/* Honeypot anti-spam */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ----------------------------------------------------------------------------
   CTA Section
   ---------------------------------------------------------------------------- */

.cta {
    background: linear-gradient(135deg, var(--color-accent) 0%, #5d40e6 100%);
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    text-align: center;
    margin: 0 auto;
    max-width: 1100px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 69, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta__title {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
}

.cta__description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

@media (max-width: 768px) {
    .cta {
        padding: 3rem 1.5rem;
    }
}


/* ----------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------------- */

.footer {
    background: var(--color-bg-soft);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

.footer__brand .footer__logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer__brand .dot {
    color: var(--color-accent);
}

.footer__about {
    color: var(--color-text-soft);
    font-size: 0.9375rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer__title {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: var(--color-text-soft);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-text);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}


/* ----------------------------------------------------------------------------
   Utilities
   ---------------------------------------------------------------------------- */

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }


/* ----------------------------------------------------------------------------
   Animations on scroll (utilisable avec Intersection Observer)
   ---------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ----------------------------------------------------------------------------
   Sub-page hero (smaller than home hero)
   ---------------------------------------------------------------------------- */

.page-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
}

.page-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
}

.page-hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-soft);
    max-width: 700px;
    margin: 0 auto;
}


/* ============================================================================
   FIX MOBILE — Optimisation iPhone et petits écrans
   ============================================================================ */

/* Fix global : empêcher tout débordement horizontal */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

/* ---- Hero responsive ---- */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    
    .hero__badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.875rem;
        margin-bottom: 1.5rem;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
    
    .hero__title {
        font-size: clamp(2rem, 9vw, 3.5rem) !important;
        line-height: 1.1;
        word-break: break-word;
        hyphens: auto;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero__cta {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .hero__cta .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.9375rem;
        padding: 0.875rem 1.25rem;
    }
    
    /* Stats hero plus compactes */
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat__value {
        font-size: 1.5rem;
    }
    
    .stat__label {
        font-size: 0.75rem;
    }
}

/* ---- Très petits écrans (iPhone SE, etc.) ---- */
@media (max-width: 380px) {
    .hero__title {
        font-size: 1.875rem !important;
    }
    
    .hero__badge {
        font-size: 0.7rem;
        padding: 0.375rem 0.625rem;
    }
    
    .hero__subtitle {
        font-size: 0.9375rem;
    }
    
    .nav__logo {
        font-size: 1.25rem;
    }
}

/* ---- Container mobile-friendly ---- */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ---- Boutons CTA mobile-friendly ---- */
@media (max-width: 768px) {
    .cta__buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta__buttons .btn {
        width: 100%;
    }
    
    .btn--lg {
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
    }
}

/* ---- Sections génériques ---- */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .section__title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .section__description {
        font-size: 1rem;
    }
}

/* ---- Grilles responsives ---- */
@media (max-width: 768px) {
    /* Forcer les grilles à 1 colonne sur mobile */
    .audience,
    .steps {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
}

/* ---- Footer mobile ---- */
@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Bandeau Founder mobile ---- */
@media (max-width: 480px) {
    .founder-banner {
        font-size: 0.6875rem !important;
        padding: 0.5rem 0.75rem !important;
        line-height: 1.3;
    }
}


/* ============================================================================
   FIX — Page "Comment ça marche" centrage mobile
   ============================================================================ */

@media (max-width: 768px) {
    /* Étapes numérotées : passer en colonne sur mobile */
    .reveal[style*="display: flex"][style*="gap: 2rem"] {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }
    
    /* Le numéro étape devient plus petit et centré */
    .reveal[style*="display: flex"][style*="gap: 2rem"] > div:first-child {
        width: 48px !important;
        height: 48px !important;
        margin: 0 auto !important;
        font-size: 1.25rem !important;
    }
    
    /* Le texte prend toute la largeur pour bien centrer */
    .reveal[style*="display: flex"][style*="gap: 2rem"] > div:nth-child(2) {
        width: 100%;
    }
    
    /* Titres dans étapes : centrés sur mobile */
    .reveal[style*="display: flex"][style*="gap: 2rem"] h3 {
        text-align: center;
    }
}
