/* Landing GeoWheels — une page par langue (chemins images relatifs à ce dossier) */
:root {
  --gold: #d4a73d;
  --dark-bg: #0a0b0d;
  --nav-bg: rgba(0, 0, 0, 0.8);
  --text-white: #ffffff;
  /* Flèche « scroll » mobile : triangle CSS plein (pas de SVG — couleur fiable). */
  --hero-scroll-cue-red: #dc2626;
}

body, html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-white);
}

/* mirror-fr.html — bannière + hook .gw-mirror-page pour expériences (noindex) */
.gw-mirror-banner {
  margin: 0;
  padding: 10px 16px;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  color: #0a0b0d;
  background: linear-gradient(90deg, #b8922a, #e8c45c);
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}
.gw-mirror-banner a {
  color: #0a0b0d;
  font-weight: 600;
  text-decoration: underline;
}
.gw-mirror-banner a:focus-visible {
  outline: 2px solid #0a0b0d;
  outline-offset: 2px;
}

/* mirror-fr.html — essais d’emplacement message centres auto / constructeur (build MIRROR_FR_ESSAI_MESSAGE) */
.gw-mirror-page .gw-mirror-essai-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.gw-mirror-page .gw-mirror-essai-callout {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 11, 13, 0.72);
  border: 1px solid rgba(212, 167, 61, 0.35);
  border-radius: 6px;
}
.gw-mirror-page .gw-mirror-essai-b {
  margin-top: 0.5rem;
  border-color: rgba(212, 167, 61, 0.5);
}
.gw-mirror-page .gw-mirror-essai-b .gw-mirror-essai-b-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
}
.gw-mirror-page .gw-mirror-essai-meta-preview {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.gw-mirror-page .gw-mirror-essai-meta-snippet {
  margin: 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.82);
}

