/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-green: #34A853;
    --dark-blue: #0A2540;
    --medium-gray: #525f7f;
    --light-gray: #f6f9fc;
    --border-gray: #e6ebf1;
    --text-color: #333;
    --background-color: #ffffff;
    --font-family: 'Be Vietnam Pro', sans-serif;
    --container-width: 1140px;
    --border-radius: 8px;
    --shadow: 0px 10px 30px rgba(0, 0, 0, 0.07);
    --transition: all 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}
img { max-width: 100%; height: auto; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   2. GLOBAL STYLES & UTILITIES
   ========================================================================== */
h1, h2, h3 { color: var(--dark-blue); font-weight: 700; line-height: 1.2; }
h1 { font-size: 48px; }
h2 { font-size: 36px; text-align: center; margin-bottom: 40px; }
p { color: var(--medium-gray); margin-bottom: 20px; }
.text-center { text-align: center; }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary { background-color: var(--primary-green); color: white; }
.btn-primary:hover { background-color: #2c8f45; transform: translateY(-3px); box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3); }
.btn-secondary { background-color: transparent; color: var(--primary-green); font-weight: 500; }
.btn-secondary:hover { color: var(--dark-blue); }

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   3. REUSABLE COMPONENTS (Navbar, Footer, Cards)
   ========================================================================== */
/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease-in-out;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-weight: 700; font-size: 22px; color: var(--primary-green); text-decoration: none; }
.nav-links { display: flex; align-items: center; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--dark-blue); font-weight: 600; font-size: 15px; padding-bottom: 5px; position: relative; }
.nav-links a.active { color: var(--primary-green); }
.nav-links a:not(.btn-nav)::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-green); transition: width 0.3s ease; }
.nav-links a:not(.btn-nav):hover::after, .nav-links a.active::after { width: 100%; }
.btn-nav { padding: 8px 20px; background-color: var(--primary-green); color: white !important; border-radius: var(--border-radius); transition: var(--transition); }
.btn-nav:hover { background-color: #2c8f45; transform: translateY(-2px); }
.btn-nav::after { display: none; }
.nav-toggle { display: none; cursor: pointer; }
.nav-toggle .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--dark-blue); transition: all 0.3s ease-in-out; }

/* --- Footer --- */
.footer { padding: 40px 0; text-align: center; }
.footer-content { display: flex; justify-content: center; align-items: center; gap: 30px; }
.footer-item { display: flex; align-items: center; gap: 10px; color: var(--medium-gray); }
.footer-item i { color: var(--primary-green); }

/* --- Team Photo Style --- */
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }

/* ==========================================================================
   4. PAGE SECTIONS (INDEX & STORY)
   ========================================================================== */
/* --- Hero (Index) --- */
.hero h1 { max-width: 600px; margin: 0 auto 20px auto; }
.hero p { max-width: 500px; margin: 0 auto 30px auto; font-size: 18px; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 20px; }

/* --- Features (Index) --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-item { padding: 20px; }
.feature-item i { font-size: 24px; color: var(--primary-green); margin-bottom: 15px; background-color: var(--light-gray); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.feature-item h3 { font-size: 20px; margin-bottom: 10px; }
.feature-item p { font-size: 15px; line-height: 1.5; }

/* --- Technologie (Index) --- */
#technologie { background-color: var(--background-color); padding: 100px 0; }
.tech-grid { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.tech-text { flex: 1; max-width: 450px; text-align: left; }
.tech-text h2 { font-size: 42px; text-align: left; margin-bottom: 30px; }
.tech-image-wrapper { flex: 1.5; text-align: center; }
.dashboard-img { border-radius: var(--border-radius); box-shadow: var(--shadow); max-width: 100%; }

/* --- Pour Qui (Index) --- */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.who-card { background-color: #fff; padding: 30px; border-radius: var(--border-radius); text-align: center; border: 1px solid var(--border-gray); transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; will-change: transform, box-shadow; }
.who-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); transition-delay: 0s !important; }
.who-card i { font-size: 36px; color: var(--primary-green); margin-bottom: 20px; }
.who-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--dark-blue); }
.who-card p { font-size: 15px; color: var(--medium-gray); margin-bottom: 0; }

