/*
═══════════════════════════════════════════════════════════════
ANVEN CONSULTING - STYLES CSS
Design System : Corporate dynamique + Chaleureux
Couleurs : Bleu électrique #3b82f6 + Vert croissance #10b981
═══════════════════════════════════════════════════════════════
*/

/* ========================================
   1. RESET CSS
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--bleu-nuit);
    background: white;
    overflow-x: hidden;
}

/* ========================================
   2. VARIABLES CSS (DESIGN SYSTEM)
======================================== */

:root {
    /* Couleurs principales */
    --bleu-nuit: #0f172a;
    --bleu-electrique: #3b82f6;
    --vert-croissance: #10b981;
    --gris-perle: #f8fafc;
    --blanc: #ffffff;

    /* Couleurs secondaires */
    --gris-moyen: #64748b;
    --gris-border: #e2e8f0;
    --bleu-hover: #2563eb;
    --vert-hover: #059669;

    /* Dégradés */
    --gradient-primary: linear-gradient(135deg, #3b82f6, #10b981);
    --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);
    --gradient-yellow: linear-gradient(135deg, #fef3c7, #fde68a);

    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Tailles de texte (Desktop) */
    --text-hero: 3.5rem;       /* 56px */
    --text-h2: 2.5rem;         /* 40px */
    --text-h3: 1.5rem;         /* 24px */
    --text-large: 1.25rem;     /* 20px */
    --text-base: 1.125rem;     /* 18px */
    --text-small: 0.875rem;    /* 14px */

    /* Poids */
    --weight-bold: 700;
    --weight-semibold: 600;
    --weight-medium: 500;
    --weight-regular: 400;

    /* Line-height */
    --leading-tight: 1.2;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* Espacements */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 4rem;     /* 64px */
    --space-3xl: 6rem;     /* 96px */

    /* Paddings sections */
    --section-padding-y: 6rem;
    --section-padding-x: 8%;

    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
}

/* ========================================
   3. STYLES GLOBAUX
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    color: var(--bleu-nuit);
}

h1 {
    font-size: var(--text-hero);
}

h2 {
    font-size: var(--text-h2);
}

h3 {
    font-size: var(--text-h3);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--bleu-electrique);
    transition: color 0.3s;
}

a:hover {
    color: var(--bleu-hover);
}

a:focus {
    outline: 2px solid var(--bleu-electrique);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

/* ========================================
   4. COMPOSANTS RÉUTILISABLES
======================================== */

/* Label */
.label {
    display: inline-block;
    font-size: var(--text-small);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--vert-croissance);
    margin-bottom: 1.5rem;
}

/* Gradient text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bouton primaire */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: var(--weight-bold);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white;
}

/* Bouton secondaire */
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 1.25rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-weight: var(--weight-semibold);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--vert-croissance);
    background: rgba(16, 185, 129, 0.1);
    color: white;
}

/* Cartes avec images en arrière-plan */
.card {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gris-border);
    transition: all 0.3s;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Overlay permanent sur les cartes */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    z-index: 1;
    transition: background 0.4s ease;
}

/* Overlay dégradé au hover */
.card:hover::before {
    background: linear-gradient(135deg,
                rgba(30, 58, 138, 0.85),
                rgba(16, 185, 129, 0.75));
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--bleu-electrique);
    box-shadow: var(--shadow-md);
}

/* ========================================
   5. NAVIGATION
======================================== */

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.25rem 8%;
    border-bottom: 1px solid var(--gris-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    padding: 0.875rem 8%;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    /* Logo PNG transparent - arrière-plan supprimé */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--gris-moyen);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--bleu-electrique);
}

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

.cta-nav {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--bleu-nuit);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========================================
   6. SECTION HERO
======================================== */

#hero {
    margin-top: 80px;
    padding: var(--space-3xl) var(--section-padding-x);
    background: var(--gradient-dark);
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

#hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: var(--text-large);
    color: rgba(255, 255, 255, 0.85);
    line-height: var(--leading-normal);
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--weight-bold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   7. SECTION PROBLÉMATIQUES
======================================== */

#problematiques {
    padding: var(--space-3xl) var(--section-padding-x);
    background: white;
}

.section-intro {
    max-width: var(--container-narrow);
    margin: 0 auto var(--space-3xl);
    text-align: center;
}

