/* ===========================
   Variables CSS - Charte Boweur V3
   =========================== */
:root {
    /* Couleurs Boweur */
    --color-red: #E6371A;
    --color-yellow: #FFD028;
    --color-green: #142B05;
    --color-white: #ffffff;
    --color-creme: #f8f7f4;
    
    /* Dérivées */
    --text-primary: var(--color-green);
    --text-secondary: rgba(20, 43, 5, 0.75);
    --text-light: rgba(20, 43, 5, 0.6);
    
    --border-color: rgba(20, 43, 5, 0.12);
    --shadow-sm: 0 2px 4px rgba(20, 43, 5, 0.06);
    --shadow-md: 0 4px 8px rgba(20, 43, 5, 0.08);
    --shadow-lg: 0 8px 16px rgba(20, 43, 5, 0.1);
    --shadow-xl: 0 12px 24px rgba(20, 43, 5, 0.12);
    
    --transition: all 0.3s ease;
    --border-radius: 16px;
}

/* ===========================
   Reset & Base
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--color-white);
    overflow-x: hidden;
    min-width: 320px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lilita One', cursive;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 28px;
}

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

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

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.container-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* ===========================
   Progress Bar
   =========================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-red);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ===========================
   Navigation V3 - Flottante
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    min-height: 80px;
}

.navbar.hidden {
    transform: translateY(-120%);
    opacity: 0;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo gauche */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
}

.logo-img {
    width: 64px;
    height: 64px;
    min-width: 48px;
    min-height: 48px;
    object-fit: contain;
}

.nav-brand .logo {
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
    font-family: 'Lilita One', cursive;
    white-space: nowrap;
}

.logo-red {
    color: var(--color-red);
}

.logo-yellow {
    color: var(--color-yellow);
}

/* Menu flottant centre avec effet verre */
.nav-menu-floating {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3px 8px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(20, 43, 5, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-menu-floating a {
    padding: 10px 20px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 15px;
    border-radius: 30px;
}

.nav-menu-floating a:hover {
    background: rgba(230, 55, 26, 0.08);
    color: var(--color-red);
}

/* CTA droite */
.btn-cta-nav {
    padding: 12px 28px;
    background: var(--color-red);
    color: white !important;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    font-size: 15px;
    white-space: nowrap;
    min-width: fit-content;
}

.btn-cta-nav:hover {
    background: #ff4d2e;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    z-index: 10;
}

.burger-menu svg {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 106px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    padding: 24px;
}

.mobile-menu li {
    margin-bottom: 16px;
}

.mobile-link {
    display: block;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--color-red);
    background: rgba(230, 55, 26, 0.05);
}

.mobile-link.mobile-cta {
    background: var(--color-red);
    color: white !important;
    font-weight: 600;
    text-align: center;
    padding: 14px 20px;
    margin-top: 8px;
}

.mobile-link.mobile-cta:hover {
    background: #ff4d2e;
    transform: scale(1.02);
}

/* ===========================
   Buttons - Uniformes carrés arrondis
   =========================== */
.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
    background: var(--color-red);
    color: white !important;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #ff4d2e;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--color-red);
}

.btn-outline:hover {
    background: var(--color-red);
    color: white !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 40px;
    font-size: 17px;
}

.full-width {
    width: 100%;
}

/* ===========================
   Sections - Blanc et Crème
   =========================== */
section {
    padding: 120px 0;
}

.white-section {
    background: var(--color-white);
}

.cream-section {
    background: var(--color-creme);
}

.section-header {
    margin-bottom: 80px;
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 16px auto 0;
}

.lead {
    font-size: 19px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ===========================
   Animations - Fade in + montée subtile
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left,
.slide-in-right {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
}

/* Décalage progressif pour effet cascade */
.slide-in-right {
    animation-delay: 0.15s;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    padding-top: 100px;
    background: var(--color-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-text {
    padding-right: 20px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 16px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Lilita One', cursive;
    margin-bottom: 4px;
}

.stat-label {
    font-size: clamp(14px, 1.2vw, 17px);
    color: var(--text-secondary);
}

.hero-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: calc(100vh - 140px);
}

#hero-canvas {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.animation-placeholder-hero {
    width: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(230, 55, 26, 0.05), rgba(255, 208, 40, 0.05));
    border-radius: 24px;
}

.animation-placeholder-hero .placeholder-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.animation-placeholder-hero strong {
    color: var(--color-red);
    font-size: 16px;
}

.animation-placeholder-hero .small-text,
.small-text {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
}

