/* ==========================================================
   GLOBAL.CSS - Automatic Zone, nouvelle DA (02-specs/Guide-style.md, 19/10/2026)
   Chargé sur toutes les pages : tokens, reset, boutons et éléments communs
   au header et au footer.
   Le reste de l'ancienne charte est dans legacy.css (pages pas encore migrées),
   la base des pages migrées est dans base-v2.css.
   ========================================================== */

/* Sélection de texte : surlignage jaune, texte noir (19/11/2026) */
::selection{background:#FFE11C;color:#0D0D0F;text-shadow:none}
::-moz-selection{background:#FFE11C;color:#0D0D0F;text-shadow:none}

:root{
  /* Couleurs principales */
  --blue:#0A47E0;
  --blue-deep:#0838B4;
  --red:#F2342A;
  --yellow:#FFE11C;
  --ink:#0D0D0F;
  --text:#55565C;
  --bg:#F0F5FA;   /* fond de page, depuis le 11/11/2026 (avant #FAF9F6) */
  --white:#FFFFFF;
  --line:#DDE3EA;
  /* Textes et titres de contenu des pages (16/11/2026) : un seul endroit pour changer tout le site.
     Ne concerne pas les composants (header, footer, boutons, étiquettes, encarts, cartes, formulaires) */
  --title:#0D0D0F;   /* couleur des titres de contenu (H1, H2, H3) */
  --fs-text:15px;    /* taille du texte courant : paragraphes, puces, coches, tableaux, FAQ (15px depuis le 16/11/2026, avant 16px) */
  --fs-lead:15px;    /* accroche des fiches (exception, peut repasser à 17px) */
  /* Palette secondaire : catégories de contenu uniquement (jamais sur les boutons ni les 3 parcours) */
  --emerald:#0F7A4F;
  --plum:#8A1ED6;
  --glacier:#D7E1FC;
  /* Couleurs sémantiques : résultats chiffrés uniquement */
  --pos:#4ADE80;
  --warn:#FBBF24;
  --neg:#F87171;
  /* Mise en page */
  --radius-card:10px;
  --radius-btn:8px;   /* boutons : rectangle à bords arrondis (12/11/2026, remplace la pilule) */
  --wrap:1240px;
  --gutter:40px;
  --hdr:72px;
}
@media (max-width:767px){ :root{ --gutter:16px; --hdr:60px; } }

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}

.sr-only,.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ── BOUTON (seul style de bouton principal) ── */
.btn{display:inline-flex;align-items:center;gap:10px;font-family:'Inter',sans-serif;font-weight:500;font-size:15px;line-height:1.2;padding:13px 26px;border:0;border-radius:var(--radius-btn);background:var(--blue);color:var(--white);text-decoration:none;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,transform .15s,box-shadow .15s}
.btn svg{width:16px;height:16px;flex-shrink:0;transition:transform .15s}
.btn:hover{background:var(--blue-deep);color:var(--white);text-decoration:none;transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.18)}
.btn:hover svg{transform:translateX(3px)}
.btn:active{transform:scale(.98)}
/* Blanc : sur fond bleu ou rouge. Survol jaune */
.btn.is-white{background:var(--white);color:var(--blue)}
.btn.is-white:hover{background:var(--yellow);color:var(--ink)}
/* Rouge : 2e action "simuler" à côté d'un bouton blanc, sur fond bleu (validé le 19/10/2026) */
.btn.is-red{background:var(--red);color:var(--white)}
.btn.is-red:hover{background:var(--red);filter:brightness(.92)}
/* Couleur du texte verrouillée (liens visités ou survolés : les styles de base de socle.css ne doivent pas la changer) */
a.btn,a.btn:visited,a.btn:focus,a.btn:hover{color:var(--white)}
a.btn.is-white,a.btn.is-white:visited,a.btn.is-white:focus{color:var(--blue)}
a.btn.is-white:hover{color:var(--ink)}
/* Bouton "Simuler la rentabilité" (components/btn-simu.php, 11/11/2026) : tous les liens vers le simulateur (pages, menu, panneau Parcourir).
   Fond rouge pâle, calculatrice et flèche rouges (parcours Simuler = rouge), texte --ink, largeur du contenu */
