/* ==========================================================================
   Green Card Conseil USA — Homepage
   Sommaire :
   1. Tokens & reset
   2. Utilitaires (container, boutons, icônes, titres de section)
   3. Header & navigation
   4. Hero
   5. Bandeau sources officielles
   6. Voies Green Card
   7. Timeline des démarches
   8. Nationalité américaine
   9. Installation
   10. Atouts
   11. Guides
   12. FAQ
   13. CTA final
   14. Contact
   15. Footer
   16. Barre CTA mobile
   17. Animations & préférences utilisateur
   ========================================================================== */

/* 1. Tokens & reset
   ========================================================================== */
:root {
  --navy: #002868;
  --navy-deep: #001b49;
  --navy-ink: #00112e;
  --red: #bf0a30;
  --red-dark: #9c0827;
  --white: #ffffff;
  --blue-light: #edf3fc;
  --gray-light: #f8fafc;
  --text: #475569;
  --heading: #0b1b3a;
  --border: #e2e8f0;
  --border-strong: #cfd8e6;

  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 14px;

  --shadow-xs: 0 1px 2px rgba(0, 27, 73, 0.06);
  --shadow-sm: 0 2px 6px rgba(0, 27, 73, 0.05), 0 1px 2px rgba(0, 27, 73, 0.04);
  --shadow-md: 0 14px 34px -14px rgba(0, 27, 73, 0.2), 0 4px 10px -4px rgba(0, 27, 73, 0.06);
  --shadow-lg: 0 30px 60px -24px rgba(0, 27, 73, 0.32);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 120px);
  --header-h: 76px;
  --mobile-bar-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--navy);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 2. Utilitaires
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tint {
  background: var(--blue-light);
}

.section--gray {
  background: var(--gray-light);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Titres de section */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  font-weight: 800;
}

.section-lead {
  margin-top: 18px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.7;
}

.note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.note .icon {
  margin-top: 2px;
  color: var(--navy);
}

/* Boutons */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-border: var(--btn-bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-sm);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translateX(4px);
}

.btn--primary {
  --btn-bg: var(--red);
  box-shadow: 0 10px 24px -10px rgba(191, 10, 48, 0.55);
}

.btn--primary:hover {
  --btn-bg: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(191, 10, 48, 0.6);
}

.btn--navy:hover {
  --btn-bg: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  --btn-border: var(--navy);
}

.btn--outline:hover {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  transform: translateY(-2px);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.55);
}

.btn--ghost-light:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  --btn-border: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  white-space: nowrap;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.9375rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}

.text-link .icon {
  width: 17px;
  height: 17px;
  color: var(--red);
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--red);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
}

.soon-tag .icon {
  width: 15px;
  height: 15px;
}

/* Petites étoiles décoratives */
.star-deco {
  position: absolute;
  width: 14px;
  height: 14px;
  color: var(--red);
  opacity: 0.85;
  pointer-events: none;
}

/* Liseré tricolore discret */
.stripe-rule {
  display: flex;
  gap: 4px;
  width: 56px;
  height: 4px;
}

.stripe-rule span {
  flex: 1;
  border-radius: 2px;
  background: var(--navy);
}

.stripe-rule span:nth-child(2) {
  background: var(--border-strong);
}

.stripe-rule span:nth-child(3) {
  background: var(--red);
}

/* 3. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header::before {
  /* Fin liseré bleu-blanc-rouge en haut de page */
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0 50%, var(--red) 50% 100%);
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 24px -16px rgba(0, 27, 73, 0.25);
}

.site-header .container {
  max-width: calc(1320px + var(--gutter) * 2);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--navy);
}

.logo-mark {
  width: 42px;
  height: 42px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--navy);
}

.logo-name em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}

.logo-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a8823a;
}

