/**
 * STYLE GLOBAL - LA BATISSE
 * ==========================
 * CSS unifié pour tout le site
 * Version: 1.0.0
 */

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    /* Couleurs principales */
    --rouge-primary: #E21E23;
    --rouge-hover: #B3161A;
    --noir: #1A202C;
    --gris-fond: #F8FAFC;
    --texte-corps: #4A5568;
    --blanc: #FFFFFF;
    --gris-clair: #CBD5E0;
    --gris-moyen: #A0AEC0;
    --or: #FFD700;
    --vert-succes: #38A169;
    --bleu-info: #3182CE;
    
    /* Ombres */
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.16);
    
    /* Rayons de bordure */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Largeur max conteneur */
    --container-max: 1400px;
    --container-narrow: 900px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif;
    background: var(--blanc);
    color: var(--texte-corps);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   UTILITAIRES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: var(--blanc);
    padding: var(--spacing-sm) var(--spacing-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    border-bottom: 3px solid var(--rouge-primary);
}

.header-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--noir);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-weight: 800;
}

/* Logo only (sans texte) */
.logo-only {
    font-size: 0;
}

.logo-only img {
    height: 50px;
    width: auto;
    display: block;
}

/* Partner logos avec images */
.partner-logo img {
    max-height: 60px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ============================================
   TESTIMONIALS SECTION - STYLES COMPLETS
   ============================================ */
.testimonials-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--noir) 0%, #2D3748 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50px;
    font-size: 400px;
    color: rgba(255,255,255,0.03);
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.testimonials-left {
    color: var(--blanc);
}

.testimonials-header {
    margin-bottom: 3rem;
}

.testimonials-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.testimonials-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* Entrepreneurs avatars - affichage HORIZONTAL */
.entrepreneurs-preview {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.entrepreneurs-avatars {
    display: flex;
    margin-bottom: 1rem;
}

.entrepreneurs-avatars .avatar-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--noir);
    margin-left: -15px;
    background: var(--gris-fond);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    overflow: hidden;
}

.entrepreneurs-avatars .avatar-item:first-child {
    margin-left: 0;
}

.entrepreneurs-avatars .avatar-item.more {
    background: var(--rouge-primary);
    color: var(--blanc);
    font-weight: 700;
    font-size: 0.8rem;
}

.entrepreneurs-link {
    color: var(--or);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.entrepreneurs-link:hover {
    color: var(--blanc);
    gap: 1rem;
}

/* Video container */
.video-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 16/9;
    background: var(--noir);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0,0,0,0.2);
}

.video-overlay.playing {
    background: transparent;
}

.video-overlay.playing .play-button {
    opacity: 0;
    transform: scale(0.5);
}

.video-overlay.playing:hover .play-button {
    opacity: 1;
    transform: scale(1);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--rouge-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--blanc);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(226, 30, 35, 0.4);
    animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
    0% { box-shadow: 0 0 0 0 rgba(226, 30, 35, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(226, 30, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 30, 35, 0); }
}

.video-overlay:hover .play-button {
    transform: scale(1.1);
}

.video-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--blanc);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--noir);
}

.video-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.sound-btn {
    width: 45px;
    height: 45px;
    background: var(--blanc);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

/* Testimonial cards */
.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--or);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--rouge-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blanc);
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 1024px) {
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-right {
        order: -1;
    }
}

.main-nav .nav-list {
    display: flex;
    gap: var(--spacing-md);
}

.main-nav a {
    color: var(--noir);
    font-weight: 700;
    font-size: 0.95rem;
    padding: var(--spacing-xs) 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rouge-primary);
    transition: width var(--transition-normal);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--rouge-primary);
}

.cta-header {
    background: var(--rouge-primary);
    color: var(--blanc);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    transition: all var(--transition-normal);
}

.cta-header:hover {
    background: var(--rouge-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--blanc);
}

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 100%;
    height: 3px;
    background: var(--noir);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--noir);
    color: var(--blanc);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-brand h3 img {
    display: inline-block;
    vertical-align: middle;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.footer-social a,
.footer-social .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    color: var(--blanc);
}