/* ===========================
   Section Concept - Nouveau design 3 colonnes
   =========================== */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
    margin-top: clamp(32px, 4vw, 48px);
    align-items: stretch;
}

.concept-pair {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vw, 16px);
    position: relative;
}

/* Numéro d'étape */
.concept-step-number {
    width: 36px;
    height: 36px;
    background: var(--color-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 8px;
}

/* Cartes de même taille */
.problem-card-new,
.solution-card-new {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
    border-radius: 20px;
    padding: clamp(24px, 3vw, 36px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Carte Problème */
.problem-card-new {
    background: white;
    box-shadow: 0 4px 16px rgba(20, 43, 5, 0.08);
}

.problem-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(20, 43, 5, 0.12);
}

.problem-card-new h3 {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.problem-card-new p {
    font-size: clamp(14px, 1.2vw, 15px);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Carte Solution Boweur - Fond jaune */
.solution-card-new {
    background: var(--color-yellow);
    box-shadow: 0 4px 16px rgba(255, 208, 40, 0.3);
}

.solution-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 208, 40, 0.4);
}

.solution-card-new h3 {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--color-green);
    margin-bottom: 8px;
    font-weight: 600;
}

.solution-card-new p {
    font-size: clamp(14px, 1.2vw, 15px);
    color: var(--color-green);
    line-height: 1.5;
    margin: 0;
    opacity: 0.85;
}

/* Pastille Boweur en bas à droite */
.boweur-badge {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.boweur-badge-text {
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: 'Lilita One', cursive;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.boweur-badge-text .bow {
    color: var(--color-red);
}

.boweur-badge-text .eur {
    color: var(--color-yellow);
}

.badge-check {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 700;
    color: #4CAF50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
}

.feature-item {
    display: flex;
    gap: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(28px, 3vw, 44px);
    align-items: start;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon-simple {
    font-size: clamp(40px, 3.5vw, 52px);
    flex-shrink: 0;
    opacity: 0.9;
}

.feature-title {
    font-size: clamp(22px, 2vw, 28px);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===========================
   Deux Piliers
   =========================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 3vw, 48px);
}

.pillar {
    background: var(--color-creme);
    border-radius: 24px;
    padding: clamp(32px, 3vw, 48px) clamp(28px, 2.5vw, 40px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pillar-animation {
    margin-bottom: clamp(20px, 2vw, 32px);
}

.animation-placeholder-clean {
    width: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(230, 55, 26, 0.04);
    border-radius: 20px;
    padding: clamp(24px, 2vw, 40px) 20px;
}

.animation-placeholder-clean .placeholder-icon {
    font-size: clamp(56px, 5vw, 72px);
    margin-bottom: 16px;
}

.animation-placeholder-clean strong {
    color: var(--color-red);
    font-size: 14px;
}

/* Coverflow Carousel - Effet 3D moderne */
.coverflow-carousel {
    position: relative;
    width: 100%;
    height: 380px;
    perspective: 1000px;
    overflow: visible;
}

.coverflow-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coverflow-slide {
    position: absolute;
    width: 200px;
    height: 360px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.coverflow-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Position centrale - carte active */
.coverflow-slide.active {
    z-index: 10;
    transform: translateX(0) scale(1);
    box-shadow: 0 20px 60px rgba(230, 55, 26, 0.25);
}

/* Carte précédente - à gauche */
.coverflow-slide.prev {
    z-index: 5;
    transform: translateX(-140px) scale(0.75) rotateY(15deg);
    opacity: 0.7;
    filter: brightness(0.9);
}

/* Carte suivante - à droite */
.coverflow-slide.next {
    z-index: 5;
    transform: translateX(140px) scale(0.75) rotateY(-15deg);
    opacity: 0.7;
    filter: brightness(0.9);
}

/* Cartes cachées */
.coverflow-slide.hidden-left {
    z-index: 1;
    transform: translateX(-250px) scale(0.5) rotateY(25deg);
    opacity: 0;
    pointer-events: none;
}

.coverflow-slide.hidden-right {
    z-index: 1;
    transform: translateX(250px) scale(0.5) rotateY(-25deg);
    opacity: 0;
    pointer-events: none;
}

/* Hover sur cartes latérales */
.coverflow-slide.prev:hover,
.coverflow-slide.next:hover {
    opacity: 0.9;
    filter: brightness(1);
}

/* Responsive coverflow */
@media (max-width: 768px) {
    .coverflow-carousel {
        height: 320px;
    }

    .coverflow-slide {
        width: 160px;
        height: 290px;
    }

    .coverflow-slide.prev {
        transform: translateX(-100px) scale(0.7) rotateY(12deg);
    }

    .coverflow-slide.next {
        transform: translateX(100px) scale(0.7) rotateY(-12deg);
    }

    .coverflow-slide.hidden-left {
        transform: translateX(-180px) scale(0.5) rotateY(20deg);
    }

    .coverflow-slide.hidden-right {
        transform: translateX(180px) scale(0.5) rotateY(-20deg);
    }
}

.pillar-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-red);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
}

.pillar h3 {
    font-size: clamp(24px, 2vw, 30px);
    margin-bottom: 14px;
    color: var(--text-primary);
}

.pillar-description {
    color: var(--text-secondary);
    margin-bottom: clamp(20px, 2vw, 28px);
    line-height: 1.7;
    font-size: clamp(14px, 1vw, 15px);
}

.pillar-features {
    list-style: none;
}

.pillar-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: clamp(13px, 1vw, 15px);
}

.pillar-features li:last-child {
    border-bottom: none;
}

/* ===========================
   Tableaux de pricing - Piliers
   =========================== */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(13px, 1vw, 15px);
    margin-top: 8px;
}

.pricing-table thead th {
    text-align: center;
    padding: 12px 8px;
    font-weight: 600;
    font-size: clamp(12px, 0.9vw, 14px);
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.pricing-table thead th:first-child {
    text-align: left;
}

.pricing-table tbody td {
    padding: 14px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-secondary);
}

.pricing-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

/* Colonne Testeur Bêta - fond jaune transparent */
.pricing-table .beta-col {
    background-color: rgba(255, 208, 40, 0.2);
}

.pricing-table thead th.beta-col {
    background-color: rgba(255, 208, 40, 0.3);
    border-radius: 8px 8px 0 0;
}

.pricing-table tbody tr:last-child td.beta-col {
    border-radius: 0 0 8px 8px;
}

/* Indicateurs de statut */
.pricing-table .check {
    color: #4CAF50;
    font-weight: 700;
    font-size: 18px;
}

.pricing-table .limited {
    color: #FF9800;
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 500;
}

.pricing-table .unavailable {
    color: var(--text-light);
    font-size: 16px;
}

/* ===========================
   Comment ça marche - avec WebM
   =========================== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

.step {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.step-number {
    width: clamp(56px, 5vw, 70px);
    height: clamp(56px, 5vw, 70px);
    background: var(--color-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    margin: 0 auto clamp(16px, 2vw, 28px);
    box-shadow: var(--shadow-lg);
    font-family: 'Lilita One', cursive;
}

.step-animation-small {
    margin-bottom: clamp(16px, 2vw, 24px);
    border-radius: 16px;
    overflow: visible;
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    transition: transform 0.3s ease;
}

.step-animation-small.playing {
    transform: scale(1.08);
}

/* Canvas Rive pour animations */
.step-canvas {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    filter: drop-shadow(0 4px 12px rgba(20, 43, 5, 0.15));
}

.animation-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(230, 55, 26, 0.04);
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
}

.icon-small {
    font-size: clamp(40px, 4vw, 56px);
}

.step > h3 {
    font-size: clamp(18px, 1.5vw, 22px);
    margin-bottom: 8px;
    color: var(--text-primary);
    min-height: 1.3em;
    order: 2;
}

.step > p {
    color: var(--text-secondary);
    font-size: clamp(13px, 1vw, 14px);
    min-height: 2.8em;
    order: 3;
}

.step-number {
    order: 1;
}

.step-animation-small {
    order: 4;
}

/* ===========================
   Démo Section
   =========================== */
.demo-container {
    background: var(--color-creme);
    border-radius: 24px;
    padding: 56px;
    box-shadow: var(--shadow-sm);
}

.demo-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.demo-intro h2 {
    margin-bottom: 18px;
}

.demo-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.flutter-embed {
    margin: 56px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.flutter-placeholder {
    background: var(--color-green);
    padding: 80px 40px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flutter-placeholder-content {
    text-align: center;
    color: white;
}

.flutter-placeholder-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.flutter-placeholder-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
    margin: 16px 0;
    font-size: 13px;
}

.demo-feedback {
    text-align: center;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.demo-feedback p {
    margin-bottom: 32px;
    font-size: 16px;
}

/* ===========================
   Section Testeurs
   =========================== */
.beta-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-yellow);
    color: var(--color-green);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

/* Avantages en grille */
.beta-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
    margin-bottom: clamp(48px, 5vw, 80px);
}

.advantage-card {
    background: white;
    padding: clamp(28px, 3vw, 40px);
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    font-size: clamp(36px, 3vw, 48px);
    margin-bottom: 16px;
    display: block;
}

.advantage-card h4 {
    font-size: clamp(17px, 1.4vw, 20px);
    margin-bottom: 8px;
    color: var(--text-primary);
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: clamp(13px, 1vw, 14px);
}

/* 3 colonnes : Qui sommes-nous | Formulaire | Pacte */
.beta-content-grid-3cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: clamp(24px, 3vw, 40px);
    align-items: stretch;
    margin-bottom: clamp(60px, 6vw, 100px);
}