/* mirror-fr.html — modale sans calque sombre ; clic n’importe où ferme (pointerdown capture) */
.gw-mirror-welcome {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  padding: max(12px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.gw-mirror-welcome.is-open {
  display: flex;
}
.gw-mirror-welcome-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 100%;
  pointer-events: none;
}
.gw-mirror-welcome-panel {
  position: relative;
  z-index: 1;
  overflow: auto;
  box-sizing: border-box;
  pointer-events: auto;
}
/* Panneau popup mirror-fr : fond / ombre α 0,82 (callout générique 0,72 + 0,10) */
.gw-mirror-page .gw-mirror-welcome-panel.gw-mirror-essai-callout {
  width: min(46rem, calc(100vw - 24px));
  max-width: 100%;
  max-height: min(90vh, 100%);
  margin: 0;
  padding: 1.35rem 1.6rem 1.5rem;
  border-radius: 8px;
  background: rgba(10, 11, 13, 0.82);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.82);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.gw-mirror-welcome-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 2.5rem 0.85rem 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--gold);
}
.gw-mirror-welcome-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #dc2626;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.gw-mirror-welcome-desc {
  margin: 0;
}
.gw-mirror-welcome-para {
  margin: 0 0 0.55rem;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.gw-mirror-welcome-para:last-child {
  margin-bottom: 0;
}
.gw-mirror-welcome-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 6px;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.gw-mirror-welcome-x:hover,
.gw-mirror-welcome-x:focus-visible {
  background: rgba(212, 167, 61, 0.25);
  color: var(--text-white);
  outline: none;
}

/* Pages publiques + mirror-*.html — encart ATTENTION + welcomePopup* à la place du H2 seoH2 (intro) */
.gw-mirror-page .gw-mirror-welcome-intro-head {
  margin: 0 0 1rem;
}
.gw-mirror-page .gw-mirror-welcome-intro-head.gw-mirror-essai-callout {
  margin-top: 0;
  padding: 1rem 1.15rem 1.1rem;
}
.gw-mirror-page .gw-mirror-welcome-intro-title {
  margin: 0 0 0.65rem;
  padding: 0;
}
.gw-mirror-page .gw-mirror-welcome-intro-line {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.gw-mirror-page .gw-mirror-welcome-intro-line:last-child {
  margin-bottom: 0;
}

.hero-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  /* Évite un « trou » sous le hero (dvh < hauteur réelle) : #app-features croise le viewport → IO coupe l’animation tout de suite. */
  min-height: max(100dvh, 100svh);
  background-color: var(--dark-bg);
  /* Fond : --gw-hero-bg / --gw-hero-bg-mobile définis en inline au build ; pas de background-image inline (sinon il masque la media query mobile). */
  background-image: var(--gw-hero-bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

/* Pastille noire + texte en dégradé : le <p> porte le fond, le <span> le background-clip: text (fiable cross-navigateur). */
.hero-subline {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  align-self: center;
  width: fit-content;
  max-width: min(94vw, 42rem);
  margin: 12px auto 10px;
  padding: 0.5rem clamp(16px, 2.6vw, 26px);
  text-align: center;
  background: #000000;
  border-radius: 10px;
  pointer-events: none;
}

.hero-subline__gradient {
  display: inline;
  font-size: clamp(1.05rem, 2.6vw, 1.42rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #f2f4f8 0%, #d4a73d 45%, #e8eaef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-container > header,
.hero-container > main {
  position: relative;
  z-index: 1;
}

/* Mobile : fond hero dédié uniquement sous la barre menu (pas derrière le header).
   On évite clip-path (support WebView / vieux Safari capricieux) : le calque commence sous le menu. */
@media (max-width: 768px) {
  .hero-container {
    background-image: none;
    background-color: var(--dark-bg);
    /* Décalage du haut de l’image sous le header ; augmenter pour descendre encore l’image */
    --gw-hero-mobile-top: calc(env(safe-area-inset-top, 0px) + 7.75rem);
  }

  .hero-container::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: var(--gw-hero-mobile-top);
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--dark-bg);
    background-image: var(--gw-hero-bg-mobile, var(--gw-hero-bg));
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }

  .hero-subline {
    margin: 10px 14px 8px;
    padding: 0.45rem clamp(14px, 3.8vw, 20px);
    border-radius: 8px;
  }

  .hero-subline__gradient {
    font-size: clamp(0.95rem, 4.2vw, 1.28rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
}

/* Indication « la page continue » — visible uniquement en mobile (voir @media 768px). */
.hero-scroll-cue {
  display: none;
}

/* DOM : logo → lang-menu → header-titles (mobile : ligne 1 logo + lang, ligne 2 titres). */
header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "logo titles lang";
  align-items: center;
  padding: 15px 40px;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 16px;
  column-gap: 20px;
}

.logo-section {
  grid-area: logo;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: black;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.header-titles {
  grid-area: titles;
  text-align: center;
  justify-self: center;
  min-width: 0;
  max-width: min(100%, 520px);
  padding: 0 8px;
  pointer-events: none;
}

.header-titles h1 {
  font-size: clamp(0.85rem, 2.5vw, 1.2rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

.header-titles p {
  font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  margin: 6px 0 0;
  color: #aaa;
  text-transform: uppercase;
  line-height: 1.3;
}

.lang-menu {
  grid-area: lang;
  justify-self: end;
  flex-shrink: 0;
  width: min(100%, 15.5rem);
  min-width: min(100%, 11rem);
}

.lang-select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 10px 2.25rem 10px 12px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4a73d' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  cursor: pointer;
}

.lang-select:hover {
  border-color: rgba(212, 167, 61, 0.45);
  background-color: rgba(255, 255, 255, 0.11);
}

.lang-select:focus {
  outline: none;
}

.lang-select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.lang-select option {
  color: #0a0b0d;
  background: #fff;
}

/* Landings uniquement : <select> comme /fr/guides/ (fond sombre, bordure or, drapeaux dans les options). */
.lang-menu.lang-menu-gw-flags {
  width: min(100%, 17rem);
  max-width: min(100%, 17rem);
  min-width: min(100%, 11rem);
}

.lang-select.lang-select--guides-look {
  width: auto;
  min-width: min(100%, 11.5rem);
  max-width: 100%;
  color: #e8eaef;
  background-color: #151922;
  border: 1px solid rgba(212, 167, 61, 0.35);
  border-radius: 8px;
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa3b2' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E");
  background-position: right 0.5rem center;
}

.lang-select.lang-select--guides-look:hover {
  border-color: rgba(212, 167, 61, 0.45);
  background-color: #151922;
}

.lang-select.lang-select--guides-look:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 60px;
  padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.download-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(100%, 280px);
  padding: 16px 18px 18px;
  box-sizing: border-box;
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 167, 61, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.download-sidebar h2 {
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0 0 10px;
  letter-spacing: 1px;
  color: var(--text-white);
}

.store-btn {
  display: flex;
  align-items: center;
  background: var(--gold);
  color: black;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s;
}

.store-btn:hover {
  transform: scale(1.03);
  background: #e5b84e;
}

.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.btn-text small {
  font-size: 0.7rem;
  font-weight: normal;
}

.footer-sep {
  color: #555;
  font-size: 0.65rem;
  user-select: none;
}

@media (max-width: 768px) {
  /* Flex : même ordre DOM que la grille (logo, lang, titres) → 1re ligne logo + select à droite, 2e ligne titres. */
  header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    row-gap: 8px;
    column-gap: 10px;
    padding: 12px 16px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-top: max(12px, env(safe-area-inset-top, 0px));
  }

  .logo-section {
    grid-area: unset;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 7.25rem);
  }
  .lang-menu {
    grid-area: unset;
    flex: 0 0 auto;
    width: auto;
    max-width: min(6.75rem, 32vw);
    min-width: 0;
  }
  .lang-menu.lang-menu-gw-flags {
    max-width: min(10.5rem, 42vw);
    min-width: 0;
    width: auto;
  }
  .lang-select {
    padding: 5px 1.3rem 5px 7px;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 7px;
    background-position: right 6px center;
    background-size: 8px 5px;
    max-width: 100%;
  }
  .lang-select.lang-select--guides-look {
    padding: 0.35rem 1.55rem 0.35rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 8px;
    background-position: right 0.35rem center;
    background-size: 9px 6px;
    min-width: 0;
  }
  .header-titles {
    grid-area: unset;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px 2px 0;
    margin: 0;
    pointer-events: none;
    text-align: center;
    min-width: 0;
  }
  .header-titles h1 {
    font-size: clamp(0.78rem, 3.6vw, 1rem);
    color: var(--text-white);
  }
  .header-titles p {
    font-size: clamp(0.7rem, 3vw, 0.88rem);
    margin-top: 6px;
    color: #c4c8d0;
  }
  .brand-name {
    font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  }
  main {
    justify-content: center;
    align-items: flex-start;
    padding: 0 max(16px, env(safe-area-inset-right, 0px)) max(52px, env(safe-area-inset-bottom, 0px))
      max(16px, env(safe-area-inset-left, 0px));
    text-align: left;
  }
  /* Mobile : grille 1 colonne = boutons forcés l’un sous l’autre ; bloc calé à gauche. */
  .download-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    justify-items: stretch;
    align-content: start;
    width: 100%;
    max-width: 140px;
    margin: 0;
    margin-right: auto;
    padding: 12px 8px 14px;
    gap: 10px;
    box-sizing: border-box;
    background: rgba(10, 11, 13, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(212, 167, 61, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .download-sidebar > * {
    grid-column: 1;
    min-width: 0;
  }
  .download-sidebar h2 {
    font-size: 0.82rem;
    margin: 0 0 2px;
    letter-spacing: 0.06em;
    text-align: left;
    width: 100%;
  }
  .download-sidebar .store-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.25);
  }
  .download-sidebar .store-btn .btn-text {
    align-items: flex-start;
    text-align: left;
  }
  .download-sidebar .store-btn .btn-text small {
    font-size: 0.6rem;
  }
  .download-sidebar .store-btn .btn-text > span:last-child {
    font-size: 0.88rem;
    line-height: 1.15;
  }
  .hero-scroll-cue {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    left: max(24px, env(safe-area-inset-left, 0px));
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: max(32px, calc(env(safe-area-inset-bottom, 0px) + 28px));
    height: 66px;
    padding-bottom: 5px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 4;
  }
  /* Triangle plein vers le bas — impossible à confondre avec l’or du thème. */
  .hero-scroll-cue-caret {
    display: block;
    width: 0;
    height: 0;
    margin: 0 auto;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-top: 41px solid var(--hero-scroll-cue-red);
    filter: drop-shadow(0 5px 12px rgba(220, 38, 38, 0.65)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    animation: hero-scroll-cue-blink 1.25s ease-in-out infinite;
    transform-origin: 50% 0;
  }
  /* Classe sur le caret (JS) + body : !important pour gagner sur l’animation même si le moteur retarde scrollY. */
  body.gw-hero-scrolled .hero-scroll-cue-caret,
  .hero-scroll-cue--scrolled .hero-scroll-cue-caret,
  .hero-scroll-cue-caret.hero-scroll-cue-caret--still {
    animation: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  .seo-content {
    padding: 48px 16px max(80px, calc(64px + env(safe-area-inset-bottom, 0px)));
  }
  .seo-inner { max-width: 100%; margin: 0 auto; }
}

@keyframes hero-scroll-cue-blink {
  0%, 100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

.seo-content {
  background: var(--dark-bg);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 56px 20px max(96px, calc(80px + env(safe-area-inset-bottom, 0px)));
  color: #c8cdd6;
}

.seo-inner {
  max-width: min(1080px, 100%);
  margin: 0 auto;
}

.seo-content h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.seo-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin: 28px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.seo-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 16px;
}

.seo-content ul {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.seo-content li {
  margin-bottom: 8px;
}

.seo-content li::marker {
  color: var(--gold);
}

.seo-lead {
  font-size: 1.02rem;
  color: #e2e6ed;
}

.seo-intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 28%);
  gap: 28px 36px;
  align-items: start;
  margin-bottom: 40px;
}

.seo-intro-split.no-top-visual {
  grid-template-columns: 1fr;
}

.seo-intro-text {
  min-width: 0;
}

.seo-intro-visual {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: flex-end;
  justify-content: flex-end;
  position: sticky;
  top: 16px;
}

.seo-intro-split.no-top-visual .seo-intro-visual {
  display: none;
}

.seo-shot-top {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.5);
  background: #12151a;
}

.seo-intro-visual .seo-shot-top {
  flex: 0 0 auto;
  width: auto;
  max-width: 80%;
}

.seo-gallery-outro-split {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  margin-bottom: 40px;
}

.seo-gallery-outro-split:has(.seo-gallery-wrap[hidden]) {
  margin-bottom: 0;
}

/* FAQ accordéon (pages publiques fr, de, es, en, en-ca, en-au, ja, ko, th, zh, ru — sous la galerie captures) */
.gw-faq-block {
  width: 100%;
  max-width: min(48rem, 100%);
  margin: 0 auto;
  margin-bottom: 0;
  /* ~2 sauts de ligne sous la dernière réponse, avant le bouton Télécharger */
  padding-bottom: calc(2 * 1.65em + 1.5rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
/* Plus spécifique que .seo-content h3 (évite uppercase + or sur tout le titre) */
.seo-content h3.gw-faq-title {
  margin-top: 0;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  text-align: center;
  text-transform: none;
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.28;
  color: var(--text-white);
  padding: 0 0.75rem;
  box-sizing: border-box;
}
/* Repère visuel « bloc FAQ » sous le titre */
.seo-content h3.gw-faq-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(212, 167, 61, 0.35), var(--gold), rgba(212, 167, 61, 0.35));
}
.gw-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
}
.gw-faq-item {
  border-radius: 14px;
  border: 2px solid rgba(212, 167, 61, 0.45);
  background: rgba(12, 14, 18, 0.92);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}
.gw-faq-summary {
  list-style: none;
  cursor: pointer;
  min-height: 3.35rem;
  padding: 1.15rem 1.35rem 1.15rem 1.25rem;
  font-size: clamp(1.02rem, 2.6vw, 1.12rem);
  font-weight: 700;
  line-height: 1.38;
  color: #f0f2f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
}
/* Titres sémantiques (SEO) dans le summary : même rendu que l’ancien texte seul */
.seo-content h3.gw-faq-question {
  margin: 0;
  padding: 0;
  width: auto;
  max-width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
}
.gw-faq-summary::-webkit-details-marker {
  display: none;
}
.gw-faq-summary::after {
  content: "▼";
  flex: 0 0 auto;
  float: none;
  font-size: 0.78rem;
  margin-top: 0;
  padding: 0.35rem 0.45rem;
  line-height: 1;
  border-radius: 8px;
  background: rgba(212, 167, 61, 0.2);
  color: var(--gold);
  opacity: 1;
}
.gw-faq-item[open] > .gw-faq-summary::after {
  content: "▲";
}
.gw-faq-answer {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.gw-faq-answer p {
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.68;
  color: #c8cdd6;
}

/* Espace réservé au CTA quand la FAQ précède (évite double marge avec le padding-bas FAQ) */
.gw-faq-block + .gw-footer-download-cta {
  margin-top: 0;
}

/* CTA téléchargement en bas de page (même modale que le hero). */
.gw-footer-download-cta {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: min(36rem, 100%);
  margin: 12px auto 28px;
  box-sizing: border-box;
  padding: 0 max(0px, env(safe-area-inset-left, 0px)) 0 max(0px, env(safe-area-inset-right, 0px));
}

.gw-footer-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  margin: 0;
  padding: 1.15rem 1.6rem;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(1.02rem, 2.9vw, 1.22rem);
  line-height: 1.28;
  letter-spacing: 0.02em;
  text-align: center;
  color: #0a0b0d;
  background: var(--gold);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(212, 167, 61, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.gw-footer-download-btn:hover {
  transform: scale(1.02);
  background: #e5b84e;
}

.gw-footer-download-btn:focus-visible {
  outline: 3px solid rgba(122, 92, 18, 0.85);
  outline-offset: 4px;
}

.gw-footer-download-btn:active {
  transform: scale(0.99);
}

.seo-site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 48px;
  padding-top: 32px;
  padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.seo-site-footer p {
  margin: 0;
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

.seo-site-footer-tagline {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #9aa3ae;
  max-width: 36rem;
  margin: 0 auto 16px;
  text-align: center;
  text-wrap: balance;
}

.seo-site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 8px 14px;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto 12px;
  text-align: center;
}

.seo-site-footer-legal a {
  font-size: 0.72rem;
  color: #b0b8c4;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.seo-site-footer-legal a:hover,
.seo-site-footer-legal a:focus-visible {
  color: var(--gold);
  border-bottom-color: rgba(212, 167, 61, 0.5);
  outline: none;
}

.seo-site-footer-guides {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 8px 12px;
  width: 100%;
  max-width: 42rem;
  margin: 4px auto 14px;
  text-align: center;
}

.seo-site-footer-guides a {
  font-size: 0.7rem;
  color: #9aa3ae;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.seo-site-footer-guides a:hover,
.seo-site-footer-guides a:focus-visible {
  color: var(--gold);
  border-bottom-color: rgba(212, 167, 61, 0.45);
  outline: none;
}

.seo-site-footer-copy {
  font-size: 0.62rem;
  color: #5c626b;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.seo-gallery-outro-split .seo-outro {
  margin: 0;
}

.seo-gallery-outro-split .seo-gallery-label {
  text-align: left;
}

/* Grille 4 colonnes — images sur toute la largeur de chaque cellule (pas de miniatures centrées trop petites). */
.seo-gallery-outro-split .seo-gallery-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px clamp(8px, 1.4vw, 14px);
  padding: 12px 0 16px;
  align-items: end;
  justify-items: stretch;
}

.seo-gallery-outro-split .seo-shot-gallery {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: min(720px, 64vh);
  object-fit: contain;
}

.seo-gallery-wrap {
  margin-bottom: 0;
}

.seo-gallery-wrap[hidden] {
  display: none !important;
}

.seo-gallery-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0 0 16px;
  text-align: center;
}

.seo-shot-gallery {
  max-width: min(300px, 46vw);
  width: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #12151a;
}

.seo-features-block {
  margin-top: 0;
  margin-bottom: 8px;
}

.seo-outro {
  margin: 32px 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #c8cdd6;
  text-align: left;
  max-width: none;
}

#gw-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
#gw-lightbox.open {
  display: block;
}

.gw-lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  cursor: zoom-out;
  background: rgba(0, 0, 0, 0.92);
}

.gw-lightbox-chrome {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(4px, env(safe-area-inset-top, 0px)) max(0px, env(safe-area-inset-right, 0px))
    max(4px, env(safe-area-inset-bottom, 0px)) max(0px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.gw-lightbox-chrome #gw-lightbox-close,
.gw-lightbox-chrome .gw-lightbox-nav,
.gw-lightbox-chrome .gw-lightbox-stage,
.gw-lightbox-chrome .gw-lightbox-counter {
  pointer-events: auto;
}

#gw-lightbox-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 3;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
  opacity: 0.85;
  transition: opacity 0.15s;
}
#gw-lightbox-close:hover,
#gw-lightbox-close:focus-visible {
  opacity: 1;
}
#gw-lightbox-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gw-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  min-width: 48px;
  min-height: 52px;
  padding: 0 10px;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.gw-lightbox-nav:hover:not(:disabled) {
  background: rgba(40, 40, 44, 0.75);
}
.gw-lightbox-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.gw-lightbox-nav:disabled {
  opacity: 0.28;
  cursor: default;
}
.gw-lightbox-nav--prev {
  left: max(6px, env(safe-area-inset-left, 0px));
}
.gw-lightbox-nav--next {
  right: max(6px, env(safe-area-inset-right, 0px));
}

.gw-lightbox-stage {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: min(97vh, 97dvh);
  min-height: 0;
  touch-action: none;
}

#gw-lightbox img {
  max-width: min(100vw, 1920px);
  max-height: min(94vh, 94dvh);
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  user-select: none;
}

.gw-lightbox-counter {
  margin: 2px 0 0;
  padding: 0 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  min-height: 1.3em;
}
.seo-shot-gallery,
.seo-intro-visual .seo-shot-top { cursor: pointer; }

/* Téléphone : pas d’ouverture lightbox au tap (voir site.js matchMedia 767px). */
@media (max-width: 767px) {
  .seo-shot-gallery,
  .seo-intro-visual .seo-shot-top,
  .gw-mirror-page .seo-shot-gallery,
  .gw-mirror-page .seo-shot-top {
    cursor: default;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
}

/* ── Modale « disponibilité téléchargement » ── */
.gw-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  font-family: inherit;
}
.gw-modal.is-open {
  display: block;
}
.gw-modal-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  box-sizing: border-box;
}
.gw-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}
.gw-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  padding: 28px 24px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #14171d;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  color: #e2e6ed;
  text-align: center;
}
.gw-modal-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gw-modal-text {
  margin: 0 0 22px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #c8cdd6;
}
.gw-modal-btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  background: var(--gold);
  color: #0a0b0d;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.gw-modal-btn:hover,
