/* =========================================================
   INF-Solutions — Masterclass 2026 (Mobile-First, Off-White)
   File: frontend/assets/css/styles.css
   ========================================================= */

/* -----------------------------
   Tokens
------------------------------ */
:root {
  /* Canvas */
  --bg: #f7f5ef; /* blanc cassé */
  --bg2: #ffffff; /* blanc pur */
  --text: #0b1220; /* texte */
  --muted: rgba(11, 18, 32, 0.7);
  --muted2: rgba(11, 18, 32, 0.55);
  --line: rgba(11, 18, 32, 0.12);

  /* Surfaces */
  --panel: rgba(11, 18, 32, 0.045);
  --panel2: rgba(11, 18, 32, 0.075);
  --glass: rgba(255, 255, 255, 0.74);

  /* Brand */
  --brand: #ffd000; /* énergie */
  --brand2: #38bdf8; /* électrique */
  --ok: #22c55e;

  /* Shadows (fond clair) */
  --shadow: 0 18px 60px rgba(11, 18, 32, 0.1);
  --shadow2: 0 18px 70px rgba(11, 18, 32, 0.14);

  /* Radius / spacing */
  --r: 18px;
  --r2: 22px;
  --max: 1120px;
  --pad: 18px;

  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* -----------------------------
   Reset
------------------------------ */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(
      900px 520px at 20% 0%,
      rgba(56, 189, 248, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 95% 10%,
      rgba(255, 208, 0, 0.2),
      transparent 62%
    ),
    radial-gradient(
      900px 520px at 55% 105%,
      rgba(34, 197, 94, 0.1),
      transparent 62%
    ),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x: hidden;
}
::selection {
  background: rgba(255, 208, 0, 0.28);
}

a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 208, 0, 0.35);
  outline-offset: 3px;
  border-radius: 12px;
}

/* -----------------------------
   Layout
------------------------------ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: 72px 0;
}
.section--alt {
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.02),
    rgba(11, 18, 32, 0)
  );
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

/* -----------------------------
   Typography
------------------------------ */
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1.05;
}
h2 {
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.1;
}
h3 {
  font-size: 18px;
  line-height: 1.2;
}

.lead {
  margin: 12px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
  color: var(--muted2);
}

.grad {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -----------------------------
   Topbar (glass)
------------------------------ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 72px; /* ✅ fixe la hauteur du header */
  overflow: hidden; /* ✅ empêche le logo de gonfler le header */

  padding: 0 12px; /* ✅ padding propre */
}

/* Brand = logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* Ton image logo */
.brand__logo {
  height: 110px; /* taille réelle, propre */
  width: auto;
  display: block;

  transform: translateY(6px); /* descend légèrement */
  filter: drop-shadow(0 6px 16px rgba(2, 6, 23, 0.14));
}

/* -------------------------
   MOBILE: logo centré
   ------------------------- */
@media (max-width: 819px) {
  .topbar__in {
    justify-content: flex-end; /* burger à droite */
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
  }
}

/* -------------------------
   DESKTOP: logo à gauche
   ------------------------- */
@media (min-width: 820px) {
  .brand {
    position: static;
    transform: none;
  }
}
.nav {
  display: none;
} /* mobile first */
.nav a {
  font-weight: 800;
  color: rgba(11, 18, 32, 0.78);
  transition: color 0.15s var(--ease);
}
.nav a:hover {
  color: var(--text);
}

/* -----------------------------
   Hamburger MASTERCLASS
------------------------------ */
/* ===============================
   Hamburger MASTERCLASS PRO (WOW)
   =============================== */

.burger {
  position: relative;
  width: 54px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.14);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;

  box-shadow:
    0 12px 28px rgba(11, 18, 32, 0.1),
    0 0 0 6px rgba(56, 189, 248, 0.1);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

/* subtle pulse when closed (premium, not annoying) */
.burger[aria-expanded="false"] {
  animation: burgerPulse 3.6s ease-in-out infinite;
}
@keyframes burgerPulse {
  0%,
  100% {
    box-shadow:
      0 12px 28px rgba(11, 18, 32, 0.1),
      0 0 0 6px rgba(56, 189, 248, 0.1);
  }
  50% {
    box-shadow:
      0 16px 34px rgba(11, 18, 32, 0.14),
      0 0 0 8px rgba(255, 208, 0, 0.12);
  }
}

.burger:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(11, 18, 32, 0.18);
  box-shadow:
    0 18px 38px rgba(11, 18, 32, 0.14),
    0 0 0 8px rgba(255, 208, 0, 0.14);
}

