:root {
  --navy: #0a2550;
  --navy-btn: #0b3166;
  --hero: #021f40;
  --blue: #1677ee;
  --blue-hover: #0f63cf;
  --icon: #1f63d8;
  --text: #1c2b40;
  --muted: #4a5a70;
  --line: #e2eaf5;
  --legal: #0b3d80;
  --footer: #04274f;
  --gold: #f2b705;
  --laurel: #c49a3c;
  --danger: #a1123a;
  --container: 1344px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: 180ms ease;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

svg[hidden] { display: none; }

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

button { cursor: pointer; }

a { color: inherit; }

h1, h2, h3, p, figure, blockquote { margin: 0; }

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus { top: 8px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.bar {
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: #2f8fe0;
}

/* Barre légale */

.legalbar {
  background: var(--legal);
  color: #fff;
  font-size: 11px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  padding: 7px 24px;
  text-align: center;
}

.legalbar strong { font-weight: 700; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 1px 0 rgba(10, 37, 80, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.logo {
  display: inline-flex;
  align-items: flex-start;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.logo span { color: var(--blue); }

.logo sup {
  font-size: 0.4em;
  font-weight: 600;
  margin-left: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: auto;
}

.nav-item { position: relative; }

.nav-btn,
.menu a,
.menu button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.menu a,
.menu button {
  width: 100%;
  justify-content: flex-start;
  font-weight: 500;
}

.nav-btn:hover,
.menu a:hover,
.menu button:hover { background: #f2f6fb; }

.nav-account { display: none; }

.chev {
  width: 7px;
  height: 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-btn[aria-expanded="true"] .chev { transform: translateY(1px) rotate(225deg); }

.menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(10, 37, 80, 0.12);
  z-index: 20;
}

.menu[hidden] { display: none; }

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

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn .icon { width: 18px; height: 18px; }

.btn-outline-navy {
  background: #fff;
  border-color: var(--navy-btn);
  color: var(--navy);
}

.btn-outline-navy:hover { background: #f0f5fc; }

.btn-navy {
  background: var(--navy-btn);
  border-color: var(--navy-btn);
  color: #fff;
}

.btn-navy:hover { background: #072653; }

.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn-blue:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

.btn-soft {
  background: #e3eaf3;
  border-color: #e3eaf3;
  color: var(--navy);
}

.btn-soft:hover { background: #d6e0ec; }

.btn-block { width: 100%; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.btn-link:hover { color: var(--blue); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d5dee8;
  border-radius: 8px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */

.hero {
  position: relative;
  background: var(--hero);
  color: #fff;
  overflow: hidden;
  display: flex;
  min-height: calc(100svh - var(--above-hero, 114px));
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(2, 31, 64, 0) 62%, rgba(2, 31, 64, 0.5) 84%, rgba(2, 31, 64, 0.8) 100%),
    linear-gradient(90deg, rgba(2, 31, 64, 0.86) 0%, rgba(2, 31, 64, 0.72) 30%, rgba(4, 44, 92, 0.4) 50%, rgba(6, 52, 110, 0.08) 72%, rgba(6, 52, 110, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 0 18px;
}

.hero h1 {
  margin-top: auto;
  font-size: clamp(38px, 3.9vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(2, 20, 45, 0.45);
}

.hero h1 .line {
  display: block;
  animation: hero-line 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero h1 .line:nth-child(2) { animation-delay: 110ms; }

.hero h1 .line:nth-child(3) { animation-delay: 220ms; }

.hero h1 .hl {
  font-style: normal;
  white-space: nowrap;
  background: linear-gradient(90deg, #5fb2ff 0%, #9fd2ff 50%, #5fb2ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: hero-shine 6s ease-in-out 900ms infinite;
}

@keyframes hero-line {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-shine {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

.hero .bar {
  width: 88px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--blue), #5fb2ff);
}

.hero-lead {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.search {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(818px, 100%);
  min-height: 76px;
  margin-top: 24px;
  padding: 12px 14px 12px 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.search:focus-within { box-shadow: 0 0 0 3px rgba(22, 119, 238, 0.5), 0 16px 40px rgba(0, 0, 0, 0.18); }

.search-icon { color: var(--navy); width: 24px; height: 24px; }

.search input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--navy);
}

.search input:focus { outline: none; }

.search input::placeholder { color: #4f5f74; }

.search .btn {
  min-height: 50px;
  min-width: 186px;
  border-radius: 7px;
}

.results {
  width: min(818px, 100%);
  margin-top: 10px;
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.results[hidden] { display: none; }

.results-head {
  padding: 12px 18px 8px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.results li + li { border-top: 1px solid var(--line); }

.result {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 12px 18px;
  border: 0;
  background: #fff;
  text-align: left;
  min-height: 64px;
}

.result:hover { background: #f4f8fd; }

.result strong { color: var(--navy); font-size: 16px; }

.result span { grid-column: 1; color: var(--muted); font-size: 14px; }

.result em {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #0f7a43;
  background: #e8f7ee;
  border-radius: 999px;
  padding: 4px 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.chip {
  min-height: 34px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(160, 190, 230, 0.55);
  background: rgba(14, 48, 96, 0.72);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--ease), color var(--ease);
}

.chip:hover,
.chip[aria-pressed="true"] {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.hero-offer {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.hero-offer strong { color: #fff; font-weight: 700; }

.hero-offer a {
  margin-left: 4px;
  color: #9fd2ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-offer a:hover { color: #fff; }

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: auto;
  padding-top: 22px;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 2px;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.stat .icon { width: 24px; height: 24px; margin-bottom: 6px; }

.stat strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 13.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.stat-text span { font-size: 15px; color: #fff; line-height: 1.3; margin-top: 2px; }

.stat-text strong { font-size: 15px; line-height: 1.3; }

/* Expertise */

.expertise { padding: 30px 0 34px; }

.expertise-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 36px;
  align-items: center;
}

.expert-copy h2 {
  color: var(--navy);
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.expert-copy .bar { margin-top: 18px; background: #2f86d8; }

.expert-copy p {
  margin-top: 18px;
  max-width: 440px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.expert-copy .btn { margin-top: 22px; min-width: 272px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 18px;
}

.card {
  min-height: 143px;
  padding: 22px 24px 20px;
  background: linear-gradient(160deg, #ffffff 0%, #f1f6fd 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(10, 37, 80, 0.05);
}

.card .icon { width: 30px; height: 30px; color: var(--icon); margin-bottom: 12px; }

.card h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.card p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* Offres */

/* Classements */

.rankings {
  padding: 40px 0 36px;
  background: #e9eef7;
}

.rankings h2 {
  text-align: center;
  color: var(--navy);
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 18px 0 24px;
}

.rank-tab {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy-btn);
  font: 600 13px/1 var(--font);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.rank-tab:hover { background: rgba(11, 49, 102, 0.08); }

.rank-tab[aria-selected="true"] {
  background: var(--navy-btn);
  color: #fff;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 6px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.rank-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 16px rgba(10, 37, 80, 0.08);
}

.rank-logo {
  display: grid;
  flex: 0 0 36px;
  height: 36px;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.rank-text { min-width: 0; }

.rank-name {
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.rank-value {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.rank-value strong { color: var(--navy); }

.rank-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* Régions */

.regions { padding: 44px 0 40px; }

.regions-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
}

.region-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.region-map path {
  stroke: #fff;
  stroke-width: 1.2;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill var(--ease), opacity var(--ease);
}

.region-map.is-hovering path { opacity: 0.55; }

.region-map path.is-active {
  opacity: 1;
  fill: var(--navy-btn) !important;
}

.region-copy h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.region-list {
  columns: 2;
  column-gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.region-list li { break-inside: avoid; }

.region-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: 600 14px/1.3 var(--font);
  text-align: left;
  cursor: pointer;
}

.region-link .icon {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--navy-btn);
  transition: transform var(--ease);
}

.region-link .count {
  color: var(--icon);
  font-weight: 400;
}

.region-link:hover strong,
.region-link.is-active strong { text-decoration: underline; text-underline-offset: 3px; }

.region-link:hover .icon,
.region-link.is-active .icon { transform: translateX(3px); }

.offres { padding: 36px 0 30px; }

.offres h2 {
  text-align: center;
  color: var(--navy);
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 28px auto 0;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px 28px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(10, 37, 80, 0.07);
}

.plan h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.plan h3 .icon { width: 24px; height: 24px; flex: 0 0 auto; color: var(--icon); }

.plan-desc br { display: none; }

.plan-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.price {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 14px;
  color: var(--navy);
  line-height: 1;
}

.amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price sup {
  top: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.price .per {
  align-self: center;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
}

.period {
  margin-top: 6px;
  font-size: 17px;
  color: var(--text);
}

.plan .btn {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  border-radius: 7px;
}

.plan .period { margin-bottom: 18px; }

.plan-popular {
  background: linear-gradient(160deg, #0c3d7b 0%, #072f63 55%, #04234d 100%);
  border-color: #0c3d7b;
  color: #fff;
  box-shadow: 0 16px 36px rgba(4, 35, 77, 0.3);
}

.plan-popular h3,
.plan-popular h3 .icon,
.plan-popular .price,
.plan-popular .plan-desc,
.plan-popular .period { color: #fff; }

.plan-unlimited {
  border: 2px solid var(--blue);
  box-shadow: 0 14px 32px rgba(22, 119, 238, 0.14);
}

.plan-unlimited .period strong { color: var(--navy); }

.badge {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--gold);
  color: #1b1403;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

/* Preuves */

.proof { padding: 30px 0 34px; }

.proof-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 1.15fr;
  align-items: center;
}

.proof-grid > * + * { border-left: 1px solid #d5dfeb; }

.testimonial {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  padding-right: 40px;
}

.testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.testimonial blockquote p {
  color: var(--navy);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.quote-mark {
  color: var(--icon);
  font-size: 44px;
  font-weight: 800;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 4px;
}

.testimonial figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.testimonial figcaption strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

.metric {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 157px;
}

.laurel {
  width: 170px;
  height: 157px;
  color: var(--laurel);
}

.metric-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  text-align: center;
}

.metric-text strong {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.metric-text span {
  margin-top: 2px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
}

.about-blurb { padding-left: 40px; }

.about-blurb h2 {
  color: var(--navy);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.about-blurb p {
  margin-top: 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

/* Footer */

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.88);
  padding-top: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 290px;
  gap: 24px;
  padding-bottom: 30px;
}

.site-footer .logo { color: #fff; font-size: 30px; }

.footer-brand p {
  margin-top: 14px;
  max-width: 260px;
  font-size: 14px;
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.socials button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
}

.socials button + button { margin-left: 0; }

.socials button:hover { background: rgba(255, 255, 255, 0.1); }

.socials .icon { width: 24px; height: 24px; }

.site-footer h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.site-footer a,
.site-footer .text-btn {
  display: block;
  padding: 5px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  text-align: left;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer .text-btn:hover { color: #fff; text-decoration: underline; }

.badges {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 60px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.badge-icon { width: 32px; height: 32px; }

.iso { width: 50px; height: 50px; flex: 0 0 auto; }

.flag {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 28px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 2px;
  overflow: hidden;
}

.flag i:nth-child(1) { background: #0055a4; }
.flag i:nth-child(2) { background: #fff; }
.flag i:nth-child(3) { background: #ef4135; }

.subfooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.subfooter nav { display: flex; flex-wrap: wrap; }

.site-footer .subfooter a {
  display: inline;
  padding: 0;
  font-size: 13px;
}

.subfooter a + a::before {
  content: "|";
  margin: 0 14px;
  color: rgba(255, 255, 255, 0.4);
  display: inline-block;
}

/* Cookies */

.cookie {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(920px, calc(100% - 32px));
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(8, 24, 48, 0.18);
}

.cookie[hidden] { display: none; }

.cookie p { font-size: 14px; color: var(--text); }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

.cookie .btn { min-height: 44px; }

/* Dialogues */

.dlg {
  width: min(560px, calc(100vw - 32px));
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
}

.dlg-wide { width: min(720px, calc(100vw - 32px)); }

.dlg::backdrop { background: rgba(4, 20, 44, 0.58); }

.dlg-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.dlg-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.dlg-head h2 { font-size: 22px; font-weight: 800; color: var(--navy); }

.icon-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  background: #f1f5fa;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
}

#fiche-body { flex: 1; min-width: 0; }

.dlg-intro { color: var(--muted); margin: 4px 0 14px; font-size: 15px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }

.field label { font-weight: 700; font-size: 14px; color: var(--navy); }

.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d0dae6;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  font-size: 16px;
}

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

.field input:focus-visible,
.field textarea:focus-visible { border-color: var(--blue); }

.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }

.check input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.check label { font-weight: 500; }

.check .field-error { flex-basis: 100%; }

.field-error { color: var(--danger); font-size: 14px; }

.field-error[hidden] { display: none; }

.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--danger); }

.form-success {
  background: #f0fdf4;
  border: 1px solid #b7ebc9;
  color: #14532d;
  border-radius: 10px;
  padding: 14px;
}

.form-success[hidden],
.form-fields[hidden] { display: none; }

.note { margin-top: 10px; font-size: 13px; color: var(--muted); }

.fiche-kicker {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
}

.fiche-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 12px 0 16px;
}

.fiche-grid dt { font-size: 13px; color: var(--muted); }

.fiche-grid dd { margin: 0; font-weight: 700; color: var(--navy); }

.page-body p + p { margin-top: 10px; }

.page-body h3 { margin: 14px 0 6px; font-size: 16px; color: var(--navy); }

.cookie-options { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 16px; }

.cookie-options label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* Responsive */

@media (min-width: 821px) and (max-height: 820px) {
  .hero h1 { font-size: clamp(34px, 3.4vw, 48px); }

  .hero .bar { margin-top: 14px; }

  .hero-lead { margin-top: 12px; font-size: 17px; }

  .search { margin-top: 20px; }

  .hero-offer { margin-top: 10px; }
}

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

@media (max-width: 1240px) {
  .nav-btn { padding: 0 8px; font-size: 14px; }

  .header-inner { gap: 14px; }

  .expertise-grid { grid-template-columns: 380px 1fr; }

  .plan { padding-inline: 22px; }

  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 250px; }

  .badges { padding-left: 32px; }
}

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

  .burger { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(10, 37, 80, 0.1);
    max-height: calc(100dvh - 84px);
    overflow: auto;
  }

  .site-header.is-open .nav { display: flex; }

  .menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
  }

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

  .expertise-grid { grid-template-columns: 1fr; }

  .proof-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }

  .about-blurb { grid-column: 1 / -1; border-left: 0 !important; padding-left: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }

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

  .badges {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 820px) {
  .container { width: min(var(--container), calc(100% - 32px)); }

  .legalbar { padding: 8px 16px; font-size: 11px; }

  .header-actions .btn-demo,
  .header-actions .btn-account { display: none; }

  .nav-account { display: inline-flex; }

  .hero-content { padding: 40px 0 28px; }

  .hero h1 .line { display: inline; }

  .hero-lead br,
  .expert-copy h2 br,
  .plan-desc br,
  .about-blurb h2 br { display: none; }

  .stats { grid-template-columns: 1fr 1fr; gap: 22px 0; }

  .stat:nth-child(odd)::before { display: none; }

  .stat:nth-child(5) { grid-column: 1 / -1; }

  .cards { grid-template-columns: 1fr 1fr; }

  .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .regions-grid { grid-template-columns: 1fr; gap: 28px; }

  .region-map { width: min(300px, 80%); margin: 0 auto; }

  .plans { grid-template-columns: 1fr; max-width: 520px; }

  .plan-popular { order: -1; }

  .proof-grid { grid-template-columns: 1fr; }

  .proof-grid > * + * { border-left: 0; border-top: 1px solid #d5dfeb; padding-top: 24px; }

  .testimonial { padding-right: 0; grid-template-columns: 88px 1fr; }

  .testimonial img { width: 88px; height: 88px; }

  .about-blurb { border-top: 1px solid #d5dfeb !important; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .cookie { flex-direction: column; align-items: stretch; }

  .cookie-actions { margin-left: 0; }

  .fiche-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 34px; }

  .search { flex-wrap: wrap; padding: 12px; }

  .search input { flex: 1 1 160px; }

  .search .btn { flex: 1 0 100%; }

  .chip { min-height: 44px; }

  .cards { grid-template-columns: 1fr; }

  .rank-grid { grid-template-columns: minmax(0, 1fr); }

  .region-list { columns: 1; }

  .region-link { min-height: 40px; }

  .rank-tab { min-height: 44px; }

  .header-actions .btn-subscribe { width: 46px; padding: 0; }

  .header-actions .btn-subscribe span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .footer-grid { grid-template-columns: 1fr; }

  .subfooter { flex-direction: column; align-items: flex-start; padding: 14px 0; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