.logo-tagline::before {
  /* Filet doré devant la signature */
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* Header : le logo forme un bloc bleu marine, texte sur deux lignes */
.site-header .logo {
  gap: 10px;
  padding: 8px 18px 8px 10px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 8px 20px -12px rgba(0, 27, 73, 0.6);
}

.site-header .logo-mark {
  width: 38px;
  height: 38px;
}

.site-header .logo-name {
  font-size: 1.0625rem;
  line-height: 1.15;
  color: var(--white);
}

.site-header .logo-name em {
  color: #ff8fa3;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 10px 9px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav-extra {
  display: none;
}

/* Desktop compact : tout reste sur une seule ligne, le menu se resserre */
@media (min-width: 1024px) and (max-width: 1359px) {
  .header-inner {
    gap: 12px;
  }

  .main-nav {
    min-width: 0;
  }

  .nav-list {
    gap: 0;
  }

  .nav-link {
    padding: 8px 5px;
    font-size: 0.8125rem;
  }

  .nav-link::after {
    left: 5px;
    right: 5px;
    bottom: 2px;
  }

  .site-header .logo {
    padding-right: 12px;
  }

  .header-cta {
    padding-inline: 14px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    inset: calc(var(--header-h) + 3px) 0 0 0;
    z-index: 99;
    margin: 0;
    padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--border);
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 4px;
    font-size: 1.125rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    color: var(--red);
  }

  .mobile-nav-extra {
    display: grid;
    gap: 14px;
    margin-top: 28px;
  }

  .mobile-nav-extra .btn {
    width: 100%;
  }

  .mobile-nav-extra p {
    font-size: 0.875rem;
    text-align: center;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 860px) {
  /* Sur mobile, la barre CTA fixe en bas remplace le bouton du header */
  .header-cta {
    display: none;
  }
}

/* Méga-menu
   -------------------------------------------------------------------------- */
.mega-top {
  display: flex;
  align-items: center;
}

.mega-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0;
  color: var(--navy);
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.mega-toggle .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.has-mega.is-open .mega-toggle .icon {
  transform: rotate(180deg);
}

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

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  color: var(--heading);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.2s var(--ease);
}

.mega-link:hover,
.mega-link[aria-current="page"] {
  background: var(--blue-light);
}

.mega-link-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid #dce6f6;
  border-radius: 10px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.mega-link:hover .mega-link-icon,
.mega-link[aria-current="page"] .mega-link-icon {
  color: var(--white);
  background: var(--navy);
}

.mega-link-icon .icon {
  width: 20px;
  height: 20px;
}

.mega-link-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mega-link-text strong {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.mega-link-text small {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text);
}

.mega-col-title {
  margin: 0 0 8px;
  padding-inline: 12px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

@media (min-width: 1024px) {
  .mega-top {
    position: relative;
  }

  /* Pont invisible entre le lien et le panneau, pour garder le survol */
  .mega-top::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 36px;
  }

  .has-mega .nav-link {
    padding-right: 2px;
  }

  .has-mega .nav-link::after {
    right: 2px;
  }

  .mega-toggle {
    width: 22px;
    height: 32px;
    margin-right: 4px;
  }

  .mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h) - 3px);
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 34px 60px -28px rgba(0, 27, 73, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }

  .has-mega.is-open .mega-panel,
  .no-js .has-mega:focus-within .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
  }

  .mega-inner {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 44px);
    padding-block: 28px 32px;
  }

  .mega-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px;
    overflow: hidden;
    color: #c8d4ea;
    background:
      radial-gradient(320px 200px at 100% 110%, rgba(191, 10, 48, 0.4), transparent 70%),
      linear-gradient(150deg, var(--navy) 0%, var(--navy-ink) 100%);
    border-radius: 16px;
  }

  .mega-link-text strong,
  .mega-link-text small,
  .mega-col-title,
  .mega-more,
  .mega-intro .mega-eyebrow,
  .nav-link {
    white-space: nowrap;
  }

  .mega-intro p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .mega-intro .mega-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffb3c1;
  }

  .mega-intro .mega-title {
    margin-block: 10px;
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
  }

  .mega-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
  }

  .mega-more .icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
  }

  .mega-more:hover .icon {
    transform: translateX(4px);
  }
}