/* inner lines wrapper */
.burger span {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(11, 18, 32, 0.96),
    rgba(11, 18, 32, 0.55)
  );
  transition:
    transform 0.42s var(--ease),
    opacity 0.22s ease,
    width 0.22s ease,
    background 0.22s ease;
}

/* 3 lines positions */
.burger span:nth-child(1) {
  transform: translateY(-7px);
}
.burger span:nth-child(2) {
  transform: translateY(0);
}
.burger span:nth-child(3) {
  transform: translateY(7px);
}

/* ACTIVE -> premium X + little rotation */
.burger[aria-expanded="true"] {
  animation: none;
  transform: rotate(2deg);
  box-shadow:
    0 18px 42px rgba(11, 18, 32, 0.16),
    0 0 0 10px rgba(56, 189, 248, 0.12);
}

.burger[aria-expanded="true"] span {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 10px;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* ===============================
   Mobile Menu (Premium Sheet)
   =============================== */

/* ===============================
   Mobile Menu — Masterclass (Light / Brand)
   =============================== */

/* Overlay clair (lumière + blur) */
.menuOverlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;

  background:
    radial-gradient(
      900px 520px at 20% 0%,
      rgba(56, 189, 248, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 95% 10%,
      rgba(255, 208, 0, 0.22),
      transparent 62%
    ),
    rgba(247, 245, 239, 0.72);

  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.menuOverlay:not([hidden]) {
  /* display: block; */
  opacity: 1;
}

/* Container full screen */
.mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}
.mobileMenu:not([hidden]) {
  display: block;
}

/* Sheet clair type iOS */
.mobileMenu__sheet {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 74px;

  max-height: calc(100vh - 94px);
  overflow: auto;

  border-radius: 26px;
  border: 1px solid rgba(11, 18, 32, 0.1);

  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);

  box-shadow:
    0 26px 70px rgba(11, 18, 32, 0.16),
    0 0 0 8px rgba(255, 208, 0, 0.08);

  padding: 14px;
  transform-origin: top;
  animation: menuPop 0.28s var(--ease);
}

/* Petit “glow” brand ultra subtil */
.mobileMenu__sheet::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  pointer-events: none;
  background:
    radial-gradient(
      900px 240px at 10% 0%,
      rgba(56, 189, 248, 0.18),
      transparent 55%
    ),
    radial-gradient(
      900px 240px at 90% 0%,
      rgba(255, 208, 0, 0.18),
      transparent 55%
    );
  opacity: 0.55;
}

@keyframes menuPop {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header dans la sheet */
.mobileMenu__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 10px 10px 12px;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

/* (Optionnel) Si tu ajoutes un wrapper à gauche plus tard */
.mobileMenu__title {
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.58);
}
.mobileMenu__hint {
  font-weight: 950;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.92);
}

/* Close X (2 spans) — visible + clean */
.menuClose {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(11, 18, 32, 0.04);

  display: grid;
  place-items: center;
  cursor: pointer;

  transition:
    transform 0.15s var(--ease),
    background 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}
.menuClose:hover {
  transform: translateY(-1px);
  background: rgba(11, 18, 32, 0.06);
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.1);
}
.menuClose:active {
  transform: translateY(0) scale(0.98);
}

.menuClose span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.86);
}
.menuClose span:nth-child(1) {
  transform: rotate(45deg);
}
.menuClose span:nth-child(2) {
  transform: rotate(-45deg);
}

/* Nav list */
.mobileMenu__nav {
  padding: 10px 6px 6px;
}

/* Ligne type iOS */
.mobileMenu__nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 14px;
  border-radius: 16px;

  font-size: 17px;
  font-weight: 950;
  color: rgba(11, 18, 32, 0.92);

  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 18, 32, 0.1);

  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.06);
  margin: 10px 0;

  transition:
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    border-color 0.15s var(--ease),
    background 0.15s var(--ease);
}

/* Accent brand à gauche */
.mobileMenu__nav a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand2));
  opacity: 0.55;
}

/* Décaler texte à cause de la barre */
.mobileMenu__nav a > span:first-child {
  padding-left: 10px;
}

/* Hover premium */
.mobileMenu__nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(11, 18, 32, 0.14);
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.1);
}

/* Chevron (tes spans sont vides → on le génère en CSS) */
.mobileMenu__chev {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;

  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(11, 18, 32, 0.04);
  border: 1px solid rgba(11, 18, 32, 0.1);

  opacity: 0.78;
  transform: translateX(0);
  transition:
    transform 0.15s var(--ease),
    opacity 0.15s var(--ease),
    background 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
.mobileMenu__chev::before {
  content: "→";
  font-weight: 950;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.78);
  transform: translateX(1px);
}

