/* ============================================================
   CABINET EST — Design System
   Couleurs extraites du logo officiel
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Palette logo EST */
  --blue-deep:   #003C8C;   /* bleu foncé — navbar, footer */
  --blue-main:   #0050A0;   /* bleu principal — CTA, accents */
  --blue-light:  #0078C8;   /* bleu clair — hover, icônes */
  --green:       #78B428;   /* vert — accent positif */
  --orange:      #F0A000;   /* orange — accent secondaire */
  --white:       #FFFFFF;
  --off-white:   #F5F6FA;   /* fond sections claires */
  --text-dark:   #0D1F3C;   /* texte principal */
  --text-mid:    #4A5568;   /* texte secondaire */
  --text-light:  #8A9BB5;   /* labels, captions */
  --border:      #DDE3EE;

  /* Typographie */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Espacements */
  --section-py: 90px;
  --container:  1160px;
  --radius:     10px;
  --radius-lg:  18px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 16px;
  background: transparent;
  pointer-events: none;
}
.nav-inner {
  max-width: var(--container);
  margin: 14px auto 0;
  background: var(--white);
  border-radius: 50px;
  box-shadow: 0 4px 28px rgba(0,60,140,0.13);
  height: 62px;
  padding: 0 10px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: all;
  position: relative;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue-main); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--blue-main);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Mobile dropdown ---- */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 84px; /* 14px margin-top + 62px hauteur pill + 8px gap */
  left: 16px;
  right: 16px;
  z-index: 1100;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,60,140,0.15);
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.nav-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  visibility: visible;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
.nav-dropdown > a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown > a:hover { color: var(--blue-main); background: var(--off-white); }
.nav-dropdown > a.active { color: var(--blue-main); font-weight: 600; }
.nav-dropdown-footer { padding: 14px 16px 16px; }
.nav-dropdown-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue-main);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-dropdown-cta:hover { background: var(--blue-deep); color: var(--white); }

/* Hamburger → croix */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-main) 60%, #0064B4 100%);
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: rgba(120,180,40,0.08);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(240,160,0,0.06);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-eyebrow span { color: var(--green); font-size: 16px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--green);
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(120,180,40,0.3);
}
.btn-primary:hover {
  background: #639620;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120,180,40,0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* image hero nette */
.hero-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,30,70,0.40);
}
.hero-image {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-image-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #EBF3FD 0%, #C5DFFB 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-image-fallback img { width: 70%; height: 70%; object-fit: contain; }

.hero-glass-card {
  grid-column: 1 / -1;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 40, 90, 0.25);
  margin-top: 20px;
}
.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.glass-col h4 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--white);
  margin-bottom: 6px;
}
.glass-col p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}
.glass-col.border-left {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 24px;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,0.7); }
.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-sub { margin: 0 auto; }

/* ============================================================
   SECTION — À PROPOS (Accueil)
   ============================================================ */
