/* Open Sans, hebergee dans le theme (police variable, latin + latin etendu) :
   plus d'appel a Google, chargement en preload, pas de saut de texte. */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Police de repli aux metriques d'Open Sans : le texte garde la meme place
   avant et apres l'arrivee de la vraie police, donc pas de saut de page. */
@font-face {
  font-family: "Open Sans Repli";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 105.6%;
  ascent-override: 101.3%;
  descent-override: 27.8%;
  line-gap-override: 0%;
}
:root {
  --navy: #12336e;
  --navy-mid: #1b4f8a;
  --red: #d02e26;
  --red-dark: #b32620;
  --ink: #12336e;
  --muted: #4a6080;
  --paper: #f5f7fa;
  --line: #e3e8ef;
  --white: #ffffff;
  --display: "Open Sans", "Open Sans Repli", ui-sans-serif, system-ui, sans-serif;
  --sans: "Open Sans", "Open Sans Repli", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1280px;
  /* Échelle de rayons unique, reprise du thème React.
     Tout le site s'y réfère : plus aucun rayon en dur. */
  /* Rayons alignés sur celui de l'accordéon FAQ (--r-xl) : le site était
     nettement plus anguleux que sa pièce la plus arrondie. */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 24px;
  --r-xl: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0.75rem 0 0; line-height: 1.65; font-weight: 400; color: var(--muted); text-wrap: pretty; }
h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
h2 { font-size: clamp(28px, 3vw, 36px); }
h3 { font-size: 1.15rem; }

.asd-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .asd-wrap { padding: 0 2rem; } }

.asd-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.asd-kicker--light { color: rgba(255,255,255,0.6); }
.asd-h2-white { color: #fff !important; }
.asd-lead { font-size: 17px; max-width: 32rem; }
.asd-section { padding: 4rem 0; }
.asd-section--paper { background: var(--paper); }
.asd-section__lead { max-width: min(100%, 58rem); }

/* Bouton — reprise exacte du composant React :
   size lg = h-14 (56px), rounded-lg (16px), px-7 (28px), 15px, tracking-wide
   size pill = h-11 (44px), rounded-lg, px-5 (20px), 14px
   police Open Sans 700, gap 8px, icône 16px */
.asd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-height: 56px;
  padding: 0 1.75rem;
  border-radius: var(--r-lg);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.025em;
  border: 0;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.asd-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.asd-btn--pill { min-height: 44px; padding: 0 1.25rem; font-size: 14px; letter-spacing: 0; }
.asd-btn--upper { text-transform: uppercase; letter-spacing: 0.025em; }
.asd-btn--navy { background: var(--navy); color: #fff; }
.asd-btn--navy:hover { background: var(--navy-mid); }
.asd-btn--red { background: var(--red); color: #fff; }
.asd-btn--red:hover { background: var(--red-dark); }
.asd-btn--outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.asd-btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.asd-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Header */
.asd-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227,232,239,0.8);
}
.asd-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 1024px) { .asd-header__inner { height: 88px; padding: 0 2rem; } }
.asd-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.asd-logo img, .asd-logo .custom-logo { height: 40px; width: auto; display: block; }
@media (min-width: 640px) { .asd-logo img, .asd-logo .custom-logo { height: 46px; } }
.asd-logo__trade { border-left: 1px solid var(--line); padding-left: 0.75rem; font-family: var(--display); font-weight: 700; font-size: 14px; }
.asd-nav { display: none; align-items: center; gap: 1.5rem; font-weight: 700; font-size: 15px; }
.asd-nav a:hover { color: var(--navy); }
.asd-nav a { display: inline-flex; align-items: center; gap: 0.25rem; }
.asd-nav svg { width: 14px; height: 14px; }
/* le bouton vit dans .asd-header__right, qui gere seul son affichage */
.asd-header__right .asd-btn { display: inline-flex; }
.asd-header__right { display: none; align-items: center; gap: 1rem; }
.asd-header__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.asd-header__tel:hover { color: var(--red); }
.asd-header__tel svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .asd-header__right { display: flex; } }
@media (min-width: 1280px) {
  .asd-nav { display: flex; }
  .asd-burger { display: none; }
}
/* Le panneau était centré sur l'item « Services » : large de 720px, il
   débordait sur le logo. On le centre sur l'en-tête, dont .asd-header est
   déjà le bloc conteneur (position: sticky). */
.asd-nav__dropdown { position: static; }
.asd-mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 3rem));
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 16px 50px rgba(18,51,110,0.12);
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  z-index: 60;
}
.asd-nav__dropdown:hover .asd-mega { display: grid; }
/* Le panneau étant ancré à l'en-tête et non à l'item, 35px les séparent :
   la souris perdait le survol en traversant ce vide et le menu se refermait
   avant qu'on l'atteigne. Ce pont invisible fait partie du panneau — donc du
   dropdown — et maintient le survol pendant la traversée. Il est en position
   absolue, il ne devient donc pas une cellule de la grille. */
.asd-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 3rem;
}
.asd-mega ul { list-style: none; margin: 0; padding: 0; }
.asd-mega li { margin: 0.25rem 0; }
.asd-mega a { font-size: 13px; color: var(--muted); font-weight: 700; }
.asd-mega a:hover { color: var(--navy); }
/* Le titre de colonne est lui aussi un <a> : sans ce sélecteur plus précis
   que « .asd-mega a », il héritait de la taille, de la couleur et de la
   graisse des sous-liens et ne se distinguait plus du tout. */
