/* ════════ BASE BIMREVO — mêmes marges, même police (Inter) et mêmes titres que GEOREVO ════════ */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-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;
}
:root {
  --sans: "Inter", system-ui, sans-serif;
  --pad-x: clamp(1.5rem, 5vw, 5rem);   /* marges gauche/droite GEOREVO */
  --max: 1640px;
}
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: #04044A; }
button, input, select, textarea { font-family: inherit; }

/* — Titres : tailles mesurées sur GEOREVO (:not(#_) = priorité sur les titres définis dans chaque page) —
   h1 accueil 28/600 · h1 pages 30/800 · h2 section 35/600 · h2 sous-section 24/700 · h3 carte 15.2/700 · h2 bandeau 38/600 */
h1:not(#_), h2:not(#_), h3:not(#_), h4:not(#_) { font-family: var(--sans); color: #04044A; }
h1:not(#_) { font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: 0; }
.hero-inner h1:not(#_) { font-size: clamp(1.5rem, 2.4vw, 28px); font-weight: 600; line-height: 1.35; letter-spacing: 0.84px; }
h2:not(#_) { font-size: 35px; font-weight: 600; line-height: 1.3; letter-spacing: -0.35px; }
.edito-h2:not(#_), .gloss-h2:not(#_), .compare-h2:not(#_), .faq-h2:not(#_) { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: 0; }
h3:not(#_) { font-size: 15.2px; font-weight: 700; line-height: 1.1; letter-spacing: -0.3px; }
.feat-big-text h3:not(#_) { font-size: 24px; line-height: 1.15; letter-spacing: 0; }
.contact-modal-title:not(#_) { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.final-cta h2:not(#_), .cta-bottom h2:not(#_), .gloss-cta h2:not(#_) { font-size: clamp(1.6rem, 3vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.e404 h1:not(#_) { font-size: 38px; font-weight: 600; line-height: 1.2; }
@media (max-width: 640px) {
  h1:not(#_) { font-size: 22px; }
  .hero-inner h1:not(#_) { font-size: 19px; }
  h2:not(#_) { font-size: 1.3rem; }
  .edito-h2:not(#_), .gloss-h2:not(#_), .compare-h2:not(#_), .faq-h2:not(#_) { font-size: 20px; }
  .feat-big-text h3:not(#_) { font-size: 20px; }
}

/* — Marges latérales identiques à GEOREVO — */
.hero, .section, .about-hero, .gloss-hero, .final-cta, .cta-bottom, .gloss-cta,
.compare-section, .kpi-bar, .foot, .edito, .gloss-layout, .pricing, .faq-section, .e404 {
  padding-inline: var(--pad-x);
}
.hero-inner, .section-inner, .kpi-inner, .foot-grid, .foot-bottom, .foot-inner,
.gloss-layout, .pricing, .compare-wrap {
  max-width: calc(var(--max) - 2 * var(--pad-x)) !important;
}
@media (min-width: 1060px) {
  .nav { padding-inline: var(--pad-x); }
}

/* titres sur fonds sombres */
.final-cta :is(h1, h2, h3):not(#_), .cta-bottom :is(h1, h2, h3):not(#_),
.gloss-cta :is(h1, h2, h3):not(#_), .e404 :is(h1, h2, h3):not(#_) { color: #fff; }


/* — Bandeaux d'appel à l'action : carte arrondie centrée dans les marges, comme « Demande de consultation » GEOREVO — */
.final-cta, .cta-bottom, .gloss-cta {
  width: calc(100% - 2 * var(--pad-x));
  max-width: calc(var(--max) - 2 * var(--pad-x));
  margin: 70px auto;
  padding: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 56px);
  border-radius: 25px;
  overflow: hidden;
  background: linear-gradient(135deg, #000675 0%, #04044A 100%);
  border: 1px solid rgba(0, 164, 255, 0.35);
}

/* liens contextuels vers le glossaire */
p a[href*="glossaire.html#"] { color: inherit; font-weight: inherit; text-decoration: none; transition: color .2s; }
p a[href*="glossaire.html#"]:hover { color: #000675; text-decoration: none; }