.mobileMenu__nav a:hover .mobileMenu__chev {
  opacity: 0.95;
  transform: translateX(3px);
  background: rgba(255, 208, 0, 0.14);
  border-color: rgba(255, 208, 0, 0.28);
}
.mobileMenu__nav a:active .mobileMenu__chev {
  transform: translateX(1px) scale(0.98);
}

/* CTA block */
.mobileMenu__cta {
  padding: 12px 6px 6px;
  margin-top: 6px;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  display: grid;
  gap: 10px;
}

/* Desktop */
@media (min-width: 820px) {
  .burger {
    display: none;
  }
  .mobileMenu,
  .menuOverlay {
    display: none !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mobileMenu__sheet {
    animation: none;
  }
  .menuOverlay {
    transition: none;
  }
}

/* -----------------------------
   Buttons
------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: linear-gradient(135deg, var(--brand), #ffc400);
  color: #0b1220;
  font-weight: 950;

  padding: 14px 18px;
  border-radius: 14px;
  border: 0;

  box-shadow: 0 12px 34px rgba(255, 208, 0, 0.2);
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    filter 0.15s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(255, 208, 0, 0.22);
  filter: brightness(1.01);
}
.btn--ghost {
  background: rgba(11, 18, 32, 0.06);
  color: var(--text);
  border: 1px solid rgba(11, 18, 32, 0.14);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(11, 18, 32, 0.08);
}
.btn--sm {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 950;
}
.btn--full {
  width: 100%;
}

.link {
  font-weight: 950;
  color: rgba(11, 18, 32, 0.74);
}
.link:hover {
  color: rgba(11, 18, 32, 0.95);
}

/* -----------------------------
   Hero (mobile first)
------------------------------ */
.hero {
  position: relative;
  padding: 46px 0 44px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      900px 520px at 18% 30%,
      rgba(56, 189, 248, 0.22),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 82% 18%,
      rgba(255, 208, 0, 0.2),
      transparent 60%
    ),
    radial-gradient(
      720px 520px at 68% 85%,
      rgba(34, 197, 94, 0.1),
      transparent 62%
    );
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(11, 18, 32, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* KPI */
.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.kpi {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.06);
}
.kpi__n {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.02em;
}
.kpi__t {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.62);
}

/* Chips */
.trustRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.chip {
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(11, 18, 32, 0.7);
}

/* Panel */
.hero__panel {
  position: relative;
}
.panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 18, 32, 0.12);
  border-radius: var(--r2);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.panel__top {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.panel__title {
  font-size: 18px;
  margin: 0;
}

.badge {
  font-size: 12px;
  font-weight: 950;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 208, 0, 0.2);
  border: 1px solid rgba(255, 208, 0, 0.28);
  color: rgba(11, 18, 32, 0.82);
}
.badge--alt {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.82);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(11, 18, 32, 0.14);
  border-radius: 12px;
  padding: 12px 12px;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    transform 0.15s var(--ease);
}
input::placeholder,
textarea::placeholder {
  color: rgba(11, 18, 32, 0.42);
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 208, 0, 0.65);
  box-shadow: 0 0 0 4px rgba(255, 208, 0, 0.16);
  transform: translateY(-1px);
}
textarea {
  resize: vertical;
}
.hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted2);
}
.msg {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.78);
}

/* Mini cards */
.miniCards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
.miniCard {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.06);
}
.miniCard__ic {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(11, 18, 32, 0.04);
  border: 1px solid rgba(11, 18, 32, 0.1);
}

/* -----------------------------
   Cards / Services
------------------------------ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.card {
  position: relative;
  padding: 18px;
  border-radius: var(--r2);
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.07);
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(11, 18, 32, 0.1);
  border-color: rgba(11, 18, 32, 0.16);
}
.card__ic {
  font-size: 20px;
  margin-bottom: 10px;
}
.card p {
  margin: 10px 0 0;
  color: rgba(11, 18, 32, 0.7);
  line-height: 1.65;
}
.card__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 950;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.04);
  border: 1px solid rgba(11, 18, 32, 0.1);
  color: rgba(11, 18, 32, 0.7);
}

/* -----------------------------
   Steps / Banner / Reviews / FAQ
------------------------------ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.step {
  padding: 18px;
  border-radius: var(--r2);
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.07);
}
.step__n {
  font-weight: 950;
  letter-spacing: 0.12em;
  color: rgba(255, 208, 0, 0.88);
  font-size: 12px;
}
.step p {
  margin: 10px 0 0;
  color: rgba(11, 18, 32, 0.7);
  line-height: 1.65;
}

.banner {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--r2);
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: linear-gradient(
    90deg,
    rgba(255, 208, 0, 0.14),
    rgba(56, 189, 248, 0.1)
  );
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* DESKTOP GRID */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch; /* important */
}