@media (min-width: 1024px) and (hover: hover) {
  .has-mega:hover:not(.is-dismissed) .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
  }

  .has-mega:hover:not(.is-dismissed) .mega-toggle .icon {
    transform: rotate(180deg);
  }
}

@media (min-width: 1024px) and (max-width: 1359px) {
  .has-mega .nav-link {
    padding-right: 2px;
  }

  .has-mega .nav-link::after {
    right: 2px;
  }

  .mega-inner {
    grid-template-columns: minmax(296px, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .mega-intro {
    padding: 22px 20px;
  }

  .mega-toggle {
    width: 16px;
    margin-right: 1px;
  }

  .mega-toggle .icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 1023px) {
  .mega-top .nav-link {
    flex: 1;
    min-width: 0;
  }

  .mega-toggle {
    width: 48px;
    height: 48px;
  }

  .mega-toggle .icon {
    width: 20px;
    height: 20px;
  }

  .mega-panel {
    display: none;
    padding-bottom: 12px;
  }

  .has-mega.is-open .mega-panel {
    display: block;
  }

  .mega-inner {
    display: grid;
    gap: 18px;
    padding: 0;
  }

  .mega-intro {
    display: none;
  }

  .mega-list li,
  .nav-list .mega-list li {
    border-bottom: 0;
  }

  .mega-link {
    padding: 10px 4px;
  }

  .mega-col-title {
    padding-inline: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mega-panel,
  .mega-toggle .icon,
  .mega-link,
  .mega-link-icon,
  .mega-more .icon {
    transition: none !important;
  }
}

/* 4. Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 104px);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(0, 40, 104, 0.09), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(191, 10, 48, 0.05), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fd 100%);
}

.hero::before {
  /* Trame d'étoiles très discrète */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 340px;
  background-image: radial-gradient(rgba(0, 40, 104, 0.14) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
  mask-image: linear-gradient(160deg, #000 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-badge {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 5px;
  font-size: clamp(2.375rem, 1.3rem + 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--navy-deep);
}

.hl-red {
  color: var(--red);
}

.hl-underline {
  position: relative;
  white-space: nowrap;
  color: var(--navy);
}

.hl-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.14em;
  background: linear-gradient(90deg, var(--navy) 0 33%, #c9d5ea 33% 66%, var(--red) 66% 100%);
  border-radius: 4px;
  opacity: 0.9;
}

.hero-lead {
  max-width: 560px;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.7;
}

.hero .btn-row {
  margin-top: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--heading);
}

.hero-trust .icon {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.hero-visual {
  position: relative;
}

.hero-photo {
  position: relative;
  aspect-ratio: 1400 / 1250;
  overflow: hidden;
  border-radius: 24px;
  /* Fondu blanc sur les bords pour intégrer la photo au fond */
  -webkit-mask-image: radial-gradient(130% 120% at 70% 35%, #000 55%, transparent 100%);
  mask-image: radial-gradient(130% 120% at 70% 35%, #000 55%, transparent 100%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(0, 40, 104, 0) 40%, rgba(0, 27, 73, 0.25) 100%);
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 16px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.float-card-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 12px;
}

.float-card-icon .icon {
  width: 22px;
  height: 22px;
}

.float-card-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-deep);
}

.float-card-text {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--text);
}

.float-card--main {
  left: -28px;
  bottom: 9%;
}

.float-card--sources {
  top: 7%;
  right: -12px;
  padding: 12px 16px 12px 12px;
}

.float-card--sources .float-card-icon {
  width: 38px;
  height: 38px;
  color: var(--red);
  background: #fdecef;
}

.float-card--sources .float-card-icon .icon {
  width: 19px;
  height: 19px;
}

.float-card--sources .float-card-title {
  font-size: 0.875rem;
}

.float-card--sources .float-card-text {
  font-size: 0.8125rem;
}

.hero-visual .star-deco--1 {
  top: -14px;
  left: 18%;
}

.hero-visual .star-deco--2 {
  bottom: -18px;
  right: 22%;
  width: 10px;
  height: 10px;
  color: var(--navy);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 680px;
  }

  .hero-visual {
    max-width: 680px;
  }

  .float-card--main {
    left: 16px;
  }

  .float-card--sources {
    right: 16px;
  }
}

@media (max-width: 560px) {
  .hero .btn-row .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
  }

  .hero-photo {
    aspect-ratio: 4 / 3.4;
    border-radius: 18px;
  }

  .float-card {
    padding: 12px 14px 12px 12px;
  }

  .float-card--main {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .float-card--sources {
    display: none;
  }
}

/* 5. Bandeau sources officielles
   ========================================================================== */
.sources-strip {
  background: var(--white);
  border-block: 1px solid var(--border);
}

.sources-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 22px;
}

.sources-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--heading);
}