.section-intro h2 {
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: var(--text-large);
    color: var(--gris-moyen);
    line-height: var(--leading-relaxed);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Styles obsolètes supprimés : card-image et card-icon remplacés par background-image */

/* Contenu des cartes au-dessus de l'overlay */
.card > * {
    position: relative;
    z-index: 2;
}

.card h3 {
    margin-bottom: 1rem;
    color: white;
}

.card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.card-arrow {
    display: inline-block;
    font-size: var(--text-small);
    font-weight: var(--weight-semibold);
    color: rgba(16, 185, 129, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   8. SECTION APPROCHE
======================================== */

#approche {
    padding: var(--space-3xl) var(--section-padding-x);
    background: var(--gris-perle);
}

.approche-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.approche-content {
    margin-top: 2rem;
}

.approche-text {
    font-size: var(--text-base);
    color: var(--gris-moyen);
    line-height: var(--leading-relaxed);
    margin-bottom: 1.5rem;
}

.citation {
    background: white;
    padding: 2.5rem;
    border-left: 5px solid var(--vert-croissance);
    border-radius: var(--radius-md);
    font-size: var(--text-large);
    font-style: italic;
    color: var(--bleu-nuit);
    margin: 3rem 0;
    text-align: center;
}

.approche-methode h3 {
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.methode-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: var(--text-base);
    color: var(--gris-moyen);
    line-height: var(--leading-relaxed);
}

.methode-item strong {
    color: var(--bleu-electrique);
}

/* ========================================
   9. SECTION SERVICES
======================================== */

.services {
    padding: var(--space-3xl) var(--section-padding-x);
    background: linear-gradient(135deg, #fafafa 0%, #f8f9ff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Flip Card Container */
.flip-card {
    background: transparent;
    perspective: 1000px;
    height: 450px;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* Faces communes */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s;
}

.flip-card:hover .flip-card-front,
.flip-card:hover .flip-card-back {
    box-shadow: var(--shadow-lg);
}

/* RECTO (face avant) */
.flip-card-front {
    background: white;
    border: 2px solid var(--gris-border);
}

/* Images de service avec overlay */
.service-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px 16px 0 0;
    margin-bottom: 1.5rem;
}

/* Overlay pour cartes de service */
.flip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
                rgba(30, 58, 138, 0.85),
                rgba(16, 185, 129, 0.70));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.flip-card:hover::before {
    opacity: 1;
}

.flip-card-front h3 {
    font-size: 1.8rem;
    font-weight: var(--weight-bold);
    color: var(--bleu-nuit);
    margin-bottom: 1rem;
}

.service-subtitle {
    font-size: 1.1rem;
    color: var(--gris-moyen);
    margin-bottom: 2rem;
}

.flip-hint {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: var(--weight-semibold);
    color: var(--vert-croissance);
    margin-top: auto;
    padding-top: 2rem;
}

/* VERSO (face arrière) */
.flip-card-back {
    background: linear-gradient(135deg, var(--bleu-nuit), #1e293b);
    color: white;
    transform: rotateY(180deg);
    justify-content: flex-start;
    text-align: left;
    overflow-y: auto;
}

.flip-card-back h3 {
    font-size: 1.6rem;
    font-weight: var(--weight-bold);
    margin-bottom: 1rem;
    color: white;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-points {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-points li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.service-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--vert-croissance);
    font-weight: bold;
}

.service-meta {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.service-meta p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-meta p:last-child {
    margin-bottom: 0;
}

.btn-service {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: var(--weight-semibold);
    font-size: 0.95rem;
    transition: all 0.3s;
    margin-top: auto;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

.flip-back-hint {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    font-style: italic;
}

/* ========================================
   10. SECTION FONDATEUR
======================================== */

#fondateur {
    padding: var(--space-3xl) var(--section-padding-x);
    background: white;
}

.fondateur-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.fondateur-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.fondateur-photo {
    text-align: center;
}

.fondateur-photo img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    border: 4px solid white;
}

.photo-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: var(--weight-bold);
    color: white;
    margin: 0 auto;
}

.fondateur-bio h3 {
    font-size: var(--text-h2);
    margin-bottom: 0.5rem;
}

.fondateur-title {
    font-size: var(--text-large);
    color: var(--bleu-electrique);
    font-weight: var(--weight-semibold);
    margin-bottom: 2rem;
}

.fondateur-bio p {
    color: var(--gris-moyen);
    margin-bottom: 1.5rem;
    line-height: var(--leading-relaxed);
}

.certifications {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.cert-item {
    background: var(--gris-perle);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: var(--text-small);
    font-weight: var(--weight-medium);
}

/* ========================================
   10. SECTION PODCAST
======================================== */

#podcast {
    padding: var(--space-3xl) var(--section-padding-x);
    background: var(--gris-perle);
}

.podcast-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.podcast-content {
    margin-top: 2rem;
    text-align: center;
}

.podcast-text {
    font-size: var(--text-base);
    color: var(--gris-moyen);
    line-height: var(--leading-relaxed);
    margin-bottom: 2rem;
}

.podcast-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem 0;
}

.podcast-stat {
    text-align: center;
}

.podcast-stat .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: var(--weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.podcast-stat .stat-label {
    font-size: var(--text-small);
    color: var(--gris-moyen);
}

.podcast-description {
    font-size: var(--text-base);
    color: var(--gris-moyen);
    line-height: var(--leading-relaxed);
    margin-bottom: 2rem;
}

.podcast-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.podcast-btn {
    background: white;
    color: var(--bleu-nuit);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: var(--weight-semibold);
    font-size: 0.95rem;
    border: 2px solid var(--gris-border);
    transition: all 0.3s;
}

.podcast-btn:hover {
    border-color: var(--bleu-electrique);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: var(--bleu-electrique);
}

/* ========================================
   11. SECTION LEAD MAGNET
======================================== */

#lead-magnet {
    padding: var(--space-2xl) var(--section-padding-x);
    background: var(--gradient-yellow);
    border-top: 3px solid #f59e0b;
    border-bottom: 3px solid #f59e0b;
}

.lead-magnet-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
    text-align: center;
}

