/* ==========================================================================
   RESET & SYSTEM BASICS
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
   
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #0f172a;        
    --bg-navy: #1e293b;        
    --primary-blue: #3b82f6;   
    --accent-lime: #32CD32;    
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;       
    --border-gray: #e2e8f0;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 4%;
}

.section-container-small {
    max-width: 750px;
    margin: 0 auto;
    padding: 80px 4%;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    align-items: center;
}

.text-center { text-align: center; }

.section-badge {
    background-color: #eff6ff;
    color: var(--primary-blue);
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 15px;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */
.top-bar {
    background-color: #0b0f19;
    color: #94a3b8;
    font-size: 12px;
    padding: 10px 4%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.top-bar-right span { margin-left: 20px; }

.main-header {
    background-color: #ffffff;
    padding: 18px 4%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-badge {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-demo-vert {
    background-color: #32CD32;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.btn-requete-bleu {
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

/* ==========================================================================
   HERO ZONE
   ========================================================================== */
.hero-section {
    background-color: var(--bg-dark);
    color: white;
    padding: 120px 4% 140px 4%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    color: #32CD32;;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    display: block;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-section p {
    font-size: 17px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-hero-outline {
    border: 2px solid white;
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-hero-solid {
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
}

/* ==========================================================================
   INTERSOFT EN BREF
   ========================================================================== */
.en-bref-section { padding: 80px 0; }

.p-lead {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 15px;
}

.mini-stats-row {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    border-top: 1px solid var(--border-gray);
    padding-top: 25px;
}

.mini-stats-row strong {
    font-size: 24px;
    color: var(--primary-blue);
    display: block;
}

.mini-stats-row span {
    font-size: 13px;
    color: var(--text-muted);
}

.en-bref-visual {
    height: 340px;
    background-color: #f1f5f9;
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    position: relative;
    overflow: hidden;
}

.map-grid-bg {
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image: linear-gradient(#3b82f6 1px, transparent 1px), linear-gradient(90deg, #3b82f6 1px, transparent 1px);
    background-size: 20px 20px;
}

.moving-asset {
    position: absolute;
    background-color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-blue);
}

.asset-1 { top: 25%; left: 20%; }
.asset-2 { top: 60%; left: 55%; border-left-color: #2ecc71;}

/* ==========================================================================
   NOS SECTEURS
   ========================================================================== */
.secteurs-section { background-color: var(--bg-light); }
.section-desc-center { color: var(--text-muted); margin-top: -5px; margin-bottom: 50px; }

.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.secteur-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 16px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.015);
    border: 1px solid #f1f5f9;
    text-align: left;
    transition: transform 0.2s;
}

.secteur-card:hover { transform: translateY(-4px); }
.secteur-icon { font-size: 32px; margin-bottom: 20px; }
.secteur-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.secteur-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ==========================================================================
   ONGLETS (GAMME SMART)
   ========================================================================== */
.tabs-nav {
    display: flex;
    background-color: #e2e8f0;
    padding: 6px;
    border-radius: 8px;
    gap: 6px;
    margin: 40px 0;
    overflow-x: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    border-radius: 6px;
    white-space: nowrap;
    flex: 1;
    transition: all 0.2s;
}

.tab-btn.active {
    background-color: white;
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tab-content-box {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.tab-info-side { flex: 1.3; }
.tab-visual-side { flex: 0.7; width: 100%; }
.product-status { color: var(--primary-blue); font-size: 12px; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 5px; }
.tab-info-side h3 { font-size: 28px; margin-bottom: 10px; }
.product-intro { color: var(--text-muted); font-size: 15px; margin-bottom: 30px; }
.lists-flex-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.list-block h4 { font-size: 14px; font-weight: 700; margin-bottom: 15px; color: var(--bg-dark); }

.arrow-list-blue, .arrow-list-green { list-style: none; }
.arrow-list-blue li, .arrow-list-green li { position: relative; padding-left: 25px; margin-bottom: 12px; font-size: 13.5px; color: #334155; }
.arrow-list-blue li::before { content: '✓'; position: absolute; left: 0; top: -1px; color: var(--primary-blue); font-weight: 900; }
.arrow-list-green li::before { content: '✓'; position: absolute; left: 0; top: -1px; color: #2ecc71; font-weight: 900; }

.video-placeholder {
    background-color: #1e293b;
    height: 300px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    font-size: 13px;
    border: 4px solid #334155;
}

.play-icon {
    width: 55px;
    height: 55px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 15px;
}

/* ==========================================================================
   FORMULAIRE
   ========================================================================== */
.contact-section { background-color: var(--bg-light); border-top: 1px solid var(--border-gray); }
.pro-contact-form { background-color: white; padding: 40px; border-radius: 12px; border: 1px solid var(--border-gray); margin-top: 40px; }
.form-row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-group label { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #475569; }
.form-group input, .form-group select, .form-group textarea { padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 14px; color: var(--text-dark); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-blue); }
.btn-submit-form { background-color: var(--accent-lime); color: white; border: none; padding: 14px; border-radius: 6px; font-weight: 700; font-size: 14px; cursor: pointer; width: 100%; margin-top: 10px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.grand-footer { background-color: #0b0f19; color: #94a3b8; padding: 60px 4% 20px 4%; border-top: 4px solid var(--primary-blue); }
.footer-top { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }
.brand-col { flex: 1.5; }
.footer-logo { color: white; font-size: 22px; font-weight: 900; margin-bottom: 15px; }
.grand-footer h4 { color: white; font-size: 15px; margin-bottom: 20px; }
.grand-footer ul { list-style: none; }
.grand-footer ul li { margin-bottom: 10px; }
.grand-footer ul li a { color: #94a3b8; text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.grand-footer ul li a:hover { color: white; }
.newsletter-box { display: flex; margin-top: 15px; }
.newsletter-box input { background-color: #1e293b; border: none; padding: 10px; border-radius: 4px 0 0 4px; color: white; font-size: 13px; flex: 1; }
.newsletter-box button { background-color: var(--accent-lime); color: white; border: none; padding: 10px 15px; border-radius: 0 4px 4px 0; cursor: pointer; font-weight: 700; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; font-size: 12px; }
/* Sections communes */
section {
    padding: 60px 20px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}

/* Services */
.section-services {
    background-color: #f9f9f9;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.service-card {
    width: 30%;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

/* Boutique */
.boutique-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.produit {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 200px;
    text-align: center;
}

/* Candidature */
.section-candidature {
    background-color: #eef2f5;
}

.form-candidature {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.form-candidature input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-candidature button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.tabs-container { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px; 
}

/* J'ai changé .tab-button en .tab-btn */
.tab-btn { 
    padding: 10px 20px; 
    cursor: pointer; 
    border: 1px solid #ddd; 
    background: #f9f9f9; 
    transition: background 0.3s;
}

/* J'ai changé .tab-button:hover en .tab-btn:hover */
.tab-btn:hover { 
    background: #e0e0e0; 
}

.tab-content { 
    display: none; 
    padding: 20px; 
    border: 1px solid #ccc; 
    background: white; 
}
/* Cache les boutons radio et les contenus par défaut */
input[type="radio"] { display: none; }
.content { display: none; padding: 20px; border: 1px solid #ccc; }

/* Affiche le contenu quand on clique sur le label correspondant */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
    display: block;
}

/* Style des labels pour ressembler à des boutons */
.tab-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f9f9f9;
    cursor: pointer;
    border: 1px solid #ddd;
}

/* Style quand un bouton est actif */
#tab1:checked ~ label[for="tab1"],
#tab2:checked ~ label[for="tab2"],
#tab3:checked ~ label[for="tab3"],
#tab4:checked ~ label[for="tab4"] {
    background: #e0e0e0;
    font-weight: bold;
}
/* On s'assure que le contenu est bien en dessous des boutons */
.content-wrapper {
    display: block; /* Force le passage à la ligne */
    margin-top: 20px;
    width: 100%;
}

.content {
    display: none; /* Caché par défaut */
    padding: 20px;
    border: 1px solid #ccc;
}

/* Affichage au clic */
#tab1:checked ~ .content-wrapper #content1,
#tab2:checked ~ .content-wrapper #content2,
#tab3:checked ~ .content-wrapper #content3,
#tab4:checked ~ .content-wrapper #content4 {
    display: block;
}
/* Cache les inputs radio */
input[type="radio"] { display: none; }

/* Par défaut, on cache tous les contenus */
.content { display: none; }

/* Affiche le contenu quand le radio correspondant est coché */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
    display: block;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
}
/* --- CODE UNIQUE POUR ACTIVER LE CAROUSEL --- */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background-color: #111;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 30px;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.75);
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.carousel-content h1 {
    font-size: 38px;
    font-weight: 800;
    color: #32CD32;
    line-height: 1.25;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.carousel-content p {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 35px;
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-explore {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.btn-essai {
    background-color: #00a8ff;
    color: white;
    border: 2px solid #00a8ff;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev { left: 25px; }
.carousel-next { right: 25px; }

.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.dot.active {
    background: #32CD32;
    transform: scale(1.3);
}
.site-logo {
    width: 140px;           /* Largeur et hauteur égales pour faire un cercle parfait */
    height: 140px;
    border-radius: 50%;     /* Transforme ton image en cercle parfait */
    object-fit: contain;    /* Permet de voir TOUTE l'image sans qu'elle soit coupée sur les côtés */
    background-color: #000; /* Fond noir pour que le logo s'intègre bien */
    border: 2px solid #0056b3; /* Un contour bleu pour faire propre */
}
/* --- ADAPTATION MOBILE (Téléphones et tablettes) --- */
@media screen and (max-width: 768px) {
  /* Centrer et empiler les éléments du haut */
  header, .top-bar, .header-container {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }

  /* Redimensionner le logo pour qu'il ne soit pas trop grand sur mobile */
  header img, .logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
  }

  /* Transformer le menu horizontal en une liste verticale bien espacée */
  nav ul, .menu {
    display: flex;
    flex-direction: column !important;
    gap: 12px;
    padding: 0;
    margin: 15px 0;
    list-style: none;
  }

  nav ul li a, .menu li a {
    font-size: 16px;
    display: block;
    padding: 5px 0;
  }

  /* Ranger les boutons de devis et démo l'un sous l'autre pour éviter qu'ils ne dépassent */
  .header-buttons, .buttons-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 15px;
  }

  .demander-demo, .demander-devis, button, .btn {
    width: 100% !important;
    text-align: center;
  }
}
/* --- ENLEVER LE CERCLE ET LES LIGNES DU LOGO --- */
.site-logo, header img, .logo-area img {
  border-radius: 0 !important; /* Supprime la forme de cercle */
  border: none !important; /* Supprime le contour */
  box-shadow: none !important; /* Supprime les ombres bizarres */
  width: auto !important;
  max-height: 140px !important; /* Ajuste la hauteur si besoin */
  object-fit: contain;
}
/* --- ESPACEMENT PARFAIT ENTRE LES BOUTONS DU HEADER --- */
.action-buttons a:nth-child(1), .header-buttons a:nth-child(1), header .action-buttons > *:first-child {
  margin-right: 15px !important; /* Crée l'espace entre le premier et le deuxième bouton */
}

/* Si tes boutons sont dans une classe spécifique */
.action-buttons, .header-buttons {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important; /* Espace automatique et propre entre les éléments */
}
/* --- AFFICHER PROPREMENT L'IMAGE DANS LE CADRE --- */
.mockup-map-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  position: absolute !important;
  top: 0;
  left: 0;
  z-index: 2; /* Met l'image au-dessus du fond gris mais sous le reste si besoin */
  border-radius: inherit;
}
/* --- AFFICHER TOUTE L'IMAGE EN ENTIER --- */
.mockup-map-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Change 'cover' par 'contain' ici */
  position: absolute !important;
  top: 0;
  left: 0;
  z-index: 2;
  border-radius: inherit;
  background-color: #ffffff; /* Met un fond blanc si l'image ne remplit pas tout à fait la hauteur */
}
/* --- AGRANDIR LE TEXTE ET LA HAUTEUR DE LA TOP-BAR --- */
.top-bar {
  background-color: #333333 !important; /*Un fond gris sombre bien net*/
  padding: 12px 20px !important; /* Rend la barre plus haute */
  font-size: 16px !important; /* Augmente la taille du texte */
}

.top-bar, .top-bar * {
  color: #ffffff !important;
  font-weight: 600 !important; /* Texte un peu plus gras */
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
/* Exemple dans ton style.css */
.slide-carte {
    background-image: url('../img/carte-route.jpg');
}

.slide-dashboard {
    background-image: url('../img/dashboard.jpg');
}
/* Section Nos Services */
.services-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.services-header {
  text-align: center;
  margin-bottom: 40px;
}

.services-header .sub-title {
  color: #4CAF50;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.services-header h2 {
  font-size: 32px;
  color: #222;
  margin: 10px 0;
}

.services-header p {
  color: #666;
  font-size: 16px;
}

/* Grille des cartes */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Style individuel des cartes */
.service-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Images dans les cartes */
.service-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

/* Badge sur l'image */
.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #4CAF50;
  color: #fff;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: bold;
}

/* Contenu des cartes */
.service-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
}

.service-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

/* Boutons */
.btn-detail {
  margin-top: 15px;
  background: transparent;
  border: 2px solid #4CAF50;
  color: #4CAF50;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-detail:hover {
  background: #4CAF50;
  color: #ffffff;
}
.site-logo {
  mix-blend-mode: multiply;
  max-height: 50px; /* Ajuste la hauteur si besoin */
  width: auto;
}
/* Forcer le fond blanc et supprimer les blocs sombres autour du logo sur mobile */
@media (max-width: 768px) {
  .logo-area, 
  .logo-link, 
  .site-logo {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Élimine d'éventuels blocs/pseudo-éléments noirs ajoutés au-dessus ou en-dessous */
  .logo-area::before, 
  .logo-area::after,
  .logo-link::before,
  .logo-link::after {
    display: none !important;
    content: none !important;
  }

  /* Ajustement propre de la taille sur téléphone */
  .site-logo {
    max-height: 55px !important;
    width: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }
}
/* Masquer les flèches du carrousel sur téléphone pour libérer l'image */
@media (max-width: 768px) {
  .hero-carousel .carousel-btn,
  .hero-carousel button,
  .hero-carousel .prev-btn,
  .hero-carousel .next-btn {
    display: none !important;
  }
}
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 30px 0;
  }
  
  /* --- STYLE CARTE FACEBOOK REEL --- */
.facebook-reel-card {
  max-width: 500px;
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #ffffff;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.reel-thumbnail {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.reel-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(24, 119, 242, 0.9);
  border-radius: 50%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #1877f2;
}

.reel-info {
  padding: 20px;
}

.reel-info p {
  font-weight: 600;
  color: #333333;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.btn-facebook {
  display: inline-block;
  background-color: #1877f2;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.btn-facebook:hover {
  background-color: #145dbf;
}
/* ==========================================================================
   COMPOSANTS AJOUTÉS — formulaires, onglets, menu mobile
   Ces règles remplacent les styles qui étaient auparavant écrits en ligne
   dans index.html ou appliqués par JavaScript.
   ========================================================================== */

/* --- Utilitaire d'accessibilité ------------------------------------------ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Onglets « La Gamme Smart » ------------------------------------------ */
.tab-smart-btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.tab-smart-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.tab-smart-btn.active-tab {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.point-smart {
    font-size: 13.5px;
    color: #334155;
    font-weight: 600;
}

/* --- Formulaires : mise en page ------------------------------------------ */
.form-intersoft {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-intersoft [data-field] {
    display: flex;
    flex-direction: column;
}

.form-intersoft label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-intersoft input,
.form-intersoft select,
.form-intersoft textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-intersoft input:focus,
.form-intersoft select:focus,
.form-intersoft textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #ffffff;
}

.form-row-two {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-row-two > [data-field],
.form-row-two > .form-group {
    flex: 1;
    min-width: 130px;
}

/* --- Formulaires : états d'erreur ---------------------------------------- */
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: #dc2626 !important;
    background: #fef2f2;
}

input.is-invalid:focus,
select.is-invalid:focus,
textarea.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.field-error {
    display: none;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #dc2626;
    line-height: 1.4;
}

/* --- Formulaires : bandeau de résultat ----------------------------------- */
.form-status {
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    border: 1px solid transparent;
}

.form-status--succes {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.form-status--erreur {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.form-status--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.form-status__fallback {
    display: inline-block;
    margin-top: 10px;
    padding: 9px 16px;
    border-radius: 6px;
    background: #25D366;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.form-status__fallback:hover {
    background: #1da851;
}

/* --- Formulaires : boutons d'envoi --------------------------------------- */
.btn-form {
    margin-top: 10px;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.2s ease;
}

.btn-form--vert       { background: #4CAF50; box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25); }
.btn-form--vert:hover { background: #43a047; }
.btn-form--vert-fonce       { background: #2E7D32; box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25); }
.btn-form--vert-fonce:hover { background: #256428; }
.btn-form--bleu       { background: #2563eb; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); }
.btn-form--bleu:hover { background: #1d4ed8; }

.btn-form:disabled,
.btn-submit-form:disabled,
.newsletter-box button:disabled {
    background: #94a3b8 !important;
    cursor: not-allowed;
    opacity: 0.85;
    box-shadow: none;
}

/* --- Formulaires : zone de dépôt du CV ----------------------------------- */
.upload-zone {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.upload-zone:hover,
.upload-zone:focus-within {
    border-color: var(--primary-blue);
    background: #f1f5f9;
}

.upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    padding: 0;
}

.upload-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 4px;
}

.upload-label {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

.upload-label--ok {
    color: #4CAF50;
    font-weight: 700;
}

/* --- Newsletter du pied de page ------------------------------------------ */
.newsletter-box {
    flex-wrap: wrap;
    align-items: flex-start;
}

.newsletter-box [data-field] {
    display: flex;
    flex-direction: column;
}

.newsletter-box .form-status {
    flex-basis: 100%;
    margin-top: 10px;
}

.newsletter-box .field-error {
    color: #fca5a5;
}

/* --- Menu mobile ---------------------------------------------------------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
        width: 44px !important;
        align-self: center;
    }

    .header-container .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
        margin-top: 12px;
    }

    .header-container .nav-links.is-open {
        display: flex;
    }

    /* Les flèches du carrousel et les onglets ne doivent pas passer en pleine largeur */
    .carousel-arrow,
    .tab-smart-btn {
        width: auto !important;
    }

    .form-row-two {
        flex-direction: column;
    }
}

/* --- Widget anti-robot Turnstile ----------------------------------------- */
.turnstile-slot {
    margin-top: 4px;
    min-height: 0;
}

/* Le widget mesure 300 px : sur un écran étroit, on le laisse se réduire. */
.turnstile-slot iframe {
    max-width: 100%;
}

.turnstile-slot--compact {
    margin-bottom: 10px;
    flex-basis: 100%;
}
