/* assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --color-bg: #F9FAFB;       /* Blanc cassé premium */
    --color-surface: #FFFFFF;  /* Blanc pur pour cartes */
    --color-text-main: #111827; /* Noir doux */
    --color-text-muted: #6B7280; /* Gris moyen */
    
    --color-primary: #10B981;  /* Vert Tech (Emerald) */
    --color-primary-dark: #059669;
    --color-primary-light: #D1FAE5; /* Pastel pour fonds */
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    letter-spacing: -0.02em; /* Touche "Tech" serrée */
    font-weight: 700;
}

a { text-decoration: none; transition: all 0.3s ease; }

/* BOUTONS GEN Z PREMIUM */
.btn-saada {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-tech {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary-tech:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: #fff;
}

.btn-outline-tech {
    background: transparent;
    border: 2px solid #E5E7EB;
    color: var(--color-text-main);
}

.btn-outline-tech:hover {
    border-color: var(--color-text-main);
    background: var(--color-text-main);
    color: #fff;
}

/* NAVBAR FINE */
.navbar-saada {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    padding: 15px 0;
    transition: padding 0.3s;
}
.navbar-saada.scrolled { padding: 10px 0; }

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted) !important;
    padding: 8px 16px !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-text-main) !important;
    background: var(--color-bg);
    border-radius: 20px;
}

/* CARDS GÉNÉRIQUES */
.card-tech {
    background: var(--color-surface);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}
.card-tech:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-light);
}