.beta-content-grid-3cols > * {
    min-width: 0;
    overflow: hidden;
}

/* Le pacte testeur */
.tester-pact {
    background: white;
    padding: clamp(28px, 3vw, 40px);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tester-pact h3 {
    font-size: clamp(22px, 2vw, 28px);
    margin-bottom: 12px;
    text-align: center;
    color: var(--text-primary);
}

.pact-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: clamp(13px, 1vw, 15px);
    margin-bottom: clamp(24px, 2.5vw, 32px);
}

.pact-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2vw, 28px);
    flex: 1;
}

.pact-section {
    background: var(--color-creme);
    padding: clamp(16px, 1.5vw, 24px);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.pact-section h4 {
    font-size: clamp(15px, 1.3vw, 18px);
    color: var(--color-green);
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-align: center;
}

.pact-list {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.pact-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    flex: 1;
    padding: 10px 5px;
    font-size: clamp(13px, 1.1vw, 15px);
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pact-list li:last-child {
    border-bottom: none;
}

.pact-icon {
    font-size: clamp(22px, 2vw, 28px);
    flex-shrink: 0;
    line-height: 1;
}

.pact-reassurance {
    text-align: center;
    font-size: clamp(12px, 1vw, 14px);
    color: var(--text-light);
    margin-top: clamp(20px, 2.5vw, 32px);
    padding-top: clamp(16px, 2vw, 24px);
    border-top: 1px solid var(--border-color);
    font-style: italic;
}

/* Formulaire avec barres de couleur */
.beta-form {
    background: white;
    border-radius: 24px;
    padding: clamp(28px, 3vw, 44px);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

/* Barres de couleur verticales sur le formulaire */
.form-color-bars {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    gap: 0;
}

.form-color-bars .bar-red {
    width: 6px;
    height: 100%;
    background: var(--color-red);
}

.form-color-bars .bar-yellow {
    width: 6px;
    height: 100%;
    background: var(--color-yellow);
}

.form h3 {
    font-size: clamp(24px, 2vw, 30px);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form > p {
    color: var(--text-secondary);
    margin-bottom: clamp(20px, 2vw, 32px);
    font-size: clamp(14px, 1vw, 15px);
}

.form-group {
    margin-bottom: clamp(16px, 1.5vw, 24px);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: clamp(13px, 1vw, 14px);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: clamp(12px, 1vw, 14px) clamp(12px, 1vw, 16px);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: clamp(14px, 1vw, 15px);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(230, 55, 26, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.form-group.checkbox label {
    display: flex;
    align-items: start;
    gap: 10px;
    font-weight: 400;
}

.form-group.checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.phone-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: var(--transition);
}

.phone-input-group:focus-within {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(230, 55, 26, 0.08);
}

.phone-country-select {
    width: 70px !important;
    min-width: 70px;
    max-width: 70px;
    padding: 12px 8px 12px 10px;
    border: none;
    border-right: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 14px;
    background: var(--color-creme);
    cursor: pointer;
    text-align: left;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 10px;
}

.phone-country-select:focus {
    outline: none;
}

.phone-input-group input[type="tel"] {
    flex: 1;
    width: auto !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 14px !important;
}

.phone-input-group input[type="tel"]:focus {
    outline: none;
    box-shadow: none !important;
}

.form-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 20px;
}

.form-success h3 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.form-success p {
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* Qui sommes-nous */
.team-intro {
    background: white;
    padding: clamp(28px, 3vw, 40px);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
}

.team-intro h3 {
    font-size: clamp(22px, 2vw, 28px);
    margin-bottom: clamp(16px, 2vw, 24px);
    color: var(--text-primary);
}

.team-mission {
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.7;
    margin-bottom: clamp(24px, 3vw, 32px);
    color: var(--text-primary);
}

/* Photo équipe avec bordure alternée rouge/jaune */
.team-photo-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto clamp(20px, 2.5vw, 28px);
    border-radius: 16px;
    padding: 5px;
    background: linear-gradient(90deg, var(--color-red) 50%, var(--color-yellow) 50%);
}

.team-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.team-photos-horizontal {
    display: flex;
    gap: clamp(32px, 4vw, 48px);
    justify-content: center;
    margin-bottom: clamp(24px, 3vw, 32px);
    flex: 1;
    align-items: center;
}

.team-member {
    text-align: center;
}

.photo-placeholder {
    width: clamp(90px, 8vw, 110px);
    height: clamp(90px, 8vw, 110px);
    background: var(--color-creme);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 3px solid var(--border-color);
}

.photo-placeholder span {
    font-size: clamp(32px, 3vw, 40px);
}

.member-name {
    font-weight: 600;
    font-size: clamp(13px, 1.1vw, 15px);
    color: var(--text-primary);
}

.team-call {
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: clamp(20px, 2.5vw, 28px);
    background: var(--color-creme);
    padding: clamp(16px, 1.5vw, 20px);
    border-radius: 12px;
}

/* Badges de confiance verticaux */
.trust-badges-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: clamp(20px, 2.5vw, 28px);
    border-top: 1px solid var(--border-color);
}

.trust-badges-vertical .trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(11px, 0.9vw, 13px);
    color: var(--text-secondary);
}

.trust-badges-vertical .trust-icon {
    font-size: clamp(14px, 1.2vw, 16px);
}

/* Badges de confiance horizontaux (ancien) */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2vw, 32px);
    margin-top: clamp(24px, 3vw, 36px);
    padding-top: clamp(20px, 2vw, 28px);
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(12px, 1vw, 14px);
    color: var(--text-secondary);
}