/* --- Process (Index) --- */
#process { background-color: var(--light-gray); }
.process-wrapper { display: flex; justify-content: space-between; align-items: flex-start; position: relative; margin-top: 50px; }
.process-wrapper::before { content: ''; position: absolute; top: 25px; left: 8%; right: 8%; height: 2px; background-image: linear-gradient(to right, var(--border-gray) 50%, transparent 50%); background-size: 16px 2px; background-repeat: repeat-x; z-index: 1; }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 19%; position: relative; z-index: 2; }
.step-number { width: 50px; height: 50px; border-radius: 50%; background-color: #fff; color: var(--primary-green); border: 2px solid var(--primary-green); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; margin-bottom: 20px; transition: var(--transition); }
.process-step:hover .step-number { background-color: var(--primary-green); color: white; transform: scale(1.1); }
.process-step h3 { font-size: 18px; font-weight: 600; color: var(--dark-blue); }
.process-image-container { margin-top: 50px; position: relative; max-width: 400px; height: 250px; margin-left: auto; margin-right: auto; }
.process-image-container img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.4s ease-in-out; }
.process-image-container img.active { opacity: 1; }

/* --- Story Hero (Story Page) --- */
.story-hero h1 {
    font-size: 42px;
    margin-bottom: 30px;
    text-align: center;  /* <-- C'est cette ligne qui corrige le problème */
    max-width: 700px;    /* On contrôle la largeur pour les grands écrans */
    margin-left: auto;   /* Ces deux lignes centrent le bloc de titre */
    margin-right: auto;
}
.story-hero .story-intro { font-size: 18px; color: var(--medium-gray); max-width: 700px; margin: 0 auto 20px auto; line-height: 1.7; }

/* --- How We Work (Story Page) --- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.value-card { background-color: var(--light-gray); padding: 30px; border-radius: var(--border-radius); text-align: center; }
.value-card i { font-size: 32px; color: var(--primary-green); margin-bottom: 20px; }
.value-card h3 { font-size: 18px; color: var(--dark-blue); margin-bottom: 10px; }

/* --- Team (Story Page) --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.team-card { background-color: #fff; border: 1px solid var(--border-gray); border-radius: var(--border-radius); padding: 30px; text-align: center; transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; will-change: transform, box-shadow; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-photo-placeholder { width: 120px; height: 120px; border-radius: 50%; background-color: var(--light-gray); margin: 0 auto 20px auto; display: flex; align-items: center; justify-content: center; border: 4px solid white; box-shadow: 0 0 0 1px var(--border-gray); position: relative; overflow: hidden; }
.team-photo-placeholder i { font-size: 50px; color: #ccc; }
.team-card h3 { font-size: 20px; font-weight: 700; color: var(--dark-blue); margin-bottom: 5px; }
.team-card .team-role { font-size: 15px; font-weight: 600; color: var(--primary-green); margin-bottom: 15px; }
.team-card .team-bio { font-size: 14px; color: var(--medium-gray); line-height: 1.6; margin-bottom: 25px; }
.team-socials { display: flex; justify-content: center; gap: 20px; }
.team-socials a { color: var(--medium-gray); font-size: 24px; transition: color 0.3s ease; }
.team-socials a:hover { color: var(--primary-green); }

/* --- Milestones (Story Page) --- */
.milestones-section { background-color: var(--dark-blue); color: white; padding: 80px 0; }
.milestones-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.milestone-content h2 { color: white; font-size: 28px; margin-bottom: 15px; text-align: left; }
.milestone-content p { color: #aeb8c4; margin-bottom: 20px; }
.milestone-list { list-style: none; padding-left: 0; }
.milestone-list li { padding-left: 25px; position: relative; margin-bottom: 10px; }
.milestone-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary-green); position: absolute; left: 0; top: 2px; }

/* --- Conclusion (Story Page) --- */
.story-conclusion { padding: 80px 0; text-align: center; }
.conclusion-text h3 { font-size: 24px; font-weight: 600; max-width: 600px; margin: 0 auto 10px auto; }
.conclusion-text .promise { font-size: 28px; font-weight: 700; color: var(--primary-green); margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   5. RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 992px) {
    h1 { font-size: 38px; }
    h2 { font-size: 30px; }
    section { padding: 60px 0; }
}

