/* Ajustements DataGuard (s'ajoutent à style.css du template, sans le modifier). */

.text-justify { text-align: justify; }

/* Titre principal : h1 au lieu de h2 (SEO), même apparence que l'original */
#hero .hero-info h1 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 700;
}
#hero .hero-info h1 span {
  color: #74b5fc;
  text-decoration: underline;
}
#hero .hero-info .hero-sub {
  color: #e6f1ff;
  font-size: 18px;
  margin-bottom: 35px;
}
@media (max-width: 767px) {
  #hero .hero-info h1 { font-size: 34px; }
  #hero .hero-info .hero-sub { font-size: 16px; margin-bottom: 25px; }
}

/* Titres de cartes : plus de lien vide, on garde la couleur d'origine */
#about .about-container .icon-box .title { color: #283d50; }
#services .title { color: #111; }

/* Listes à puces cochées (remplace les icônes Remix Icon non chargées) */
.checklist { list-style: none; padding: 0; margin: 0 0 10px 0; }
.checklist li { display: flex; gap: 10px; padding: 8px 0; text-align: justify; }
.checklist li i { color: #007bff; font-size: 22px; line-height: 1.1; flex-shrink: 0; }

#solutions { padding-bottom: 60px; }
#solutions .about-extra h4 { font-weight: 600; font-size: 24px; }

/* Drapeau dans la carte "Serveurs français" */
#why-us .card .card-flag { margin: 20px auto 0 auto; display: block; }

/* Carte Google Maps chargée au clic */
.map-placeholder {
  min-height: 340px;
  background: #eef5ff;
  border: 1px solid #d6e6fb;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.map-placeholder > i { font-size: 40px; color: #007bff; }
.map-placeholder .map-load {
  background: #007bff;
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 10px 28px;
  margin: 10px 0;
  transition: 0.4s;
}
.map-placeholder .map-load:hover { background: #0067d5; }
.map-placeholder .map-note { font-size: 13px; color: #555; margin: 0; }

/* Liens téléphone / email */
#contact .info a { color: #444; }
#contact .info a:hover { color: #007bff; }
#footer .footer-top .footer-contact a { color: #ecf5ff; }
#footer .footer-top .footer-contact a:hover { color: #74b5fc; }

/* Mention de confidentialité sous le formulaire */
.form-privacy { font-size: 13px; color: #666; margin: 12px 0 0 0; }

/* Focus clavier visible */
a:focus-visible, button:focus-visible, .mobile-nav-toggle:focus-visible {
  outline: 2px solid #74b5fc;
  outline-offset: 2px;
}

/* Pages légales */
.legal-page { padding: 140px 0 60px 0; }
.legal-page h1 { font-size: 32px; font-weight: 700; margin-bottom: 30px; }
.legal-page h2 { font-size: 22px; font-weight: 600; margin-top: 30px; }
.legal-page .todo { background: #fff3cd; padding: 0 4px; }

/* ===== Optimisation commerciale ===== */

/* Menu : téléphone et bouton devis */
.navbar .nav-phone { white-space: nowrap; }
.navbar .nav-cta {
  background: #007bff;
  color: #fff !important;
  border-radius: 50px;
  padding: 8px 20px !important;
  margin-left: 20px;
}
.navbar .nav-cta:hover { background: #0067d5; }
.navbar-mobile .nav-cta { margin: 10px 20px; display: inline-block; }
@media (min-width: 992px) and (max-width: 1199px) { .navbar .nav-phone { display: none; } }

/* Réassurance sous le titre principal */
#hero .hero-trust {
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #e6f1ff;
  font-size: 14px;
}
#hero .hero-trust i { color: #74b5fc; margin-right: 4px; }
@media (max-width: 991px) { #hero .hero-trust { justify-content: center; } }

/* Risques */
#risques { padding: 60px 0 30px 0; }
#risques .risk-box {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
}
#risques .risk-box i { font-size: 36px; color: #e0473b; }
#risques .risk-box h4 { font-size: 18px; font-weight: 700; margin: 12px 0 8px 0; color: #283d50; }
#risques .risk-box p { font-size: 14px; line-height: 24px; margin: 0; }

/* Étapes */
#etapes { padding: 60px 0; }
#etapes .steps li { text-align: center; margin-bottom: 30px; }
#etapes .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 22px;
}
#etapes .steps h4 { font-size: 18px; font-weight: 700; margin: 14px 0 8px 0; color: #283d50; }
#etapes .steps p { font-size: 14px; line-height: 24px; }

/* Boutons d'appel à l'action */
.btn-cta {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 50px;
  background: #007bff;
  color: #fff;
  border: 2px solid #007bff;
  margin: 6px;
}
.btn-cta:hover { background: #0067d5; border-color: #0067d5; color: #fff; }
.btn-cta-outline { background: transparent; border-color: #fff; }
.btn-cta-outline:hover { background: #fff; color: #004a99; border-color: #fff; }

/* FAQ */
#faq { padding: 60px 0; }
#faq .faq-list { max-width: 850px; margin: 0 auto; }
#faq details {
  border: 1px solid #e3ecf7;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
}
#faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: #283d50;
  list-style: none;
  position: relative;
  padding-right: 45px;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 12px;
  font-size: 22px;
  color: #007bff;
}
#faq details[open] summary::after { content: "–"; }
#faq details p { padding: 0 20px 16px 20px; margin: 0; }

/* Bandeau d'appel */
#cta-band { background: #004a99; color: #fff; padding: 50px 0; }
#cta-band h3 { color: #fff; font-weight: 700; font-size: 28px; }
#cta-band p { color: #e6f1ff; margin-bottom: 20px; }

/* Formulaire : liste déroulante alignée sur les champs */
#contact .contact-form select { border-radius: 0; box-shadow: none; font-size: 14px; padding: 10px 15px; }

/* ===== Pages services ===== */
.service-page #main { padding-top: 80px; }
.service-hero {
  background: linear-gradient(135deg, #004a99 0%, #007bff 100%);
  color: #fff;
  padding: 50px 0 60px 0;
}
.service-hero .svc-breadcrumb { font-size: 14px; margin-bottom: 25px; color: #bfddfe; }
.service-hero .svc-breadcrumb a { color: #fff; }
.service-hero h1 { color: #fff; font-size: 40px; font-weight: 700; margin-bottom: 20px; }
.service-hero .lead { color: #e6f1ff; font-size: 17px; margin-bottom: 25px; }
.service-hero .btn-cta { margin-left: 0; margin-right: 10px; background: #fff; color: #004a99; border-color: #fff; }
.service-hero .btn-cta:hover { background: #e6f1ff; border-color: #e6f1ff; color: #004a99; }
.service-hero .btn-cta-outline { background: transparent; color: #fff; }
.service-hero .btn-cta-outline:hover { background: #fff; color: #004a99; }
.service-hero-icon { font-size: 170px; color: rgba(255, 255, 255, 0.25); line-height: 1; }
@media (max-width: 767px) { .service-hero h1 { font-size: 30px; } }

.service-page h2 { font-size: 28px; font-weight: 600; color: #283d50; margin-bottom: 20px; }
.service-why, .service-features, .service-steps, .service-others { padding: 50px 0; }
.service-why p { font-size: 16px; line-height: 28px; max-width: 900px; }
.feature-box {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
}
.feature-box i { font-size: 32px; color: #007bff; }
.feature-box h3 { font-size: 18px; font-weight: 700; color: #283d50; margin: 12px 0 8px 0; }
.feature-box p { font-size: 14px; line-height: 24px; margin: 0; }
.service-steps .steps li { text-align: center; margin-bottom: 20px; }
.service-steps .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: #007bff; color: #fff; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 20px;
}
.service-steps .steps h3 { font-size: 18px; font-weight: 700; color: #283d50; margin: 12px 0 8px 0; }
.service-steps .steps p { font-size: 14px; line-height: 24px; }
.service-page #faq h2 { text-align: center; }
.others-list { display: flex; flex-wrap: wrap; gap: 12px; }
.other-service {
  border: 1px solid #d6e6fb;
  border-radius: 50px;
  padding: 10px 20px;
  color: #283d50;
  background: #fff;
}
.other-service:hover { background: #007bff; color: #fff; border-color: #007bff; }
.other-service i { color: #007bff; margin-right: 4px; }
.other-service:hover i { color: #fff; }

/* Liens des titres de services sur l'accueil */
#services .title a { color: #111; }
#services .box:hover .title a { color: #007bff; }

/* Menu déroulant : élément actif */
.navbar .dropdown ul a.active { color: #007bff; }

/* ===== Cartes services de l'accueil (grille régulière) ===== */
#services .svc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  color: #444;
  transition: transform 0.3s, box-shadow 0.3s;
}
#services .svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px 0 rgba(68, 88, 144, 0.18);
}
#services .svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #e8f1ff;
  color: #007bff;
  font-size: 28px;
  margin-bottom: 18px;
  transition: 0.3s;
}
#services .svc-card:hover .svc-icon { background: #007bff; color: #fff; }
#services .svc-card h4 { font-size: 19px; font-weight: 700; color: #283d50; margin-bottom: 10px; }
#services .svc-card p { font-size: 14px; line-height: 24px; margin-bottom: 18px; flex-grow: 1; }
#services .svc-more { font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 500; color: #007bff; }
#services .svc-more i { transition: 0.3s; }
#services .svc-card:hover .svc-more i { margin-left: 6px; }

/* Compteur avec préfixe "+" */
#why-us .counters .counter-plus { display: flex; justify-content: center; align-items: baseline; }
#why-us .counters .counter-plus span { display: inline; }

/* Adresse e-mail affichée en image (anti-spam) */
/* L'image est rendue à la même taille et sur la même ligne de base que le texte qui l'entoure */
.email-img { height: 1.375em; width: auto; vertical-align: -0.3em; }