#lead-magnet h2 {
    font-size: var(--text-h2);
    margin-bottom: 1rem;
}

.lead-magnet-subtitle {
    font-size: var(--text-base);
    color: var(--gris-moyen);
    margin-bottom: 2rem;
}

.lead-form {
    display: flex;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.lead-form input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border: 2px solid #fbbf24;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-family: var(--font-primary);
    background: white;
}

.lead-form input:focus {
    outline: none;
    border-color: var(--bleu-electrique);
}

.btn-lead {
    padding: 1rem 2.5rem;
    background: var(--bleu-electrique);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-weight: var(--weight-bold);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-lead:hover {
    background: var(--bleu-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.lead-magnet-rgpd {
    font-size: var(--text-small);
    color: var(--gris-moyen);
}

/* ========================================
   12. SECTION SOCIAL PROOF (Masquée)
======================================== */

#social-proof {
    padding: var(--space-3xl) var(--section-padding-x);
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container-max);
    margin: 3rem auto;
}

.testimonial {
    background: var(--gris-perle);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gris-border);
}

.testimonial-quote {
    font-size: var(--text-base);
    font-style: italic;
    color: var(--gris-moyen);
    line-height: var(--leading-relaxed);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--weight-bold);
}

.author-name {
    font-weight: var(--weight-semibold);
    color: var(--bleu-nuit);
}

.author-title {
    font-size: var(--text-small);
    color: var(--gris-moyen);
}

.social-proof-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   13. SECTION CTA FINAL
======================================== */

#cta-final {
    padding: var(--space-3xl) var(--section-padding-x);
    background: var(--gradient-dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta-final::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-final-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

#cta-final h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-final-text {
    font-size: var(--text-large);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.btn-cta-final {
    display: inline-block;
    background: white;
    color: var(--bleu-electrique);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: var(--weight-bold);
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-cta-final:hover {
    background: var(--vert-croissance);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   14. SECTION CONTACT
======================================== */

#contact {
    padding: var(--space-3xl) var(--section-padding-x);
    background: var(--gris-perle);
}

.contact-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

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

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gris-border);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gris-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--bleu-electrique);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-contact {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-weight: var(--weight-bold);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.form-note {
    font-size: var(--text-small);
    color: var(--gris-moyen);
    text-align: center;
    margin-top: 1rem;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gris-border);
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    flex-shrink: 0;
}

.contact-label {
    font-weight: var(--weight-semibold);
    color: var(--bleu-nuit);
    margin-bottom: 0.25rem;
}