@media (max-width: 768px) {
    /* --- Navbar --- */
    .nav-toggle { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background-color: var(--dark-blue); flex-direction: column; justify-content: center; align-items: center; gap: 40px; transition: right 0.4s ease-in-out; }
    .nav-links.active { right: 0; }
    .nav-links a { color: white; font-size: 18px; }
    .nav-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.active .bar:nth-child(2) { opacity: 0; }
    .nav-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    /* --- Sections --- */
    .hero-actions { flex-direction: column; }
    .tech-grid { flex-direction: column; text-align: center; }
    .tech-text { text-align: center; margin-bottom: 40px; }
    .tech-text h2 { text-align: center; }
    .process-wrapper { flex-direction: column; align-items: center; gap: 40px; }
    .process-wrapper::before { display: none; }
    .process-step { width: 100%; max-width: 300px; }
    .footer-content { flex-direction: column; gap: 15px; }
    .story-hero h1 { font-size: 36px; }
    .milestones-section .container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    .btn { width: 100%; text-align: center; }
}

/* ▼▼▼ AJOUTEZ CE BLOC COMPLET À LA FIN DE VOTRE style.css ▼▼▼ */

/* ------------------- */
/* PAGE CONTACT        */
/* ------------------- */
.contact-hero {
    padding-top: 140px; /* Espace pour la navbar fixe */
    text-align: center;
}

.contact-section {
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Donne plus d'espace au formulaire */
    gap: 60px;
    margin-top: 40px;
}

/* --- Colonne de gauche --- */
.contact-info h3 {
    font-size: 28px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-info-block {
    margin-bottom: 30px;
}

.contact-info-block h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.contact-link {
    font-size: 18px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.contact-socials {
    display: flex;
    gap: 25px;
}

.contact-socials a {
    color: var(--medium-gray);
    font-size: 28px;
    transition: color 0.3s ease;
}

.contact-socials a:hover {
    color: var(--primary-green);
}

/* --- Colonne de droite (Formulaire) --- */
.contact-form-wrapper {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-gray);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.2);
}

.form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

/* Responsive pour la page contact */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* ▲▲▲ FIN DU BLOC CSS À AJOUTER ▲▲▲ */

/* ▼▼▼ AJOUTEZ CE BLOC À LA FIN DE style.css ▼▼▼ */

/* ==========================================================================
   PAGE : VUE LIGNE
   ========================================================================== */
.header-title-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.line-selector {
    font-size: 1rem;
    font-weight: 600;
    padding-right: 30px; /* Espace pour l'icône de flèche */
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.cycle-details-list {
    list-style: none;
    margin-top: 16px;
}

.cycle-details-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-gray);
    font-size: 0.9rem;
}

.cycle-details-list li span {
    color: var(--medium-gray);
}

.cycle-details-list li strong {
    color: var(--dark-blue);
    font-weight: 600;
}

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

/* ▲▲▲ FIN DU BLOC À AJOUTER ▲▲▲ */

/* ▼▼▼ AJOUTEZ CE BLOC À LA FIN DE style.css ▼▼▼ */

/* ==========================================================================
   PAGE : VUE BAC
   ========================================================================== */
.bac-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Plus d'espace pour le journal */
    gap: 24px;
    align-items: flex-start;
}

.bac-details-card {
    padding: 0;
    overflow: hidden; /* Pour que les coins de l'image soient arrondis */
}

.bac-photo {
    height: 250px;
    background-color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 80px;
}

.bac-info {
    padding: 24px;
}

.bac-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.bac-log-card .card-title {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-gray);
}

.bac-log-list {
    list-style: none;
    margin-top: 24px;
    position: relative;
}

/* Ligne verticale de la timeline */
.bac-log-list::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: var(--border-gray);
}

.log-entry {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
}

.log-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    /* On ajoute un fond pour que l'icône passe au-dessus de la ligne */
    background-color: var(--light-gray); 
}

.log-details .log-text {
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.log-details .log-timestamp {
    font-size: 0.8rem;
    color: var(--medium-gray);
}


/* ▲▲▲ FIN DU BLOC À AJOUTER ▲▲▲ */

/* ▼▼▼ AJOUTEZ CE BLOC À LA FIN DE style.css ▼▼▼ */

/* ==========================================================================
   SECTIONS ENRICHIES PAR LES DONNÉES
   ========================================================================== */
/* --- Section "Validé par le Terrain" (Accueil) --- */
.proof-section {
    background-color: var(--light-gray);
    text-align: center;
}
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.proof-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-gray);
}
.proof-stat {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
    line-height: 1;
}
.proof-text {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}
.quote-wrapper {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-gray);
}
.quote-wrapper blockquote {
    font-size: 22px;
    font-weight: 600;
    font-style: italic;
    color: var(--dark-blue);
    max-width: 600px;
    margin: 0 auto 15px auto;
    border-left: 4px solid var(--primary-green);
    padding-left: 20px;
    text-align: left;
}
.quote-wrapper cite {
    font-size: 1rem;
    color: var(--medium-gray);
    font-style: normal;
}