.sources-label .icon {
  color: var(--navy);
}

.sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.2s, background-color 0.2s;
}

.source-pill small {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
}

.source-pill .icon {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.source-pill:hover {
  background: var(--blue-light);
  border-color: var(--border-strong);
}

.sources-review {
  width: 100%;
  font-size: 0.8125rem;
  color: #64748b;
}

/* 6. Voies Green Card
   ========================================================================== */
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.path-card {
  padding: 30px 26px 26px;
  overflow: hidden;
}

.path-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  background: var(--red);
  border-radius: 0 0 3px 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.path-card:hover::before {
  transform: scaleX(1);
}

.icon-tile {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid #dce6f6;
  border-radius: 14px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.icon-tile .icon {
  width: 24px;
  height: 24px;
}

.card:hover .icon-tile {
  color: var(--white);
  background: var(--navy);
}

.path-card h3 {
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 800;
}

.path-card p {
  margin-top: 12px;
  font-size: 0.96875rem;
  line-height: 1.65;
}

.path-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.path-card-tag {
  position: absolute;
  top: 30px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding: 26px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.section-foot .note {
  max-width: 560px;
}

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

@media (max-width: 600px) {
  .path-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-foot {
    padding: 22px;
  }

  .section-foot .btn-row,
  .section-foot .btn {
    width: 100%;
  }
}

/* 7. Timeline des démarches
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.timeline::before {
  /* Ligne de progression */
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc((100% - 90px) / 6 - 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 60%, var(--red) 100%);
  opacity: 0.2;
}

.timeline::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc((100% - 90px) / 6 - 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--red) 100%);
  transform: scaleX(var(--progress, 1));
  transform-origin: left;
  transition: transform 1.6s var(--ease);
}

.js .timeline:not(.is-visible)::after {
  --progress: 0;
}

.step {
  position: relative;
  z-index: 1;
}

.step-marker {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
  background: var(--navy);
  border: 4px solid var(--blue-light);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 40, 104, 0.15);
}

.step:last-child .step-marker {
  background: var(--red);
}

.step-card {
  margin-top: 22px;
  padding: 24px 20px;
  height: calc(100% - 78px);
}

.step-card .step-icon {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.step-card h3 {
  margin-top: 16px;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.3;
}

.step-card p {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.timeline-note {
  margin-top: 36px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius-sm);
}

.timeline-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

@media (max-width: 1199px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 720px;
    margin-inline: auto;
  }

  .timeline::before,
  .timeline::after {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--navy) 0%, var(--red) 100%);
  }

  .timeline::after {
    transform: scaleY(var(--progress, 1));
    transform-origin: top;
  }

  .step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 18px;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step-card {
    margin-top: 0;
    height: auto;
  }
}

@media (max-width: 480px) {
  .step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .step-marker {
    width: 44px;
    height: 44px;
    font-size: 0.9375rem;
    border-width: 3px;
  }

  .timeline::before,
  .timeline::after {
    left: 21px;
    top: 22px;
    bottom: 22px;
  }

  .timeline-cta .btn {
    width: 100%;
  }
}