/* si tu as un wrapper autour des <figure> */
.reviews > * {
  height: 100%;
}

/* la carte doit remplir la cellule */
.review {
  height: 100%;
  display: flex;
  flex-direction: column;

  margin: 0;
  padding: 18px;
  border-radius: var(--r2);
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.07);
}

/* pousse la zone “signature / badges” en bas pour que tout s’aligne */
.review figcaption {
  margin-top: auto;
  padding-top: 12px;
}
.review__stars {
  color: #d4a600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.review blockquote {
  margin: 0;
  line-height: 1.65;
  color: rgba(11, 18, 32, 0.82);
}

.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.qa {
  border-radius: var(--r2);
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.06);
}
.qa summary {
  cursor: pointer;
  font-weight: 950;
  color: rgba(11, 18, 32, 0.92);
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa p {
  margin: 10px 0 0;
  color: rgba(11, 18, 32, 0.7);
  line-height: 1.65;
}

/* -----------------------------
   Contact
------------------------------ */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
.contactCards {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.contactCard {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.06);
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}
.contactCard:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(11, 18, 32, 0.09);
}
.contactCard span {
  font-size: 18px;
}

.note {
  margin-top: 12px;
  border-radius: var(--r2);
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.74);
  padding: 14px 16px;
}

.form--big .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* -----------------------------
   Footer
------------------------------ */
.footer {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(247, 245, 239, 0.9)
  );
  border-top: 1px solid rgba(11, 18, 32, 0.1);
  margin-top: 80px;
}

.footer__grid {
  display: grid;
  gap: 32px;
  padding: 48px 0;
}

.footer__brand {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__logo {
  height: 30px;
  transform: scale(4);
  width: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 6px 18px rgba(2, 6, 23, 0.18));
}

.footer__desc {
  margin: 0;
  margin-top: 0px;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.65);
  line-height: 1.6;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}

.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 208, 0, 0.18);
  border: 1px solid rgba(255, 208, 0, 0.35);
  font-weight: 700;
}

.footer__col h4,
.footer__cta h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer__col a {
  color: inherit;
  text-decoration: none;
}

.footer__col a:hover {
  text-decoration: underline;
}

.footer__cta {
  max-width: 280px;
}

.footer__top {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  text-decoration: none;
  color: rgba(11, 18, 32, 0.6);
}

.footer__top:hover {
  color: var(--brand);
}

.footer__bottom {
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.55);
  border-top: 1px solid rgba(11, 18, 32, 0.08);
}

/* DESKTOP */
@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    align-items: start;
  }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* -----------------------------
   WhatsApp
------------------------------ */
.btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #062e1a;
  font-weight: 950;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.22);
}
.btn--whatsapp:hover {
  filter: brightness(1.04);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.3);
}

/* Floating WhatsApp */
.waFloat {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 999px;

  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #062e1a;
  font-weight: 950;

  box-shadow: 0 18px 46px rgba(37, 211, 102, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.4);

  transform: translateY(0);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}
.waFloat:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 24px 60px rgba(37, 211, 102, 0.32);
}
.waFloat__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 18px;
}
.waFloat__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.waFloat__status {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 950;
  color: rgba(6, 46, 26, 0.85);
}
.waFloat__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.26);
}
.waFloat__status--online::before {
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.22);
}
.waFloat__status--offline::before {
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.22);
}

/* =========================================================
   Breakpoints (mobile-first, min-width)
   ========================================================= */

