/* ============================================================
   BORDERIDE — entreprises.css
   Reprend exactement le système de design de index.css
   + sections spécifiques à la page entreprises

   Plan :
   1.  Variables de design (identiques à index.css)
   2.  Reset & base
   3.  Typographie commune
   4.  Boutons
   5.  Cartes
   6.  Header / Navbar  (identique à index.css)
   7.  Hero entreprises
   8.  Chiffres clés
   9.  Constat & Solution
   10. Ce que BorderRide vous apporte
   11. Comment déployer
   12. Nos engagements
   13. Section Calendly
   14. Footer            (identique à footer.css index)
   ============================================================ */


/* ============================================================
   1. VARIABLES DE DESIGN — identiques à index.css
   ============================================================ */
:root {
    --primary:        #1d9e68;
    --primary-dark:   #0f5535;
    --primary-light:  #3bbf85;
    --primary-bg:     #eaf7f1;
    --accent:         #d97706;
    --accent-bg:      #fef3c7;
    --text-main:      #111827;
    --text-sub:       #6b7280;
    --bg-page:        #f4f4f2;
    --bg-card:        #ffffff;
    --border-light:   #d1fae5;
    --white:          #ffffff;
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ============================================================
   3. TYPOGRAPHIE COMMUNE
   ============================================================ */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-sub);
    max-width: 680px;
    margin: 0 auto 50px;
    line-height: 1.7;
}


/* ============================================================
   4. BOUTONS
   ============================================================ */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-accent:hover {
    background-color: #1d9e68;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary-bg);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-white:hover {
    background-color: var(--primary-bg);
    transform: translateY(-2px);
}

.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
}


/* ============================================================
   5. CARTES — style unifié identique à index.css
   ============================================================ */
.card {
    padding: 40px;
    background-color: var(--bg-card);
    border-radius: 14px;
    border: 0.5px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.card:hover {
    border-color: var(--primary);
    border-width: 1.5px;
    box-shadow: 0 8px 24px rgba(29, 158, 104, 0.12);
    transform: translateY(-4px);
}
.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}
.card p {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.7;
    margin: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }


/* ============================================================
   6. HEADER / NAVBAR — identique à index.css
   ============================================================ */
.navbar {
    height: 72px;
    display: flex;
    align-items: center;
    background: var(--white);
    border-bottom: 0.5px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.4px;
}
.logo span { color: var(--text-main); }

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}
nav ul li a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}
nav ul li a:hover {
    color: var(--primary);
    background-color: var(--primary-bg);
}

/* Bouton "Entreprises" — ambre, identique à index.css */
nav ul li a.nav-cta {
    background-color: var(--accent);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
}
nav ul li a.nav-cta:hover {
    background-color: #1d9e68;
    transform: none;
}

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


/* ============================================================
   7. HERO ENTREPRISES
   ============================================================ */
.hero-entreprises {
    padding: 100px 0 80px;
    background: linear-gradient(150deg, var(--primary-bg) 0%, var(--white) 65%);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary-bg);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-entreprises h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -1px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-entreprises p {
    font-size: 1.15rem;
    color: var(--text-sub);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) { .hero-entreprises h1 { font-size: 2.2rem; } }


/* ============================================================
   8. CHIFFRES CLÉS — 3 stats avec titre + sous-titre
   ============================================================ */
.stats-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 0.5px solid var(--border-light);
    border-bottom: 0.5px solid var(--border-light);
}

.stats-intro {
    text-align: center;
    margin-bottom: 50px;
}

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-card);
    border-radius: 14px;
    border: 0.5px solid var(--border-light);
    transition: var(--transition);
}
.stat-card:hover {
    border-color: var(--primary);
    border-width: 1.5px;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(29, 158, 104, 0.12);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: 500;
    line-height: 1.4;
}

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


/* ============================================================
   9. CONSTAT & SOLUTION
   ============================================================ */