/* 8. Nationalité américaine
   ========================================================================== */
.section--navy {
  overflow: hidden;
  color: #c8d4ea;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(191, 10, 48, 0.16), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(40, 90, 170, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--navy .eyebrow {
  color: #ff8fa3;
}

.citizen-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.citizen-visual {
  position: relative;
}

.citizen-photo {
  position: relative;
  aspect-ratio: 800 / 940;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.citizen-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.citizen-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 17, 46, 0.55) 100%);
}

.citizen-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--white);
  background: rgba(0, 17, 46, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.citizen-caption .icon {
  color: #ff8fa3;
}

.citizen-frame {
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  pointer-events: none;
}

.citizen-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.citizen-badge .icon {
  width: 16px;
  height: 16px;
  color: #ff8fa3;
}

.citizen-content .section-lead {
  color: #c8d4ea;
}

.citizen-points {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.citizen-point {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.citizen-point:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.citizen-point-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.citizen-point-icon .icon {
  width: 21px;
  height: 21px;
}

.citizen-point h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

.citizen-point p {
  margin-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.citizen-warning {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  font-size: 0.9375rem;
  color: #c8d4ea;
}

.citizen-warning .icon {
  margin-top: 3px;
  color: #ff8fa3;
}

.citizen-warning strong {
  font-weight: 500;
  color: var(--white);
}

.citizen-content .btn-row {
  margin-top: 32px;
}

@media (max-width: 960px) {
  .citizen-grid {
    grid-template-columns: 1fr;
  }

  .citizen-visual {
    order: 2;
    max-width: 560px;
  }

  .citizen-photo {
    aspect-ratio: 4 / 3;
  }

  .citizen-frame {
    display: none;
  }
}

@media (max-width: 560px) {
  .citizen-content .btn-row .btn {
    width: 100%;
  }
}

/* 9. Installation
   ========================================================================== */
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.life-card {
  flex-direction: row;
  gap: 20px;
  padding: 28px 26px;
}

.life-card .icon-tile {
  width: 50px;
  height: 50px;
}

.life-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
}

.life-card p {
  margin-top: 8px;
  font-size: 0.96875rem;
}

.life-card-body {
  display: flex;
  flex-direction: column;
}

.life-card .soon-tag,
.life-card .text-link {
  margin-top: 14px;
}

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

@media (max-width: 640px) {
  .life-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .life-card {
    padding: 22px 20px;
    gap: 16px;
  }
}

/* 10. Atouts
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.why-intro .section-head {
  margin-bottom: 32px;
}

.why-intro .stripe-rule {
  margin-bottom: 28px;
}

.why-disclaimer {
  padding: 20px 22px;
  background: var(--blue-light);
  border: 1px solid #dce6f6;
  border-radius: var(--radius);
}

.why-disclaimer strong {
  font-weight: 500;
  color: var(--heading);
}

.why-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.why-item {
  padding: 30px 28px;
}

.why-item .icon-tile {
  color: var(--red);
  background: #fdecef;
  border-color: #f9d5dc;
}

.card.why-item:hover .icon-tile {
  color: var(--white);
  background: var(--red);
}

.why-item h3 {
  margin-top: 22px;
  font-size: 1.1875rem;
  font-weight: 800;
}

.why-item p {
  margin-top: 10px;
  font-size: 0.96875rem;
}

@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .why-items {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-item {
    padding: 24px 22px;
  }
}

/* 11. Guides
   ========================================================================== */
.guides-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.guides-head .section-head {
  margin-bottom: 0;
}

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

.guide-card {
  overflow: hidden;
}

.guide-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-light);
}

.guide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.guide-card:hover .guide-media img {
  transform: scale(1.05);
}

.guide-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.guide-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 28px;
}

.guide-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #64748b;
}

.guide-meta .icon {
  width: 15px;
  height: 15px;
}

