/* =========================================================================
   RÉHA TECH — Feuille de styles principale
   Une filière GEC Aquitaine 33
   Direction artistique : "tech industrielle propre" — bleu nuit + cyan (eau/flux)
   Structure :
     1.  Variables & tokens
     2.  Reset & base
     3.  Typographie
     4.  Layout & conteneurs
     5.  Boutons & CTA
     6.  En-tête (header sticky) & navigation
     7.  Bouton d'appel flottant (mobile)
     8.  Hero
     9.  Sections génériques
     10. Cartes / médias / placeholders
     11. Procédé (étapes)
     12. Avantages (colonnes)
     13. Réassurance (chips, badges)
     14. Blog (grille & article)
     15. FAQ (accordéon)
     16. Formulaire de contact
     17. Fil d'ariane (breadcrumb)
     18. Pied de page
     19. Pages légales / prose
     20. Animations (reveal)
     21. Utilitaires & responsive
   ========================================================================= */

/* 1. VARIABLES & TOKENS ---------------------------------------------------- */
:root {
  --navy: #0a2540;
  --navy-deep: #061829;
  --blue: #0070c0;
  --blue-700: #005a9c; /* hover CTA */
  --cyan: #00b0f0;
  --cyan-soft: #4ec7f5;
  --white: #ffffff;
  --gray-100: #f4f8fb;
  --gray-200: #e9f1f8;
  --gray-300: #d7e3ed;
  --gray-600: #5a6b7b;
  --ink: #0a2540;

  /* dégradés signature */
  --grad-brand: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  --grad-cyan: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-deep: linear-gradient(
    160deg,
    var(--navy-deep) 0%,
    var(--navy) 60%,
    #0d3358 100%
  );

  /* rayons */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* ombres */
  --shadow-sm:
    0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow: 0 6px 18px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 18px 48px rgba(10, 37, 64, 0.16);
  --shadow-blue: 0 10px 30px rgba(0, 112, 192, 0.28);

  /* typo */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* spacing rythm */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(56px, 8vw, 104px);

  --header-h: 76px;
  --topbar-h: 38px;
}

/* 2. RESET & BASE ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  color: var(--blue-700);
}
ul,
ol {
  padding-left: 1.2em;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* 3. TYPOGRAPHIE ----------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
}
h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}
h4 {
  font-size: 1.1rem;
}
p {
  text-wrap: pretty;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--gray-600);
  line-height: 1.6;
}
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
}
.section--dark .eyebrow {
  color: var(--cyan);
}

/* 4. LAYOUT & CONTENEURS --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: 820px;
}
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 5. BOUTONS & CTA --------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 26px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
  min-height: 52px;
}
.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.btn-primary {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 112, 192, 0.36);
}
.btn-cyan {
  background: var(--grad-cyan);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-cyan:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 176, 240, 0.42);
}
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn-secondary:hover {
  color: var(--navy);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 11px 18px;
  min-height: 44px;
  font-size: 0.92rem;
}
.btn-block {
  width: 100%;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* 6. EN-TÊTE & NAVIGATION -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.topbar {
  background: var(--navy-deep);
  color: #cfe1f0;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-h);
  gap: 16px;
}
.topbar a {
  color: #cfe1f0;
}
.topbar a:hover {
  color: #fff;
}
.topbar__left {
  display: flex;
  gap: 20px;
  align-items: center;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar__item svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  width: 42px;
  height: 42px;
  flex: none;
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-links a:hover {
  background: var(--gray-100);
  color: var(--blue);
}
.nav-links a.active {
  color: var(--blue);
  font-weight: 700;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  white-space: nowrap;
}
.nav-phone svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
.nav-phone:hover {
  color: var(--blue);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gray-300);
  background: #fff;
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.burger span::before {
  position: absolute;
  top: -6px;
}
.burger span::after {
  position: absolute;
  top: 6px;
}
.burger[aria-expanded="true"] span {
  background: transparent;
}
.burger[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* 7. BOUTON D'APPEL FLOTTANT (mobile) ------------------------------------- */
.fab-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--grad-cyan);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 30px rgba(0, 112, 192, 0.45);
  min-height: 56px;
}
.fab-call svg {
  width: 22px;
  height: 22px;
}
.fab-call:hover {
  color: #fff;
}