.trust-icon {
    font-size: clamp(18px, 1.5vw, 22px);
}

.trust-text {
    font-weight: 500;
}

/* Icônes avantages - placeholder pour images personnalisées */
.advantage-icon-placeholder {
    width: clamp(48px, 4vw, 64px);
    height: clamp(48px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: clamp(32px, 3vw, 44px);
}

.advantage-icon-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===========================
   Testimonials
   =========================== */
.testimonials {
    margin-top: clamp(40px, 4vw, 60px);
}

.testimonials-title {
    text-align: center;
    font-size: clamp(32px, 3vw, 40px);
    margin-bottom: clamp(36px, 4vw, 56px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2vw, 32px);
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: clamp(24px, 2vw, 32px) clamp(20px, 2vw, 28px);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-red);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    font-size: clamp(22px, 1.8vw, 26px);
    margin-bottom: 12px;
    color: var(--color-yellow);
}

.testimonial-text {
    font-size: clamp(14px, 1vw, 15px);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    font-size: clamp(13px, 1vw, 14px);
    color: var(--text-light);
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: clamp(14px, 1vw, 15px);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--color-green);
    color: white;
    padding: clamp(40px, 4vw, 60px) 0 clamp(24px, 2vw, 32px);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(40px, 5vw, 80px);
    margin-bottom: clamp(32px, 3vw, 48px);
}