.guide-card h3 {
  margin-top: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.guide-card h3 a {
  color: inherit;
}

.guide-card h3 a::after {
  /* Rend toute la carte cliquable */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.guide-card h3 a:focus-visible {
  outline: none;
}

.guide-card:has(h3 a:focus-visible) {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.guide-card p {
  margin-top: 12px;
  font-size: 0.96875rem;
}

.guide-card .text-link {
  margin-top: auto;
  padding-top: 20px;
}

.guide-card:hover .text-link {
  color: var(--red);
}

.guide-card:hover .text-link .icon {
  transform: translateX(4px);
}

.guide-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.guide-grid--4 .guide-body {
  padding: 22px 22px 24px;
}

.guide-grid--4 .guide-card h3 {
  font-size: 1.125rem;
}

@media (max-width: 1024px) {
  .guide-grid,
  .guide-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .guide-grid,
  .guide-grid--4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .guides-head .btn {
    width: 100%;
  }
}

/* 12. FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-aside .section-head {
  margin-bottom: 28px;
}

.faq-help {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.faq-help h3 {
  font-size: 1.125rem;
  font-weight: 800;
}

.faq-help p {
  margin-top: 8px;
  font-size: 0.9375rem;
}

.faq-help .btn {
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item.is-open {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  font-size: inherit;
  letter-spacing: normal;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 64px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: var(--heading);
  background: none;
  border: 0;
  border-radius: var(--radius);
}

.faq-trigger:hover {
  color: var(--navy);
}

.faq-chevron {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--navy);
  background: var(--blue-light);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s;
}

.faq-chevron .icon {
  width: 18px;
  height: 18px;
}

.faq-item.is-open .faq-chevron {
  color: var(--white);
  background: var(--red);
  transform: rotate(180deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.js .faq-panel {
  grid-template-rows: 0fr;
}

.js .faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-answer {
  padding: 0 24px 24px;
  font-size: 1rem;
}

.faq-answer p + p,
.faq-answer p + ul,
.faq-answer ul + p {
  margin-top: 12px;
}

.faq-answer ul {
  display: grid;
  gap: 6px;
  padding-left: 0;
}

.faq-answer li {
  position: relative;
  padding-left: 20px;
}

.faq-answer li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 4px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.faq-answer a {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(0, 40, 104, 0.35);
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}

@media (max-width: 960px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-aside {
    position: static;
  }

  .faq-help {
    display: none;
  }
}

@media (max-width: 560px) {
  .faq-trigger {
    padding: 18px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 18px 20px;
    font-size: 0.96875rem;
  }
}

/* 13. CTA final
   ========================================================================== */
.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 140px);
  color: #d5deee;
  text-align: center;
  background: var(--navy-deep);
  isolation: isolate;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.final-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 360px at 50% 110%, rgba(191, 10, 48, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(0, 27, 73, 0.9) 0%, rgba(0, 27, 73, 0.84) 50%, rgba(0, 17, 46, 0.95) 100%);
}

.final-cta-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--white);
}