/* UTILITAIRES DE TEXTE */
.text-gradient {
    background: linear-gradient(135deg, #111827 0%, #4B5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-pastel { color: var(--color-primary); }


/* --- COMPOSANTS HEADER --- */

/* Logo Icon */
.logo-icon {
    width: 32px; height: 32px;
    background: #111827;
    color: #fff;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

/* Dropdown Menu Tech */
.dropdown-menu-tech {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 15px; /* Décalage */
    min-width: 280px;
}

/* Petit triangle au dessus du menu (Optionnel, fait pro) */
.dropdown-menu-tech::before {
    content: '';
    position: absolute;
    top: -6px; left: 20px;
    width: 12px; height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-left: 1px solid rgba(0,0,0,0.05);
}

.dropdown-item:hover {
    background-color: #F9FAFB;
}
.icon-square {
    width: 40px; height: 40px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

/* --- COMPOSANTS FOOTER --- */
.footer-saada {
    background-color: #111827; /* Gris très sombre presque noir */
    color: #fff;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 5px; /* Petit effet de mouvement */
}

.social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.social-btn:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}



/* --- HERO SECTION --- */
.hero-section {
    padding: 100px 0 80px;
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem; /* Très gros */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #111827 0%, #1168f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badge "Nouveau" ou "Trending" au dessus du titre */
.badge-pill-tech {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Grille Logos Clients (Marquee effect si possible, ici statique propre) */
.client-logo-grid {
    display: flex;
    justify-content: center; /* Centré ou space-between */
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 1;
    /*filter: grayscale(100%);  Monochrome chic */
    filter: none; /* Monochrome chic */
}
.client-logo-grid img { height: 35px; transition: 0.3s; }
.client-logo-grid img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* --- CARTES PRODUITS (GRID BENTO) --- */
.product-card {
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px -15px rgba(0,0,0,0.1);
    border-color: var(--color-primary-light);
}

.product-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f3f4f6 0%, #fff 100%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.product-tags span {
    font-size: 0.75rem;
    background: #F3F4F6;
    color: #4B5563;
    padding: 4px 10px;
    border-radius: 6px;
    margin-right: 5px;
    font-weight: 500;
}

/* Lien "Découvrir" avec flèche animée */
.link-arrow {
    display: inline-flex; align-items: center;
    font-weight: 600; color: var(--color-primary);
    margin-top: 1.5rem;
}
.link-arrow i { margin-left: 5px; transition: 0.3s; }
.link-arrow:hover i { margin-left: 10px; }

/* --- SECTION STATS (Compteurs) --- */
.stat-box h3 { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.stat-box p { font-size: 0.9rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }




/* --- PAGE PRODUIT --- */

/* Section Défis (Pain Points) */
.pain-point-item {
    padding: 1.5rem;
    border-left: 4px solid #E5E7EB;
    transition: 0.3s;
}
.pain-point-item:hover {
    border-left-color: var(--color-primary);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

/* Grille Fonctionnalités (Bento Grid) */
.feature-box {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.feature-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Pricing Cards (Type Apple) */
.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.pricing-card.popular {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}
.badge-popular {
    position: absolute; top: 20px; right: 20px;
    background: var(--color-primary); color: #fff;
    font-size: 0.75rem; font-weight: 700;
    padding: 5px 12px; border-radius: 20px;
    text-transform: uppercase;
}
.price-tag { font-size: 3rem; font-weight: 700; color: var(--color-text-main); }
.price-period { font-size: 1rem; color: var(--color-text-muted); font-weight: 400; }
.pricing-features { text-align: left; margin: 2rem 0; }
.pricing-features li { margin-bottom: 0.8rem; display: flex; align-items: center; color: var(--color-text-muted); }
.pricing-features li i { color: var(--color-primary); margin-right: 10px; flex-shrink: 0; }

/* Captures d'écran (Browser Mockup) */
.browser-mockup {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}
.browser-header {
    background: #f1f3f4; padding: 10px 15px;
    display: flex; gap: 6px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }





/* --- PAGE A PROPOS (MANIFESTO) --- */

/* Hero Manifesto */
.manifesto-title {
    font-size: 4rem; /* Énorme */
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}
@media (max-width: 768px) { .manifesto-title { font-size: 2.5rem; } }

/* Badge "Dr." ou "PhD" */
.badge-phd {
    background: #111827;
    color: #FCD34D; /* Or */
    border: 1px solid #FCD34D;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 5px;
}

/* Carte Membre Équipe (Style "Character Select") */
.team-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}
.team-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(100%); /* Noir et blanc par défaut */
}
.team-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0%); /* Couleur au survol */
}
.team-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.team-card:hover .team-overlay {
    transform: translateY(0);
}
.team-name { color: #fff; font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.5rem; }
.team-role { color: var(--color-primary); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.team-bio { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 10px; opacity: 0; transition: 0.3s; }
.team-card:hover .team-bio { opacity: 1; }

/* Section Chiffres Géants */
.big-stat { font-size: 5rem; font-weight: 800; line-height: 1; color: var(--color-primary); }
.big-stat-label { font-size: 1.2rem; font-weight: 600; color: #111827; }




/* --- BLOG GEN Z (MAGAZINE STYLE) --- */

/* Hero Blog : Typo Géante */
.blog-header-title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 0.9;
    background: linear-gradient(180deg, #111827 0%, #4B5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Filtres (Scroll horizontal fluide comme Instagram) */
.blog-nav-scroller {
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    padding-bottom: 5px;
}
.blog-nav-scroller::-webkit-scrollbar { display: none; }

.blog-filter-chip {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff;
}
.blog-filter-chip:hover, .blog-filter-chip.active {
    background: #111827;
    color: #fff;
    border-color: #111827;
    transform: translateY(-2px);
}

/* LA CARTE BENTO (Base) */
.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.bento-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Image avec Zoom au survol */
.bento-img-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}
.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.bento-card:hover .bento-img { transform: scale(1.1); }

/* Overlay de texte (pour les cartes avec image de fond) */
.bento-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 30px;
    z-index: 2;
    color: white;
}

/* Badge Catégorie Néon */
.badge-neon {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    padding: 4px 10px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    margin-bottom: 10px;
}

/* Carte "Texte Seul" (Quote / Insight) */
.bento-text-only {
    padding: 2.5rem;
    background: #F3F4F6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bento-text-only:hover { background: #E5E7EB; }

/* Carte CTA "Vente" cachée dans le blog */
.bento-cta {
    background: var(--color-primary);
    color: white;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.bento-cta h3 { color: white; margin-bottom: 1rem; }





/* --- PAGE ARTICLE (READER MODE) --- */

/* Barre de progression de lecture (Sticky Top) */
.reading-progress-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}
.reading-progress-bar {
    height: 100%;
    background: var(--color-primary);
    width: 0%;
    transition: width 0.1s;
}

/* Header Article */
.article-header {
    padding: 80px 0 60px;
    text-align: center;
}
.article-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #111827 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.article-meta img {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Corps de l'article (Typography) */
.article-content {
    font-family: 'Inter', sans-serif; /* Police très lisible */
    font-size: 1.25rem; /* Grand texte (20px) */
    line-height: 1.8;
    color: #374151;
}
.article-content h2 { margin-top: 3rem; margin-bottom: 1.5rem; font-size: 2rem; font-weight: 700; color: #111827; }
.article-content h3 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.5rem; font-weight: 600; }
.article-content p { margin-bottom: 1.5rem; }
.article-content ul, .article-content ol { margin-bottom: 2rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; }

/* Citations marquantes */
.article-quote {
    border-left: 4px solid var(--color-primary);
    padding-left: 2rem;
    font-style: italic;
    font-size: 1.5rem;
    color: #111827;
    margin: 3rem 0;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
}

/* Images dans l'article */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Sidebar Flottante (Partage) */
.share-sidebar {
    position: sticky;
    top: 150px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.btn-share {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E5E7EB;
    color: #6B7280;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.btn-share:hover { background: #111827; color: #fff; transform: scale(1.1); }

/* Carte Auteur (Fin d'article) */
.author-card {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    margin-top: 4rem;
}





/* --- PORTFOLIO (SHOWCASE) --- */

/* Filtres Pillules (Comme sur le Blog mais centré) */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid transparent;
    background: #fff;
    color: var(--color-text-muted);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.filter-btn:hover, .filter-btn.active {
    background: #111827;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* CARTE PROJET (Chef d'œuvre) */
.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000; /* Fond noir pour faire ressortir l'image */
    height: 400px; /* Hauteur fixe pour la régularité */
    cursor: pointer;
    transition: all 0.5s ease;
}

/* L'image de fond */
.project-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s;
}
.project-card:hover .project-bg {
    transform: scale(1.1);
    opacity: 0.4; /* S'assombrit pour laisser place au texte */
}

/* Contenu Info (Apparaît au survol) */
.project-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.project-card:hover .project-info { transform: translateY(0); }

.project-tags span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 10px;
    border-radius: 30px;
    color: #fff;
    margin-right: 5px;
}

/* Bouton "Voir" rond qui suit la souris (optionnel, ici simplifié en fixe) */
.view-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 80px; height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    color: #000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}
.project-card:hover .view-btn { transform: translate(-50%, -50%) scale(1); }

/* MODALE PROJET (Full Screen Immersion) */
.modal-project-content {
    border-radius: 24px;
    overflow: hidden;
    border: none;
}
.modal-hero-img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}




/* --- PAGE CONTACT --- */

/* Le Wrapper Split */
.contact-wrapper {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Colonne Info (Gauche) */
.contact-info-col {
    background: #111827;
    color: #fff;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}
/* Cercles décoratifs */
.contact-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.contact-link {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    transition: 0.3s;
}
.contact-link:hover { color: #fff; transform: translateX(10px); }
.contact-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 1rem;
}

/* Colonne Formulaire (Droite) */
.contact-form-col {
    padding: 4rem;
    background: #fff;
}

/* Inputs Premium */
.form-floating > .form-control {
    border: none;
    border-bottom: 2px solid #E5E7EB;
    border-radius: 0;
    padding-left: 0;
    background: transparent;
}
.form-floating > .form-control:focus {
    box-shadow: none;
    border-color: var(--color-primary);
}
.form-floating > label { padding-left: 0; color: #9CA3AF; }

/* Map stylisée (Grayscale) */
.map-container iframe {
    filter: grayscale(100%) invert(100%) contrast(90%); /* Dark Map */
    border-radius: 20px;
}




/* --- SKELETON LOADER --- */
.skeleton-loader {
    background-color: #f0f0f0;
    border-radius: 8px;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}

@keyframes skeleton-pulse {
    0% { background-color: #f0f0f0; }
    50% { background-color: #e0e0e0; }
    100% { background-color: #f0f0f0; }
}

/* Ajustement Modal */
.modal-project-content {
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}



/* --- PAGE SERVICES (ARSENAL) --- */

/* Hero Service */
.service-hero-bg {
    background-color: #000;
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.15) 0px, transparent 50%);
}

/* Service Cards Pro */
.service-card-pro {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
/* Effet de fond au survol */
.service-card-pro::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #f9fafb 0%, #fff 100%);
    opacity: 0;
    z-index: -1;
    transition: 0.4s;
}
.service-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
}
.service-card-pro:hover::before { opacity: 0.2; }

.service-icon-box {
    width: 70px; height: 70px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transition: 0.4s;
}
.service-card-pro:hover .service-icon-box {
    background: var(--color-primary);
    transform: rotate(-10deg) scale(1.1);
}

.service-list li {
    margin-bottom: 10px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    display: flex; align-items: center;
}
.service-list li i { color: var(--color-primary); margin-right: 10px; font-size: 0.8rem; }

/* Infinite Tech Ticker (Marquee) */
.tech-ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.tech-ticker {
    display: inline-block;
    animation: ticker 30s linear infinite;
}
.tech-item {
    display: inline-flex;
    align-items: center;
    margin: 0 40px;
    font-weight: 700;
    color: #9CA3AF;
    font-size: 1.5rem;
    filter: grayscale(100%);
    transition: 0.3s;
}
.tech-item:hover { filter: grayscale(0%); color: #111827; }
.tech-item i { margin-right: 10px; font-size: 2rem; }

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Process Timeline (Vertical) */
.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}
.process-step:last-child { margin-bottom: 0; }
.process-step::before { /* Ligne verticale */
    content: '';
    position: absolute;
    left: 25px; top: 0; bottom: -3rem;
    width: 2px;
    background: #E5E7EB;
    z-index: 0;
}
.process-step:last-child::before { display: none; }

.step-number-box {
    width: 50px; height: 50px;
    background: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 1;
    flex-shrink: 0;
    margin-right: 2rem;
}





/* --- PAGE SUPPORT (HELP CENTER) --- */

/* Hero Recherche */
.support-hero {
    background: #111827; /* Dark Slate */
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Forme abstraite en fond */
.support-hero::after {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 80%; height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.search-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.search-input-lg {
    padding: 20px 30px 20px 60px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
}
.search-input-lg:focus {
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.3);
    transform: scale(1.01);
}
.search-icon-lg {
    position: absolute;
    left: 25px; top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 1.2rem;
}

/* Cartes Produits (Documentation) */
.help-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
}
.help-icon {
    width: 60px; height: 60px;
    margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
    background: #F3F4F6;
    transition: 0.3s;
}
.help-card:hover .help-icon {
    background: var(--color-primary);
    color: #fff;
}

/* Status Widget */
.status-indicator {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    color: #059669;
    font-size: 0.85rem;
    font-weight: 600;
}
.status-dot {
    width: 8px; height: 8px;
    background: #10B981;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Ticket Box */
.ticket-box {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.ticket-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: var(--color-primary);
}





/* --- GLOBAL SEARCH (COMMAND PALETTE) --- */

/* Fond flouté sombre */
.search-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 24, 39, 0.6); /* Dark backdrop */
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
}

/* La fenêtre */
.search-modal-container {
    width: 100%;
    max-width: 650px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* Input */
.search-header {
    border-bottom: 1px solid #E5E7EB;
    padding: 10px;
}
.search-input-field {
    width: 100%;
    border: none;
    padding: 15px 20px;
    font-size: 1.2rem;
    outline: none;
    color: var(--color-text-main);
    background: transparent;
    font-family: var(--font-body);
}
.btn-close-search {
    background: none; border: none; color: #9CA3AF;
    padding: 10px; cursor: pointer; transition: 0.2s;
}
.btn-close-search:hover { color: #EF4444; transform: scale(1.1); }

/* Body */
.search-body {
    max-height: 50vh;
    overflow-y: auto;
    min-height: 150px;
}

/* Items Résultats */
.search-group-title {
    padding: 15px 20px 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    border-left: 3px solid transparent;
    text-decoration: none;
    transition: background 0.1s;
}
.search-item:hover, .search-item.active {
    background: #F3F4F6;
    border-left-color: var(--color-primary);
}

.search-item-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border: 1px solid #E5E7EB;
    margin-right: 15px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}
.search-item.active .search-item-icon { border-color: var(--color-primary); color: var(--color-primary); }

.kbd-shortcut {
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.7rem;
    background: #F9FAFB;
}




/* --- DOCUMENTATION SYSTEM (STRIPE-LIKE) --- */

/* Layout Global */
.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr 240px; /* Gauche - Centre - Droite */
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 1200px) { .docs-layout { grid-template-columns: 260px 1fr; } .docs-toc { display: none; } }
@media (max-width: 992px) { .docs-layout { grid-template-columns: 1fr; } .docs-sidebar { display: none; } }

/* Sidebar Gauche (Navigation) */
.docs-sidebar {
    position: sticky;
    top: 80px; /* Hauteur navbar */
    height: calc(100vh - 80px);
    overflow-y: auto;
    padding-top: 2rem;
    padding-bottom: 4rem;
    border-right: 1px solid rgba(0,0,0,0.05);
}
.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-thumb { background: #E5E7EB; border-radius: 4px; }

.doc-nav-group { margin-bottom: 2rem; }
.doc-nav-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    padding-left: 15px;
}
.doc-nav-link {
    display: block;
    padding: 8px 15px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    border-left: 2px solid transparent;
    transition: 0.2s;
}
.doc-nav-link:hover { color: var(--color-primary); background: rgba(0,0,0,0.02); }
.doc-nav-link.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 600;
    background: linear-gradient(90deg, var(--color-primary-light) 0%, transparent 100%);
}

/* Contenu Central */
.docs-content {
    padding-top: 2rem;
    padding-bottom: 5rem;
    min-height: 80vh;
}
.docs-header { margin-bottom: 3rem; border-bottom: 1px solid #E5E7EB; padding-bottom: 2rem; }
.docs-title { font-size: 2.5rem; font-weight: 800; color: var(--color-text-main); }
.docs-meta { color: var(--color-text-muted); font-size: 0.9rem; }

/* Typographie Contenu */
.docs-body p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.7; color: #374151; }
.docs-body h2 { margin-top: 3rem; margin-bottom: 1rem; font-size: 1.75rem; font-weight: 700; scroll-margin-top: 100px; }
.docs-body h3 { margin-top: 2rem; margin-bottom: 0.8rem; font-size: 1.25rem; font-weight: 600; scroll-margin-top: 100px; }

/* Callouts (Info Boxes) */
.callout {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid;
    background: #F9FAFB;
}
.callout-info { border-color: #3B82F6; background: #EFF6FF; }
.callout-warning { border-color: #F59E0B; background: #FFFBEB; }
.callout-title { font-weight: 700; margin-bottom: 0.5rem; display: block; }

/* Code Blocks */
pre {
    background: #1e293b !important; /* Slate 800 */
    border-radius: 12px;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.btn-copy {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn-copy:hover { background: rgba(255,255,255,0.2); }

/* Sidebar Droite (TOC) */
.docs-toc {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    padding-top: 2rem;
    font-size: 0.85rem;
}
.toc-title { font-weight: 700; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 1rem; color: var(--color-text-main); }
.toc-link {
    display: block;
    color: var(--color-text-muted);
    padding: 4px 0;
    transition: 0.2s;
    text-decoration: none;
}
.toc-link:hover, .toc-link.active { color: var(--color-primary); }
.toc-link.pl-3 { padding-left: 15px; } /* Indentation pour H3 */

/* Feedback Widget */
.doc-feedback {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.feedback-btn {
    border: 1px solid #E5E7EB;
    background: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    margin-left: 10px;
    transition: 0.2s;
    color: var(--color-text-muted);
}
.feedback-btn:hover { border-color: var(--color-text-main); color: var(--color-text-main); }
.feedback-btn.active { background: #10B981; color: #fff; border-color: #10B981; }





/* --- PAGE CARRIÈRES (JOIN THE SQUAD) --- */

/* Hero Carrière */
.career-hero {
    background-color: #000;
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.career-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
        url('../images/ui/code_dark_bg.jpg'); /* Image de code sombre */
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.glitch-text {
    position: relative;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    z-index: 1;
}

/* Perks (Avantages) - Style Cartes de Jeu */
.perk-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.perk-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
}
.perk-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(45deg, var(--color-primary), #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Job Board (Liste Missions) */
.job-card {
    display: block;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}
.job-card:hover {
    border-color: #111827;
    background: #F9FAFB;
    transform: scale(1.01);
}
.job-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 50px;
}
.badge-tech { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.badge-design { background: rgba(236, 72, 153, 0.1); color: #EC4899; }
.badge-marketing { background: rgba(16, 185, 129, 0.1); color: #10B981; }

.tech-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #6B7280;
    background: #F3F4F6;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

/* Apply Modal */
.modal-apply-header {
    background: #111827;
    color: white;
}






/* --- RICH TEXT CONTENT (Trumbowyg Output) --- */
.rich-text-content {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    line-height: 1.8;
}

.rich-text-content h1, 
.rich-text-content h2, 
.rich-text-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.rich-text-content h2 { font-size: 1.75rem; }
.rich-text-content h3 { font-size: 1.5rem; }

.rich-text-content p { margin-bottom: 1.5rem; }

.rich-text-content ul, 
.rich-text-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.rich-text-content li { margin-bottom: 0.5rem; }

.rich-text-content strong { color: #000; font-weight: 700; }

.rich-text-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin: 2rem 0;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}






/* --- PRODUIT : MEDIA & RESSOURCES --- */

/* 1. CINEMA VIDEO WRAPPER */
.video-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}
.video-container-pro {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    background: #000;
    aspect-ratio: 16/9; /* Ratio parfait */
}
/* La lueur derrière la vidéo */
.video-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 60%);
    opacity: 0.2;
    filter: blur(60px);
    z-index: -1;
    animation: glow-pulse 5s infinite alternate;
}
@keyframes glow-pulse {
    0% { opacity: 0.15; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.25; transform: translate(-50%, -50%) scale(1.1); }
}

/* Player Custom */
.video-container-pro iframe, 
.video-container-pro video {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* 2. DOCUMENT CARDS (Resource Hub) */
.resource-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
/* Petite barre de couleur au survol */
.resource-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; width: 0%; height: 3px;
    background: var(--color-primary);
    transition: 0.3s;
}
.resource-card:hover::after { width: 100%; }

.doc-icon-box {
    width: 50px; height: 50px;
    background: #F3F4F6;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: 0.3s;
}
.resource-card:hover .doc-icon-box {
    background: var(--color-primary);
    color: #fff;
}

.doc-info h6 { margin: 0; font-weight: 700; color: #1F2937; font-size: 1rem; }
.doc-meta { font-size: 0.8rem; color: #9CA3AF; margin-top: 2px; }
.download-icon { margin-left: auto; color: #D1D5DB; transition: 0.3s; }
.resource-card:hover .download-icon { color: var(--color-primary); transform: translateY(2px); }




/* ============================
   PRICING SECTION – VERSION 2
   Tall cards + prix bien centrés
============================ */

:root {
    --pricing-bg: #f9fafb;
    --pricing-accent: #196bff;
    --pricing-accent-soft: rgba(25, 107, 255, 0.08);
    --pricing-text-main: #0f172a;
    --pricing-text-muted: #6b7280;
    --pricing-border-soft: rgba(148, 163, 184, 0.4);
    --pricing-radius-xl: 22px;
    --pricing-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
    --pricing-shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.16);
}

/* Fond global section */
#pricing {
    background: radial-gradient(circle at top left, #e5edff 0, #ffffff 45%, #f9fafb 100%);
}

/* Titre */
#pricing h2 {
    font-size: clamp(2.1rem, 2.6vw, 2.4rem);
    letter-spacing: 0.04em;
}

#pricing p.text-muted {
    color: var(--pricing-text-muted) !important;
}

/* ===== Switch Mensuel / Annuel (visuel) ===== */

#pricing #pricingSwitch {
    appearance: none;
    -webkit-appearance: none;
    width: 60px !important;
    height: 30px !important;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(148, 163, 184, 0.6);
    transition: all 0.25s ease;
}

#pricing #pricingSwitch::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
    transition: all 0.25s ease;
}

#pricing #pricingSwitch:checked {
    background: linear-gradient(135deg, #196bff, #22c55e);
    border-color: transparent;
}

#pricing #pricingSwitch:checked::before {
    transform: translateX(26px);
}

#pricing .badge.bg-success-subtle {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #059669 !important;
    border-radius: 999px;
    font-size: 0.7rem;
}

/* ===== Mise en page colonnes pour avoir des cartes hautes ===== */

/* On force les colonnes à étirer les cartes */
#pricing .row.g-4 > [class*="col-"] {
    display: flex;
}

/* La carte prend toute la hauteur de la colonne */
.pricing-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;

    background: #ffffff;
    border-radius: var(--pricing-radius-xl);
    border: 1px solid var(--pricing-border-soft);
    box-shadow: var(--pricing-shadow-soft);
    padding: 2.6rem 2.1rem;
    position: relative;
    transition: all 0.25s ease;
    min-height: 440px; /* 👉 cartes bien longues en desktop */
}

/* Version "plan populaire" */
.pricing-card.popular {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 26px 70px rgba(37, 99, 235, 0.26);
    background: radial-gradient(circle at top, rgba(25, 107, 255, 0.08), #ffffff);
}

/* Hover */
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pricing-shadow-hover);
}

/* Badge Recommandé */
.badge-popular {
    position: absolute;
    top: 14px;
    right: 18px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #111827;
    color: #f9fafb;
}

/* Nom du plan */
.pricing-card h4 {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pricing-text-muted);
}

/* ===== Prix bien au milieu, lisible ===== */

.price-tag {
    margin-top: 0.8rem;
    margin-bottom: 0.25rem;
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--pricing-text-main);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    line-height: 1;
}

.price-tag .currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pricing-text-muted);
}

.price-period {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--pricing-text-muted);
    margin-bottom: 1.5rem;
}

/* Description du plan */
.pricing-card > p {
    font-size: 0.9rem;
    color: var(--pricing-text-muted);
    min-height: 52px;
}

/* Bouton toujours à peu près au même niveau visuel */
.pricing-card .btn {
    margin-top: auto;            /* pousse le bouton vers le bas */
    margin-bottom: 1.2rem;
}

/* ===== Boutons tech ===== */

.btn-saada.btn-primary-tech {
    border-radius: 999px;
    border: none;
    padding: 0.75rem 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #196bff, #22c55e);
    color: #f9fafb;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.5);
    transition: all 0.2s ease;
}

.btn-saada.btn-primary-tech:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.btn-saada.btn-outline-tech {
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: #ffffff;
    color: var(--pricing-text-main);
    transition: all 0.2s ease;
}

.btn-saada.btn-outline-tech:hover {
    border-color: var(--pricing-accent);
    box-shadow: 0 12px 32px rgba(148, 163, 184, 0.6);
    transform: translateY(-2px);
}

/* ===== Liste des features (si tu les réactives) ===== */

.pricing-features {
    margin: 0;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    font-size: 0.86rem;
    color: var(--pricing-text-muted);
}

.pricing-features i {
    font-size: 0.9rem;
    margin-top: 0.1rem;
    color: #22c55e;
}

/* Texte final */
#pricing .text-center.mt-5 p {
    font-size: 0.86rem;
    color: var(--pricing-text-muted);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 991.98px) {
    .pricing-card {
        min-height: 0;      /* sur mobile, on laisse respirer */
        padding: 2.1rem 1.6rem;
    }

    #pricing .row.g-4 > [class*="col-"] {
        display: block;
    }

    .pricing-card .btn {
        margin-top: 1.4rem;
    }
}

@media (max-width: 575.98px) {
    #pricing h2 {
        font-size: 1.8rem;
    }
    .price-tag {
        font-size: 2.3rem;
    }
}