a.btn-simu,a.btn-simu:visited{display:inline-flex;align-items:center;gap:14px;padding:14px 18px 14px 16px;border-radius:var(--radius-card);background:rgba(242,52,42,.08);color:var(--ink);font-family:'Inter',sans-serif;font-size:16px;font-weight:500;line-height:1.2;text-decoration:none;max-width:100%;transition:background .15s}
a.btn-simu:hover,a.btn-simu:focus{background:rgba(242,52,42,.14);color:var(--ink)}
.btn-simu:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.btn-simu-ic svg{width:26px;height:26px;color:var(--red);display:block}
.btn-simu > svg{width:18px;height:18px;color:var(--red);flex-shrink:0;transition:transform .15s}
.btn-simu:hover > svg{transform:translateX(3px)}
@media (max-width:1023px){
  a.btn-simu,a.btn-simu:visited{padding:12px 16px 12px 14px;font-size:14px}
  .btn-simu-ic svg{width:22px;height:22px}
}
/* Compact : petits encarts (menu, panneau Parcourir) ; le texte peut passer sur 2 lignes */
a.btn-simu.is-compact,a.btn-simu.is-compact:visited{gap:10px;padding:10px 12px;font-size:13px;line-height:1.25}
.btn-simu.is-compact .btn-simu-ic svg{width:20px;height:20px}
.btn-simu.is-compact > svg{width:15px;height:15px}
@media (prefers-reduced-motion:reduce){ .btn-simu > svg{transition:none} }
/* Contour : action secondaire discrète (ex : "Découvrir tous les concepts"). Fond blanc, contour et texte bleus */
.btn.is-outline{background:var(--white);color:var(--blue);box-shadow:inset 0 0 0 2px var(--blue)}
.btn.is-outline:hover{background:var(--blue);color:var(--white);box-shadow:inset 0 0 0 2px var(--blue),0 8px 18px rgba(0,0,0,.18)}
a.btn.is-outline,a.btn.is-outline:visited,a.btn.is-outline:focus{color:var(--blue)}
a.btn.is-outline:hover{color:var(--white)}
@media (prefers-reduced-motion:reduce){ .btn,.btn svg{transition:none} .btn:hover{transform:none} .btn:hover svg{transform:none} }

/* ── ROND FLÈCHE (cartes, listes) ── */
.circle-arrow{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--white);color:var(--ink)}
.circle-arrow svg{width:18px;height:18px}
.circle-arrow.is-blue{background:var(--blue);color:var(--white)}

/* ── LOGO : symbole AZ (assets/img/marque/logo-az.png, version blanche logo-az-blanc.png) + nom en Archivo ── */
.logo,.foot-brand-logo{display:flex;align-items:center;gap:10px}
.logo-mark{display:block;height:34px;width:auto;flex-shrink:0}
@media (max-width:767px){ .logo-mark{height:28px} .logo,.foot-brand-logo{gap:8px} }
.logo-word{font-family:'Archivo',sans-serif;font-stretch:70%;font-weight:700;font-size:30px;line-height:1;letter-spacing:-.01em;color:var(--ink);text-transform:uppercase;text-decoration:none;white-space:nowrap}
.logo-word span{color:var(--blue);font-weight:900}   /* "Automatic" 700, "Zone" 900 (15/11/2026) */
@media (max-width:767px){ .logo-word{font-size:26px} }

/* Titre et sous-titre de hero : règle commune à toutes les pages (19/11/2026). Ne pas redéfinir la typo dans les CSS de page,
   seulement la couleur, les marges et l'alignement. Pages : accueil, devis, veille-pro, emplacements, simulateur, Explorer */
.az-hero-title{font-family:'Inter',sans-serif;font-weight:800;font-style:normal;font-stretch:100%;text-transform:none;word-spacing:normal;letter-spacing:-.005em;font-size:54px;line-height:1.1}   /* 54 px en PC et tablette sur tous les heros (21/11/2026, avant 65 px) */
.az-hero-sub{font-size:17px}
@media (max-width:767px){ .az-hero-title{font-size:36px;line-height:1.4} }   /* interligne 1,4 en mobile sur tous les titres de hero (21/11/2026) ; 1,2 quand le hero n'a pas de fond bleu (Explorer, enquête, emplacement sans bleu) */
@media (max-width:767px){ .az-hero-title.xp-title,.enq .az-hero-title,.emp .zv-hero.is-plain .az-hero-title{line-height:1.2} }