.final-cta-stars svg {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.final-cta-stars svg:nth-child(2) {
  color: #ff8fa3;
  width: 18px;
  height: 18px;
  margin-top: -2px;
  opacity: 1;
}

.final-cta h2 {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.final-cta p {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.final-cta .btn-row {
  justify-content: center;
  margin-top: 38px;
}

.final-cta-note {
  margin-top: 26px !important;
  font-size: 0.875rem !important;
  color: #a9b8d3;
}

@media (max-width: 560px) {
  .final-cta .btn-row .btn {
    width: 100%;
  }
}

/* 14. Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-item .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.contact-item .icon-tile .icon {
  width: 20px;
  height: 20px;
}

.contact-item-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.contact-item-value {
  display: block;
  margin-top: 2px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--heading);
  word-break: break-word;
}

a.contact-item-value:hover {
  color: var(--red);
}

.demo-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: #7a4b00;
  background: #fff7e6;
  border: 1px solid #f6dfae;
  border-radius: 8px;
}

.demo-flag .icon {
  width: 16px;
  height: 16px;
}

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.375rem;
  font-weight: 800;
}

.contact-form > p {
  margin-top: 8px;
  font-size: 0.9375rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--heading);
}

.field label span[aria-hidden="true"] {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font-size: 1rem;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23002868' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(0, 40, 104, 0.12);
}

.field [aria-invalid="true"] {
  border-color: var(--red);
}

.field-error {
  font-size: 0.8125rem;
  color: var(--red);
}

.field-error:empty {
  display: none;
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.55;
  cursor: pointer;
}

.checkbox input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin-top: 1px;
  accent-color: var(--navy);
}

.form-footer {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.form-footer .btn {
  width: 100%;
}

.form-disclaimer {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748b;
}

.form-status {
  padding: 14px 16px;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: #0c5132;
  background: #e8f7ef;
  border: 1px solid #bfe6d0;
}

.form-status.is-info {
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid #d0ddf2;
}

.form-status.is-error {
  color: var(--red-dark);
  background: #fdecef;
  border: 1px solid #f6c9d2;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* 15. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  color: #a9b8d3;
  background: var(--navy-ink);
  font-size: 0.9375rem;
}

.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 33.3%, #ffffff 33.3% 66.6%, var(--red) 66.6% 100%);
  opacity: 0.9;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: clamp(56px, 7vw, 88px) 48px;
}

.site-footer .logo-name {
  color: var(--white);
}

.site-footer .logo-name em {
  color: #ff8fa3;
}

.site-footer .logo-tagline {
  display: flex;
  color: #d9b86c;
}

.footer-about p {
  max-width: 360px;
  margin-top: 20px;
  line-height: 1.7;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #ff8fa3;
}

.footer-contact a {
  color: var(--white);
}

.footer-contact a:hover {
  color: #ff8fa3;
}

.footer-demo {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: #8496b8;
}

.footer-col h2 {
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 4px;
}

.footer-links a,
.footer-links span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #a9b8d3;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links span {
  gap: 8px;
  color: #7f91b3;
}

.footer-links span small {
  padding: 2px 7px;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: #a9b8d3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.footer-disclaimer {
  display: flex;
  gap: 14px;
  padding: 22px 24px;
  color: #c8d4ea;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.footer-disclaimer .icon {
  margin-top: 2px;
  color: #ff8fa3;
}

.footer-disclaimer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 32px;
  padding-block: 24px 32px;
  font-size: 0.875rem;
  color: #8496b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

/* 16. Barre CTA mobile
   ========================================================================== */
.mobile-cta {
  display: none;
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom));
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 30px -12px rgba(0, 27, 73, 0.22);
  }

  .mobile-cta .btn {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 0.96875rem;
  }

  .mobile-cta .btn .icon {
    width: 19px;
    height: 19px;
  }

  .mobile-cta .btn--primary {
    box-shadow: none;
  }

  .mobile-cta .btn:hover {
    transform: none;
  }

  /* Le menu mobile ouvert passe au-dessus de la barre */
  body.nav-open .mobile-cta {
    visibility: hidden;
  }
}

/* 17. Animations & préférences utilisateur
   ========================================================================== */
/* Hero : animation CSS immédiate (pas d'attente du JS, LCP préservé) */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.hero-content > * {
  animation: rise 0.9s var(--ease) both;
}

.hero-content > :nth-child(2) {
  animation-delay: 0.06s;
}

.hero-content > :nth-child(3) {
  animation-delay: 0.12s;
}

.hero-content > :nth-child(4) {
  animation-delay: 0.18s;
}

.hero-content > :nth-child(5) {
  animation-delay: 0.24s;
}

.float-card {
  animation: rise 1s var(--ease) 0.35s both;
}

.float-card--sources {
  animation-delay: 0.5s;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .btn:hover {
    transform: none;
  }

  .js .timeline:not(.is-visible)::after {
    --progress: 1;
  }
}

@media print {
  .site-header,
  .mobile-cta,
  .final-cta,
  .contact-form {
    display: none;
  }
}