.footer-social .social-link svg {
    width: 20px;
    height: 20px;
}

.footer-social .social-facebook:hover {
    background: #1877F2;
    transform: translateY(-3px);
}

.footer-social .social-linkedin:hover {
    background: #0A66C2;
    transform: translateY(-3px);
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--rouge-primary);
    font-weight: 700;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
}

.footer-column a:hover {
    color: var(--blanc);
}

.footer-qualiopi {
    background: var(--blanc);
    padding: var(--spacing-sm) 1.5rem;
    border-radius: var(--radius-sm);
    margin-top: var(--spacing-sm);
    display: inline-block;
}

.footer-qualiopi img {
    height: 50px;
    width: auto;
    margin-bottom: 8px;
}

.footer-qualiopi p {
    font-size: 0.75rem;
    color: var(--noir);
    margin: 0;
}

.footer-qualiopi .qualiopi-mention {
    font-size: 0.7rem;
    color: var(--texte-corps);
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.footer-qualiopi .qualiopi-categories {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}

.footer-qualiopi .qualiopi-categories li {
    font-size: 0.75rem;
    color: var(--noir);
    font-weight: 600;
    padding: 0.15rem 0;
}

.footer-qualiopi .qualiopi-categories li::before {
    content: "• ";
    color: var(--rouge-primary);
}

.footer-qualiopi .qualiopi-download {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gris-clair);
}

.footer-qualiopi .qualiopi-download a {
    color: var(--rouge-primary);
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.footer-qualiopi .qualiopi-download a:hover {
    color: var(--rouge-hover);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ============================================
   BOUTONS
   ============================================ */
.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--blanc);
    color: var(--rouge-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-red {
    background: var(--rouge-primary);
    color: var(--blanc);
}

.btn-red:hover {
    background: var(--rouge-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-dark {
    background: var(--noir);
    color: var(--blanc);
}

.btn-dark:hover {
    background: #2D3748;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--blanc);
    border: 2px solid var(--blanc);
}

.btn-outline:hover {
    background: var(--blanc);
    color: var(--rouge-primary);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 8rem var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.9), rgba(226, 30, 35, 0.85)), 
                url('../images/FOND-LA-BATISSE-doux-scaled.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--blanc);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .pulse {
    width: 10px;
    height: 10px;
    background: var(--vert-succes);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--or), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    color: rgba(255,255,255,0.95);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255,255,255,0.1);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero mini pour pages intérieures */
.hero-mini {
    padding: 8rem var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--noir), #2D3748);
    text-align: center;
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.hero-mini.with-image {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.85), rgba(45, 55, 72, 0.9)), 
                url('../images/019-Anniv_Batisse_2019-Argo-web.jpg') center/cover no-repeat;
}

.hero-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-mini h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
    position: relative;
}

.hero-mini p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: 1.5rem;
    font-size: 0.9rem;
    position: relative;
}

.breadcrumb a {
    color: var(--or);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.7;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-bordered {
    border-left: 4px solid transparent;
}

.card-bordered:hover {
    border-left-color: var(--rouge-primary);
}

.card-top-border {
    border-top: 5px solid var(--rouge-primary);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.section-gray {
    background: var(--gris-fond);
}

.section-dark {
    background: linear-gradient(135deg, var(--noir) 0%, #2D3748 100%);
    color: var(--blanc);
}

.section-red {
    background: var(--rouge-primary);
    color: var(--blanc);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--noir);
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.section-dark .section-header h2 {
    color: var(--blanc);
}

.section-header p {
    color: var(--texte-corps);
    font-size: 1.1rem;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.8);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(226, 30, 35, 0.1);
    color: var(--rouge-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FORMULAIRES
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--gris-clair);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-normal);
    background: var(--blanc);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rouge-primary);
    box-shadow: 0 0 0 3px rgba(226, 30, 35, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gris-clair);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--rouge-primary);
    color: var(--blanc);
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.form-submit:hover {
    background: var(--rouge-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ============================================
   LOADER
   ============================================ */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blanc);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--gris-fond);
    border-top: 5px solid var(--rouge-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-weight: 700;
    color: var(--noir);
    font-size: 1.1rem;
}

