 :root {
      --primary: #0b1f3b;
      --accent: #f6b800;
      --text-dark: #1f2933;
      --text-muted: #6b7280;
      --bg-light: #f5f7fb;
      --card-bg: #ffffff;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg-light);
      color: var(--text-dark);
      line-height: 1.5;
    }
    html {
  scroll-behavior: smooth;
}

    
    .h2-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -0.5px;

    /* 🔥 Couleur premium */
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


    /* ----------------------------------------------------
       BACKGROUND PREMIUM (UNIQUEMENT HEADER + ECM + SERVICES)
    ----------------------------------------------------- */
    .premium-bg {
      background: url("/images/background-voiture.jpg") center/cover no-repeat;
      position: relative;
      padding-bottom: 40px;
    }

    .premium-bg::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.45);
      z-index: 0;
    }

    .premium-bg > * {
      position: relative;
      z-index: 2;
    }
 

    /* ----------------------------------------------------
       HERO
    ----------------------------------------------------- */
    .hero {
       min-height: 200px; /* ou 360px */
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
     padding: 150px 20px 0px 20px; /* espace haut + bas */
    }
   


    .hero-title {
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 700;
      margin-bottom: 10px;
      color: white;
      text-shadow: 0 8px 20px rgba(0,0,0,0.6);
      text-align:center;
      padding-left: 10px;
      padding-right: 10px;
    }

    .hero-subtitle {
      font-size: clamp(0.9rem, 1.5vw, 1.1rem);
      max-width: 700px;
      margin: 0 auto;
      color: #e5e7eb;
    }

    /* ----------------------------------------------------
       MODULE ECM
    ----------------------------------------------------- */
    .ecm-wrapper {
      width: auto;
      max-width: 95%;
      margin: -60px auto 20px auto;
      padding: 20px;
      background: rgba(255,255,255,0.95);
      border-radius: 14px;
      box-shadow: 0 18px 40px rgba(0,0,0,0.25);
      overflow-x: auto;
      backdrop-filter: blur(8px);
    }

    /* ----------------------------------------------------
       SERVICES
    ----------------------------------------------------- */
    .services {
      max-width: 1300px;
      margin: 20px auto 40px auto;
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      padding: 0 20px;
    }

    .service-card {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #e5e7eb;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* MOBILE : largeur uniforme */
@media (max-width: 600px) {
  .service-card {
    width: 100%;
  }
}


    /* ----------------------------------------------------
       MAIN CONTENT (fond normal)
    ----------------------------------------------------- */
    main {
      max-width: 1300px;
      margin: 40px auto 60px auto;
      padding: 0 20px;
    }
    @media (max-width: 768px) {
  main {
    padding-left: 10px;   /* avant 20px */
    padding-right: 10px;  /* avant 20px */
  }
}


    .grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      margin-bottom: 40px;
    }

    .card {
      background: var(--card-bg);
      border-radius: 14px;
      padding: 20px;
      box-shadow: 0 10px 25px rgba(15,23,42,0.08);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .card h3 {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--primary);
    }

    .btn {
      padding: 9px 16px;
      border-radius: 999px;
      font-size: 0.9rem;
      text-decoration: none;
      display: inline-block;
      margin-top: auto;
    }

    .btn-primary {
      background: var(--accent);
      color: #1f2933;
    }

    .btn-outline {
      border: 1px solid #cbd5e1;
      color: var(--primary);
    }

    .rating { color: #fbbf24; font-size: 1.1rem; }
    .testimonial { font-style: italic; color: var(--text-muted); }

    .app-badges {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .badge {
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid #cbd5e1;
      background: #fff;
      font-size: 0.85rem;
    }

    /* ----------------------------------------------------
       RESPONSIVE
    ----------------------------------------------------- */
   /* TABLETTE & MOBILE */
@media (max-width: 900px) {
  .hero {
    padding-top: 130px; /* adapté au logo mobile/tablette */
    padding-bottom: 0px; /* ← réduit l'espace sous le HERO */
    height: auto;
  }

  .ecm-wrapper {
    margin-top: -20px; /* ← remonte le module ECM */
  }
}

/* MOBILE STRICT */
@media (max-width: 600px) {
  .hero {
    padding-top: 120px; /* cohérent avec logo 70px */
    padding-bottom: 0px; /* ← compact */
  }
}


.contact-button {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 70px;
  cursor: pointer;
  opacity: 0.9;
}


.google-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.4rem;
}

.google-rating .star {
  color: #fbbf24; /* jaune Google */
  position: relative;
  display: inline-block;
  width: 1.2em;
}

.google-rating .star.half {
  color: #ddd; /* étoile vide */
}

.google-rating .star.half::before {
  content: "★";
  color: #fbbf24;
  position: absolute;
  left: 0;
  width: 40%;
  overflow: hidden;
}

.google-rating .rating-text {
  color: #111;
  font-size: 1rem;
  margin-left: 6px;
}


/* SECTION GLOBALE */
.premium-landing {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    color: #1f2937;
    line-height: 1.7;
}

/* HERO */
.hero-block {
    background: url('/images/soufriere.jpg') center/cover no-repeat;
    border-radius: 16px;
    height: 340px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.0);
}