.gw-modal-btn:focus-visible {
  transform: scale(1.02);
  background: #e5b84e;
  outline: none;
}
#gw-download-heading {
  cursor: pointer;
}
#gw-download-heading:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 900px) {
  .seo-intro-split {
    grid-template-columns: 1fr;
  }
  .seo-intro-visual {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .seo-shot-top {
    flex: 0 0 auto;
    max-width: min(340px, 85vw);
    width: auto;
  }
  .seo-gallery-outro-split .seo-gallery-label {
    text-align: left;
  }
  .seo-gallery-outro-split .seo-gallery-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    gap: 10px;
  }
  .seo-gallery-outro-split .seo-shot-gallery {
    width: 100%;
    max-width: none;
    max-height: min(560px, 58vh);
  }
}

/* Doré lisible sur fond clair (read-more mobile ; pas la liste « fonctionnalités ») */
.gw-mirror-page .gw-mirror-readmore-inner .gw-mirror-accent {
  color: #9a7b1a;
  font-weight: 600;
}

/* ── Pages landing (gw-mirror-page) : cartes + icônes PNG ; or #c5a363 proche des assets ── */
@media (min-width: 769px) {
  .gw-mirror-page .seo-content {
    overflow-x: clip;
    padding-top: 72px;
    padding-bottom: max(112px, calc(96px + env(safe-area-inset-bottom, 0px)));
    padding-left: clamp(20px, 4vw, 48px);
    padding-right: clamp(20px, 4vw, 48px);
  }
  .gw-mirror-page #app-features.seo-content > .seo-inner {
    max-width: min(1520px, 100%);
  }
  /* Bandeau + sous-bloc texte | capture (sous les cartes) */
  .gw-mirror-page .gw-mirror-intro-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 12px;
  }
  .gw-mirror-page .gw-mirror-intro-wrap.no-top-visual .seo-intro-visual {
    display: none;
  }
  .gw-mirror-page .seo-intro-visual--mobile {
    display: none !important;
  }
  /*
   * Fond filaire : ::before (image + opacité / taille — voir aussi mobile)
   */
  .gw-mirror-page .gw-mirror-feature-band {
    width: 100vw;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    padding-top: 4px;
    padding-bottom: clamp(28px, 4vh, 44px);
    min-height: 0;
    background-color: rgba(8, 9, 12, 0.7);
    isolation: isolate;
  }
  .gw-mirror-page .gw-mirror-feature-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.28;
    pointer-events: none;
    background-image: url("mirror-icons/bg-shock-wireframe.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: min(115%, 1280px) auto;
  }
  .gw-mirror-page .gw-mirror-feature-band-inner {
    max-width: min(1120px, 92vw);
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }
  /* Colonne gauche = texte + fonctionnalités (flux vertical) ; droite = capture — évite le vide sous le texte */
  .gw-mirror-page .gw-mirror-below-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, min(30vw, 320px));
    gap: clamp(24px, 3.5vw, 40px);
    align-items: start;
    margin-top: clamp(12px, 2vw, 20px);
    width: 100%;
    max-width: min(1120px, 92vw);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .gw-mirror-page .gw-mirror-copy-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
  }
  .gw-mirror-page .gw-mirror-features-in-stack {
    margin-top: 1.35rem;
  }
  .gw-mirror-page .gw-mirror-copy-stack > .gw-mirror-features-in-stack:first-child {
    margin-top: 0;
  }
  .gw-mirror-page .gw-mirror-under-cards-text .seo-lead {
    color: #e2e6ed;
    margin-bottom: 1rem;
  }
  .gw-mirror-page .gw-mirror-under-cards-text p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #d2d8e2;
    margin: 0 0 14px;
  }
  .gw-mirror-page .gw-mirror-under-cards-text p:last-child {
    margin-bottom: 0;
  }
  .gw-mirror-page .gw-mirror-under-desktop-only {
    display: block;
    min-width: 0;
  }
  .gw-mirror-page .gw-mirror-below-band .seo-intro-visual--desktop {
    position: sticky;
    top: 16px;
    justify-content: flex-end;
    align-self: start;
  }
  .gw-mirror-page .gw-mirror-below-band .seo-intro-visual--desktop .seo-shot-top {
    max-width: min(280px, 100%);
  }
  .gw-mirror-page .seo-content .seo-features-block {
    max-width: 68ch;
    margin-top: 4px;
  }
  .gw-mirror-page .seo-content .seo-features-block > h3 {
    margin-top: 10px;
  }
  .gw-mirror-page .gw-mirror-features-in-stack > h3 {
    margin-top: 0;
  }
  .gw-mirror-page .seo-content h2 {
    margin-bottom: 1.5rem;
    line-height: 1.32;
  }
  .gw-mirror-page .gw-mirror-lead-mobile-only {
    display: none !important;
  }
  /* Grille 3 cartes + paires d’icônes en tête */
  .gw-mirror-page .gw-mirror-cards-desktop {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  @media (min-width: 1000px) {
    .gw-mirror-page .gw-mirror-cards-desktop {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: clamp(14px, 1.8vw, 22px);
    }
  }
  /* Dégradé seul sur les cartes (motif filaire = bandeau .gw-mirror-feature-band) */
  .gw-mirror-page .gw-mirror-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background-color: #08090c;
    background-image: linear-gradient(
      168deg,
      rgba(212, 167, 61, 0.1) 0%,
      rgba(255, 255, 255, 0.06) 26%,
      rgba(18, 20, 26, 0.82) 52%,
      rgba(8, 9, 12, 0.94) 100%
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 22px 18px 20px;
    box-sizing: border-box;
  }
  /* Icônes : une à gauche, une à droite du cadre (bandeau haut pleine largeur) */
  .gw-mirror-page .gw-mirror-card-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    margin-bottom: 22px;
    min-height: 0;
  }
  .gw-mirror-page .gw-mirror-card-icon {
    height: clamp(48px, 5.2vw, 58px);
    width: auto;
    max-width: 46%;
    object-fit: contain;
    object-position: center top;
    display: block;
    flex: 0 0 auto;
  }
  .gw-mirror-page .gw-mirror-card-title {
    margin: 0 0 16px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--text-white);
    line-height: 1.4;
  }
  .gw-mirror-page .gw-mirror-card-body {
    margin: 0 0 20px;
    font-size: 0.98rem;
    line-height: 1.82;
    color: #e8eaef;
  }
  .gw-mirror-page .gw-mirror-accent {
    color: #c5a363;
    font-weight: 600;
  }
  .gw-mirror-page .gw-mirror-card-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.91rem;
    line-height: 1.72;
    color: #dce1e8;
  }
  .gw-mirror-page .gw-mirror-card-list li {
    margin-bottom: 0.7em;
  }
  .gw-mirror-page .gw-mirror-card-list li:last-child {
    margin-bottom: 0;
  }
  .gw-mirror-page .gw-mirror-card-list li::marker {
    color: #c5a363;
  }
  .gw-mirror-page .seo-content ul {
    font-size: 1.015rem;
    line-height: 1.68;
    margin-bottom: 1.5rem;
  }
  .gw-mirror-page .seo-content li {
    margin-bottom: 0.55em;
  }
  .gw-mirror-page .seo-outro {
    font-size: 1.015rem;
    line-height: 1.78;
    color: #d2d8e2;
    max-width: 68ch;
  }
  .gw-mirror-page .gw-mirror-prose-mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .gw-mirror-page .gw-mirror-intro-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
  }
  .gw-mirror-page .gw-mirror-under-desktop-only {
    display: none !important;
  }
  .gw-mirror-page .gw-mirror-below-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
    margin-top: 0;
    gap: 0;
    order: 2;
  }
  .gw-mirror-page .gw-mirror-copy-stack {
    width: 100%;
    order: 1;
  }
  .gw-mirror-page .gw-mirror-feature-band {
    width: 100%;
    left: auto;
    transform: none;
    order: 1;
    min-height: 0;
    padding-bottom: 24px;
  }
  .gw-mirror-page .gw-mirror-feature-band::before {
    background-size: 190% auto;
    opacity: 0.26;
  }
  .gw-mirror-page .seo-intro-visual--desktop {
    display: none !important;
  }
  .gw-mirror-page .gw-mirror-feature-band .seo-intro-visual--mobile {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: static;
    justify-content: center;
    align-items: flex-end;
    margin-top: 18px;
    margin-bottom: 4px;
    width: 100%;
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }
  .gw-mirror-page .gw-mirror-feature-band .seo-intro-visual--mobile .seo-shot-top {
    max-width: min(280px, 88vw);
    width: auto;
    height: auto;
  }
  .gw-mirror-page .gw-mirror-features-in-stack {
    margin-top: 1rem;
  }
  .gw-mirror-page .gw-mirror-cards-desktop {
    display: none !important;
  }
  .gw-mirror-page .seo-content {
    background: linear-gradient(180deg, #eceff4 0%, #e4e8ef 48%, #dfe4ec 100%);
    color: #1c2230;
    border-top-color: rgba(0, 0, 0, 0.08);
    padding-top: 40px;
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
    padding-bottom: max(88px, calc(72px + env(safe-area-inset-bottom, 0px)));
  }
  .gw-mirror-page .seo-content h2 {
    color: #0f1419;
    margin-bottom: 1rem;
  }
  /* Bande sombre : le h2 d’intro ne doit pas hériter du gris foncé du bloc .seo-content clair. */
  .gw-mirror-page .gw-mirror-feature-band h2#seo-main-heading,
  .gw-mirror-page .gw-mirror-feature-band .gw-mirror-welcome-intro-title {
    color: var(--gold);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  }
  .gw-mirror-page .seo-lead {
    color: #252b38;
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-bottom: 1rem;
  }
  .gw-mirror-page .seo-content h3 {
    color: #7a5c12;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 8px;
    margin-top: 22px;
  }
  .gw-mirror-page .seo-content ul,
  .gw-mirror-page .seo-outro {
    font-size: 1.0625rem;
    line-height: 1.72;
    color: #2a3140;
  }
  .gw-mirror-page .seo-content ul {
    line-height: 1.66;
  }
  .gw-mirror-page .seo-content li::marker {
    color: #9a7b1a;
  }
  .gw-mirror-page .seo-outro {
    margin-top: 24px;
  }
  .gw-mirror-page .gw-mirror-prose-mobile {
    margin: 0 0 4px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.55);
    overflow: hidden;
  }
  .gw-mirror-page .gw-mirror-readmore-summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f1419;
    background: rgba(212, 167, 61, 0.22);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .gw-mirror-page .gw-mirror-readmore-summary::-webkit-details-marker {
    display: none;
  }
  .gw-mirror-page .gw-mirror-readmore-summary::after {
    content: "▼";
    float: right;
    font-size: 0.65rem;
    margin-top: 0.35em;
    opacity: 0.65;
  }
  .gw-mirror-page .gw-mirror-prose-mobile[open] > .gw-mirror-readmore-summary::after {
    content: "▲";
  }
  .gw-mirror-page .gw-mirror-readmore-inner {
    padding: 14px 16px 18px;
  }
  .gw-mirror-page .gw-mirror-readmore-inner p:first-child {
    margin-top: 0;
  }
  .gw-mirror-page .gw-mirror-readmore-inner p:last-child {
    margin-bottom: 0;
  }
  .gw-mirror-page .gw-mirror-readmore-inner p {
    font-size: 1.0625rem;
    line-height: 1.72;
    color: #2a3140;
    margin-bottom: 1em;
  }
  .gw-mirror-page .seo-site-footer {
    border-top-color: rgba(0, 0, 0, 0.12);
  }
  .gw-mirror-page .seo-site-footer-tagline {
    color: #4a5568;
  }
  .gw-mirror-page .seo-site-footer-legal a {
    color: #374151;
  }
  .gw-mirror-page .seo-site-footer-guides a {
    color: #4b5563;
  }
  .gw-mirror-page .seo-site-footer-copy {
    color: #7a8494;
  }
  .gw-mirror-page .seo-gallery-outro-split .seo-gallery-label {
    color: #7a5c12;
  }
  .gw-mirror-page .seo-content h3.gw-faq-title {
    color: #0f1419;
  }
  .gw-mirror-page .seo-content .gw-faq-item {
    border: 2px solid rgba(154, 123, 26, 0.55);
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
      0 8px 28px rgba(15, 20, 30, 0.12),
      0 0 0 1px rgba(0, 0, 0, 0.05) inset;
  }
  .gw-mirror-page .seo-content .gw-faq-summary {
    color: #0f1419;
    min-height: 3.5rem;
    padding: 1.2rem 1.35rem 1.2rem 1.2rem;
    font-size: clamp(1.04rem, 3.2vw, 1.14rem);
    background: rgba(212, 167, 61, 0.28);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .gw-mirror-page .seo-content h3.gw-faq-question {
    color: inherit;
  }
  .gw-mirror-page .seo-content .gw-faq-summary::after {
    background: rgba(154, 123, 26, 0.35);
    color: #5c4810;
  }
  .gw-mirror-page .seo-content .gw-faq-item[open] > .gw-faq-summary {
    border-bottom-color: rgba(0, 0, 0, 0.08);
  }
  .gw-mirror-page .seo-content .gw-faq-answer {
    border-top: none;
  }
  .gw-mirror-page .seo-content .gw-faq-answer p {
    color: #2a3140;
  }
  .gw-mirror-page .seo-shot-gallery,
  .gw-mirror-page .seo-shot-top {
    border-color: rgba(0, 0, 0, 0.15);
  }
}