.comparison-section {
    padding: 80px 0;
    background-color: var(--bg-page);
}
.comparison-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.badge-red   { background-color: #fee2e2; color: #dc2626; }
.badge-green { background-color: var(--primary-bg); color: var(--primary-dark); }
.badge-amber { background-color: var(--accent-bg); color: #92400e; }

.icon-list {
    list-style: none;
    padding: 0;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.icon-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}
.icon       { font-size: 1rem; }
.icon.red   { color: #dc2626; }
.icon.green { color: var(--primary); }


/* ============================================================
   10. CE QUE BORDERIDE VOUS APPORTE
   ============================================================ */
.features {
    padding: 80px 0;
    background-color: var(--primary-bg);
}


/* ============================================================
   11. COMMENT DÉPLOYER — intro + étapes
   ============================================================ */
.intro {
    text-align: center;
    padding: 80px 20px 40px;
    max-width: 860px;
    margin: 0 auto;
}
.intro h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.2;
}
.intro p {
    font-size: 1.15rem;
    color: var(--text-sub);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}


.step-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 14px;
    flex: 0 1 calc(33.333% - 24px);
    min-width: 300px;
    border: 0.5px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}
.step-card:hover {
    border-color: var(--primary);
    border-width: 1.5px;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(29, 158, 104, 0.12);
}

.step-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.step-number { font-size: 1.4rem; font-weight: 800; color: var(--primary); flex-shrink: 0; }
.step-title  { font-size: 1.1rem; font-weight: 700; color: var(--text-main); }
.step-card p { font-size: 1rem; font-weight: 500; color: var(--text-sub); line-height: 1.65; }

@media (max-width: 1024px) { .step-card { flex: 0 1 calc(50% - 24px); } }
@media (max-width: 700px)  { .step-card { flex: 0 1 100%; min-width: auto; } }
@media (max-width: 768px)  { .intro h2 { font-size: 2rem; } }


/* ============================================================
   12. NOS ENGAGEMENTS
   ============================================================ */


.objective-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.objective-number { font-size: 1.4rem; font-weight: 800; color: var(--primary); flex-shrink: 0; }
.objective-title  { font-size: 1.1rem; font-weight: 700; color: var(--text-main); }


/* ============================================================
   13. SECTION CALENDLY
   ============================================================ */
#calendly {
    background-color: var(--primary-bg);
    color: var(--white);
    margin: 60px 5%;
    padding: 80px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 48px rgba(29, 158, 104, 0.2);
}

#calendly .section-title    { color: var(--white); }
#calendly .section-subtitle { color: rgba(255, 255, 255, 0.85); margin-bottom: 40px; }

#calendly .btn-white {
    background-color: var(--white);
    color: var(--primary-dark);
    font-size: 1.1rem;
    padding: 16px 44px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
#calendly .btn-white:hover {
    background-color: var(--primary-bg);
    transform: translateY(-3px);
}

.calendly-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

@media (max-width: 768px) { #calendly { margin: 40px 5%; padding: 50px 24px; } }


/* ============================================================
   14. FOOTER — identique à footer.css de l'index BorderRide
   ============================================================ */
.footer {
    background-color: var(--white);
    color: var(--text-main);
    padding-top: 56px;
    border-top: 0.5px solid var(--border-light);
}

/* Grille 3 colonnes : info large + légal + navigation */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

/* Colonne logo + description + réseaux */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.4px;
}
.footer-logo-text span { color: var(--text-main); }

.footer-info p {
    font-size: 0.88rem;
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 8px;
}

.follow-us {
    font-size: 0.82rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main) !important;
    margin-top: 8px;
    margin-bottom: 4px !important;
}

/* Icônes réseaux sociaux */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    color: var(--primary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1.5px solid var(--border-light);
}
.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.copyright-side {
    font-size: 0.78rem !important;
    color: #9ca3af !important;
    margin-top: 8px;
}

/* Colonnes légal & navigation */
.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--primary); }

/* Barre SEO bas de page */
.footer-seo-bar {
    border-top: 1px solid var(--border-light);
    padding: 24px 20px;
    text-align: center;
    background-color: var(--bg-page);
}
.footer-seo-bar p {
    font-size: 0.78rem;
    color: var(--text-sub);
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-info { grid-column: 1 / -1; text-align: center; }
    .social-links { justify-content: center; }
}

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

/* Ajoutez ou remplacez ces blocs dans entreprise.css */

/* --- Logo et Header --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* --- Hero avec image de fond (identique index) --- */
.hero-entreprises {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(10, 31, 23, 0.65), rgba(15, 85, 53, 0.55)),
                url('../images/fond.png'); /* Chemin à vérifier selon votre dossier */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
}