.footer-brand h3 {
    font-size: clamp(22px, 2vw, 26px);
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(13px, 1vw, 14px);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 48px);
}

.footer-column h4 {
    font-size: clamp(14px, 1vw, 15px);
    margin-bottom: clamp(12px, 1.5vw, 18px);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    transition: var(--transition);
    font-size: clamp(13px, 1vw, 14px);
}

.footer-column a:hover {
    color: var(--color-yellow);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(20px, 2vw, 28px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(12px, 1vw, 13px);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1200px) {
    .nav-menu-floating {
        gap: 4px;
        padding: 10px 12px;
    }
    
    .nav-menu-floating a {
        padding: 8px 14px;
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .container-full,
    .container-hero,
    .nav-container {
        padding: 0 24px;
    }

    .nav-menu-floating {
        display: none;
    }

    .btn-cta-nav {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .pillars-grid,
    .beta-content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-title {
        white-space: normal;
    }

    .hero-animation {
        max-height: calc(100vh - 160px);
    }

    /* Nouveau concept - tablette : 3 colonnes maintenues */
    .concept-grid {
        gap: 20px;
    }

    .problem-card-new,
    .solution-card-new {
        padding: 20px;
    }

    .feature-item {
        margin-bottom: 36px;
    }

    .feature-icon-simple {
        font-size: 48px;
    }

    .feature-title {
        font-size: 24px;
    }

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

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .container-full,
    .container-hero,
    .nav-container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-text {
        padding-right: 0;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-animation {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 38px;
        white-space: normal;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-cta {
        gap: 12px;
        margin-top: 32px;
        margin-bottom: 40px;
    }

    .hero-cta .btn-large {
        padding: 14px 20px;
        font-size: 14px;
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .hero-stats {
        gap: 40px;
        margin-left: 0;
        justify-content: center;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 14px;
    }

    .hero-animation {
        width: 100%;
        height: auto;
        margin-top: 40px;
    }

    #hero-canvas {
        width: 100%;
        height: auto;
        max-width: 500px;
    }

    /* Nouveau concept - mobile : 1 colonne */
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .concept-pair {
        gap: 12px;
    }

    .problem-card-new,
    .solution-card-new {
        padding: 20px;
    }

    .problem-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .problem-card-new h3 {
        font-size: 18px;
    }

    .problem-card-new p {
        font-size: 14px;
    }

    .solution-card-new h4 {
        font-size: 17px;
    }

    .solution-card-new p {
        font-size: 14px;
    }

    .boweur-badge {
        font-size: 12px;
        padding: 5px 12px;
    }

    .badge-icon {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .feature-item {
        margin-bottom: 32px;
    }

    .feature-icon-simple {
        font-size: 44px;
    }

    .feature-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .feature-item p {
        font-size: 15px;
    }

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

    h2 {
        font-size: 32px;
    }

    .team-photos-vertical,
    .team-photos-horizontal {
        flex-direction: column;
        align-items: center;
    }

    .demo-container,
    .beta-form,
    .team-intro,
    .tester-pact {
        padding: 28px 20px;
    }

    .testimonials-grid,
    .beta-advantages-grid {
        grid-template-columns: 1fr;
    }

    .beta-content-grid-3cols {
        grid-template-columns: 1fr;
    }

    .beta-content-grid-3cols .team-intro {
        order: 3;
    }

    .beta-content-grid-3cols .beta-form {
        order: 1;
    }

    .beta-content-grid-3cols .tester-pact {
        order: 2;
    }

    .pact-two-cols {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .trust-badges-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 44px;
        height: 44px;
    }

    .nav-brand .logo {
        font-size: 26px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-cta {
        gap: 10px;
    }

    .hero-cta .btn-large {
        padding: 12px 16px;
        font-size: 13px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat {
        flex: 1 1 45%;
        text-align: center;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 13px;
    }

    .carousel-wrapper-cards {
        min-height: 300px;
    }

    .carousel-indicators-on-cards {
        bottom: 20px;
    }

    .card {
        padding: 32px 24px 70px 24px;
    }

    .card:hover {
        transform: scale(1.02);
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ===========================
   Utilities
   =========================== */
.hidden {
    display: none !important;
}

/* ===========================
   Page Blog - Nouveau design
   =========================== */
.blog-main {
    padding-top: 100px;
}

.blog-hero-compact {
    padding: 40px 0 20px;
}

.blog-hero-compact h1 {
    font-size: clamp(32px, 4vw, 48px);
    text-align: center;
}

.blog-categories-compact {
    padding: 20px 0;
}

.categories-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.category-tab {
    background: white;
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover {
    border-color: var(--color-red);
    color: var(--color-red);
}

.category-tab.active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: white;
}

/* Grille d'articles */
.blog-articles-new {
    padding: 40px 0 60px;
}

.articles-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Carte article - fond blanc */
.article-card-new {
    background: white;
    border-radius: 20px;
    padding: clamp(24px, 3vw, 32px);
    box-shadow: 0 4px 16px rgba(20, 43, 5, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.article-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(20, 43, 5, 0.12);
}

/* Tags de catégorie */
.article-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
}

.tag-gestion {
    background: rgba(230, 55, 26, 0.1);
    color: var(--color-red);
}

.tag-etapes {
    background: rgba(20, 43, 5, 0.1);
    color: var(--color-green);
}

.tag-budget {
    background: rgba(255, 208, 40, 0.3);
    color: #9a7800;
}

.tag-artisans {
    background: rgba(100, 100, 255, 0.1);
    color: #5050cc;
}

/* Icône article */
.article-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

/* Contenu article */
.article-card-new h3 {
    font-size: clamp(18px, 1.8vw, 22px);
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-card-new .article-excerpt {
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.article-card-new .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.article-card-new .reading-time {
    font-size: 13px;
    color: var(--text-light);
}

.article-card-new .article-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-red);
    text-decoration: none;
    transition: var(--transition);
}

.article-card-new .article-link:hover {
    color: var(--color-green);
}

/* Newsletter CTA */
.newsletter-cta-new {
    background: white;
    border-radius: 20px;
    padding: clamp(32px, 4vw, 48px);
    margin-top: 48px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(20, 43, 5, 0.08);
}

.newsletter-cta-new h3 {
    font-size: clamp(20px, 2vw, 26px);
    margin-bottom: 12px;
}

.newsletter-cta-new > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-red);
}

.newsletter-note {
    font-size: 13px;
    color: var(--text-light);
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .articles-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .blog-main {
        padding-top: 80px;
    }

    .blog-hero-compact {
        padding: 30px 0 15px;
    }

    .categories-tabs {
        gap: 8px;
    }

    .category-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .articles-grid-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* ===========================
   Page Article - Design épuré
   =========================== */
.article-page {
    background: var(--color-creme);
}

/* Header simplifié */
.article-header-simple {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(20, 43, 5, 0.06);
}

.article-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px clamp(20px, 4vw, 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-nav-container .logo-img {
    width: 48px;
    height: 48px;
}

.article-nav-container .logo {
    font-size: 24px;
}

.btn-back-articles {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-creme);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-back-articles:hover {
    background: var(--color-red);
    color: white;
}

.btn-back-articles span {
    font-size: 18px;
}

/* Main article */
.article-main {
    padding-top: 100px;
    padding-bottom: 60px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* Hero article */
.article-hero {
    text-align: center;
    padding: 40px 0 32px;
}

.article-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 16px 0;
}

.article-meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    flex-wrap: wrap;
}

/* Sommaire */
.article-toc {
    background: white;
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(20, 43, 5, 0.06);
}

.article-toc h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-toc ol {
    margin: 0;
    padding-left: 20px;
}

.article-toc li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-toc a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.article-toc a:hover {
    color: var(--color-red);
}

/* Contenu article */
.article-content {
    background: white;
    border-radius: 16px;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 2px 8px rgba(20, 43, 5, 0.06);
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.article-intro {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.article-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 48px 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.article-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 32px;
}

.article-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 24px 0;
    padding-left: 24px;
}

.article-content li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.article-content li strong {
    color: var(--color-green);
}

/* Checklist style */
.article-content .checklist {
    list-style: none;
    padding-left: 0;
}

.article-content .checklist li {
    position: relative;
    padding-left: 32px;
}

.article-content .checklist li::before {
    content: "☐";
    position: absolute;
    left: 0;
    color: var(--color-red);
    font-size: 18px;
}

/* Tip box */
.article-tip {
    background: rgba(255, 208, 40, 0.15);
    border-left: 4px solid var(--color-yellow);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.article-tip strong {
    color: var(--text-primary);
}

/* CTA box dans article */
.article-cta {
    background: var(--color-creme);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.article-cta h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: none !important;
}

.article-cta p {
    margin-bottom: 20px !important;
    color: var(--text-secondary);
}

.article-cta-final {
    background: var(--color-green);
}

.article-cta-final h3,
.article-cta-final p {
    color: white !important;
}

.article-cta-final .btn-primary {
    background: white !important;
    color: var(--color-green) !important;
    border: none;
}

.article-cta-final .btn-primary:hover {
    background: var(--color-yellow) !important;
    color: var(--color-green) !important;
}

/* Articles connexes */
.related-articles {
    margin-top: 48px;
}

.related-articles h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(20, 43, 5, 0.06);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(20, 43, 5, 0.1);
}

.related-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.related-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

/* Footer article */
.article-footer {
    background: var(--color-green);
    padding: 24px;
    text-align: center;
}

.article-footer-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.article-footer a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.article-footer a:hover {
    text-decoration: underline;
}

/* Responsive article */
@media (max-width: 768px) {
    .article-main {
        padding-top: 80px;
    }

    .article-nav-container .logo-img {
        width: 40px;
        height: 40px;
    }

    .article-nav-container .logo {
        font-size: 20px;
    }

    .btn-back-articles {
        padding: 8px 14px;
        font-size: 13px;
    }

    .article-hero {
        padding: 24px 0;
    }

    .article-toc {
        padding: 20px;
    }

    .article-content {
        padding: 24px;
    }

    .article-content p {
        font-size: 16px;
    }

    .article-intro {
        font-size: 17px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
        padding: 16px 20px;
    }

    .related-icon {
        margin-bottom: 0;
        font-size: 28px;
    }
}

/* ===========================
   Tableaux dans les articles
   =========================== */
.article-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: clamp(14px, 1.2vw, 15px);
}

.article-table thead {
    background: var(--color-green);
}

.article-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: clamp(14px, 1.2vw, 16px);
}

.article-table th:first-child {
    border-radius: 12px 0 0 0;
}

.article-table th:last-child {
    border-radius: 0 12px 0 0;
}

.article-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.6;
}

.article-table td strong {
    color: var(--text-primary);
}

.article-table tbody tr:last-child td {
    border-bottom: none;
}

.article-table tbody tr:hover {
    background: rgba(230, 55, 26, 0.03);
}

@media (max-width: 768px) {
    .article-table th,
    .article-table td {
        padding: 12px 14px;
    }

    .article-table {
        font-size: 14px;
    }
}

/* ===========================
   Page Confirmation - Inscription testeur
   =========================== */
.confirmation-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: var(--color-creme);
}

.confirmation-container {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 24px;
    padding: clamp(32px, 5vw, 56px);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

/* Animation zone */
.confirmation-animation {
    width: 200px;
    height: 200px;
    margin: 0 auto 32px;
    position: relative;
}

#confirmation-canvas {
    display: none;
    width: 100%;
    height: 100%;
}

.confirmation-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 55, 26, 0.08), rgba(255, 208, 40, 0.08));
    border-radius: 50%;
}

.confirmation-icon {
    font-size: 80px;
}

/* Titre et message */
.confirmation-container h1 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.confirmation-message {
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.confirmation-message strong {
    color: var(--color-red);
}

/* Prochaines étapes */
.confirmation-next-steps {
    background: var(--color-creme);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.confirmation-next-steps h2 {
    font-size: clamp(18px, 1.5vw, 22px);
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.confirmation-next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.confirmation-next-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--text-secondary);
}

.confirmation-next-steps li:last-child {
    border-bottom: none;
}

.step-icon {
    font-size: 24px;
    flex-shrink: 0;
}

/* CTA buttons */
.confirmation-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Social links */
.confirmation-social {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-placeholder {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

/* Footer simplifié */
.footer-simple {
    background: var(--color-green);
    padding: 20px;
    text-align: center;
}

.footer-simple p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0;
}

/* Responsive confirmation */
@media (max-width: 768px) {
    .confirmation-page {
        padding: 100px 16px 40px;
    }

    .confirmation-container {
        padding: 28px 20px;
    }

    .confirmation-animation {
        width: 150px;
        height: 150px;
    }

    .confirmation-icon {
        font-size: 60px;
    }

    .confirmation-cta {
        flex-direction: column;
    }

    .confirmation-cta .btn-primary,
    .confirmation-cta .btn-outline {
        width: 100%;
    }
}

/* ===========================
   Section FAQ
   =========================== */
.faq-section {
    margin-top: clamp(40px, 4vw, 60px);
}

.faq-title {
    text-align: center;
    font-size: clamp(32px, 3vw, 40px);
    margin-bottom: clamp(36px, 4vw, 56px);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 2vw, 32px);
}

.faq-item {
    background: white;
    border-radius: 20px;
    padding: clamp(24px, 2.5vw, 32px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-answer {
    font-size: clamp(14px, 1.1vw, 15px);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .faq-item {
        padding: 20px;
    }
}

/* ===========================
   Pages légales (Mentions, CGU, etc.)
   =========================== */
.legal-page {
    background: var(--color-creme);
}

.legal-main {
    padding: 120px 20px 60px;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: clamp(32px, 5vw, 56px);
    box-shadow: var(--shadow-md);
}

.legal-container h1 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.legal-update {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(15px, 1.5vw, 17px);
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.legal-section p {
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.legal-section ul {
    margin: 12px 0 16px;
    padding-left: 24px;
}

.legal-section li {
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--color-red);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-note {
    background: rgba(255, 208, 40, 0.15);
    border-left: 4px solid var(--color-yellow);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    margin-top: 16px;
}

.legal-contact {
    font-size: 18px !important;
    text-align: center;
    margin-top: 16px !important;
}

/* Responsive legal */
@media (max-width: 768px) {
    .legal-main {
        padding: 100px 16px 40px;
    }

    .legal-container {
        padding: 28px 20px;
    }
}