.loading-subtext {
    color: var(--texte-corps);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

/* ============================================
   GRILLES
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

/* ============================================
   TABLES
   ============================================ */
.table-container {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--gris-fond);
    color: var(--noir);
    font-weight: 700;
    text-align: left;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--gris-clair);
}

td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gris-fond);
}

tr:hover {
    background: var(--gris-fond);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.float-animation {
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons,
    .hero-features {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    /* Header mobile */
    .main-nav .nav-list {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--blanc);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-medium);
        gap: 0;
    }
    
    .main-nav .nav-list.open {
        display: flex;
    }
    
    .main-nav .nav-list li {
        border-bottom: 1px solid var(--gris-fond);
    }
    
    .main-nav .nav-list a {
        display: block;
        padding: var(--spacing-sm);
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cta-header {
        display: none;
    }
    
    /* Hero mobile */
    .hero {
        padding: 7rem var(--spacing-md) var(--spacing-lg);
        min-height: auto;
    }
    
    .hero-mini {
        padding: 7rem var(--spacing-md) var(--spacing-lg);
    }
    
    .hero-mini h1,
    .hero h1 {
        font-size: 1.8rem;
    }
    
    /* Grilles mobile */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-brand h3 {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   IMPRESSION
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .cta-header,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .hero,
    .hero-mini {
        background: #f0f0f0 !important;
        color: #000 !important;
        padding: 2rem !important;
    }
}
/**
 * STYLES SPÉCIFIQUES AUX PAGES - LA BATISSE
 * ==========================================
 * À ajouter à la fin de style.css
 */

/* ============================================
   PAGE ACCUEIL - COMPOSANTS SPÉCIFIQUES
   ============================================ */

/* Hero Card */
.hero-card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-strong);
    max-width: 400px;
    margin: 0 auto;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gris-fond);
}

/* Hero card – logo seul + sous-titre */
.hero-card-header-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gris-fond);
    text-align: center;
}

.hero-card-logo {
    max-width: 160px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-card-subtitle {
    font-size: 0.9rem;
    color: var(--texte-corps);
    margin: 0;
}


.hero-card-icon{
  width: 60px;
  height: 60px;
  background: var(--blanc);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-card-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
}


.hero-card-header h3 {
    font-size: 1.3rem;
    color: var(--noir);
    font-weight: 700;
}

.hero-card-header p {
    font-size: 0.9rem;
    color: var(--texte-corps);
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.hero-stat {
    text-align: center;
    padding: var(--spacing-sm);
    background: var(--gris-fond);
    border-radius: var(--radius-sm);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rouge-primary);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--texte-corps);
}

/* Trust Bar */
.trust-bar {
    background: var(--noir);
    padding: 1.5rem var(--spacing-md);
    overflow: hidden;
}

.trust-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--blanc);
}

.trust-icon {
    font-size: 1.5rem;
}

.trust-text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Pillar Cards */
.pillar-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--rouge-primary), var(--or));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-step {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--gris-fond);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--rouge-primary);
    font-size: 1.1rem;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--rouge-primary), var(--rouge-hover));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(5deg);
}

.pillar-card h3 {
    font-size: 1.4rem;
    color: var(--noir);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.pillar-features {
    text-align: left;
    margin-top: var(--spacing-sm);
}

.pillar-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) 0;
    font-size: 0.9rem;
    color: var(--texte-corps);
    border-bottom: 1px solid var(--gris-fond);
}

.pillar-features li:last-child {
    border-bottom: none;
}

.pillar-features li::before {
    content: '✓';
    color: var(--vert-succes);
    font-weight: 700;
}

/* Service Cards */
.service-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gris-clair);
    line-height: 1;
    transition: color var(--transition-normal);
}

.service-card:hover .service-number {
    color: var(--rouge-primary);
}