/* GRILLE 2 COLONNES */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 30px 0;
}
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr !important;
    }
}


/* CARDS */
.card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.card .p {
    padding: 15px;
}

/* BADGE */
.badge {
    display: inline-block;
    background: #0ea5e9;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.card .badge {
    display: inline-block;
    margin-bottom: 6px;
}

/* TITRE */
.card-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

/* ---------------------- */
/*      RESPONSIVE        */
/* ---------------------- */

/* DESKTOP : badge + strong sur la même ligne, p en dessous */
@media (min-width: 769px) {

    .card .p {
        display: flex;
        flex-wrap: wrap; /* clé absolue */
        align-items: center;
        column-gap: 10px;
    }

    /* Badge + strong sur la même ligne */
    .card .badge,
    .card-title {
        display: inline; /* permet l'alignement horizontal */
        margin-bottom: 0;
    }

    /* Le paragraphe passe automatiquement à la ligne suivante */
    .card .p p {
        flex-basis: 100%; /* force le retour à la ligne */
        margin-top: 10px;
    }
}

/* MOBILE : tout en colonne */
@media (max-width: 768px) {

    .card .p {
        display: block;
    }

    .card-title {
        display: block;
        margin-bottom: 8px;
    }
}


/* CITATION */
.quote {
    background: #f1f5f9;
    border-left: 4px solid #0ea5e9;
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
    margin: 20px 0;
}

/* TITRES */
h2, h3 {
    color: #0f172a;
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    font-size:18px;
    text-align: center;
    margin: 30px auto; /* ← centre le bouton */
    display: block;    /* ← indispensable pour centrer */
    width: fit-content; /* ← taille auto premium */
    text-decoration: none; /* ← enlève le soulignage */
}

/* Empêche le highlight bleu sur mobile */
.cta-box:active,
.cta-box:focus {
    outline: none;
    text-decoration: none;
}

/* WRAPPER GLOBAL */
.page-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1300px;
     margin: 120px auto 40px auto; /* 🔥 marge-top augmentée */
    padding: 0 20px;
}

/* CONTENU PRINCIPAL */
.page-content {
    flex: 1;
    min-width: 0;
}

/* SIDEBAR */
.page-sidebar {
    width: 340px;
    flex-shrink: 0;
}

/* MOBILE : sidebar passe en dessous */
@media (max-width: 900px) {
    .page-wrapper {
        flex-direction: column;
        margin-top: 140px; /* mobile : header souvent plus haut */
    }

    .page-sidebar {
        width: 100%;
    }
}

/* CGL */
.infosgl h2 {
    margin-top: 30px;
    font-size: 1.6rem;
    color: #1e293b;
}

.infosgl h3 {
    margin-top: 20px;
    font-size: 1.25rem;
    color: #334155;
}

.infosgl p {
    margin: 12px 0;
    line-height: 1.6;
    color: #475569;
}

.infosgl ul {
    margin: 10px 0 20px 20px;
    color: #475569;
    line-height: 1.5;
}
.infosgl {
    background: #ffffff;      /* 🔥 fond blanc */
    padding: 24px 28px;       /* respiration premium */
    border-radius: 16px;      /* arrondi élégant */
    box-shadow: 0 4px 14px rgba(0,0,0,0.06); /* ombre douce comme la sidebar */
}

/* Contact */
/* ================================
   PAGE CONTACT PREMIUM
================================ */