.about-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-box {
  background: #FFFFFF;
  border: 1px solid #DDE3EE;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,80,160,0.10);
  overflow: hidden;
  color: var(--text-dark);
}
.about-img-box::before { content: none; }
.about-band {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.about-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: 2;
}
.about-band-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #EBF3FD 0%, #ffffff 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.about-band-fallback img { height: 120px; width: auto; object-fit: contain; }
.mission-body p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.mission-body p:first-of-type {
  margin-top: 0;
}
.about-card-body { padding: 36px 32px; }
.about-card-body::before {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--blue-main), var(--green));
  border-radius: 2px;
  margin-bottom: 20px;
}
.about-img-box h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--text-dark);
}
.about-img-box p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 28px;
}
.about-card-body p {
  text-align: left;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-tags span {
  background: #EBF3FD;
  border: 1px solid #C5DFFB;
  color: var(--blue-main);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
}
.about-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 36px;
}
.engagements {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.engagement-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.engagement-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.engagement-icon.blue { background: #EBF3FD; }
.engagement-icon.green { background: #F0F8E5; }
.engagement-icon.orange { background: #FEF6E6; }
.engagement-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.engagement-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================================
   SECTION — POURQUOI EST (anciennement Témoignages)
   ============================================================ */
.why-section {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-main));
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.why-card {
  position: relative;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 3px solid var(--green);
  border-radius: 18px;
  padding: 26px;
  min-height: 200px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s, transform 0.25s;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .why-card { background: rgba(255,255,255,0.16); }
}
.why-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transform: translateY(-3px);
}
.why-halo {
  position: absolute;
  top: -30px; right: -30px;
  width: 110px; height: 110px;
  background: rgba(120,180,40,0.30);
  filter: blur(22px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.why-label {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: rgba(120,180,40,0.15);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.why-card h4 {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 18px;
  color: #FFFFFF;
  margin-bottom: 10px;
}
.why-card p {
  position: relative;
  z-index: 2;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  max-width: 80%;
}
.why-illus-mark {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 130px;
  height: 130px;
  opacity: 0.13;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   SECTION — FAQ
   ============================================================ */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--off-white);
}
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 60, 140, 0.03);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.faq-item:hover, .faq-item.open {
  border-color: rgba(0, 80, 160, 0.3);
  box-shadow: 0 8px 24px rgba(0, 60, 140, 0.07);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0;
  line-height: 1.5;
}
.faq-q:hover { color: var(--blue-main); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--blue-main);
  transition: background 0.2s, transform 0.3s;
  font-weight: 400;
}
.faq-item.open .faq-icon {
  background: var(--blue-main);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-top 0.35s;
  padding-top: 0;
}
.faq-item.open .faq-a {
  max-height: 350px;
  padding-top: 16px;
}

/* ============================================================
   SECTION — CTA FINAL
   ============================================================ */
.cta-section {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-deep));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(120,180,40,0.07);
  pointer-events: none;
}
.cta-section .section-title { color: var(--white); margin-bottom: 16px; }
.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-wa:hover { background: #1FAD55; transform: translateY(-2px); }

/* ============================================================
   ICÔNES SVG INLINE (sans dépendance externe)
   ============================================================ */
.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef1f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* badges engagement : icône colorée selon la variante */
.engagement-icon .icon { width: 22px; height: 22px; }
.engagement-icon.blue .icon { stroke: #2563EB; }
.engagement-icon.green .icon { stroke: #6DA544; }
.engagement-icon.orange .icon { stroke: #E8A33D; }
/* cartes contact */
.contact-card-icon .icon { width: 24px; height: 24px; }
/* canaux rdv : grande icône de carte, couleur marque */
.rdv-channel-icon .icon { width: 44px; height: 44px; stroke: #2b3a67; }
/* footer : version compacte 20px sans badge, alignée au texte */
.footer-contact-item .icon { width: 20px; height: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  color: var(--text-mid);
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
  color: var(--text-mid);
}
.footer-logo { height: 44px; width: auto; }
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-mid);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--blue-main); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.footer-contact-item span { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  background: var(--blue-deep);
  padding: 18px 0;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom a {
  color: var(--green);
  font-weight: 600;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: #ffffff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-py: 64px; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: flex; }
  .hero-image-wrap { aspect-ratio: 16 / 9; }
  .glass-grid { grid-template-columns: 1fr; gap: 20px; }
  .glass-col.border-left {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 0;
    padding-top: 16px;
  }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }
  .nav-dropdown { display: block; }
}

@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   ICÔNES SVG — style professionnel
   ============================================================ */
.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.svc-icon svg {
  width: 30px;
  height: 30px;
}
.svc-icon.blue   { background: #EBF3FD; color: var(--blue-main); }
.svc-icon.green  { background: #F0F8E5; color: #4A8A1A; }
.svc-icon.orange { background: #FEF6E6; color: #C47800; }
.svc-icon.purple { background: #EEE6FE; color: #6B3FA0; }
.svc-icon.teal   { background: #E6F5F5; color: #1A6E6E; }
.svc-icon.navy   { background: #E8EDF5; color: var(--blue-deep); }

/* sur fond bleu (card featured) */
.service-card.featured .svc-icon {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}



/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.12); }
}
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  animation: wa-pulse 2.8s ease-in-out infinite;
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-float:hover {
  background: #1FAD55;
  transform: scale(1.08);
  animation: none;
}
@media (max-width: 600px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ============================================================
   ACCORDÉON STYLE 4 — numérotation filigrane (.acc-*)
   ============================================================ */
.acc-item { display: flex; align-items: flex-start; background: #fff; border-radius: 14px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(0,80,160,0.06); overflow: hidden; transition: box-shadow 0.2s; }
.acc-item.open { box-shadow: 0 6px 22px rgba(0,80,160,0.13); }
.acc-num { font-family: var(--font-display, 'Poppins', sans-serif); font-size: 32px; font-weight: 700; color: rgba(0,80,160,0.10); min-width: 54px; text-align: center; padding: 18px 0 18px 16px; line-height: 1; transition: color 0.2s; flex-shrink: 0; }
.acc-item.open .acc-num { color: var(--green); }
.acc-right { flex: 1; min-width: 0; }
.acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 20px 18px 0; background: none; border: none; cursor: pointer; gap: 12px; text-align: left; }
.acc-btn span { flex: 1; font-size: 15px; font-weight: 500; color: var(--text-dark, #14233D); line-height: 1.4; }
.acc-item.open .acc-btn span { color: var(--blue-deep, #003C8C); }
.acc-chev { flex-shrink: 0; width: 18px; height: 18px; color: var(--text-mid, #4F5E78); transition: transform 0.25s; }
.acc-item.open .acc-chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-body[hidden] { display: block !important; max-height: 0; }
.acc-body p {
  font-size: 11.5px;
  color: var(--text-mid);
  line-height: 1.4;
  margin-bottom: 6px;
  padding-right: 20px;
}
.acc-body p:last-child {
  padding-bottom: 14px;
}
.acc-body ul {
  list-style: disc;
  padding-left: 18px;
  margin: 4px 0 8px;
}
.acc-body ul li {
  list-style: disc;
  font-size: 11.5px;
  color: var(--text-mid);
  line-height: 1.4;
  margin-bottom: 4px;
  padding-right: 20px;
}
.acc-body strong {
  color: var(--text-dark);
  font-weight: 600;
}
.acc-body .section-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 10px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-right: 20px;
  display: block;
}
/* ============================================================
   JUSTIFICATION DU CONTENU TEXTUEL (lang fr)
   ============================================================ */
/* Justification globale du contenu textuel */
p,
.hero-sub,
.about-text,
.mission-body p,
.service-detail-text,
.sb-avantage,
.acc-body p,
.acc-body li,
.footer-brand p,
.page-hero p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: break-word;
}

/* Exclure les éléments qui ne doivent PAS être justifiés
   (inherit = jamais justifié, mais garde le centrage hérité) */
h1, h2, h3, h4, h5, h6,
.btn, .btn-primary, .btn-outline,
.nav-links a,
.nav-cta,
.service-tag,
.hero-eyebrow,
.eyebrow,
.breadcrumb,
label,
.acc-btn span,
.acc-num,
.footer-col ul a,
.topbar-item {
  text-align: inherit;
  hyphens: none;
  -webkit-hyphens: none;
}

/* Garde-fou : re-centrer les paragraphes des zones centrées */
.section-head.centered .section-sub,
.section-head.centered p,
.cta-section p {
  text-align: center;
}

@media (max-width: 480px) { .acc-num { min-width: 40px; font-size: 24px; } }