.service-content h3 {
    font-size: 1.1rem;
    color: var(--noir);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.service-content p {
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50px;
    font-size: 400px;
    color: rgba(255,255,255,0.03);
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.testimonials-left h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--or);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--rouge-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blanc);
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.entrepreneurs-link {
    color: var(--or);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.entrepreneurs-link:hover {
    color: var(--blanc);
}

/* Video */
.video-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 16/9;
    background: var(--noir);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.video-overlay:hover {
    background: rgba(0,0,0,0.3);
}

.video-overlay.playing {
    background: transparent;
}

.video-overlay.playing .play-button {
    opacity: 0;
    transform: scale(0.5);
}

.video-overlay.playing:hover .play-button {
    opacity: 1;
    transform: scale(1);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--rouge-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--blanc);
    transition: all var(--transition-normal);
    box-shadow: 0 0 0 0 rgba(226, 30, 35, 0.4);
    animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
    0% { box-shadow: 0 0 0 0 rgba(226, 30, 35, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(226, 30, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 30, 35, 0); }
}

.video-controls {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
}

.sound-btn {
    width: 45px;
    height: 45px;
    background: var(--blanc);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.sound-btn:hover {
    transform: scale(1.1);
}

.video-label {
    position: absolute;
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--blanc);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--noir);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    gap: 1.5rem;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--rouge-primary), var(--rouge-hover));
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 1.3rem;
    color: var(--noir);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.team-role {
    color: var(--rouge-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.team-zone {
    font-size: 0.85rem;
    color: var(--texte-corps);
    margin-bottom: var(--spacing-sm);
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.team-contact a {
    font-size: 0.85rem;
    color: var(--texte-corps);
}

.team-contact a:hover {
    color: var(--rouge-primary);
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    align-items: center;
}

.partner-card {
    text-align: center;
    border: 2px solid transparent;
}

.partner-card:hover {
    border-color: var(--rouge-primary);
}

.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.partner-logo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gris-fond);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--texte-corps);
    font-weight: 700;
    text-transform: uppercase;
}

.partner-card h4 {
    font-size: 0.9rem;
    color: var(--noir);
    font-weight: 700;
}

/* Community */
.community-section {
    padding: 6rem var(--spacing-md);
    background: linear-gradient(rgba(26, 32, 44, 0.85), rgba(26, 32, 44, 0.9)), 
                url('../images/019-Anniv_Batisse_2019-Argo-web.jpg') center/cover no-repeat fixed;
    text-align: center;
    color: var(--blanc);
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
}

.community-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.community-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255,255,255,0.9);
}

/* Qualiopi */
.qualiopi-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: var(--gris-fond);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 5px solid #1E3A8A;
}

.qualiopi-logo img {
    height: 100px;
    width: auto;
}