/* 8. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--grad-deep);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  /* flux/eau décoratif */
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(
    closest-side,
    rgba(0, 176, 240, 0.22),
    transparent 70%
  );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 90px);
}
.hero h1 {
  color: #fff;
}
.hero h1 .accent {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  color: #c3d6e6;
  max-width: 34ch;
}
.hero .badge-filiere {
  margin-bottom: 22px;
}
.hero__cta {
  margin-top: 30px;
}
.hero__reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}
.hero__reassure li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #b9cee0;
}
.hero__reassure svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
  flex: none;
}
.hero__media {
  position: relative;
}
.hero__media .media {
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__media .media::before {
  /* halo */
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  border-radius: inherit;
  z-index: 3;
}
.hero__floatcard {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -56px;
  z-index: 4;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 280px;
}
.hero__floatcard .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
}
.hero__floatcard .txt {
  font-size: 0.86rem;
  color: var(--gray-600);
  line-height: 1.35;
}

.badge-filiere {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 14px 8px 10px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  color: #d6e6f3;
}
.badge-filiere .dot {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--grad-cyan);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  font-size: 0.8rem;
}
.badge-filiere strong {
  color: #fff;
  font-weight: 700;
}

/* 9. SECTIONS GÉNÉRIQUES --------------------------------------------------- */
.section {
  padding-block: var(--section-y);
}
.section--gray {
  background: var(--gray-100);
}
.section--dark {
  background: var(--grad-deep);
  color: #fff;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark .lead {
  color: #c3d6e6;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head .eyebrow {
  margin-bottom: 14px;
}
.section-head h2 {
  margin-bottom: 14px;
}

/* 10. CARTES / MÉDIAS / PLACEHOLDERS -------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gray-300);
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gray-100);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card__icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  color: var(--gray-600);
  font-size: 0.98rem;
}
.section--dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.section--dark .card p {
  color: #b9cee0;
}
.section--dark .card__icon {
  background: rgba(0, 176, 240, 0.16);
  color: var(--cyan);
}

/* médias avec placeholder rayé de marque (fallback si l'image ne charge pas) */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: repeating-linear-gradient(
    45deg,
    var(--gray-100),
    var(--gray-100) 11px,
    var(--gray-200) 11px,
    var(--gray-200) 22px
  );
}
.media > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__label {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.8rem;
  color: var(--gray-600);
  text-align: center;
  padding: 14px;
}
.media--16x9 {
  aspect-ratio: 16 / 9;
}
.media--4x3 {
  aspect-ratio: 4 / 3;
}
.media--contain {
  background: #fff;
}
.media--contain > img {
  object-fit: contain;
}
.media--1x1 {
  aspect-ratio: 1 / 1;
}
.media--3x2 {
  aspect-ratio: 3 / 2;
}
.media--tall {
  aspect-ratio: 4 / 5;
}

/* 11. PROCÉDÉ (étapes) ----------------------------------------------------- */
.steps {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  grid-template-columns: repeat(3, 1fr);
  counter-reset: step;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.step__badge {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-blue);
  overflow: visible;
}
.step__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    closest-side at 74% 20%,
    rgba(0, 176, 240, 0.5),
    transparent 72%
  );
}
.step__icon {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  color: #fff;
}
.step__num {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  border: 1.5px solid var(--cyan-soft);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.step h3 {
  margin-bottom: 8px;
}
.step p {
  color: var(--gray-600);
  font-size: 0.97rem;
  margin-bottom: 18px;
}
.step .tool {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--blue);
  background: var(--gray-100);
  padding: 6px 13px 6px 10px;
  border-radius: var(--r-pill);
}
.step .tool svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.steps--connected .step::after {
  content: "";
  position: absolute;
  top: 60px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--gray-300);
  z-index: 2;
}
.steps--connected .step:last-child::after {
  display: none;
}

/* 12. AVANTAGES (colonnes) ------------------------------------------------- */
.adv-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
.adv-panel {
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--gray-200);
}
.adv-panel--tech {
  background: var(--gray-100);
}
.adv-panel--fin {
  background: var(--grad-deep);
  color: #fff;
}
.adv-panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.adv-panel__head .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.adv-panel--tech .ic {
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.adv-panel--fin .ic {
  background: rgba(0, 176, 240, 0.18);
  color: var(--cyan);
}
.adv-panel--fin h3 {
  color: #fff;
}
.adv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.adv-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.5;
}
.adv-list li svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
}
.adv-panel--tech .adv-list li svg {
  color: var(--blue);
}
.adv-panel--fin {
}
.adv-panel--fin .adv-list li {
  color: #d3e4f1;
}
.adv-panel--fin .adv-list li svg {
  color: var(--cyan);
}

/* 13. RÉASSURANCE (chips / stats) ----------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.chip svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
.section--dark .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.section--dark .chip svg {
  color: var(--cyan);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 28px);
}
.stat {
  text-align: center;
}
.stat .n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat .l {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-top: 8px;
}
.section--dark .stat .l {
  color: #b9cee0;
}

/* split média + texte */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}