.contact-details {
    flex: 1;
}

.contact-details a {
    color: var(--bleu-electrique);
}

.contact-podcast-invite {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gris-border);
}

.contact-podcast-invite h4 {
    margin-bottom: 1rem;
}

.contact-podcast-invite p {
    font-size: var(--text-base);
    color: var(--gris-moyen);
}

/* ========================================
   15. FOOTER
======================================== */

#footer {
    padding: var(--space-2xl) var(--section-padding-x) var(--space-lg);
    background: var(--bleu-nuit);
    color: rgba(255, 255, 255, 0.7);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 35px;
    width: auto;
    margin-bottom: 1rem;
    /* filter: brightness(0) invert(1); - Retiré pour logo JPG */
}

.footer-tagline {
    font-size: var(--text-small);
    line-height: var(--leading-normal);
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-small);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--vert-croissance);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: var(--text-small);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: var(--vert-croissance);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-copyright {
    font-size: var(--text-small);
}

/* ========================================
   16. PAGES LÉGALES
======================================== */

.legal-page {
    margin-top: 80px;
    padding: var(--space-3xl) var(--section-padding-x);
    min-height: 70vh;
}

.legal-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.legal-container h1 {
    margin-bottom: 2rem;
}

.legal-container h2 {
    font-size: var(--text-h3);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bleu-electrique);
}

.legal-container section {
    margin-bottom: 2rem;
}

.legal-container ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-container li {
    margin-bottom: 0.5rem;
    color: var(--gris-moyen);
}

.legal-footer {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gris-border);
}

.legal-footer a {
    color: var(--bleu-electrique);
    font-weight: var(--weight-semibold);
}

/* ========================================
   17. ANIMATIONS
======================================== */

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

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ========================================
   18. MESSAGES DE SUCCÈS/ERREUR
======================================== */

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid #10b981;
    text-align: center;
    font-weight: var(--weight-semibold);
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid #ef4444;
    text-align: center;
    font-weight: var(--weight-semibold);
}

/* ========================================
   19. RESPONSIVE MOBILE (<768px)
======================================== */

@media (max-width: 768px) {
    /* Variables responsive */
    :root {
        --text-hero: 2.5rem;       /* 40px */
        --text-h2: 1.875rem;       /* 30px */
        --text-h3: 1.25rem;        /* 20px */
        --text-large: 1.125rem;    /* 18px */
        --text-base: 1rem;         /* 16px */
        --section-padding-y: 4rem;
        --section-padding-x: 5%;
    }

    /* Navigation mobile */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        left: 0;
    }

    .cta-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero mobile */
    #hero {
        min-height: auto;
        padding: 4rem 5%;
    }

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

    .hero-ctas {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Cartes mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Images des cartes mobile */
    .card {
        min-height: 250px;
        padding: 2rem 1.5rem;
    }

    /* Fondateur mobile */
    .fondateur-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fondateur-photo img {
        width: 180px;
        height: 180px;
    }

    .photo-placeholder {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }

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

    /* Services mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .flip-card {
        height: auto;
        min-height: 400px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 2rem 1.5rem;
    }

    /* Images de service mobile */
    .service-image {
        height: 250px;
        border-radius: 12px 12px 0 0;
    }

    /* .service-icon supprimé - remplacé par .service-image */

    .flip-card-front h3 {
        font-size: 1.5rem;
    }

    /* Podcast mobile */
    .podcast-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .podcast-links {
        flex-direction: column;
    }

    .podcast-btn {
        width: 100%;
        text-align: center;
    }

    /* Lead magnet mobile */
    .lead-form {
        flex-direction: column;
    }

    .lead-form input {
        width: 100%;
    }

    /* Contact mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-group {
        grid-template-columns: 1fr;
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Footer mobile */
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
    }
}

/* ========================================
   20. ACCESSIBILITÉ
======================================== */

/* Focus visible pour navigation clavier */
*:focus {
    outline: 2px solid var(--bleu-electrique);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--bleu-electrique);
    outline-offset: 2px;
}

/* Amélioration lisibilité */
::selection {
    background: var(--bleu-electrique);
    color: white;
}

/* Amélioration contraste liens */
a:focus-visible {
    outline: 3px solid var(--bleu-electrique);
    outline-offset: 3px;
}

/* ========================================
   FIN DU FICHIER CSS
======================================== */