/* --- Section FAQ (Notre Histoire) --- */
.faq-section {
    background-color: var(--background-color);
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}
.faq-item {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.faq-question i {
    font-size: 20px;
    color: var(--primary-green);
}
.faq-question h3 {
    font-size: 18px;
    color: var(--dark-blue);
}
.faq-item p {
    font-size: 15px;
    margin-bottom: 0;
}

/* --- Section Experts (Notre Histoire) --- */
.experts-section {
    background-color: var(--dark-blue);
    color: white;
    text-align: center;
}
.experts-section blockquote {
    font-size: 24px;
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto 20px auto;
}
.experts-section cite {
    display: block;
    margin-bottom: 20px;
    color: #aeb8c4;
}
.experts-section p {
    max-width: 600px;
    margin: 0 auto;
    color: #aeb8c4;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}


/* ▲▲▲ FIN DU BLOC À AJOUTER ▲▲▲ */

/* ==========================================================================
   4. RYTHME VERTICAL & ESPACEMENT DES SECTIONS
   ========================================================================== */

/* Règle de base pour toutes les sections du site vitrine */
body:not(.dashboard-body) main > section {
    padding: 100px 0;
}

/* Ajustement pour les headers de page (hero) */
.hero, .story-hero, .contact-hero {
    padding: 140px 0 100px 0; /* Espace pour la navbar + espace en dessous */
}

/* Ajustement pour la dernière section avant le footer pour un espace parfait */
body:not(.dashboard-body) main > section:last-of-type {
    padding-bottom: 100px;
}

/* Cas spécifiques si nécessaire (optionnel) */
.how-we-work, #team {
    padding-top: 0; /* Ces sections suivent d'autres, on annule leur padding supérieur pour un enchaînement plus naturel */
}


/* ▲▲▲ FIN DU BLOC DE REMPLACEMENT ▲▲▲ */

/* ▼▼▼ AJOUTEZ CE BLOC COMPLET À LA FIN DE style.css ▼▼▼ */

/* ==========================================================================
   SECTION "VALIDÉ PAR LE TERRAIN" (DESIGN CRÉATIF)
   ========================================================================== */
.proof-section {
    /* Fond subtil pour donner de la profondeur */
    background: linear-gradient(180deg, var(--background-color) 0%, var(--light-gray) 100%);
}

.proof-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proof-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.stat-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    min-height: 80px; /* Assure un alignement parfait */
}
.stat-header i {
    font-size: 28px;
    color: var(--primary-green);
}
.stat-header h3 {
    font-size: 1.1rem;
    color: var(--dark-blue);
}

.stat-visual {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-visual canvas {
    position: absolute;
    top: 0;
    left: 0;
}
.proof-stat {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
    line-height: 1;
    z-index: 1; /* S'assure que le texte est au-dessus du cercle */
}

/* NOUVELLE RÈGLE POUR LA CARTE "365 JOURS" */
/* On cible la 3ème carte pour appliquer le style de cercle plein */
.proof-grid .proof-card:nth-child(3) .stat-visual {
    background-color: var(--primary-green);
    border-radius: 50%; /* Crée un cercle parfait */
}

/* Style spécial pour le "365 j/an" */
.proof-stat.text-stat {
    font-size: 32px; /* Taille de police réduite pour bien rentrer dans le cercle */
    color: white; /* Texte blanc sur fond vert */
}


.proof-text {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-top: auto; /* Pousse le texte en bas pour aligner */
}

.quote-wrapper {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-top: 60px;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}
/* Icône de guillemet créative */
.quote-wrapper::before {
    content: '\f10d'; /* Code Font Awesome pour le guillemet */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: var(--primary-green);
    background-color: var(--background-color);
    padding: 0 15px;
}
.quote-wrapper blockquote {
    border: none;
    padding: 0;
    max-width: 550px;
}

/* ▲▲▲ FIN DU BLOC CSS À AJOUTER ▲▲▲ */

/* ▼▼▼ AJOUTEZ CE BLOC À LA FIN DE style.css ▼▼▼ */

/* ==========================================================================
   CORRECTIONS DE MISE EN PAGE
   ========================================================================== */

/* --- Correction pour l'en-tête de la page "Notre Histoire" --- */
.story-hero {
    text-align: center; /* Centre tout le contenu à l'intérieur */
}

.story-hero h1 {
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Double assurance pour le centrage du titre */
}

/* --- Correction pour le paragraphe d'introduction --- */
.story-intro {
    max-width: 700px;
    margin: 0 auto 20px auto; /* La clé est 'margin: 0 auto' pour centrer un bloc */
}


/* ▲▲▲ FIN DU BLOC À AJOUTER ▲▲▲ */

/* ▼▼▼ AJOUTEZ CE BLOC COMPLET À LA FIN DE style.css ▼▼▼ */

/* ==========================================================================
   FOOTER (DESIGN CRÉATIF)
   ========================================================================== */
.main-footer {
    background-color: var(--dark-blue);
    color: #aeb8c4; /* Gris clair pour le texte secondaire */
    padding: 80px 0 0 0;
}

/* --- Section Appel à l'Action (CTA) --- */
.footer-cta {
    text-align: center;
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid #1a3a5a; /* Ligne de séparation subtile */
}
.footer-cta h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
}
.footer-cta p {
    max-width: 500px;
    margin: 0 auto 30px auto;
}
.footer-cta .btn-primary {
    padding: 15px 40px;
    font-size: 18px;
}