/* bande CTA */
.cta-band {
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(34px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    closest-side at 80% 20%,
    rgba(0, 176, 240, 0.35),
    transparent 60%
  );
  pointer-events: none;
}
.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta-band p {
  color: #d3e4f1;
  max-width: 56ch;
  margin: 0 auto 26px;
}
.cta-band .cta-row {
  justify-content: center;
}
.cta-band .reassure-line {
  margin-top: 18px;
  font-size: 0.88rem;
  color: #bcd4e8;
}

/* 14. BLOG ----------------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 30px);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.post-card .media {
  border-radius: 0;
}
.post-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 10px;
}
.post-meta .tag {
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
}
.post-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.post-card h3 a {
  color: var(--navy);
}
.post-card h3 a:hover {
  color: var(--blue);
}
.post-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  flex: 1;
}
.post-card__more {
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.post-card__more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.post-card:hover .post-card__more svg {
  transform: translateX(4px);
}

.post-card--featured {
  grid-column: span 3;
  flex-direction: row;
}
.post-card--featured .media {
  width: 46%;
  min-height: 320px;
  aspect-ratio: auto;
}
.post-card--featured .post-card__body {
  justify-content: center;
  padding: clamp(28px, 4vw, 46px);
}
.post-card--featured h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

/* article */
.article-hero {
  background: var(--grad-deep);
  color: #fff;
  padding-block: clamp(40px, 6vw, 72px);
}
.article-hero h1 {
  color: #fff;
  max-width: 20ch;
  margin-block: 14px 18px;
}
.article-hero .post-meta {
  color: #bcd4e8;
}
.article-hero .post-meta .tag {
  color: var(--cyan);
}
.prose {
  font-size: 1.08rem;
  line-height: 1.78;
  color: #2a3b4c;
}
.prose > * + * {
  margin-top: 1.15em;
}
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 1.8em;
  margin-bottom: 0.2em;
}
.prose h3 {
  font-size: 1.3rem;
  margin-top: 1.4em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin-top: 0.5em;
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--ink);
}
.prose blockquote {
  border-left: 4px solid var(--cyan);
  background: var(--gray-100);
  padding: 16px 22px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 1.1rem;
  color: var(--navy);
}
.prose .callout {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 22px 24px;
}
.prose .callout strong {
  color: var(--blue);
}
.article-toc {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 22px 26px;
}
.article-toc h4 {
  font-family: var(--font-head);
  margin-bottom: 10px;
}
.article-toc ol {
  margin: 0;
}
.article-toc a {
  color: var(--navy);
}
.article-toc a:hover {
  color: var(--blue);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 760px;
  margin-inline: auto;
}
.article-cta {
  margin-top: 40px;
}

/* 15. FAQ ------------------------------------------------------------------ */
.faq {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-inline: auto;
}
.faq__item {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}
.faq__q .ic {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--blue);
  transition:
    transform 0.25s,
    background 0.2s;
}
.faq__q[aria-expanded="true"] .ic {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__a-inner {
  padding: 0 24px 22px;
  color: var(--gray-600);
}

/* 16. FORMULAIRE ----------------------------------------------------------- */
.form-wrap {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.field label .req {
  color: var(--blue);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  width: 100%;
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 112, 192, 0.12);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: #d8584f;
}
.consent {
  grid-column: 1/-1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.consent input {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--blue);
}
.form-feedback {
  grid-column: 1/-1;
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  display: none;
}
.form-feedback.error {
  display: block;
  background: #fdeceb;
  color: #b53a31;
  border: 1px solid #f3c6c2;
}
.contact-aside {
  display: grid;
  gap: 18px;
  align-content: start;
}
.contact-card {
  background: var(--grad-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
}
.contact-card h3 {
  color: #fff;
  margin-bottom: 18px;
}
.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-block: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-line:first-of-type {
  border-top: 0;
}
.contact-line .ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(0, 176, 240, 0.16);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-line .k {
  font-size: 0.78rem;
  color: #9fbdd6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-line .v {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}
.contact-line .v a {
  color: #fff;
}

/* 17. BREADCRUMB ----------------------------------------------------------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-600);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb a {
  color: var(--gray-600);
}
.breadcrumb a:hover {
  color: var(--blue);
}
.breadcrumb .sep {
  color: var(--gray-300);
}
.breadcrumb [aria-current] {
  color: var(--navy);
  font-weight: 600;
}
.article-hero .breadcrumb,
.article-hero .breadcrumb a {
  color: #9fbdd6;
}
.article-hero .breadcrumb [aria-current] {
  color: #fff;
}
.section--dark .breadcrumb,
.section--dark .breadcrumb a {
  color: #9fbdd6;
}
.section--dark .breadcrumb [aria-current] {
  color: #fff;
}
.section--dark .breadcrumb .sep {
  color: #44617c;
}
.page-hero {
  padding-block: clamp(34px, 5vw, 60px) !important;
}
.page-hero .eyebrow {
  margin: 14px 0 10px;
}
.page-hero h1 {
  margin-bottom: 12px;
}
.page-hero .lead {
  max-width: 62ch;
}
/* comparison table */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.98rem;
}
.compare thead th {
  font-family: var(--font-head);
  background: var(--navy);
  color: #fff;
  font-size: 0.92rem;
}
.compare thead th:first-child {
  background: var(--navy-deep);
}
.compare td:first-child {
  font-weight: 600;
  color: var(--navy);
}
.compare .yes {
  color: #1b8a5a;
  font-weight: 600;
}
.compare .no {
  color: #b1542c;
}
.compare tbody tr:nth-child(even) {
  background: var(--gray-100);
}
.compare td.col-rt {
  background: rgba(0, 176, 240, 0.06);
}
/* timeline déroulé chantier */
.timeline {
  display: grid;
  gap: 0;
  max-width: 760px;
}
.timeline__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding-bottom: 26px;
  position: relative;
}
.timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}
.timeline__dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  box-shadow: var(--shadow-blue);
  z-index: 1;
}
.timeline__body h4 {
  margin-bottom: 4px;
}
.timeline__body p {
  color: var(--gray-600);
  font-size: 0.97rem;
}