.contactgl {
    background: #ffffff;
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.contactgl h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.contactgl p {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 20px;
}


.contact-infos {
    background: #f8fafc;
    padding: 16px 10px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.55;
}
.contact-infos a {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-decoration: none; /* 🔥 enlève le surlignage */
}
.contact-infos a:hover {
    opacity: 0.8;
}

/* FORMULAIRE */
/* Encadré gris clair autour du formulaire */
.contact-box {
    background: #f1f5f9;
    padding: 24px 18px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

/* Sous-titre */
.contact-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 18px;
}

/* Structure générale du formulaire */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Ligne générique */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Labels au-dessus */
.contact-form label {
    font-weight: 600;
    color: #334155;
}

/* Champs */
.contact-form input,
.contact-form textarea {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
    outline: none;
}

/* Ligne 2 : 2 colonnes sur desktop */
.form-row.two-cols {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.form-row.two-cols .form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Mobile : tout en colonne */
@media (max-width: 768px) {
    .form-row.two-cols {
        flex-direction: column;
    }
}


/* MAP */
.contact-map {
    margin-top: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.contact-success {
    background: #d1fae5;
    color: #065f46;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #10b981;
}

.contact-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #ef4444;
}


/* Partenaires */
/* ================================
   PAGE PARTENAIRES PREMIUM
================================ */

.partnersgl {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 20px;
}

/* Carte partenaire */
.partner-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 26px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

/* Image partenaire */
.partner-image {
    width: 180px;
    min-width: 180px;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-image {
    width: 260px;          /* largeur du cadre */
    height: 180px;         /* hauteur du cadre */
    background: #f1f5f9;   /* fond gris clair premium */
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* 🔥 affiche toute la photo sans la couper */
    background: #f1f5f9;   /* évite les bandes noires */
}


/* Contenu */
.partner-content {
    flex: 1;
}

.partner-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.partner-content p {
    color: #475569;
    line-height: 1.55;
    margin-bottom: 10px;
}

/* Liens premium */
.partner-content a {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-decoration: none;
}

.partner-content a:hover {
    opacity: 0.8;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .partner-card {
        flex-direction: column;
        padding: 20px;
    }

    .partner-image {
        width: 100%;
        height: 180px;
    }
}



/* FOOTER */
.footer {
    background: #0f172a;
    color: #fff;
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    opacity: 1;
}
.footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #fff;
}


.footer-socials a {
    color: #fff;
    font-size: 20px;
    margin-right: 10px;
    opacity: 0.8;
    transition: 0.2s;
}

.footer-socials a:hover {
    opacity: 1;
}
.footer-socials i {
    font-size: 26px;
    color: #fff;
}


/* ----------------------------- */
/*          RESPONSIVE           */
/* ----------------------------- */

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    /* On centre les colonnes mais on aligne le contenu à gauche */
    .footer-container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: left;
    }

    .footer-col {
        width: 100%;
        max-width: 320px;
    }

    /* LISTES : même indentation pour Navigation et Contact */
    .footer-col ul {
        padding-left: 20px;
        margin: 0;
    }

    /* PROBLÈME RÉSOLU : les liens se comportent comme du texte normal */
    .footer-col ul li a {
        display: inline-block;   /* clé absolue */
        padding: 0;              /* retire le padding fantôme */
        margin: 0;
        line-height: 1.4;        /* même hauteur que Contact */
    }

    /* Icônes Contact alignées proprement */
    .footer-col ul li svg {
        margin-right: 6px;
        vertical-align: middle;
    }
}
/* Bloc commun */
.footer-bottom-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.7;
}

/* Texte */
.footer-bottom,
.footer-credits {
    text-align: center;
}

.footer-credits a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.9;
}

.footer-credits a:hover {
    opacity: 1;
}

/* --- MOBILE --- */
@media (max-width: 768px) {

    .footer-bottom-wrapper {
        flex-direction: column;   /* l’un sous l’autre */
        align-items: flex-start;  /* aligné à gauche */
        padding-left: 20px;       /* indentation */
        gap: 6px;
        text-align: left;
    }

    .footer-bottom,
    .footer-credits {
        text-align: left;
        width: 100%;
    }
}

/* Desktop : badge discret mais visible */
.grecaptcha-badge {
    left: 20px !important;
    right: auto !important;
    bottom: 20px !important;
    opacity: 0.45 !important;
    transform: scale(0.85);
    transition: opacity 0.3s;
    z-index: 99999 !important;
}

.grecaptcha-badge:hover {
    opacity: 1 !important;
}

/* Mobile : badge déplacé hors écran à gauche (conforme Google) */
@media (max-width: 768px) {
    .grecaptcha-badge {
        left: -140px !important; /* hors cadre */
        right: auto !important;
        bottom: 20px !important;
        opacity: 0.4 !important; /* discret mais présent dans le DOM */
        transform: scale(0.75);  /* encore plus petit sur mobile */
    }
}