.asd-mega a.asd-mega__title {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}
.asd-mega a.asd-mega__title:hover { color: var(--red); }

.asd-burger { width: 44px; height: 44px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); color: var(--navy); cursor: pointer; }
.asd-burger svg { width: 24px; height: 24px; }
/* la regle de base arrive apres le media query : on la neutralise ici */
@media (min-width: 1280px) { .asd-burger { display: none; } }
.asd-drawer { display: grid; gap: 0.75rem; padding: 1rem 1.5rem 1.25rem; border-top: 1px solid var(--line); background: #fff; }
.asd-drawer[hidden] { display: none; }
.asd-drawer a { font-weight: 700; }
.asd-drawer__tel { gap: 0.5rem; }
.asd-drawer .asd-btn { width: 100%; }

/* ------------------------------------------------------------------
   Les sections de page (hero, mosaïque, confiance, services, devis, zone,
   tarifs, guides, FAQ) sont désormais construites avec les éléments natifs
   de WPBakery et habillées par assets/css/wpb.css. Leur ancien CSS a été
   retiré : plusieurs noms de classes entraient en collision et imposaient
   un display:grid aux rangées WPBakery.
   ------------------------------------------------------------------ */

/* Footer */
.asd-footer { background: var(--navy); color: #fff; }
.asd-footer p, .asd-footer a { color: rgba(255,255,255,0.75); }
.asd-footer a:hover { color: #fff; }
.asd-footer__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .asd-footer__grid { grid-template-columns: 1.1fr 1.4fr 0.9fr; padding: 4rem 2rem; }
}
.asd-footer__logo { display: inline-block; }
.asd-footer__logo img { height: 44px; width: auto; display: block; }
.asd-footer__title { margin: 0; font-family: var(--display); font-weight: 700; color: #fff; font-size: 14px; letter-spacing: 0.04em; }
.asd-footer__cols { columns: 2; list-style: none; padding: 0; margin: 1rem 0 0; font-size: 13px; }
.asd-footer__cols li { margin-bottom: 0.4rem; break-inside: avoid; }
/* Zone d'intervention : même arborescence que la rangée, mais écrite.
   Chaque niveau s'ouvre au clic ; au-delà de 5 villes, un « Voir plus ». */
.asd-footer__zone { margin-top: 1rem; font-size: 13px; line-height: 1.65; }
.asd-footer__tree,
.asd-footer__cities { list-style: none; padding: 0; margin: 0; }
.asd-footer__cities li { margin-bottom: 0.3rem; }
.asd-footer__branch { margin-bottom: 0.15rem; }
.asd-footer__toggle {
  display: block;
  width: 100%;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-align: left;
  cursor: pointer;
}
.asd-footer__toggle::before { content: "+ "; opacity: 0.6; }
.asd-footer__toggle[aria-expanded="true"]::before { content: "− "; }
.asd-footer__toggle:hover { color: #fff; }
.asd-footer__branch--l2 > .asd-footer__toggle { font-weight: 700; color: rgba(255,255,255,0.75); }
.asd-footer__panel { margin: 0.2rem 0 0.5rem 0.9rem; }
.asd-footer__zone a:hover { color: #fff; text-decoration: underline; }
.asd-footer__more {
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  cursor: pointer;
}
.asd-footer__more:hover { color: #fff; }

.asd-footer__trades { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1rem; }
.asd-footer__trade { color: #fff !important; font-weight: 700; font-size: 14px; }
.asd-footer__trades ul { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.asd-footer__trades li { margin: 0.25rem 0; font-size: 13px; }
/* cibles tactiles d'au moins 24 px de haut (Lighthouse « target-size »),
   sans changer l'aspect : le lien prend la hauteur, pas la ligne */
.asd-footer__trades li a,
.asd-footer__cols li a { display: inline-block; padding: 3px 0; }
.asd-footer__copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.asd-footer__copy p { margin: 0; color: inherit; }

/* Sticky mobile bar */
.asd-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255,255,255,0.95);
  border-top: 1px solid var(--line);
}
.asd-sticky .asd-btn { width: 100%; white-space: nowrap; } /* le bouton rouge porte le numéro, pas « Appeler » */
@media (min-width: 1024px) { .asd-sticky { display: none; } }
.asd-main { padding-bottom: 4.5rem; }
@media (min-width: 1024px) { .asd-main { padding-bottom: 0; } }

.screen-reader-response { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* La géométrie des pages WPBakery est gérée par assets/css/wpb.css, chargé
   après js_composer.min.css. Rien ici, sinon les !important de cet ancien
   bloc écraseraient les paddings de colonne du hero et des cartes. */
.asd-wpb .vc_row[data-vc-full-width] { overflow: visible; }
.compose-mode .asd-hero,
.compose-mode .asd-section,
.vc_editor .asd-hero,
.vc_editor .asd-section {
  outline: 1px dashed rgba(18,51,110,0.25);
}

/* Sous-menu « Services » du tiroir mobile : même allure que les autres
   entrées, avec un chevron qui pivote à l'ouverture. */
.asd-drawer__toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.asd-drawer__toggle svg { transition: transform .2s ease; }
.asd-drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.asd-drawer__sub { display: grid; gap: 0.6rem; padding: 0.15rem 0 0.25rem 1rem; }
.asd-drawer__sub[hidden] { display: none; }
.asd-drawer__sub a { font-weight: 700; color: var(--muted); }