/* ── Page 404 (404.html) ── */
.gw-404-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--dark-bg);
}

.gw-404-page header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px clamp(18px, 4vw, 40px);
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gw-404-page .logo-section {
  grid-area: unset;
}

.gw-404-page .lang-menu {
  grid-area: unset;
  width: min(100%, 15.5rem);
}

.gw-404-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px) max(18px, env(safe-area-inset-left, 0px)) 48px
    max(18px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.gw-404-inner {
  text-align: center;
  max-width: 28rem;
  width: 100%;
}

.gw-404-code {
  font-size: clamp(3.5rem, 16vw, 5.5rem);
  font-weight: 700;
  color: #c5a363;
  line-height: 1;
  margin: 0 0 0.2em;
  letter-spacing: 0.08em;
}

.gw-404-title {
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 600;
  margin: 0 0 1em;
  color: #e8eaef;
  line-height: 1.3;
}

.gw-404-desc,
.gw-404-desc-fr {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #aeb6c2;
  margin: 0 0 0.65em;
}

.gw-404-desc-fr {
  margin-bottom: 1.75em;
  color: #9aa3af;
}

.gw-404-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.gw-404-primary {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(180deg, #d4a73d, #b8922a);
  color: #0a0b0d;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.gw-404-primary:hover {
  filter: brightness(1.06);
}

.gw-404-primary:focus-visible {
  outline: 2px solid #e8c45c;
  outline-offset: 3px;
}

.gw-404-secondary {
  color: #c5a363;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.gw-404-secondary:hover {
  text-decoration: underline;
}

.gw-404-secondary:focus-visible {
  outline: 2px solid #c5a363;
  outline-offset: 2px;
}

.gw-404-footer {
  margin-top: auto;
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gw-muted, #9aa3b2);
}

.gw-404-footer a {
  color: var(--gw-gold, #c5a363);
  text-decoration: none;
}

.gw-404-footer a:hover,
.gw-404-footer a:focus-visible {
  text-decoration: underline;
}

/* Hero : boutons en colonne + bloc à gauche (≤1024px) — grille 1 col + !important. */
@media (max-width: 1024px) {
  .hero-container > main {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
  }

  .hero-container > main .download-sidebar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    justify-items: stretch !important;
    align-content: start !important;
    width: 100% !important;
    max-width: min(140px, 46vw) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .hero-container > main .download-sidebar > * {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }

  .hero-container > main .download-sidebar > a.store-btn,
  .hero-container > main #link-app-store,
  .hero-container > main #link-google-play {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-container > main .download-sidebar > a.store-btn .btn-text {
    align-items: flex-start !important;
    text-align: left !important;
  }
}