/* >= 520px */
@media (min-width: 520px) {
  :root {
    --pad: 22px;
  }
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .kpis {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
  .miniCards {
    grid-template-columns: 1fr 1fr;
  }
  .footer__in {
    flex-direction: row;
    align-items: center;
  }
  .waFloat {
    right: 18px;
    bottom: 18px;
  }
}

/* >= 820px */
@media (min-width: 820px) {
  :root {
    --pad: 24px;
  }
  .nav {
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .burger {
    display: none;
  }
  .mobileMenu {
    display: none !important;
  }
  .brand__tag {
    display: inline-flex;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .faq {
    grid-template-columns: 1fr 1fr;
  }
  .form--big .row {
    grid-template-columns: 1fr 1fr;
  }
}

/* >= 1050px */
@media (min-width: 1050px) {
  .hero {
    padding: 64px 0 54px;
  }
  h1 {
    font-size: clamp(34px, 4.1vw, 56px);
  }
  h2 {
    font-size: clamp(26px, 2.7vw, 38px);
  }

  .hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 26px;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   Captivant (Masterclass++) — motion + shine + sticky CTA
   ========================================================= */

/* Reveal on scroll (light & premium) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle shine effect for cards/panels */
.card,
.panel,
.miniCard,
.review,
.qa,
.contactCard {
  position: relative;
  overflow: hidden;
}

.card::before,
.panel::before,
.miniCard::before,
.review::before,
.qa::before,
.contactCard::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    radial-gradient(
      900px 200px at -10% 0%,
      rgba(255, 208, 0, 0.18),
      transparent 55%
    ),
    radial-gradient(
      900px 200px at 110% 0%,
      rgba(56, 189, 248, 0.14),
      transparent 55%
    );
  opacity: 0.35;
  transition: opacity 0.25s ease;
}

.card:hover::before,
.panel:hover::before,
.miniCard:hover::before,
.review:hover::before,
.qa:hover::before,
.contactCard:hover::before {
  opacity: 0.6;
}

/* Tiny "sheen" sweep on hover (very subtle) */
.card::after,
.panel::after,
.miniCard::after,
.review::after,
.qa::after,
.contactCard::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 60%;
  height: 180%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  opacity: 0;
  transition:
    opacity 0.2s ease,
    left 0.55s var(--ease);
  pointer-events: none;
}
.card:hover::after,
.panel:hover::after,
.miniCard:hover::after,
.review:hover::after,
.qa:hover::after,
.contactCard:hover::after {
  opacity: 0.35;
  left: 120%;
}

/* Sticky CTA (mobile only) */
.stickyCta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;

  padding: 10px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(11, 18, 32, 0.12);

  box-shadow: 0 16px 42px rgba(11, 18, 32, 0.12);
}

.stickyCta a {
  width: 100%;
  border-radius: 14px;
  padding: 13px 14px;
  font-weight: 950;
}

.stickyCta .stickyCta__call {
  background: rgba(11, 18, 32, 0.06);
  border: 1px solid rgba(11, 18, 32, 0.14);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stickyCta .stickyCta__wa {
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #062e1a;
  border: 0;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Hide sticky CTA on big screens (desktop already has header + buttons) */
@media (min-width: 820px) {
  .stickyCta {
    display: none !important;
  }
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Logo principal */

/* Micro interaction (classe, pas gadget) */
.brand:hover .brand__logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}
@media (max-width: 520px) {
  .brand__logo {
    height: 125px; /* taille réelle du logo */
    width: auto;
    display: block;

    transform: translateY(8px); /* le fait descendre légèrement */
    filter: drop-shadow(0 6px 16px rgba(2, 6, 23, 0.14));
  }
}
.topbar.is-sticky .brand__logo {
  height: 34px;
}

/* ===============================
   Services Modal — Premium
   =============================== */
.svcModal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.svcModal:not([hidden]) {
  display: block;
}

.svcModal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 520px at 18% 0%,
      rgba(56, 189, 248, 0.2),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 95% 10%,
      rgba(255, 208, 0, 0.22),
      transparent 62%
    ),
    rgba(247, 245, 239, 0.78);
  backdrop-filter: blur(12px);
  animation: svcFade 0.18s ease-out;
}

@keyframes svcFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.svcModal__dialog {
  position: relative;
  width: min(980px, calc(100% - 24px));
  margin: 84px auto 24px;
  border-radius: 26px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 1);
  box-shadow:
    0 26px 70px rgba(11, 18, 32, 0.18),
    0 0 0 8px rgba(255, 208, 0, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  animation: svcPop 0.22s var(--ease);
}

@keyframes svcPop {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.svcModal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 0.15s var(--ease),
    background 0.15s var(--ease);
}
.svcModal__close:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 1);
}

.svcModal__media {
  background: linear-gradient(
    180deg,
    rgba(255, 208, 0, 0.1),
    rgba(56, 189, 248, 0.1)
  );
  padding: 16px;
  display: grid;
  place-items: center;
}
.svcModal__media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  box-shadow: 0 18px 50px rgba(11, 18, 32, 0.12);
}

.svcModal__content {
  padding: 18px 18px 18px;
}
.svcModal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.85);
  background: rgba(255, 208, 0, 0.2);
  border: 1px solid rgba(255, 208, 0, 0.28);
}

.svcModal__title {
  margin: 12px 0 6px;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 22px;
}
.svcModal__desc {
  margin: 0;
  color: rgba(11, 18, 32, 0.72);
  line-height: 1.7;
}