/* 18. PIED DE PAGE --------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: #aac3da;
  font-size: 0.95rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(46px, 6vw, 72px);
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: #aac3da;
}
.footer-col a:hover {
  color: var(--cyan);
}
.footer-brand .brand__name {
  color: #fff;
}
.footer-brand .brand__sub {
  color: #7e9bb5;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 34ch;
  color: #8fabc4;
  font-size: 0.92rem;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
  flex: none;
  margin-top: 4px;
}
.footer-contact a,
.footer-contact span {
  color: #cdddec;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #7e9bb5;
}
.footer-bottom a {
  color: #9fbdd6;
}
.footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-zone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-zone svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

/* 19. PROSE / LÉGAL -------------------------------------------------------- */
.legal {
  max-width: 820px;
  margin-inline: auto;
}
.legal h2 {
  font-size: 1.4rem;
  margin-top: 2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--gray-200);
}
.legal h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.3em;
}
.legal p,
.legal li {
  color: #41566a;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  font-size: 0.95rem;
}
.legal table th,
.legal table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}
.legal table th {
  width: 38%;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-100);
}
.legal .updated {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: italic;
}

/* page 404 */
.err-page {
  min-height: 64vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--grad-deep);
  color: #fff;
}
.err-page h1 {
  color: #fff;
  font-size: clamp(4rem, 14vw, 9rem);
  margin-bottom: 0;
}
.err-page .lead {
  color: #c3d6e6;
}

/* 20. ANIMATIONS (reveal) -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 21. UTILITAIRES & RESPONSIVE -------------------------------------------- */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.text-center {
  text-align: center;
}
.hide-mobile {
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  /* Hero empilé : le visuel est centré dans la colonne unique… */
  .hero__media {
    max-width: 560px;
    margin-inline: auto;
  }
  /* …et la carte quitte le positionnement absolu pour reprendre le flux :
     elle se place sous l'image, centrée, sans plus la recouvrir. */
  .hero__floatcard {
    position: static;
    transform: none;
    margin: 20px auto 0;
    max-width: min(320px, 100%);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .post-card--featured {
    flex-direction: column;
  }
  .post-card--featured .media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16/9;
  }
}
@media (max-width: 1024px) {
  .nav-links,
  .nav-phone {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .fab-call {
    display: inline-flex;
  }
  .site-header.menu-open .nav-links {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    padding: 14px var(--gutter) 22px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }
  .site-header.menu-open .nav-links a {
    padding: 14px 12px;
    font-size: 1.05rem;
    border-radius: var(--r-sm);
  }
  .site-header.menu-open .nav-links a.active::after {
    display: none;
  }
  .steps,
  .post-grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .steps--connected .step::after {
    display: none;
  }
  .cols-3,
  .cols-4 {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .adv-cols {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cols-2,
  .cols-3,
  .cols-4 {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .topbar__left .topbar__item:not(:first-child) {
    display: none;
  }
  .cta-row .btn {
    width: 100%;
  }
}

/* ── Honeypot anti-spam ─────────────────────────────────────────────
   Champ hors écran (plutôt que display:none, que certains bots ignorent) :
   invisible et non focusable pour les humains, rempli par les robots. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