.hero-entreprises h1 {
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-entreprises p {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* --- Chiffres Clés (Cartes Vertes) --- */
.stat-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--primary) !important; /* Carré vert */
    border-radius: 14px;
    border: none;
    transition: var(--transition);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white) !important; /* Texte blanc */
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white) !important; /* Texte blanc */
    font-weight: 500;
    opacity: 0.9;
}


/* ============================================================
   11. SECTION NOS ENGAGEMENTS (OBJECTIVES)
   ============================================================ */
.objectives {
    padding: 80px 0;
    background-color: var(--primary-bg); /* Vert menthe très clair */
}

.objectives .section-title {
    color: var(--text-main);
}

/* Les cartes restent blanches pour ressortir proprement sur le fond menthe */
.objectives .card {
    background-color: var(--white);
    border: 0.5px solid var(--border-light);
}

.objectives .objective-number {
    color: var(--primary); /* Numéro en vert menthe foncé */
    font-size: 1.4rem;
    font-weight: 800;
}


/* ============================================================
   13. SECTION CALENDLY — Style Nettoyé (Zéro Vert)
   ============================================================ */

  #calendly {
    background-color: var(--primary-bg) !important; /* ✅ vert menthe */
    margin: 0 !important;
    padding: 80px 0 !important;
    width: 100% !important;
}


#calendly .container {
    background-color: var(--white) !important; /* L'INTÉRIEUR est blanc */
    color: var(--text-main) !important;
    padding: 70px 60px !important;
    border-radius: 16px !important;
    text-align: center !important;
    max-width: 860px !important; /* Largeur comme la newsletter */
    margin: 0 auto !important;   /* Centre la box */
    border: 0.5px solid var(--border-light) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: var(--transition) !important;
}

/* Effet au survol */
#calendly .container:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 8px 24px rgba(29, 158, 104, 0.1) !important;
    transform: translateY(-2px);
}

#calendly .section-title {
    color: var(--text-main) !important;
    margin-bottom: 12px !important;
}

#calendly .section-subtitle {
    color: var(--text-sub) !important;
    margin-bottom: 40px !important;
}

/* Le bouton d'action en vert pour qu'il soit visible sur le blanc */
#calendly .btn-white {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 14px 40px !important;
    border-radius: 10px !important;
}

#calendly .btn-white:hover {
    background-color: var(--primary-dark) !important;
}

/* ============================================================
   11. COMMENT DÉPLOYER — HARMONISATION
   ============================================================ */

/* Fond de la section en gris léger pour faire ressortir les cartes blanches */
.deploy-section { 
    padding: 80px 0 160px;
    background-color: var(--bg-page); 
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 120px;
}

.step-card {
    background-color: var(--white); /* Retour au fond blanc */
    padding: 40px;
    border-radius: 14px;
    border: 0.5px solid var(--border-light); /* Bordure fine menthe */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    height: 100%; /* Pour que toutes les cartes aient la même hauteur */
}

/* Effet au survol identique aux autres cartes du site */
.step-card:hover {
    border-color: var(--primary);
    border-width: 1.5px;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(29, 158, 104, 0.12);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Le numéro d'étape en vert menthe */
.step-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.step-card p {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.7;
    margin: 0;
}

/* Ajustements Responsive */
@media (max-width: 900px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .steps-grid { grid-template-columns: 1fr; }
    .step-card { padding: 30px; }
}

/* ============================================================
   12. NOS ENGAGEMENTS — HARMONISATION (STYLE CARTES)
   ============================================================ */
.objectives {
    padding: 80px 0;
    background-color: var(--bg-page); /* Fond gris pour faire ressortir les cartes */
}

.objectives .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.objectives .card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 14px;
    border: 0.5px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.objectives .card:hover {
    border-color: var(--primary);
    border-width: 1.5px;
    box-shadow: 0 8px 24px rgba(29, 158, 104, 0.12);
    transform: translateY(-4px);
}

.objective-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.objective-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.objective-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Espace pour la section Objectifs (fond menthe) */
.objectives {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

/* Espace pour la section Newsletter (fond gris) */
.newsletter-section {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}