.svcModal__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.svcModal__list li {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.06);
  font-weight: 800;
}
.svcModal__list li::before {
  content: "✓";
  margin-right: 10px;
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.svcModal__cta {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

@media (max-width: 860px) {
  .svcModal__dialog {
    grid-template-columns: 1fr;
    margin-top: 74px;
  }
  .svcModal__media img {
    max-height: 280px;
  }
}
/* =========================================================
   Cards — Hover MASTERCLASS (cliquable + premium)
   ========================================================= */

.card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Glow subtil au hover */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 208, 0, 0.18),
    rgba(56, 189, 248, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Icône flottante + intention de clic */
.card::after {
  content: "Cliquez pour en savoir plus";
  position: absolute;
  bottom: 14px;
  right: 14px;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;

  padding: 8px 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(11, 18, 32, 0.12);
  color: rgba(11, 18, 32, 0.75);

  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

/* Hover global */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(11, 18, 32, 0.14);
}

/* Glow visible */
.card:hover::before {
  opacity: 1;
}

/* Badge “cliquez” visible */
.card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Icône service plus vivante */
.card:hover .card__ic {
  transform: scale(1.12) rotate(-2deg);
  transition: transform 0.2s ease;
}

/* Tag plus présent */
.card:hover .card__tag {
  background: rgba(255, 208, 0, 0.22);
  border-color: rgba(255, 208, 0, 0.35);
}
/* =================================================
   Card icon — centré & impactant
   ================================================= */

.card {
  text-align: center;
}

/* Icône service */
.card__ic {
  font-size: 42px; /* taille de base */
  line-height: 1;
  margin: 6px auto 14px; /* centre + espace */
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  border-radius: 20px;
  background: rgba(255, 208, 0, 0.18);
  border: 1px solid rgba(255, 208, 0, 0.28);

  box-shadow: 0 14px 40px rgba(11, 18, 32, 0.12);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover : icône vivante */
.card:hover .card__ic {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 22px 60px rgba(11, 18, 32, 0.18);
}

/* Titre un peu plus respirant */
.card h3 {
  margin-top: 4px;
}

/* Tag repositionné */
.card__tag {
  display: inline-block;
  margin-top: 10px;
}

/* ===============================
   Google Reviews — Masterclass
   =============================== */

.gReviewsBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(11, 18, 32, 0.1);
  margin: 14px 0 16px;
}

.gReviewsBar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.gBadge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.75);
}
.gBadge__g {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 950;
  background: linear-gradient(
    90deg,
    rgba(255, 208, 0, 0.35),
    rgba(56, 189, 248, 0.25)
  );
  color: rgba(11, 18, 32, 0.9);
}
.gBadge__txt {
  font-weight: 900;
  color: rgba(11, 18, 32, 0.75);
}

.gRate__score {
  font-size: 18px;
  color: rgba(11, 18, 32, 0.92);
  line-height: 1.1;
}
.gRate__score strong {
  font-weight: 950;
}
.gRate__stars .stars {
  letter-spacing: 0.12em;
  color: #ffd000;
  text-shadow: 0 6px 16px rgba(255, 208, 0, 0.22);
}
.gStars {
  letter-spacing: 0.12em;
  color: #ffd000;
}

.gReviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .gReviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .gReviews {
    grid-template-columns: 1fr;
  }
}

.gReview {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 55px rgba(11, 18, 32, 0.1);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.gReview:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 26px 70px rgba(11, 18, 32, 0.14);
}

.gReview__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gAvatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 950;
  color: rgba(11, 18, 32, 0.9);
  background:
    radial-gradient(
      16px 16px at 30% 30%,
      rgba(255, 208, 0, 0.4),
      transparent 60%
    ),
    radial-gradient(
      16px 16px at 70% 70%,
      rgba(56, 189, 248, 0.35),
      transparent 60%
    ),
    rgba(11, 18, 32, 0.05);
  border: 1px solid rgba(11, 18, 32, 0.08);
}

.gName {
  font-weight: 950;
  color: rgba(11, 18, 32, 0.92);
}

.gSub {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}

.gDot {
  opacity: 0.35;
}

.gPill {
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.7);
}
.gPill--soft {
  border-color: rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.12);
}

.gText {
  margin: 10px 0 0;
  color: rgba(11, 18, 32, 0.74);
  line-height: 1.7;
  font-size: 14px;
}

.gFoot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.gLike {
  font-weight: 900;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.7);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.04);
  border: 1px solid rgba(11, 18, 32, 0.08);
}

.gTag {
  font-weight: 900;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 208, 0, 0.28);
  background: rgba(255, 208, 0, 0.14);
  color: rgba(11, 18, 32, 0.8);
}

.gReviews__more {
  margin-top: 12px;
  text-align: right;
}
.topbar,
.topbar__in,
.container,
.nav {
  overflow: visible !important;
}

