.why-icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #ffffff !important;
  display: block !important;
  flex-shrink: 0 !important;
}

/* Empêche aussi tout reset WordPress sur ces SVG */
.why-icon svg * {
  vector-effect: non-scaling-stroke;
}


.hero-service-icon .icon-svg {
  width: 32px !important;
  height: 32px !important;
  overflow: hidden !important;
}






:root {
  --primary: #f7941d;
  --primary-dark: #e67a00;
  --blue-dark: #0e2136;
  --blue: #1e4270;
  --text: #222;
  --muted: #777;
  --bg: #f3f5f9;
  --card-bg: #ffffff;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
  --radius-lg: 14px;
  --radius-md: 10px;
  --transition-fast: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #e2e5ec;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */

.top-header {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 220px;
  height: 150px;
  border-radius: 50%;
  background:   #ffffff; /*radial-gradient(circle at 30% 30%, #ffb347, #f26522)*/
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 18px;
  color: var(--blue-dark);
}

.logo-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue-dark);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  background-image: url("../images/herobg.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 70px 0 100px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(3, 17, 32, 0.97),
    rgba(8, 34, 64, 0.4)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 620px;
}

.hero h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 30px;
}

.highlight {
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--blue-dark);
}

/* BANDEAU SERVICES HERO */

.hero-services {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.hero-service-card {
  background-color: #ffffff;
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(16px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-service-card.active {
  transform: translateY(0);
}

.hero-service-card:hover {
  transform: translateY(4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.hero-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.hero-service-title {
  font-size: 12px;
  font-weight: 600;
}

/* SVG ICONS */

.service-icon,
.hero-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.icon-svg {
  width: 32px;
  height: 32px;
  display: block;
}

/* SECTIONS GÉNÉRALES */

.section {
  padding: 70px 0;
  background-color: #f6f7fb;
}

.section:nth-of-type(even):not(.section-dark):not(.section-cta) {
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 6px;
  color: var(--blue-dark);
}

.section-underline {
  width: 70px;
  height: 3px;
  margin: 0 auto 36px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

/* CARDS SERVICES PRINCIPAUX */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card h3 {
  font-size: 15px;
  margin: 0;
  line-height: 1.2;
  color: var(--blue-dark);
}

.service-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.link-more {
  margin-top: auto;
  font-size: 12px;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 600;
}

/* SECTION SOMBRE POURQUOI NOUS CHOISIR */

.section-dark {
  background-image: url("../images/section-team.jpg"); /* remplace */
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(8, 23, 45, 0.99),
    rgba(8, 23, 45, 0.2)
  );
}

.section-dark-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.dark-text h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 20px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 14px;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.dark-image {
  min-height: 200px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.001);
}

/* EXPERTISE */

.section-expertise {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.section-expertise h2 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--blue-dark);
}

.section-expertise p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.expertise-image {
  min-height: 220px;
  border-radius: var(--radius-lg);
  background: url("../images/section-expertise.jpg") center/cover no-repeat,
    linear-gradient(135deg, var(--blue), var(--blue-dark));
}

/* CTA */

.section-cta {
  background: linear-gradient(180deg, #ffffff, #e0e8f6);
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 20px;
  font-size: 22px;
  color: var(--blue-dark);
}

.cta-button {
  margin-top: 6px;
}

/* FORMULAIRE CONTACT */

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #c3cbe0;
  font-family: inherit;
  font-size: 14px;
}

/* FOOTER */
/* ============================================================
   FOOTER — ETS DOXA
   ============================================================ */

.site-footer {
  background-color: var(--blue-dark);
  color: #ffffff;
  padding-top: 26px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

.footer-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-square {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
}

.footer-bottom {
  padding: 14px 0 18px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 6px;
  font-size: 11px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-copy {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .hero-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-dark-inner,
  .section-expertise {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 60px 0 90px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-services {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}






/* ============================================================
   SECTION POURQUOI NOUS CHOISIR
   ============================================================ */
.section-intro-text {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

.why-card h3 {
  margin: 0;
  font-size: 15px;
  color: var(--blue-dark);
}

.why-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.why-card-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #ffffff;
  align-items: flex-start;
  justify-content: center;
}

.why-card-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MODALE CONTACT
   ============================================================ */
body.modal-open { overflow: hidden; }

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.contact-modal[hidden] { display: none; }

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.65);
  backdrop-filter: blur(3px);
}

.contact-modal-box {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in .22s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast);
}

.contact-modal-close:hover { color: var(--blue-dark); }

.contact-modal-box h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--blue-dark);
}

.contact-modal-box .contact-form-intro {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--muted);
}

/* Champs dans la modale */
.contact-modal-box .contact-form {
  max-width: 100%;
}

.contact-modal-box .contact-form input,
.contact-modal-box .contact-form select,
.contact-modal-box .contact-form textarea {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid #c3cbe0;
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--transition-fast);
  background: #fff;
}

.contact-modal-box .contact-form input:focus,
.contact-modal-box .contact-form select:focus,
.contact-modal-box .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.contact-modal-box .form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-modal-box .form-row > * { flex: 1 1 180px; }

.contact-modal-box .contact-consent {
  font-size: 11px;
  color: var(--muted);
  margin: 2px 0 12px;
}

.contact-modal-box .contact-feedback {
  margin-top: 10px;
  font-size: 13px;
  color: #2d8c4e;
  font-weight: 600;
}

@media (max-width: 480px) {
  .contact-modal-box { padding: 28px 18px 22px; }
  .contact-modal-box .form-row { flex-direction: column; }
}

/* ============================================================
   HEADER — bouton CTA rapide
   ============================================================ */
.header-cta {
  font-size: 13px;
  padding: 9px 18px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .header-cta { display: none; } /* masqué sur mobile — modale reste accessible */
}

/* ============================================================
   FOOTER — brand + logo
   ============================================================ */
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  max-height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-tagline {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

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

/* ============================================================
   FORMULAIRE — états feedback
   ============================================================ */
.contact-feedback--success {
  color: #2d8c4e;
  font-weight: 600;
  font-size: 13px;
  margin-top: 10px;
}

.contact-feedback--error {
  color: #c0392b;
  font-weight: 600;
  font-size: 13px;
  margin-top: 10px;
}

.contact-modal-box .contact-feedback--success,
.contact-modal-box .contact-feedback--error {
  display: block;
}
