/* ═══════════════════════════════════════════════════════════════
   PORTAIL LRE — GOUVERNEMENT FRANÇAIS
   Système de Design inspiré du DSFR (Système de Design de l'État)
   Police : Marianne (officielle) + Inter
═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Couleurs officielles gouvernement français */
  --gov-blue:        #003189;
  --gov-blue-dark:   #00217a;
  --gov-blue-mid:    #1563c3;
  --gov-blue-light:  #e8f0fb;
  --gov-red:         #e1000f;
  --gov-white:       #ffffff;

  /* Neutrals */
  --gray-50:  #f6f6f6;
  --gray-100: #ededed;
  --gray-200: #dfdfdf;
  --gray-400: #929292;
  --gray-600: #5b5b5b;
  --gray-800: #2a2a2a;
  --gray-900: #161616;

  /* Accent */
  --accent-gold:   #c59f2a;
  --accent-green:  #1f8d49;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,49,137,.06);
  --shadow-sm:  0 2px 8px rgba(0,49,137,.10);
  --shadow-md:  0 6px 24px rgba(0,49,137,.14);
  --shadow-lg:  0 16px 48px rgba(0,49,137,.18);
  --shadow-xl:  0 32px 80px rgba(0,49,137,.22);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  /* Spacing */
  --container-max: 1260px;
  --section-py:    96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Marianne', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gov-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}
a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: var(--gov-blue); }
ul { list-style: none; }

/* ─── TRICOLOR FLAG ─── */
.tricolor-flag {
  display: flex;
  width: 32px;
  height: 22px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.tricolor-flag--sm { width: 24px; height: 17px; }
.flag-blue  { flex: 1; background: #002395; }
.flag-white { flex: 1; background: #ffffff; }
.flag-red   { flex: 1; background: #ED2939; }

/* ═══════════════════════════════════════════════════════════════
   GOV TOPBAR
═══════════════════════════════════════════════════════════════ */
.gov-topbar {
  background: var(--gov-white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(0,49,137,.06);
}
.gov-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 20px;
}
.gov-topbar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.gov-topbar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.marianne-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}
.gov-topbar__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.gov-topbar__republic {
  font-size: 11px;
  font-weight: 700;
  color: var(--gov-blue);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.gov-topbar__francaise {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.gov-topbar__divider {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
  flex-shrink: 0;
}
.gov-topbar__portal-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gov-topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.gov-topbar__link {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 400;
  transition: color .2s;
}
.gov-topbar__link:hover { color: var(--gov-blue); }
.gov-btn-connect {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--gov-blue);
  color: var(--gov-white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition: background .2s, transform .15s;
}
.gov-btn-connect:hover {
  background: var(--gov-blue-dark);
  color: var(--gov-white);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   MAIN HEADER / NAV
═══════════════════════════════════════════════════════════════ */
.main-header {
  background: var(--gov-white);
  border-bottom: 3px solid var(--gov-blue);
  position: sticky;
  top: 56px;
  z-index: 199;
  box-shadow: 0 2px 12px rgba(0,49,137,.08);
}
.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-link {
  display: block;
  padding: 16px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--gov-blue);
  transition: left .25s var(--ease-out), right .25s var(--ease-out);
  transform: translateY(3px);
}
.nav-link:hover,
.nav-link--active { color: var(--gov-blue); }
.nav-link:hover::after,
.nav-link--active::after { left: 0; right: 0; }

/* ─── BUTTONS ─── */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gov-blue-mid) 0%, var(--gov-blue) 100%);
  color: var(--gov-white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,49,137,.3);
  transition: transform .2s var(--ease-out), box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity .2s;
}
.cta-primary:hover {
  color: var(--gov-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,49,137,.38);
}
.cta-primary:hover::before { opacity: 1; }
.cta-primary:active { transform: translateY(0); }
.cta-primary--sm { padding: 8px 18px; font-size: 13px; }

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--gov-blue);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--gov-blue);
  transition: background .2s, color .2s, transform .2s var(--ease-out);
}
.cta-secondary:hover {
  background: var(--gov-blue-light);
  transform: translateY(-2px);
  color: var(--gov-blue);
}

.cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gov-white);
  color: var(--gov-blue);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  color: var(--gov-blue);
}