.qualiopi-text h3 {
    font-size: 1.3rem;
    color: var(--noir);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.qualiopi-text .highlight {
    color: var(--rouge-primary);
    font-weight: 600;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--noir);
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.contact-details {
    margin-top: var(--spacing-md);
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--gris-clair);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details .icon {
    width: 50px;
    height: 50px;
    background: var(--rouge-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details a {
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-details span {
    display: block;
    font-size: 0.85rem;
    color: var(--texte-corps);
    font-weight: 400;
}

.contact-form-wrapper {
    background: var(--blanc);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border-top: 5px solid var(--rouge-primary);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--noir);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Stats */
.stats-banner {
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   PAGE ENTREPRENEURS
   ============================================ */
.search-section {
    background: var(--blanc);
    padding: 1.5rem var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gris-clair);
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-normal);
    background: var(--gris-fond);
}

.search-box input:focus {
    outline: none;
    border-color: var(--rouge-primary);
    background: var(--blanc);
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.results-count {
    background: var(--gris-fond);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.results-count .count {
    background: var(--rouge-primary);
    color: var(--blanc);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
}

.entrepreneurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.entrepreneur-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.entrepreneur-card.hidden {
    display: none;
}

.entrepreneur-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--rouge-primary), var(--rouge-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blanc);
    flex-shrink: 0;
}

.entrepreneur-info {
    flex: 1;
    min-width: 0;
}

.entrepreneur-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 0.25rem;
}

.entrepreneur-activity {
    font-size: 0.95rem;
    color: var(--rouge-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.entrepreneur-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.entrepreneur-detail {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.85rem;
}

.empty-data {
    color: var(--gris-clair);
    font-style: italic;
}

.no-results {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--blanc);
    border-radius: var(--radius-lg);
    display: none;
}

.no-results.visible {
    display: block;
}

.no-results .icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.cta-banner {
    margin-top: var(--spacing-lg);
    background: linear-gradient(135deg, var(--rouge-primary), var(--rouge-hover));
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--blanc);
}

.cta-banner h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.cta-banner p {
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

/* ============================================
   PAGE MENTIONS LÉGALES
   ============================================ */
.toc {
    background: var(--gris-fond);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.toc h3 {
    font-size: 1.1rem;
    color: var(--noir);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.toc ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs);
}

.toc a {
    color: var(--texte-corps);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
}

.toc a:hover {
    background: var(--blanc);
    color: var(--rouge-primary);
}

.toc a::before {
    content: '→';
    color: var(--rouge-primary);
}

.legal-block {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gris-clair);
}

.legal-block:last-of-type {
    border-bottom: none;
}

.legal-block h2 {
    font-size: 1.5rem;
    color: var(--noir);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-block h2 .icon {
    width: 40px;
    height: 40px;
    background: var(--rouge-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.legal-block h3 {
    font-size: 1.1rem;
    color: var(--noir);
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
}

.legal-block p {
    margin-bottom: var(--spacing-sm);
}

.legal-block ul {
    margin: var(--spacing-sm) 0 var(--spacing-sm) 1.5rem;
    list-style: disc;
}

.legal-block li {
    margin-bottom: var(--spacing-xs);
}

.legal-block a {
    color: var(--rouge-primary);
    font-weight: 600;
}

.legal-block a:hover {
    text-decoration: underline;
}

.info-card {
    background: var(--gris-fond);
    padding: 1.5rem var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--rouge-primary);
    margin: 1.5rem 0;
}

.info-card p {
    margin-bottom: var(--spacing-xs);
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card strong {
    color: var(--noir);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(226, 30, 35, 0.05), rgba(226, 30, 35, 0.1));
    padding: 1.5rem var(--spacing-md);
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.highlight-box p {
    margin-bottom: 0;
    font-style: italic;
}

.last-update {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--gris-fond);
    color: var(--texte-corps);
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
}

/* ============================================
   RESPONSIVE SUPPLÉMENTAIRE
   ============================================ */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-right {
        order: -1;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .qualiopi-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .trust-content {
        gap: 1.5rem;
    }
    
    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .community-content h2 {
        font-size: 1.8rem;
    }
    
    .search-section {
        flex-direction: column;
    }
    
    .search-box {
        width: 100%;
        min-width: auto;
    }
    
    .entrepreneurs-grid {
        grid-template-columns: 1fr;
    }
    
    .entrepreneur-card {
        flex-direction: column;
        text-align: center;
    }
    
    .entrepreneur-avatar {
        margin: 0 auto;
    }
    
    .entrepreneur-details {
        align-items: center;
    }
    
    .toc ul {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        flex-direction: column;
        text-align: center;
    }
    
    .team-photo {
        margin: 0 auto;
    }
}

/* ==========================================================================
   PAGE CONTACT - STYLES SPÉCIFIQUES
   ========================================================================== */

/* ============ HERO CONTACT ============ */
.hero-contact {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                url('/assets/images/FOND-LA-BATISSE-doux-scaled.jpg') center/cover no-repeat;
    text-align: center;
}

.hero-contact .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-contact .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-pill);
    color: var(--blanc);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-contact h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--blanc);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-contact p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ QUICK CONTACT BAR ============ */
.quick-contact {
    background: var(--noir);
    padding: 1.5rem 2rem;
}

.quick-contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--blanc);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-item:hover {
    transform: translateY(-2px);
}

.quick-icon {
    width: 50px;
    height: 50px;
    background: var(--rouge-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.quick-info span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.2rem;
}

.quick-info strong {
    font-size: 1.1rem;
}

/* ==================================================
   TEAM SECTION — VERSION SAFE (PAGE CONTACT)
   ================================================== */

.team-section {
    padding: 5rem 2rem;
    background: var(--blanc);
}

/* Grille */
.team-section .team-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* Carte */
.team-section .team-card {
    background: var(--gris-fond);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-section .team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

/* Photo */
.team-section .team-photo {
    width: 100%;
    height: 260px; /* taille maîtrisée */
    background: linear-gradient(135deg, var(--rouge-primary), var(--rouge-hover));
    overflow: hidden;
}

.team-section .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Infos */
.team-section .team-info {
    padding: 2rem;
}

.team-section .team-info h3 {
    font-size: 1.5rem;
    color: var(--noir);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.team-section .team-role {
    color: var(--rouge-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-section .team-bio {
    color: var(--texte-corps);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Contacts */
.team-section .team-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-section .team-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.team-section .team-contact-list span {
    font-size: 1.1rem;
}

.team-section .team-contact-list a {
    color: var(--texte-corps);
    text-decoration: none;
    font-size: 0.95rem;
}

.team-section .team-contact-list a:hover {
    color: var(--rouge-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .team-section .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .team-section .team-info {
        text-align: center;
    }

    .team-section .team-contact-list li {
        justify-content: center;
    }
}


/* ============ LOCATIONS SECTION (Contact + Prescripteurs) ============ */
.locations-section {
    padding: 5rem 2rem;
    background: var(--gris-fond);
}

.locations-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.locations-section .section-header h2 {
    font-size: 2.2rem;
    color: var(--noir);
    margin-bottom: 1rem;
    font-weight: 800;
}

.locations-section .section-header p {
    color: var(--texte-corps);
    font-size: 1.1rem;
}

.locations-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    background: var(--blanc);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--rouge-primary);
}

.locations-intro p {
    font-size: 1.1rem;
    color: var(--texte-corps);
    margin: 0;
}

.locations-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.location-card {
    background: var(--blanc);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    border-top: 5px solid var(--rouge-primary);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.location-card.primary {
    border-top-color: var(--or);
}

.location-card.partner {
    border-top-color: var(--bleu-info);
}

.location-card.virtual {
    border-top-color: var(--vert-succes);
}

.location-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rouge-primary);
    color: var(--blanc);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.location-card.primary .location-badge {
    background: var(--or);
    color: var(--noir);
}

.location-card.partner .location-badge {
    background: var(--bleu-info);
}

.location-card.virtual .location-badge {
    background: var(--vert-succes);
}

.location-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.location-card h3 {
    font-size: 1.1rem;
    color: var(--noir);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.location-city {
    color: var(--rouge-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.location-address {
    font-size: 0.85rem;
    color: var(--texte-corps);
    margin-bottom: 1rem;
}

.location-features {
    list-style: none;
    font-size: 0.8rem;
    color: var(--texte-corps);
    padding: 0;
    margin: 0;
}

.location-features li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ============ MAP SECTION ============ */
.map-section {
    padding: 0;
    background: var(--blanc);
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
}

#map {
    height: 500px;
    width: 100%;
}

.map-legend {
    background: var(--noir);
    color: var(--blanc);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-legend h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legend-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legend-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.legend-marker.siege {
    background: var(--or);
}

.legend-marker.bureau {
    background: var(--rouge-primary);
}

.legend-marker.partenaire {
    background: var(--bleu-info);
}

.legend-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.legend-info p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ============ REMOTE SECTION ============ */
.remote-section {
    padding: 4rem 2rem;
    background: var(--gris-fond);
}

.remote-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.remote-text h2 {
    font-size: 1.8rem;
    color: var(--noir);
    margin-bottom: 1rem;
    font-weight: 800;
}

.remote-text p {
    color: var(--texte-corps);
    margin-bottom: 1rem;
}

.remote-features {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}

.remote-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gris-clair);
}

.remote-features li:last-child {
    border-bottom: none;
}

.remote-visual {
    background: var(--blanc);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    text-align: center;
}

.remote-visual .icon-big {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.remote-visual h3 {
    font-size: 1.3rem;
    color: var(--noir);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.remote-visual p {
    color: var(--texte-corps);
    font-size: 0.95rem;
    margin: 0;
}

/* ============ CONTACT FORM SECTION ============ */
.form-section {
    padding: 5rem 2rem;
    background: var(--blanc);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.form-intro h2 {
    font-size: 2rem;
    color: var(--noir);
    margin-bottom: 1rem;
    font-weight: 800;
}

.form-intro p {
    color: var(--texte-corps);
    font-size: 1.05rem;
}

.contact-form {
    background: var(--gris-fond);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border-top: 5px solid var(--rouge-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gris-clair);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--blanc);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rouge-primary);
    box-shadow: 0 0 0 3px rgba(226, 30, 35, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    accent-color: var(--rouge-primary);
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--texte-corps);
}

.form-checkbox a {
    color: var(--rouge-primary);
}

.btn-submit {
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    background: var(--rouge-primary);
    color: var(--blanc);
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: var(--rouge-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ============ CTA CONTACT ============ */
.cta-contact {
    padding: 5rem 2rem;
    background: #2D3748;
    text-align: center;
}

.cta-contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-contact-content h2 {
    font-size: 2rem;
    color: var(--blanc);
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-contact-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    background: var(--blanc);
    color: var(--noir);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: var(--gris-fond);
    transform: translateY(-3px);
}

.btn-outline-white {
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    background: transparent;
    color: var(--blanc);
    border: 2px solid var(--blanc);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: var(--blanc);
    color: var(--noir);
}

/* ============ LEAFLET CUSTOM ============ */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-sm);
}

.popup-content {
    text-align: center;
    padding: 0.5rem;
}

.popup-content h4 {
    font-size: 1rem;
    color: var(--noir);
    margin-bottom: 0.3rem;
}

.popup-content p {
    font-size: 0.85rem;
    color: var(--texte-corps);
    margin: 0;
}

/* ============ CONTACT PAGE RESPONSIVE ============ */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .map-legend {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .map-legend h3 {
        width: 100%;
    }

    .legend-item {
        flex: 1;
        min-width: 200px;
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero-contact {
        padding: 8rem 2rem 4rem;
    }

    .quick-contact-content {
        gap: 2rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .remote-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   PAGES INSCRIPTION - STYLES SPÉCIFIQUES
   ========================================================================== */

/* Hero Inscription */
.hero-inscription {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, var(--noir) 0%, #2D3748 100%);
    text-align: center;
}

.hero-inscription .hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-inscription .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--rouge-primary);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    color: var(--blanc);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-inscription h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--blanc);
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-inscription p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
}

/* Section inscription */
.inscription-section {
    padding: 4rem 2rem;
    background: var(--gris-fond);
}

.inscription-section .form-container {
    max-width: 900px;
}

/* Info boxes */
.inscription-info {
    margin-bottom: 2rem;
}

.info-box {
    background: var(--blanc);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-left: 4px solid var(--bleu-info);
}

.info-box-success {
    border-left-color: var(--vert-succes);
    background: #f0fdf4;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-box strong {
    display: block;
    color: var(--noir);
    margin-bottom: 0.25rem;
}

.info-box p {
    margin: 0;
    color: var(--texte-corps);
    font-size: 0.95rem;
}

/* Form section titles */
.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gris-clair);
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.section-icon {
    font-size: 1.5rem;
}

.form-section-title h3 {
    font-size: 1.2rem;
    color: var(--noir);
    font-weight: 700;
    margin: 0;
}

.section-subtitle {
    color: var(--texte-corps);
    font-size: 0.9rem;
    margin: 0;
    margin-left: auto;
}

/* Form styling for inscription pages */
.agile-form-styled,
.documents-form {
    background: var(--blanc);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.agile-form-styled fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.agile-form-styled .form-group,
.documents-form .form-group {
    margin-bottom: 1.25rem;
}

.agile-form-styled .form-label,
.documents-form .form-label {
    display: block;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: var(--rouge-primary);
}

.agile-form-styled input[type="text"],
.agile-form-styled input[type="email"],
.agile-form-styled input[type="tel"],
.agile-form-styled input[type="url"],
.agile-form-styled select,
.agile-form-styled textarea,
.documents-form input[type="text"],
.documents-form input[type="email"],
.documents-form select,
.documents-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gris-clair);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--blanc);
}

.agile-form-styled input:focus,
.agile-form-styled select:focus,
.agile-form-styled textarea:focus,
.documents-form input:focus,
.documents-form select:focus,
.documents-form textarea:focus {
    outline: none;
    border-color: var(--rouge-primary);
    box-shadow: 0 0 0 3px rgba(226, 30, 35, 0.1);
}

.agile-form-styled textarea,
.documents-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Radio buttons custom */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-group-wrap {
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--texte-corps);
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--rouge-primary);
}

/* Documents grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.document-item {
    background: var(--gris-fond);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 2px dashed var(--gris-clair);
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: var(--rouge-primary);
    background: #fff;
}

.document-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.doc-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.doc-name {
    font-weight: 600;
    color: var(--noir);
    font-size: 0.95rem;
}

.doc-info {
    font-size: 0.8rem;
    color: var(--texte-corps);
}

.document-item input[type="file"] {
    width: 100%;
    font-size: 0.85rem;
    color: var(--texte-corps);
}

.document-item input[type="file"]::file-selector-button {
    background: var(--rouge-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    margin-right: 0.75rem;
    transition: background 0.3s ease;
}

.document-item input[type="file"]::file-selector-button:hover {
    background: var(--rouge-hover);
}

/* Documents notice */
.documents-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 2rem 0;
}

.documents-notice h4 {
    color: #92400e;
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.documents-notice ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #92400e;
}

.documents-notice li {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

/* Form submit */
.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.error-msg {
    display: block;
    margin-top: 0.75rem;
    color: var(--rouge-primary);
    font-size: 0.9rem;
}

/* Step indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gris-clair);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gris-clair);
    color: var(--texte-corps);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step.active .step-number {
    background: var(--rouge-primary);
    color: var(--blanc);
}

.step.completed .step-number {
    background: var(--vert-succes);
    color: var(--blanc);
}

.step-label {
    font-size: 0.85rem;
    color: var(--texte-corps);
    font-weight: 600;
}

.step.active .step-label {
    color: var(--noir);
}

.step-line {
    width: 100px;
    height: 3px;
    background: var(--gris-clair);
    margin: 0 1rem;
    margin-bottom: 1.5rem;
}

.step-line.completed {
    background: var(--vert-succes);
}

/* Help box */
.help-box {
    background: var(--blanc);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    border: 1px solid var(--gris-clair);
}

.help-box h4 {
    color: var(--noir);
    margin: 0 0 0.5rem;
}

.help-box p {
    color: var(--texte-corps);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.help-contacts {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.help-contact {
    color: var(--rouge-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-contact:hover {
    color: var(--rouge-hover);
    text-decoration: underline;
}

/* Responsive inscription pages */
@media (max-width: 768px) {
    .hero-inscription {
        padding: 8rem 2rem 3rem;
    }

    .agile-form-styled,
    .documents-form {
        padding: 1.5rem;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .step-line {
        width: 50px;
    }

    .help-contacts {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ===== FIX INPUT FILE CROSS-BROWSER ===== */

/* Cache l'input file natif */
.documents-form input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Zone cliquable */
.document-item {
    position: relative;
    background: #F9FAFB;
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.document-item:hover {
    border-color: #E21E23;
    background: #FFF5F5;
}

/* Label devient le bouton */
.document-label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

/* Bouton visuel */
.document-label::after {
    content: "Choisir un fichier";
    display: inline-block;
    margin-top: 0.8rem;
    background: #E21E23;
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    width: fit-content;
}

/* Responsive */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr !important;
    }
}