/* =========================================================
   LANG DROPDOWN — Masterclass (white / yellow / cyan)
   Works with:
   .lang, .lang__btn, .lang__menu, .lang__item, #langFlag, #langLabel
   ========================================================= */

/* (Optionnel) variables si tu les as déjà, sinon ça marche quand même */
:root {
  --lang-bg: rgba(255, 255, 255, 0.72);
  --lang-border: rgba(11, 18, 32, 0.12);
  --lang-text: rgba(11, 18, 32, 0.92);
  --lang-muted: rgba(11, 18, 32, 0.6);

  --lang-yellow: rgba(255, 208, 0, 1);
  --lang-cyan: rgba(56, 189, 248, 1);

  --lang-shadow: 0 14px 34px rgba(11, 18, 32, 0.08);
  --lang-shadow-strong: 0 22px 55px rgba(11, 18, 32, 0.14);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Wrapper */
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 200; /* au-dessus du header */
  isolation: isolate; /* évite certains bugs de stacking */
}

/* Button */
.lang__btn {
  appearance: none;
  border: 1px solid var(--lang-border);
  background: var(--lang-bg);
  color: var(--lang-text);

  display: inline-flex;
  align-items: center;
  gap: 10px;

  height: 42px;
  padding: 0 14px;
  border-radius: 999px;

  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.02em;

  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  backdrop-filter: blur(12px);
  box-shadow: var(--lang-shadow);

  transition:
    transform 0.16s var(--ease),
    box-shadow 0.16s var(--ease),
    border-color 0.16s var(--ease),
    background 0.16s var(--ease);
}

/* Halo brand subtil */
.lang__btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      120px 60px at 20% 20%,
      rgba(56, 189, 248, 0.25),
      transparent 60%
    ),
    radial-gradient(
      120px 60px at 85% 40%,
      rgba(255, 208, 0, 0.28),
      transparent 60%
    );
  transition: opacity 0.16s var(--ease);
}

.lang__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 208, 0, 0.45);
  box-shadow: var(--lang-shadow-strong);
  background: rgba(255, 255, 255, 0.82);
}
.lang__btn:hover::before {
  opacity: 1;
}

.lang__btn:active {
  transform: translateY(0);
  box-shadow: var(--lang-shadow);
}

/* Focus accessible */
.lang__btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.18),
    0 0 0 7px rgba(255, 208, 0, 0.14),
    var(--lang-shadow-strong);
}

/* Flag & label */
.lang__flag {
  font-size: 16px;
  line-height: 1;
  transform: translateY(0.5px);
}
.lang__label {
  font-size: 13px;
}
.lang__chev {
  font-size: 12px;
  opacity: 0.72;
  transform: translateY(1px);
  transition:
    transform 0.16s var(--ease),
    opacity 0.16s var(--ease);
}

/* Open state */
.lang__btn[aria-expanded="true"] {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(255, 255, 255, 0.9);
}
.lang__btn[aria-expanded="true"] .lang__chev {
  transform: rotate(180deg) translateY(-1px);
  opacity: 0.9;
}

/* Menu */
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 10px;

  border-radius: 18px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);

  box-shadow:
    0 26px 70px rgba(11, 18, 32, 0.18),
    0 0 0 8px rgba(255, 208, 0, 0.1);

  transform-origin: top right;
  animation: langPop 0.18s var(--ease);

  z-index: 9999;
}

.lang__menu[hidden] {
  display: none;
}

@keyframes langPop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Items (buttons) */
.lang__item {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(11, 18, 32, 0.08);
  background: rgba(11, 18, 32, 0.02);
  color: var(--lang-text);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 12px 12px 14px;
  border-radius: 14px;

  font-weight: 900;
  font-size: 14px;
  cursor: pointer;

  transition:
    transform 0.14s var(--ease),
    background 0.14s var(--ease),
    border-color 0.14s var(--ease),
    box-shadow 0.14s var(--ease);
}

/* Petite barre “brand” à gauche */
.lang__item::before {
  content: "";
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lang-yellow), var(--lang-cyan));
  opacity: 0.6;
}

/* Flèche à droite */
.lang__item::after {
  content: "→";
  opacity: 0.55;
  transform: translateX(0);
  transition:
    transform 0.14s var(--ease),
    opacity 0.14s var(--ease);
}

.lang__item:hover {
  transform: translateX(2px);
  background: linear-gradient(
    90deg,
    rgba(255, 208, 0, 0.14),
    rgba(56, 189, 248, 0.1)
  );
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 14px 30px rgba(11, 18, 32, 0.08);
}

.lang__item:hover::after {
  opacity: 0.9;
  transform: translateX(3px);
}