.cta-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: var(--gov-white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.6);
  transition: background .2s, border-color .2s, transform .2s;
}
.cta-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.9);
  color: var(--gov-white);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(145deg, #001a6e 0%, #003189 40%, #1563c3 75%, #2a7de1 100%);
  color: var(--gov-white);
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px;
}
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,.012) 60px,
      rgba(255,255,255,.012) 61px
    );
  pointer-events: none;
}
/* Particles */
.hero__particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
  animation: float 8s ease-in-out infinite;
}
.particle--1 { width: 180px; height: 180px; background: var(--gov-white); top: -60px; right: 15%; animation-delay: 0s; }
.particle--2 { width: 100px; height: 100px; background: var(--gov-white); top: 40%; left: -30px; animation-delay: 2s; }
.particle--3 { width: 60px; height: 60px; background: var(--gov-white); bottom: 20%; right: 8%; animation-delay: 4s; }
.particle--4 { width: 200px; height: 200px; background: rgba(21,99,195,.6); bottom: -80px; left: 30%; animation-delay: 1s; }
.particle--5 { width: 80px; height: 80px; background: var(--gov-white); top: 15%; left: 40%; animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.04); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__inner--centered {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero__inner--centered .hero__badge { margin: 0 auto 24px; }
.hero__inner--centered .hero__subtitle { margin-left: auto; margin-right: auto; max-width: 580px; }
.hero__inner--centered .hero__actions { justify-content: center; }
.hero__inner--centered .hero__trust { justify-content: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  color: rgba(255,255,255,.9);
  margin-bottom: 24px;
  width: fit-content;
}
.hero__title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  color: var(--gov-white);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero__title-highlight {
  background: linear-gradient(90deg, #ffd166, #ffb703);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
/* MOCK CARD */
.hero__visual { display: flex; flex-direction: column; gap: 20px; }
.hero__card-mock {
  background: var(--gov-white);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
}
.mock-header {
  background: var(--gray-50);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gray-200);
}
.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }
.mock-title { font-size: 12px; font-weight: 600; color: var(--gray-600); }
.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mock-field label { display: block; font-size: 11px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.mock-input {
  padding: 10px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 13px;
  color: var(--gray-800);
}
.mock-input--filled { background: var(--gov-blue-light); border-color: var(--gov-blue); color: var(--gov-blue); font-weight: 500; }
.mock-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: 6px;
  font-size: 12px;
  color: var(--gray-600);
}
.mock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-green);
  font-weight: 500;
}
.mock-status__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.mock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, var(--gov-blue-mid), var(--gov-blue));
  color: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
/* STATS */
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.stat-value { display: block; font-size: 22px; font-weight: 800; color: var(--gov-white); margin-bottom: 4px; }
.stat-label { font-size: 11px; color: rgba(255,255,255,.7); line-height: 1.3; }
/* WAVE */
.hero__wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  pointer-events: none;
}
.hero__wave svg { width: 100%; height: 100%; display: block; }

/* ═══════════════════════════════════════════════════════════════
   FRANCECONNECT BANNER
═══════════════════════════════════════════════════════════════ */
.fc-banner {
  background: linear-gradient(90deg, #f0f5ff 0%, #e8f0fb 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.fc-banner__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.fc-banner__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 240px;
}
.fc-banner__text strong { font-size: 14px; color: var(--gray-900); }
.fc-banner__text span  { font-size: 12px; color: var(--gray-600); }
.fc-banner__logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fc-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--gray-600);
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s;
}
.fc-logo:hover { transform: translateY(-2px); }
.fc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  background: linear-gradient(135deg, #003189, #1563c3);
  color: white;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .04em;
  border-radius: 4px;
}
.fc-icon--sm { font-size: 10px; padding: 2px 6px; }
.fc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--gov-blue-mid), var(--gov-blue));
  color: white;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.fc-cta:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION SHARED UTILITIES