/* --- Section Principale (Grille) --- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Donne plus d'espace à la colonne de la marque */
    gap: 40px;
    padding-bottom: 60px;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-column .nav-logo {
    margin-bottom: 15px;
    display: inline-block;
}
.footer-column .footer-mission {
    max-width: 300px;
    margin-bottom: 20px;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-column ul a {
    color: #aeb8c4;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column ul a:hover {
    color: var(--primary-green);
}
.footer-column ul i {
    color: var(--primary-green);
}
.footer-socials {
    display: flex;
    gap: 20px;
}
.footer-socials a {
    color: #aeb8c4;
    font-size: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-socials a:hover {
    color: var(--primary-green);
    transform: scale(1.1);
}

/* --- Section Copyright --- */
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #1a3a5a;
    font-size: 0.9rem;
}

/* Responsive pour le nouveau footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column .footer-mission {
        margin: 0 auto 20px auto;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-column ul li {
        justify-content: center;
    }
}

/* ▲▲▲ FIN DU BLOC CSS À AJOUTER ▲▲▲ */

/* ▼▼▼ AJOUTEZ CE BLOC COMPLET À LA FIN DE style.css ▼▼▼ */

/* ==========================================================================
   PAGE CONTACT (DESIGN CRÉATIF)
   ========================================================================== */
/* --- Héros Immersif --- */
.creative-hero {
    position: relative;
    padding: 180px 0;
    text-align: center;
    color: white;
    background-image: linear-gradient(rgba(10, 37, 64, 0.7), rgba(10, 37, 64, 0.7)), url('https://images.unsplash.com/photo-1523741543342-1a2e38c350b3?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}
.creative-hero h1 {
    color: white;
    font-size: 52px;
}
.creative-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 15px auto 0 auto;
}

/* --- Section du Formulaire --- */
.contact-form-section {
    padding: 0;
    margin-top: -80px; /* Fait remonter le formulaire sur le héros */
    position: relative;
    z-index: 2;
    padding-bottom: 100px;
}
.form-container {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
}
.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-gray);
}
.form-header h3 {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-weight: 500;
}
.contact-paths {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.contact-path-btn {
    background-color: transparent;
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    color: var(--medium-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-path-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}
.contact-path-btn.active {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}
.contact-path-btn.active i {
    color: white !important;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
}

/* --- Section Alternatives --- */
.alternative-contact {
    text-align: center;
    padding-bottom: 100px;
}
.alternative-contact h3 {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 40px;
}
.alternative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.alternative-item {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
}
.alternative-item i {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 15px;
}
.alternative-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.alternative-item p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.alternative-item a {
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
}

/* Responsive pour la page contact créative */
@media (max-width: 768px) {
    .creative-hero h1 { font-size: 38px; }
    .form-grid { grid-template-columns: 1fr; }
    .alternative-grid { grid-template-columns: 1fr; }
}

/* ▲▲▲ FIN DU BLOC CSS À AJOUTER ▲▲▲ */

/* ▼▼▼ AJOUTEZ CE BLOC COMPLET À LA FIN DE style.css ▼▼▼ */

/* ==========================================================================
   SECTION PRODUCT TOUR (DESIGN CRÉATIF)
   ========================================================================== */
#technologie {
    background-color: var(--light-gray); /* Fond subtil pour la section */
}

.tech-intro {
    text-align: center;
    margin-bottom: 50px;
}
.tech-intro p {
    max-width: 600px;
    margin: 10px auto 0 auto;
}

.tech-tour-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.feature-tour-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-tour-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-gray);
    background-color: var(--background-color);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.feature-tour-item i {
    font-size: 24px;
    color: var(--medium-gray);
    transition: color 0.3s ease;
}
.feature-tour-item h3 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}
.feature-tour-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
}