.lang__item:active {
  transform: translateX(1px) scale(0.99);
}

/* Focus visible */
.lang__item:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.16),
    0 0 0 7px rgba(255, 208, 0, 0.12);
}

/* (Optionnel) si tu veux marquer la langue active via JS: .is-active */
.lang__item.is-active {
  background: linear-gradient(
    90deg,
    rgba(255, 208, 0, 0.18),
    rgba(56, 189, 248, 0.14)
  );
  border-color: rgba(255, 208, 0, 0.35);
}

/* Mobile: si tu veux que ça reste compact */
@media (max-width: 520px) {
  .lang__btn {
    height: 40px;
    padding: 0 12px;
  }
  .lang__menu {
    min-width: 200px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lang__menu {
    animation: none;
  }
  .lang__btn,
  .lang__item {
    transition: none;
  }
}

/* ===============================
   Mobile Lang Switch (FR/NL/EN/DE)
   =============================== */

.mobileLang {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mobileLang__btn {
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  font-weight: 950;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.9);

  box-shadow: 0 10px 26px rgba(11, 18, 32, 0.06);
  cursor: pointer;

  transition:
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    border-color 0.15s var(--ease),
    background 0.15s var(--ease);
}

.mobileLang__btn span {
  letter-spacing: 0.04em;
}

.mobileLang__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.1);
  background: linear-gradient(
    90deg,
    rgba(255, 208, 0, 0.14),
    rgba(56, 189, 248, 0.1)
  );
}

.mobileLang__btn:active {
  transform: translateY(0) scale(0.98);
}

/* ✅ Etat actif (langue sélectionnée) */
.mobileLang__btn.is-active {
  border-color: rgba(255, 208, 0, 0.55);
  background: linear-gradient(
    90deg,
    rgba(255, 208, 0, 0.22),
    rgba(56, 189, 248, 0.14)
  );
  box-shadow:
    0 16px 42px rgba(11, 18, 32, 0.12),
    0 0 0 6px rgba(255, 208, 0, 0.12);
}

/* ===============================
   FOOTER — Mobile (clean)
=============================== */
@media (max-width: 768px) {
  /* important si tu as une sticky bar en bas */
  .footer {
    padding-bottom: 110px;
  }

  .footer__in,
  .footer__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    text-align: center;
  }

  /* Brand: logo + texte */
  .footer__brand {
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .footer__logo {
    display: block;
    margin: 0 auto;
  }

  p.footer__desc {
    margin: 0 auto;
    max-width: 34ch;
    line-height: 1.55;
    text-align: center;
  }

  /* Badges */
  .footer__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
  }

  .footer__badges .badge {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Colonnes */
  .footer__col {
    text-align: center; /* ✅ si tu veux TOUT centré */
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(11, 18, 32, 0.1);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
  }

  .footer__col h4 {
    margin: 0 0 10px;
    text-align: center;
  }

  .footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    justify-items: center;
  }

  /* CTA */
  .footer__cta {
    text-align: center;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(11, 18, 32, 0.1);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .footer__cta .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .footer__top {
    display: inline-flex;
    justify-content: center;
  }

  /* Bottom */
  .footer__bottom {
    margin-top: 8px;
    text-align: center;
    opacity: 0.85;
  }
}
/* ===============================
   FOOTER — MOBILE CENTER MASTER
   (colle tout en bas du CSS)
=============================== */
@media (max-width: 768px) {
  /* évite que la sticky bar cache le contenu */
  .footer {
    padding-bottom: 120px;
  }

  /* grille -> 1 colonne */
  .footer__grid,
  .footer__in {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    text-align: center !important;
    justify-items: center !important;
  }

  /* BRAND : logo + desc + badges au centre */
  .footer__brand {
    width: 100%;
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 10px;
  }

  .footer__logo {
    display: block;
    margin: 0 auto !important;
    max-width: 50px; /* ajuste si tu veux */
    height: auto;
  }

  p.footer__desc,
  .footer__desc {
    margin: 0 auto !important;
    text-align: center !important;
    max-width: 34ch;
    line-height: 1.55;
  }

  .footer__badges {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
  }

  /* Colonnes Contact/Services : tout centré */
  .footer__col {
    width: 100%;
    max-width: 520px;
    text-align: center !important;
  }
  .footer__col h4 {
    text-align: center !important;
  }

  .footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    justify-items: center;
  }

  /* CTA : centre + bouton pas trop large */
  .footer__cta {
    width: 100%;
    max-width: 520px;
    text-align: center !important;
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .footer__cta .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  /* bottom */
  .footer__bottom {
    width: 100%;
    text-align: center !important;
    margin-top: 10px;
  }
}
