/* =====================================================================
   ExtermExpress — couche de design V4
   Chargée en dernier sur toutes les pages : elle harmonise la typo,
   les boutons, les cartes, la navigation et les animations sans toucher
   au contenu. Pour revenir à la V3, retirer le <link> vers ce fichier.
   ===================================================================== */

:root {
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ff-head: 'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ink: #14271C;
  --ink-soft: #3A4A40;
  --muted: #5B6B62;
  --line: rgba(20, 39, 28, .10);
  --line-strong: rgba(45, 106, 79, .28);
  --surface: #ffffff;
  --surface-soft: #F5FAF7;
  --tint: #E8F3EC;
  --accent: #F2A324;
  --accent-hover: #E3911A;
  --accent-ink: #3B2503;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 28, .05), 0 4px 14px -6px rgba(16, 40, 28, .10);
  --shadow-md: 0 14px 34px -14px rgba(16, 40, 28, .26);
  --shadow-lg: 0 28px 60px -24px rgba(16, 40, 28, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4,
.section-header h2, .about-content h2, .sp-prose h2, .sp-hero h1,
.article-content h1, .article-content h2, .article-content h3,
.blog-header h1, .blog-section-title, .footer h4 {
  font-family: var(--ff-head);
  letter-spacing: -.02em;
}
h3, h4 { letter-spacing: -.01em; }
::selection { background: #B7E4C7; color: #0B1D13; }
[hidden] { display: none !important; }
img { image-rendering: auto; }
:focus-visible { outline: 3px solid #40916C; outline-offset: 3px; border-radius: 8px; }

/* Lien d'évitement (accessibilité) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; font-weight: 700;
  padding: 10px 16px; border-radius: 10px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Barre du haut ---------- */
.top-bar { font-size: 12.5px; }
.top-bar a { color: #B5C3BA; }
.top-bar a:hover { color: #95D5B2; }

/* ---------- Navigation ---------- */
.navbar {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.navbar.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 10px 30px -18px rgba(16, 40, 28, .45); }
.navbar-inner { height: 80px; transition: height .3s var(--ease); }
.navbar.is-scrolled .navbar-inner { height: 66px; }
.navbar .logo img { width: 54px; height: 54px; border-radius: 12px; transition: width .3s var(--ease), height .3s var(--ease); filter: none; }
.navbar.is-scrolled .logo img { width: 44px; height: 44px; }
.navbar .logo-text .brand { font-family: var(--ff-head); font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.navbar .logo-text .sub { font-size: 10px; letter-spacing: .22em; color: #2D6A4F; }

.nav-links { gap: 2px; }
.nav-links a, .nav-links button {
  font-size: 14.5px; font-weight: 600; color: #1F2D25;
  padding: 9px 13px; border-radius: 10px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover, .nav-links button:hover,
.services-dropdown.open > button { color: #2D6A4F; background: var(--tint); }
.nav-links a[aria-current="page"] { color: #2D6A4F; }

/* Menus déroulants : carte verte animée, texte blanc, accessible au clavier */
.services-dropdown .dropdown-menu,
.nav-links .services-dropdown .dropdown-menu {
  display: block; visibility: hidden; opacity: 0;
  transform: translateY(8px) scale(.98); transform-origin: top left;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  background: linear-gradient(180deg, #2D6A4F 0%, #245C43 100%); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 6px; margin-top: 10px; min-width: 230px; width: auto;
}
.services-dropdown .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.services-dropdown:hover .dropdown-menu,
.services-dropdown.open .dropdown-menu {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.nav-links .dropdown-menu a,
.dropdown-menu a {
  display: block; color: #fff; background: transparent;
  padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500;
}
.nav-links .dropdown-menu a:hover,
.dropdown-menu a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.nav-links .dropdown-menu a[aria-current="page"],
.dropdown-menu a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .2); }
.nav-links .dropdown-menu a.view-all,
.dropdown-menu a.view-all { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .2); border-radius: 10px 10px 0 0; margin-bottom: 4px; }
.dropdown-menu.dropdown-wide { max-height: 70vh; overflow-y: auto; }

.lang-btn { border-color: var(--line-strong); border-radius: 10px; }

/* Bouton hamburger */
.mobile-toggle {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  color: var(--ink); transition: background-color .2s var(--ease);
}
.mobile-toggle:hover { background: var(--tint); }
.mobile-toggle[aria-expanded="true"] { background: var(--tint); color: #1B4332; }

/* Menu mobile vert, texte blanc */
.mobile-menu {
  background: linear-gradient(180deg, #2D6A4F 0%, #1F5A41 100%); border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 10px 16px 20px; box-shadow: 0 30px 40px -30px rgba(16, 40, 28, .45);
  max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.open { animation: v4-menu-in .26s var(--ease); }
.mobile-menu a { color: #fff; font-weight: 600; padding: 12px 14px; border-radius: 12px; }
.mobile-menu a.sub { color: rgba(255, 255, 255, .88); font-weight: 500; padding-left: 28px; font-size: 14.5px; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }
.mobile-menu .mobile-call { color: #fff; }
.mobile-menu .mobile-cta { margin-top: 10px; }
@keyframes v4-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Boutons ---------- */
.btn-cta, .theme-light .btn-cta,
.cta-primary, .theme-light .cta-primary,
.sp-hero-ctas .cta-quote, .sp-cta .cta-white, .theme-light .sp-cta .cta-white,
.cta-quote-btn, .mobile-menu .mobile-cta, .submit-btn, .theme-light .hfc-btn {
  background: linear-gradient(180deg, #F6AE36 0%, var(--accent) 100%);
  color: var(--accent-ink) !important; border: 0; font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 22px -12px rgba(200, 120, 10, .75);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-cta:hover, .theme-light .btn-cta:hover,
.cta-primary:hover, .theme-light .cta-primary:hover,
.sp-hero-ctas .cta-quote:hover, .sp-cta .cta-white:hover, .theme-light .sp-cta .cta-white:hover,
.cta-quote-btn:hover, .mobile-menu .mobile-cta:hover, .submit-btn:hover, .theme-light .hfc-btn:hover {
  background: linear-gradient(180deg, #F4A51F 0%, var(--accent-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 16px 28px -14px rgba(200, 120, 10, .85);
}
.btn-cta:active, .cta-primary:active, .submit-btn:active { transform: translateY(0); }
.btn-cta { border-radius: 12px; }
.hero .cta-primary, .hero .cta-secondary { border-radius: 14px; padding: 15px 30px; }
.submit-btn { border-radius: 14px; padding: 15px; }
.submit-btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.sp-hero-ctas .cta-call, .cta-phone-btn {
  background: #2D6A4F; color: #fff; border-radius: 12px;
  box-shadow: 0 10px 22px -12px rgba(27, 67, 50, .8);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.sp-hero-ctas .cta-call:hover, .cta-phone-btn:hover { background: #40916C; transform: translateY(-2px); }
.sp-hero-ctas a { border-radius: 12px; }

/* ---------- Héro de l'accueil ---------- */
.theme-light .hero .overlay-light {
  background:
    radial-gradient(120% 90% at 0% 50%, rgba(6, 17, 11, .94) 0%, rgba(8, 20, 13, .82) 45%, rgba(11, 29, 19, .45) 100%);
}
.theme-light .hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.03em; text-wrap: balance; }
.theme-light .hero .desc { font-size: 1.1rem; max-width: 560px; }
.theme-light .hero-slogan { letter-spacing: -.02em; }
.hero-content .badge { padding: 8px 18px; backdrop-filter: blur(6px); }
.hero-content .badge span { font-size: 14.5px; }
.hero-chips .chip { transition: background-color .2s var(--ease), color .2s var(--ease); }
.theme-light .hero-chips a.chip:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.hero-bg img { will-change: auto; }

/* Coquerelles 3D du héro (assets/hero-bugs.js) : sous le texte, au-dessus de la photo */
.hero-bugs { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-bugs.ready { opacity: 1; }
.theme-light .hero-content { z-index: 2; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-mint { background: var(--surface-soft); }
.section-header { margin-bottom: clamp(36px, 5vw, 56px); }
.section-header h2 { color: var(--ink); text-wrap: balance; }
.section-header p { color: var(--muted); font-size: 1.075rem; max-width: 640px; text-wrap: pretty; }
.section-header .label, .about-content .label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--tint); color: #1F5A41;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
}
.section-dark .section-header .label { background: rgba(149, 213, 178, .12); color: #95D5B2; }
.theme-light .section-dark .section-header .label { background: var(--tint); color: #1F5A41; }
.theme-light .section-dark { background: linear-gradient(180deg, #F2F8F4 0%, #EAF4EE 100%); }

/* Bandeau d'engagements */
.engagements { box-shadow: none; border-color: var(--line); }
.engagement svg { box-shadow: 0 10px 20px -10px rgba(27, 67, 50, .8); }

/* ---------- Cartes (services, secteurs, clientèles, etc.) ---------- */
.service-card, .region-card, .mini-card, .process-item, .sp-methods .method-item,
.sp-signs .sign-item, .contact-info-card, .faq-item, .testimonial-card, .blog-card,
.stat-card, .related-pages {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.service-card, .region-card, .mini-card, .blog-card, .process-item, .sp-methods .method-item {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover, .region-card:hover, .mini-card:hover, .blog-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong);
}
.service-card .card-img { position: relative; height: 200px; }
.service-card .card-img::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, rgba(11, 29, 19, .28), transparent); pointer-events: none;
}
.service-card .card-img img { transition: transform .7s var(--ease); }
.service-card:hover .card-img img { transform: scale(1.06); }
.service-card .card-body { padding: 22px 24px 24px; }
.service-card .card-icon { margin-top: -46px; position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 14px; }
.service-card h3 { font-size: 1.15rem; color: var(--ink); }
.service-card p { color: var(--muted); }
.service-card .learn-more, .region-card .learn-more { color: #2D6A4F; font-weight: 700; }
.services-grid { gap: 22px; }

.region-card { padding: 26px; gap: 10px; background: #fff; }
.region-card h3 { font-family: var(--ff-head); font-weight: 700; color: var(--ink); }
.section-white .region-card { background: var(--surface-soft); }
.region-card .learn-more { transition: letter-spacing .25s var(--ease); }
.region-card:hover .learn-more { letter-spacing: .02em; }

/* Étapes « comment ça fonctionne » */
.process-grid { gap: 18px; counter-reset: v4step; }
.theme-light .process-item, .process-item { background: #fff; padding: 26px; }
.process-item .step-num, .sp-methods .method-item .step-num {
  width: 40px; height: 40px; border-radius: 12px; font-family: var(--ff-head);
  background: linear-gradient(135deg, #2D6A4F, #1B4332); color: #fff;
  box-shadow: 0 10px 18px -10px rgba(27, 67, 50, .9);
}
.process-item:hover, .sp-methods .method-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sp-methods .method-item { background: #fff; }

/* À propos */
.about-img-wrap img { border-radius: 22px; box-shadow: var(--shadow-lg); }
.about-float { border-radius: 16px; background: linear-gradient(135deg, #1B4332, #0B1D13); box-shadow: var(--shadow-lg); }
.about-content .text { color: var(--ink-soft); }
.highlight-item span { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { gap: 12px; }
.faq-item { background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.faq-item summary { align-items: center; padding: 20px 22px; color: var(--ink); }
.faq-item summary::after {
  content: ""; flex: 0 0 28px; height: 28px; margin-left: auto; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: #D4EADC; }
.faq-item summary .num { margin-top: 0; }
.faq-item .answer { color: var(--ink-soft); padding: 0 24px 22px 62px; }
.faq-item[open] .answer { animation: v4-fade-down .35s var(--ease); }
@keyframes v4-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Formulaires et contact ---------- */
.contact-form-card, .sp-contact-card { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
/* Pages de service : le formulaire ne doit jamais dépasser la largeur du téléphone */
.sp-contact-card > *, .contact-grid > * { min-width: 0; }
.contact-info-card, .sp-contact-right .ci { overflow-wrap: anywhere; }
@media (max-width: 768px) {
  .sp-contact-card, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .sp-contact-left, .sp-contact-right { padding: 26px 20px; }
}
/* Très petits téléphones (320 px) : titres un peu plus petits pour les noms de quartiers longs */
@media (max-width: 360px) {
  h1.v4-split, .sp-hero h1, .page-hero h1 { font-size: 1.65rem !important; }
  h2.v4-split { font-size: 1.5rem !important; }
}
.form-group label { color: var(--ink); font-size: 13.5px; }
.form-group input, .form-group select, .form-group textarea {
  min-height: 46px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid #D3DED7; background: #FBFDFC; font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: #AFC4B7; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  background: #fff; border-color: #2D6A4F; box-shadow: 0 0 0 4px rgba(45, 106, 79, .14);
}
.form-group input:user-invalid { border-color: #D64545; }
.form-error { margin-top: 4px; padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #8A1C1C; font-size: 14px; }
.form-error a { color: #8A1C1C; font-weight: 700; text-decoration: underline; }
.contact-info-card { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.contact-info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.emergency-banner { border-radius: var(--radius); background: linear-gradient(135deg, #E63946 0%, #B8212E 100%); box-shadow: 0 18px 34px -18px rgba(184, 33, 46, .8); }
.emergency-banner p { color: #FFE1E1; }

/* ---------- Pages de services et de secteurs ---------- */
.sp-hero .sp-hero-overlay {
  background: linear-gradient(90deg, rgba(8, 20, 13, .86) 0%, rgba(8, 20, 13, .55) 55%, rgba(8, 20, 13, .20) 100%),
              linear-gradient(to top, rgba(8, 20, 13, .75), transparent 60%);
}
.theme-light .sp-hero .sp-hero-overlay {
  background: linear-gradient(90deg, rgba(8, 20, 13, .86) 0%, rgba(8, 20, 13, .55) 55%, rgba(8, 20, 13, .20) 100%),
              linear-gradient(to top, rgba(8, 20, 13, .75), transparent 60%);
}
.sp-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.03em; text-wrap: balance; }
.sp-hero .sp-subtitle { color: #CFE9DA; font-size: 1.1rem; }
.sp-crumbs a, .sp-crumbs { color: #CFE9DA; }
.sp-prose { max-width: 760px; }
.sp-prose p, .sp-description p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.8; text-wrap: pretty; }
.sp-prose h2 { color: var(--ink); }
.tick-list li { color: var(--ink-soft); }
.sp-signs .sign-item { background: #fff; }
.sp-links .chip, .related-pages .chip { transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.sp-links .chip:hover, .related-pages .chip:hover { transform: translateY(-1px); }
.sp-cta { background: radial-gradient(900px 300px at 50% 0%, #245C43 0%, #1B4332 55%, #12301F 100%); }
.mini-card { background: #fff; }
.area-photo img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ---------- Blogue ---------- */
.blog-index-page, .blog-article-page { padding-top: 40px; background: var(--surface-soft); }
.blog-header h1 { color: var(--ink); letter-spacing: -.03em; }
.blog-tab { border-radius: 12px; border-width: 1px; }
.blog-card { background: #fff; }
.blog-card-img { height: 190px; }
.blog-card-body { padding: 18px; }
.blog-card-body h3 { font-family: var(--ff-head); font-size: 1rem; color: var(--ink); }
.blog-card-body p { font-size: .875rem; color: var(--muted); }
.blog-article-page .container { max-width: 780px; }
.article-hero-img { border-radius: 22px; box-shadow: var(--shadow-md); }
.article-content { color: var(--ink-soft); font-size: 1.0625rem; }
.article-content p, .article-content li { font-size: 1.0625rem; line-height: 1.85; text-wrap: pretty; }
.article-content h1 { color: var(--ink); font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -.03em; text-wrap: balance; }
.article-content h2 { color: var(--ink); border-bottom: 0; padding-bottom: 0; margin-top: 48px; font-size: clamp(1.35rem, 2.6vw, 1.65rem); }
.article-content h2::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #2D6A4F, #95D5B2); margin-bottom: 14px; }
.article-content h3 { color: #1B4332; }
.article-content a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.article-content blockquote { border-left-color: #F2A324; background: #FFF8EC; font-style: normal; color: var(--ink-soft); border-radius: 0 14px 14px 0; }
.article-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; font-size: .95rem; }
.article-content th, .article-content td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-content th { background: var(--tint); color: var(--ink); font-weight: 700; }
.article-cta-box { border-radius: 22px; background: radial-gradient(700px 260px at 50% 0%, #245C43 0%, #1B4332 60%, #12301F 100%); box-shadow: var(--shadow-lg); }

/* Barre de progression de lecture (ajoutée par v4.js sur les articles) */
.v4-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 300; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #2D6A4F, #F2A324); pointer-events: none; }

/* ---------- Pied de page ---------- */
.footer { background: radial-gradient(1100px 420px at 0% 0%, #133826 0%, #0B1D13 62%); position: relative; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #2D6A4F, #95D5B2 50%, #F2A324); }
.footer h4 { font-size: 14px; letter-spacing: .02em; }
.footer ul a, .footer .contact-col a { transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer ul a:hover { color: #95D5B2; padding-left: 3px; }
.footer .social-row a { border-radius: 12px; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.footer .social-row a:hover { transform: translateY(-2px); }
.footer-bottom-inner { color: #8A9A90; }

/* ---------- Bouton d'appel flottant ---------- */
.floating-call {
  background: linear-gradient(135deg, #2D6A4F, #1B4332);
  box-shadow: 0 16px 30px -14px rgba(11, 29, 19, .8);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .3s var(--ease);
}
.floating-call::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(64, 145, 108, .55); animation: v4-ring 2.4s infinite; pointer-events: none;
}
.floating-call:hover { transform: translateY(-3px); }
.floating-call svg { animation: none; }
@keyframes v4-ring { 0% { box-shadow: 0 0 0 0 rgba(64, 145, 108, .5); } 70% { box-shadow: 0 0 0 14px rgba(64, 145, 108, 0); } 100% { box-shadow: 0 0 0 0 rgba(64, 145, 108, 0); } }
@media (max-width: 640px) {
  .floating-call { left: 12px; right: 12px; bottom: 12px; justify-content: center; padding: 15px 16px; border-radius: 16px; font-size: 16px; }
  .floating-call .call-text { display: inline; font-size: 16px; }
  body { padding-bottom: 78px; }
}

/* ---------- Apparition au défilement (activée par v4.js) ---------- */
.v4-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.v4-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Effets de chargement (inspirés d'Extermi Pro) ----------
   La classe v4-js est posée dans le <head> : sans JavaScript, rien n'est caché. */

/* Titres qui apparaissent lettre par lettre */
.v4-split .v4-w { display: inline-block; white-space: nowrap; }
.v4-split .v4-c {
  display: inline-block; opacity: 0; transform: translateX(.6em); filter: blur(6px);
  transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s var(--ease);
  transition-delay: calc(var(--i) * 24ms + var(--d, 0ms));
}
.v4-split.is-in .v4-c { opacity: 1; transform: none; filter: none; }
.v4-js .sp-hero h1:not(.v4-split) { opacity: 0; animation: v4-failsafe 0s 2.5s forwards; }
@keyframes v4-failsafe { to { opacity: 1; } }

/* Entrée en cascade des éléments du héro */
@keyframes v4-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes v4-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes v4-zoom-out { from { transform: scale(1.14); } to { transform: scale(1); } }
/* Haut de l'accueil : badge, slogan et titre affichés immédiatement (aucun flou ni délai) */
.v4-js .sp-crumbs { animation: v4-up .8s var(--ease) .05s both; }
.v4-js .hero .desc, .v4-js .sp-hero .sp-subtitle { animation: v4-up .8s var(--ease) .75s both; }
.v4-js .hero .ctas, .v4-js .sp-hero-ctas { animation: v4-up .8s var(--ease) .95s both; }
.v4-js .hero .trust-badges, .v4-js .sp-trust { animation: v4-up .8s var(--ease) 1.1s both; }
.v4-js .hero-chips { animation: v4-up .8s var(--ease) 1.25s both; }
.v4-js .navbar { animation: v4-fade .6s var(--ease) both; }

/* Toutes les photos du site : floues et transparentes, puis nettes en fondu
   dès qu'elles sont chargées et visibles (v4.js ajoute .is-loaded).
   Filet de sécurité : si le script ne répond pas, elles s'affichent après 4 s. */
@keyframes v4-img-failsafe { to { opacity: 1; filter: none; } }
.v4-js main img { transition: opacity 1.1s var(--ease), filter 1.3s var(--ease), transform .7s var(--ease); }
.v4-js main img:not(.is-loaded) { opacity: 0; filter: blur(14px) saturate(.6); animation: v4-img-failsafe 0s 4s forwards; }
/* Grandes photos du haut de page : en plus, léger zoom arrière à l'apparition */
.v4-js .hero-bg img.is-loaded, .v4-js .sp-hero .sp-hero-img img.is-loaded { animation: v4-zoom-out 2.4s var(--ease) both; }
/* Photo du haut de l'accueil : affichée tout de suite, sans flou ni fondu (meilleur score de vitesse Google) */
.v4-js .hero-bg img, .v4-js .hero-bg img:not(.is-loaded) { opacity: 1 !important; filter: none !important; animation: v4-zoom-out 2.4s var(--ease) both !important; }
html, body { overflow-x: clip; }

/* Bulles d'insectes flottantes autour de la photo « À propos » */
.about-img-wrap .float-bug {
  position: absolute; z-index: 2; width: 86px; height: 86px; border-radius: 50%; overflow: hidden;
  border: 4px solid #fff; box-shadow: var(--shadow-md); background: #fff;
  animation: v4-float 5s ease-in-out infinite;
}
.about-img-wrap .float-bug img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: none; }
.about-img-wrap .fb1 { top: 6%; right: -22px; }
.about-img-wrap .fb2 { top: 46%; left: -26px; animation-delay: -1.7s; width: 74px; height: 74px; }
.about-img-wrap .fb3 { bottom: 16%; right: 30%; animation-delay: -3.2s; width: 64px; height: 64px; }
@keyframes v4-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

/* Badge circulaire au texte qui tourne (accueil) */
.hero-badge-spin {
  position: absolute; z-index: 3; right: clamp(16px, 5vw, 70px); top: 64px;
  width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(11, 29, 19, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(149, 213, 178, .35); color: #fff; animation: v4-up .8s var(--ease) 1.4s both;
}
.hero-badge-spin svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: v4-spin 14s linear infinite; }
.hero-badge-spin text { font: 700 10.5px/1 var(--ff-body); letter-spacing: .22em; fill: #CFE9DA; text-transform: uppercase; }
.hero-badge-spin .core { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #F6AE36, var(--accent)); color: var(--accent-ink); box-shadow: 0 10px 22px -10px rgba(200, 120, 10, .9); transition: transform .3s var(--ease); }
.hero-badge-spin:hover .core { transform: scale(1.08) rotate(-12deg); }
.hero-badge-spin .core svg { width: 24px; height: 24px; }
@keyframes v4-spin { to { transform: rotate(360deg); } }
@media (max-width: 820px) { .hero-badge-spin { display: none; } .about-img-wrap .fb1 { right: -8px; } .about-img-wrap .fb2 { left: -8px; } }

/* ---------- Héro simple des nouvelles pages (identifier, soumission, confidentialité) ---------- */
.page-hero { background: radial-gradient(1000px 380px at 85% 0%, #245C43 0%, #12301F 55%, #0B1D13 100%); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, #2D6A4F, #95D5B2 50%, #F2A324); }
.page-hero .sp-crumbs { margin-bottom: 16px; }
.page-hero h1 { font-family: var(--ff-head); font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.03em; line-height: 1.1; max-width: 820px; text-wrap: balance; }
.page-hero p.lead { color: #CFE9DA; font-size: 1.1rem; max-width: 680px; margin-top: 14px; }
.v4-js .page-hero h1:not(.v4-split) { opacity: 0; animation: v4-failsafe 0s 2.5s forwards; }
.v4-js .page-hero .lead { animation: v4-up .8s var(--ease) .7s both; }

/* ---------- Derniers articles (accueil) ---------- */
.home-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.home-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.home-post .hp-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.home-post .hp-img img { width: 100%; height: 100%; object-fit: cover; }
.home-post:hover .hp-img img { transform: scale(1.05); }
.home-post .hp-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.home-post h3 { font-family: var(--ff-head); font-size: 1.05rem; line-height: 1.35; color: var(--ink); }
.home-post p { color: var(--muted); font-size: .92rem; line-height: 1.6; flex: 1; }
.home-post .learn-more { color: #2D6A4F; font-weight: 700; font-size: 14px; }
.home-posts-more { text-align: center; margin-top: 32px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid #2D6A4F; color: #1B4332; font-weight: 700; transition: background-color .2s var(--ease), color .2s var(--ease); }
.btn-outline:hover { background: #2D6A4F; color: #fff; }
@media (max-width: 900px) { .home-posts { grid-template-columns: 1fr; } }

/* ---------- Identifier un insecte ---------- */
.id-tools { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; margin-bottom: 28px; display: grid; gap: 16px; }
.id-tools .id-search { width: 100%; min-height: 48px; border: 1px solid #D3DED7; border-radius: 12px; padding: 0 16px 0 44px; font: inherit; font-size: 15px; background: #FBFDFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B62' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 14px center / 18px no-repeat; }
.id-tools .id-search:focus { outline: none; border-color: #2D6A4F; box-shadow: 0 0 0 4px rgba(45, 106, 79, .14); background-color: #fff; }
.id-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.id-filter-row .lbl { font-size: 13px; font-weight: 700; color: var(--ink); margin-right: 4px; min-width: 150px; }
.id-chip { padding: 8px 14px; border-radius: 999px; border: 1px solid #CBD9D0; background: #fff; color: #1F2D25; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .2s var(--ease); }
.id-chip:hover { border-color: #2D6A4F; color: #1B4332; }
.id-chip[aria-pressed="true"] { background: #2D6A4F; border-color: #2D6A4F; color: #fff; }
.id-count { font-size: 14px; color: var(--muted); }
.id-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.id-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.id-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.id-card[hidden] { display: none; }
.id-card .id-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.id-card .id-img img { width: 100%; height: 100%; object-fit: cover; }
.id-card .risk { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(6px); }
.risk.high { background: rgba(214, 40, 57, .92); color: #fff; }
.risk.mid { background: rgba(242, 163, 36, .95); color: #3B2503; }
.risk.low { background: rgba(255, 255, 255, .92); color: #1B4332; }
.id-card .id-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.id-card h3 { font-family: var(--ff-head); font-size: 1.12rem; color: var(--ink); }
.id-card .id-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.id-card .id-meta span { font-size: 12px; font-weight: 600; color: #1F5A41; background: var(--tint); border-radius: 8px; padding: 4px 8px; }
.id-card ul { display: grid; gap: 6px; }
.id-card li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.id-card li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #40916C; }
.id-card .id-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 6px; }
.id-card .id-links a { font-size: 14px; font-weight: 700; color: #2D6A4F; }
.id-card .id-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.id-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.id-photo-cta { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 28px; border-radius: 22px; background: radial-gradient(700px 260px at 0% 0%, #245C43 0%, #1B4332 60%, #12301F 100%); color: #fff; box-shadow: var(--shadow-lg); }
.id-photo-cta h2 { font-family: var(--ff-head); font-size: 1.4rem; margin-bottom: 6px; }
.id-photo-cta p { color: #CFE9DA; }
.id-photo-cta .row { display: flex; flex-wrap: wrap; gap: 10px; }
.id-photo-cta .row a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 700; }
.id-photo-cta .row a.ghost { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
@media (max-width: 760px) { .id-photo-cta { grid-template-columns: 1fr; } .id-filter-row .lbl { min-width: 100%; } }

/* ---------- Formulaire de réservation en étapes ---------- */
.booking { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: start; }
.booking-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); padding: clamp(20px, 4vw, 34px); }
.booking-steps { display: flex; gap: 8px; margin-bottom: 24px; counter-reset: bstep; }
.booking-steps li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.booking-steps li::before { content: ""; height: 5px; border-radius: 5px; background: #E3ECE6; transition: background-color .4s var(--ease); }
.booking-steps li.done::before, .booking-steps li.current::before { background: linear-gradient(90deg, #2D6A4F, #40916C); }
.booking-steps li.current { color: #1B4332; }
.b-step { display: none; }
.b-step.active { display: block; animation: v4-up .45s var(--ease) both; }
.b-step h2 { font-family: var(--ff-head); font-size: 1.35rem; color: var(--ink); margin-bottom: 16px; }
.b-step .form-group { margin-bottom: 14px; }
.b-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.b-option { position: relative; }
.b-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.b-option span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 10px 12px; border: 1.5px solid #D3DED7; border-radius: 14px; font-weight: 600; font-size: 14px; color: #1F2D25; background: #FBFDFC; transition: all .2s var(--ease); }
.b-option input:hover + span { border-color: #8FB8A1; }
.b-option input:checked + span { border-color: #2D6A4F; background: var(--tint); color: #1B4332; box-shadow: 0 0 0 3px rgba(45, 106, 79, .12); }
.b-option input:focus-visible + span { outline: 3px solid #40916C; outline-offset: 2px; }
.b-legend { font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 4px 0 8px; }
.b-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.b-nav .b-back { padding: 13px 18px; border-radius: 12px; font-weight: 700; color: #1B4332; border: 1.5px solid #CBD9D0; background: #fff; }
.b-nav .b-back:hover { border-color: #2D6A4F; }
.b-nav .submit-btn, .b-nav .b-next { width: auto; min-width: 200px; margin-left: auto; padding: 14px 22px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; }
.b-nav .b-next { background: linear-gradient(180deg, #F6AE36 0%, var(--accent) 100%); color: var(--accent-ink); box-shadow: 0 10px 22px -12px rgba(200, 120, 10, .75); }
.b-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.b-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: #2D6A4F; flex: 0 0 auto; }
.b-consent a { color: #2D6A4F; font-weight: 700; text-decoration: underline; }
.b-error { color: #8A1C1C; background: #FDECEC; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-top: 8px; }
.booking-aside { position: sticky; top: 100px; display: grid; gap: 14px; }
.booking-aside .aside-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); }
.booking-aside h3 { font-family: var(--ff-head); font-size: 1rem; color: var(--ink); margin-bottom: 10px; }
.booking-aside .tick-list li { font-size: 14px; }
.booking-aside .call { background: linear-gradient(135deg, #2D6A4F, #1B4332); color: #fff; border: 0; }
.booking-aside .call h3 { color: #fff; }
.booking-aside .call a { display: block; font-family: var(--ff-head); font-size: 1.35rem; font-weight: 700; color: #fff; margin-top: 4px; }
.booking-aside .call p { color: #CFE9DA; font-size: 13.5px; }
.booking-done { text-align: center; padding: 30px 10px; }
.booking-done .check { width: 70px; height: 70px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: #2D6A4F; }
.booking-done h2 { font-family: var(--ff-head); color: var(--ink); margin-bottom: 8px; }
.booking-done p { color: var(--ink-soft); }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } .booking-aside { position: static; } .b-nav .submit-btn, .b-nav .b-next { min-width: 0; flex: 1; } }

/* ---------- Politique de confidentialité ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal .updated { display: inline-block; font-size: 13px; font-weight: 600; color: #1F5A41; background: var(--tint); border-radius: 999px; padding: 6px 12px; margin-bottom: 18px; }
.legal h2 { font-family: var(--ff-head); font-size: clamp(1.25rem, 2.4vw, 1.5rem); color: var(--ink); margin: 34px 0 10px; }
.legal h2 .n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 9px; background: var(--tint); color: #2D6A4F; font-size: .9rem; vertical-align: 2px; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.8; font-size: 1.02rem; }
.legal p { margin-bottom: 12px; }
.legal ul { display: grid; gap: 6px; margin: 6px 0 14px; padding-left: 22px; list-style: disc; }
.legal a { color: #2D6A4F; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal .contact-box { margin: 16px 0; padding: 20px 22px; border-radius: 16px; background: var(--surface-soft); border: 1px solid var(--line); }
.legal .contact-box p { margin: 0; }
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 10px; }
.legal-toc ol { columns: 2; column-gap: 28px; padding-left: 20px; }
.legal-toc li { font-size: 14.5px; line-height: 1.9; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

/* Liens légaux dans le pied de page et sous les formulaires */
.footer-bottom-inner .legal-links a { color: #B5C3BA; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom-inner .legal-links a:hover { color: #95D5B2; }
.form-privacy { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.form-privacy a { color: #2D6A4F; text-decoration: underline; }

/* ---------- Blogue : mise en page avec barre latérale (inspirée d'Extermi Pro) ---------- */
.blog-article-page .container.blog-layout { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 44px; align-items: start; }
.blog-main { min-width: 0; max-width: 780px; }
.article-meta { flex-wrap: wrap; }
.article-author { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.article-author .avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2D6A4F, #1B4332); color: #fff; font-weight: 800; font-size: 13px; font-family: var(--ff-head); }

/* La barre latérale reste en haut de la page (elle ne suit pas le défilement) */
.blog-sidebar { position: static; display: grid; gap: 18px; }

/* Pages numérotées du blogue */
.blog-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.blog-pager .pg { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid #CBD9D0; background: #fff; color: #1F2D25; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.blog-pager button.pg:hover { border-color: #2D6A4F; color: #1B4332; background: var(--tint); }
.blog-pager .pg.current { background: #2D6A4F; border-color: #2D6A4F; color: #fff; }
.blog-pager .pg.wide { padding: 0 18px; }
.sb-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); }
.sb-card h3 { font-family: var(--ff-head); font-size: 1rem; color: var(--ink); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sb-search { display: flex; gap: 8px; }
.sb-search input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid #D3DED7; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 14.5px; background: #FBFDFC; }
.sb-search input:focus { outline: none; border-color: #2D6A4F; box-shadow: 0 0 0 4px rgba(45, 106, 79, .14); }
.sb-search button { width: 44px; height: 44px; border-radius: 12px; background: #2D6A4F; color: #fff; display: grid; place-items: center; }
.sb-search button:hover { background: #40916C; }
.sb-recent { display: grid; gap: 12px; }
.sb-recent a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.sb-recent img { width: 64px; height: 52px; object-fit: cover; border-radius: 10px; background: var(--tint); }
.sb-recent span { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sb-recent a:hover span { color: #2D6A4F; }
.sb-call { background: radial-gradient(500px 220px at 0% 0%, #245C43 0%, #1B4332 60%, #12301F 100%); color: #fff; border: 0; }
.sb-call h3 { color: #fff; border-color: rgba(255, 255, 255, .18); }
.sb-call p { color: #CFE9DA; font-size: 14px; margin-bottom: 12px; }
.sb-call .tel { display: block; font-family: var(--ff-head); font-size: 1.45rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.sb-call .cta-primary { display: block; text-align: center; padding: 12px; border-radius: 12px; }
.sb-links { display: grid; gap: 4px; }
.sb-links a { display: block; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.sb-links a:hover { background: var(--tint); color: #1B4332; }

/* Partage */
.share-bar { margin: 36px 0 8px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.share-bar h3 { font-family: var(--ff-head); font-size: 1rem; color: var(--ink); margin-bottom: 12px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-buttons a, .share-buttons button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; color: #fff; font-size: 13.5px; font-weight: 700; transition: transform .2s var(--ease), filter .2s var(--ease); }
.share-buttons a:hover, .share-buttons button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.share-buttons svg { width: 16px; height: 16px; }
.sh-fb { background: #1877F2; } .sh-rd { background: #FF4500; } .sh-x { background: #111; } .sh-th { background: #000; }
.sh-li { background: #0A66C2; } .sh-wa { background: #25D366; color: #073B1E !important; } .sh-copy { background: var(--tint); color: #1B4332 !important; }

/* Auteur */
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; margin: 22px 0; padding: 20px; border-radius: 18px; background: var(--surface-soft); border: 1px solid var(--line); }
.author-box .avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2D6A4F, #1B4332); color: #fff; font-family: var(--ff-head); font-size: 1.5rem; font-weight: 800; }
.author-box strong { display: block; font-family: var(--ff-head); color: var(--ink); }
.author-box p { font-size: 14px; color: var(--ink-soft); margin: 2px 0 0; }


/* FAQ et rappel en bas des articles */
.blog-faq { padding: clamp(48px, 7vw, 80px) 0; background: #fff; border-top: 1px solid var(--line); }
.blog-faq .section-header { margin-bottom: 28px; }
.blog-cta { padding: clamp(48px, 7vw, 80px) 0; background: radial-gradient(1000px 380px at 85% 0%, #245C43 0%, #12301F 55%, #0B1D13 100%); color: #fff; }
.blog-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.blog-cta h2 { font-family: var(--ff-head); font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.blog-cta p { color: #CFE9DA; margin: 12px 0 20px; font-size: 1.05rem; }
.blog-cta .row { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-cta .tel-big { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; background: #2D6A4F; color: #fff; font-weight: 800; font-size: 1.1rem; }
.blog-cta .tel-big:hover { background: #40916C; }
.blog-cta .row .cta-primary { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 14px; font-size: 1.05rem; }
.blog-cta .contact-form-card { color: var(--ink); }
.blog-cta .contact-form-card h3 { font-family: var(--ff-head); font-size: 1.2rem; margin-bottom: 14px; color: var(--ink); }
@media (max-width: 1024px) {
  .blog-article-page .container.blog-layout { grid-template-columns: 1fr; }
  .blog-main { max-width: none; }
  .blog-sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .blog-cta-grid { grid-template-columns: 1fr; }
}

/* Recherche sur la page du blogue */
.blog-search { display: flex; gap: 10px; margin: 0 0 18px; max-width: 560px; }
.blog-search input { flex: 1; min-height: 48px; border: 1px solid #D3DED7; border-radius: 12px; padding: 0 16px; font: inherit; font-size: 15px; background: #fff; }
.blog-search input:focus { outline: none; border-color: #2D6A4F; box-shadow: 0 0 0 4px rgba(45, 106, 79, .14); }
.blog-search-info { font-size: 14px; color: var(--muted); margin: -6px 0 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .navbar-inner { height: 70px; }
  .navbar.is-scrolled .navbar-inner { height: 62px; }
  .navbar .logo img { width: 46px; height: 46px; }
  .navbar .logo-text .brand { font-size: 19px; }
}
/* En dessous de 1100 px, le menu complet ne tient plus (surtout sur l'accueil, qui a un menu de plus) :
   on passe au menu ☰ partout, en gardant le bouton « Soumission express » */
@media (max-width: 1100px) {
  .nav-links { display: none !important; }
  .mobile-toggle { display: block !important; }
  .nav-right .lang-btn, .nav-right .phone-link { display: none !important; }
  .mobile-menu.open { display: block; }
}
@media (max-width: 440px) {
  .nav-right { display: none !important; }
}
@media (max-width: 640px) {
  .top-bar .left a:not(:first-child), .top-bar .left .sep, .top-bar .socials { display: none; }
  .top-bar-inner { justify-content: center; }
  .top-bar a { white-space: nowrap; font-weight: 600; }
  .faq-item .answer { padding: 0 20px 20px 20px; }
  .service-card .card-img { height: 180px; }
  .sp-hero .sp-hero-img { height: 560px; }
}

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  .v4-reveal, .v4-split .v4-c, .v4-js main img { opacity: 1 !important; transform: none !important; filter: none !important; }
  .v4-js .hero h1, .v4-js .sp-hero h1 { opacity: 1 !important; }
  .v4-js *, .hero-badge-spin svg.ring, .about-img-wrap .float-bug { animation: none !important; }
  .floating-call::before { animation: none; }
  .navbar-inner, .navbar .logo img { transition: none; }
}

/* ---------- Impression ---------- */
@media print {
  .top-bar, .navbar, .floating-call, .footer, .mobile-menu, .v4-progress { display: none !important; }
  body { padding: 0 !important; }
}