.feature-tour-item:hover {
    border-color: var(--primary-green);
    transform: translateX(5px);
}
.feature-tour-item.active {
    border-color: var(--primary-green);
    box-shadow: var(--shadow);
    background-color: white;
}
.feature-tour-item.active i {
    color: var(--primary-green);
}

/* --- Effet de transition pour les images --- */
.tech-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 400px; /* Assure une hauteur minimale */
}
.tech-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* L'animation créative */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(20px);
}
.tech-image-wrapper img.active {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */
@media (max-width: 992px) {
    .tech-tour-grid {
        grid-template-columns: 1fr;
    }
}

/* ▼▼▼ AJOUTEZ CE BLOC COMPLET À LA FIN DE style.css ▼▼▼ */

/* ==========================================================================
   SECTION "COMMENT ÇA MARCHE" (DESIGN CRÉATIF)
   ========================================================================== */
#process {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--background-color) 100%);
}
.process-intro {
    text-align: center;
    margin-bottom: 50px;
}
.process-intro p {
    max-width: 600px;
    margin: 10px auto 0 auto;
}

/* --- La navigation par étapes --- */
.process-nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-gray);
    margin-bottom: 50px;
}

.process-step-btn {
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 1.1rem; /* Police légèrement agrandie */
    font-weight: 600;
    color: var(--medium-gray);
    padding: 20px 0;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre le numéro et le texte */
}

/* Soulignement subtil qui apparaît au survol et à l'état actif */
.process-step-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.process-step-btn:hover::after,
.process-step-btn.active::after {
    transform: scaleX(1);
}

/* Le style du numéro (grand, transparent) */
.process-step-btn::before {
    content: counter(step-counter); /* On va utiliser un compteur CSS */
    counter-increment: step-counter;
    font-size: 2.5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--border-gray); /* Bordure du texte */
    text-stroke: 2px var(--border-gray);
    transition: all 0.4s ease;
}

/* Au survol, la bordure du numéro devient verte */
.process-step-btn:hover::before {
    -webkit-text-stroke: 2px var(--primary-green);
}

.process-step-btn.active {
    color: var(--dark-blue);
}
/* À l'état actif, le numéro se remplit de vert */
.process-step-btn.active::before {
    color: var(--primary-green);
    -webkit-text-stroke: 2px var(--primary-green);
}

/* Initialisation du compteur CSS */
.process-nav ul {
    counter-reset: step-counter;
}

/* --- La zone de contenu --- */
.process-content-wrapper {
    position: relative;
    min-height: 400px; /* Assure que la section ne s'effondre pas */
}
.process-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    /* Superposition des panneaux */
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}
.process-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.process-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.process-text h3 {
    font-size: 28px;
    margin-bottom: 15px;
}
.process-text p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .process-nav ul {
        flex-direction: column;
        border: none;
    }
    .process-step-btn {
        width: 100%;
        border-bottom: 2px solid var(--border-gray);
    }
    .process-content {
        grid-template-columns: 1fr;
        position: relative; /* On désactive la superposition sur mobile */
        display: none; /* Caché par défaut */
        margin-bottom: 30px;
    }
    .process-content.active {
        display: grid; /* Uniquement l'actif est visible */
    }
    .process-image { order: -1; margin-bottom: 20px; }
}

/* ▲▲▲ FIN DU BLOC CSS À AJOUTER ▲▲▲ */

/* ▼▼▼ AJOUTEZ CE BLOC À LA FIN DE style.css ▼▼▼ */

/* --- Style pour l'attribution dans le footer --- */
.footer-bottom .attribution {
    font-size: 0.8rem;
    margin-top: 10px;
    color: var(--medium-gray);
}
.footer-bottom .attribution a {
    color: var(--medium-gray);
    text-decoration: none;
}
.footer-bottom .attribution a:hover {
    text-decoration: underline;
}

/* ▲▲▲ FIN DU BLOC À AJOUTER ▲▲▲ */