═══════════════════════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: var(--gov-blue-light);
  color: var(--gov-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag--light { background: rgba(255,255,255,.2); color: var(--gov-white); }
.section-title { font-size: clamp(24px, 3vw, 38px); font-weight: 800; margin-bottom: 16px; }
.section-title--light { color: var(--gov-white); }
.section-subtitle { font-size: 17px; color: var(--gray-600); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.section-subtitle--light { color: rgba(255,255,255,.8); }

/* ═══════════════════════════════════════════════════════════════
   STEPS SECTION
═══════════════════════════════════════════════════════════════ */
.steps-section { padding: var(--section-py) 0; background: var(--gray-50); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.step-card {
  background: var(--gov-white);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gov-blue-mid), var(--gov-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.step-card:hover::before { transform: scaleX(1); }
.step-number {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 42px;
  font-weight: 900;
  color: var(--gov-blue-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.step-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gov-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gov-blue);
  transition: background .3s, color .3s;
}
.step-card:hover .step-icon {
  background: var(--gov-blue);
  color: var(--gov-white);
}
.step-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.step-desc { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  flex-shrink: 0;
}
.step-connector::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--gov-blue) 0%, var(--gov-blue-mid) 100%);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   ADVANTAGES SECTION
═══════════════════════════════════════════════════════════════ */
.advantages-section { padding: var(--section-py) 0; background: var(--gov-white); }
.advantages-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.advantage-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 32px;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gov-blue-mid);
}
.advantage-card--primary {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(145deg, #003189 0%, #1563c3 100%);
  color: white;
  border: none;
}
.advantage-card--primary h3,
.advantage-card--primary p { color: white; }
.advantage-card--primary .advantage-card__icon { background: rgba(255,255,255,.15); color: white; }
.advantage-card--primary:hover { background: linear-gradient(145deg, #00217a 0%, #0f55b5 100%); }
.advantage-card__icon {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: var(--gov-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gov-blue);
  transition: background .3s;
}
.advantage-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.advantage-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
.advantage-card--primary p { color: rgba(255,255,255,.82); }
.advantage-card__badge {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 12px;
  background: rgba(255,255,255,.2);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
}

/* ═══════════════════════════════════════════════════════════════
   SEND CTA SECTION
═══════════════════════════════════════════════════════════════ */
.send-section {
  padding: var(--section-py) 0;
  background: linear-gradient(145deg, #001a6e 0%, #003189 50%, #1563c3 100%);
  position: relative;
  overflow: hidden;
}
.send-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.05) 0%, transparent 60%),
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px);
  pointer-events: none;
}
.send-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.send-actions { display: flex; align-items: center; gap: 16px; margin: 36px 0 20px; flex-wrap: wrap; }
.send-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}
.send-image {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  display: block;
  margin: 0 auto;
  animation: floatCard 7s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   SECURITY SECTION
═══════════════════════════════════════════════════════════════ */
.security-section { padding: var(--section-py) 0; background: var(--gray-50); }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.cert-card {
  background: var(--gov-white);
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gov-blue);
}
.cert-card__seal {
  width: 64px; height: 64px;
  background: var(--gov-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.cert-card__label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gov-blue);
  margin-bottom: 6px;
  display: block;
}
.cert-card__title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.cert-card__desc  { font-size: 13px; color: var(--gray-600); line-height: 1.6; }
.security-infra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: var(--gov-white);
  border-radius: 12px;
  border: 1px solid var(--gray-100);
}
.infra-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}
.infra-item svg { color: var(--gov-blue); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════════════════════════ */
.faq-section { padding: var(--section-py) 0; background: var(--gov-white); }
.faq-grid { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--gov-blue);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  transition: color .2s;
}
.faq-question:hover { color: var(--gov-blue); }
.faq-chevron { flex-shrink: 0; transition: transform .3s var(--ease-out); color: var(--gray-400); }
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--gov-blue);
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-answer[hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════════
   PARTNERS SECTION
═══════════════════════════════════════════════════════════════ */
.partners-section {
  padding: 60px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.partners-title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-400);
  margin-bottom: 36px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
  transition: transform .2s;
}
.partner-logo:hover { transform: translateY(-2px); }
.partner-logo__box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--gov-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gov-blue);
  letter-spacing: .06em;
  min-width: 80px;
  box-shadow: var(--shadow-xs);
}
.partner-logo span {
  font-size: 10px;
  color: var(--gray-400);
  text-align: center;
  max-width: 120px;
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.main-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__brand-logo strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gov-white);
  line-height: 1.2;
}
.footer__brand-logo span {
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
.footer__brand-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
  max-width: 300px;
}
.footer__legal-mention {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.footer__legal-mention a {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer__col ul li a:hover { color: var(--gov-white); }
.footer__bottom {
  padding: 20px 0;
  background: rgba(0,0,0,.2);
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.footer__bottom-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__badge {
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 560px; margin: 0 auto; }
  .hero__stats  { grid-template-columns: repeat(3, 1fr); }
  .steps-grid   { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-connector { display: none; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .advantage-card--primary { grid-column: 1 / -1; grid-row: auto; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .send-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .gov-topbar__portal-name { display: none; }
  .gov-topbar__right .gov-topbar__link { display: none; }
  .main-nav { display: none; }
  .main-header__inner { justify-content: flex-end; }
  .hero { padding: 60px 0 100px; }
  .hero__stats { grid-template-columns: 1fr; gap: 10px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .security-infra { gap: 20px; }
  .fc-banner__inner { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .partners-logos { gap: 24px; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .send-actions { flex-direction: column; align-items: flex-start; }
  .hero__trust { gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--data-index, 0) * 80ms);
}
[data-index="1"] { transition-delay: 80ms; }
[data-index="2"] { transition-delay: 160ms; }
[data-index="3"] { transition-delay: 240ms; }
[data-index="4"] { transition-delay: 320ms; }
[data-index="5"] { transition-delay: 400ms; }

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(92vw, 780px);
  animation: slideUp .5s var(--ease-out) forwards;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
#cookie-banner.cookie-banner--hide {
  animation: slideDown .4s var(--ease-in-out) forwards;
}
@keyframes slideDown {
  to { opacity: 0; transform: translateX(-50%) translateY(20px); }
}
.cookie-inner {
  background: var(--gov-white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,49,137,.18);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-inner svg { color: var(--gov-blue); flex-shrink: 0; }
.cookie-inner p { font-size: 13px; color: var(--gray-600); flex: 1; min-width: 200px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-700);
  transition: background .2s, border-color .2s;
}
.cookie-btn:hover { background: var(--gray-100); }
.cookie-btn--primary {
  background: var(--gov-blue);
  color: white;
  border-color: var(--gov-blue);
}
.cookie-btn--primary:hover { background: var(--gov-blue-dark); border-color: var(--gov-blue-dark); }
