:root {
  --blue-950: #071a3d;
  --blue-900: #0a2557;
  --blue-800: #0b3476;
  --blue-600: #0b5fff;
  --green-600: #0f8f68;
  --green-100: #e8f7f1;
  --gray-950: #172033;
  --gray-700: #4c5a70;
  --gray-500: #6d788b;
  --gray-200: #e6ebf2;
  --gray-100: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(10, 37, 87, 0.12);
  --radius: 8px;
  font-family: "Inter", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-950);
  background: var(--white);
  font-family: "Inter", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-800);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green-600);
}

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

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

.narrow {
  width: min(820px, calc(100% - 32px));
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--blue-950);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  z-index: 20;
}

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

.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;
}

.responsible-bar {
  background: var(--blue-950);
  color: var(--white);
  font-size: 0.88rem;
}

.bar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-badge {
  display: inline-flex;
  width: 34px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  font-weight: 800;
}

.bar-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  background: var(--green-600);
  border-radius: 999px;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 25px rgba(7, 26, 61, 0.09);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  color: var(--gray-950);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.primary-nav a:hover, .primary-nav a:focus-visible {
  background: var(--gray-100);
  color: var(--blue-800);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  padding: 9px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--blue-950);
  margin: 5px 0;
}

.hero {
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 50%, #eef8f4 100%);
  border-bottom: 1px solid var(--gray-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: center;
  padding: 76px 0 54px;
}

.page-hero {
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--gray-200);
  padding: 56px 0;
}

.review-hero {
  padding: 50px 0;
}

.review-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  color: var(--green-600);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
  margin: 0 0 10px;
}

h1, h2, h3 {
  color: var(--blue-950);
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 14px;
  font-family: "Poppins", "Inter", system-ui, sans-serif;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(1.55rem, 2vw, 2.25rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 16px;
}

.hero-lead, .page-hero p {
  font-size: 1.12rem;
  color: var(--gray-700);
  max-width: 760px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-actions, .card-actions, .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue-800);
  color: var(--white);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--blue-950);
  color: var(--white);
}

.btn-secondary {
  background: var(--green-100);
  color: var(--green-600);
  border-color: #bfe8d8;
}

.btn-ghost {
  background: var(--white);
  color: var(--blue-950);
  border-color: var(--gray-200);
}

.hero-panel, .rating-panel, .callout, .side-summary, .contact-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.panel-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}

.panel-metric span {
  color: var(--blue-800);
  font-size: 2rem;
  font-weight: 900;
}

.panel-metric strong {
  color: var(--gray-700);
}

.section {
  padding: 58px 0;
}

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

.section-head {
  margin-bottom: 26px;
}

.section-head p {
  color: var(--gray-700);
  max-width: 820px;
}

.ranking-grid, .card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ranking-card, .offer-card, .review-card, .info-list article {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(10, 37, 87, 0.06);
}

.rank-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 42px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-950);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 900;
}

.operator-head {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 16px;
  padding-right: 42px;
}

.operator-head p {
  color: var(--gray-700);
  font-size: 0.94rem;
  margin: 0;
}

.operator-mark {
  flex: 0 0 auto;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--mark);
  color: var(--white);
  font-weight: 900;
  box-shadow: inset 0 -8px 20px rgba(0,0,0,0.12);
}

.offer-box {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px;
  margin: 16px 0;
}

.offer-box span, .fine-print, .muted {
  color: var(--gray-500);
}

.offer-box strong {
  display: block;
  color: var(--blue-950);
  font-size: 1.05rem;
}

.offer-box small {
  display: block;
  color: var(--gray-500);
  margin-top: 4px;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
}

.score-row strong {
  display: block;
  color: var(--blue-800);
  font-size: 1.25rem;
}

.score-row span {
  color: var(--gray-500);
  font-size: 0.88rem;
}

.stars {
  color: #f3a712;
  letter-spacing: 0;
  white-space: nowrap;
}

.text-link {
  font-weight: 800;
}

.two-col, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 34px;
  align-items: start;
}

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

.editorial-grid article, .article-body {
  color: var(--gray-700);
}

.editorial-grid article {
  border-top: 3px solid var(--green-600);
  padding-top: 16px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-list article {
  box-shadow: none;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.criteria-grid span {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--gray-700);
}

.criteria-grid strong {
  display: block;
  color: var(--blue-950);
}

.compact-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.compact-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}

.compact-list dt {
  color: var(--gray-500);
  font-weight: 800;
}

.compact-list dd {
  margin: 0;
  color: var(--blue-950);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.comparison-table th {
  background: var(--blue-950);
  color: var(--white);
  font-size: 0.92rem;
}

.table-operator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body {
  width: min(860px, calc(100% - 32px));
}

.two-col .article-body {
  width: auto;
}

.article-body h2 {
  margin-top: 28px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p, .article-body li {
  font-size: 1.03rem;
}

.article-body ul {
  padding-left: 20px;
}

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

details {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0;
}

summary {
  cursor: pointer;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-weight: 850;
  color: var(--blue-950);
}

details p {
  padding: 0 18px 18px;
  color: var(--gray-700);
  margin: 0;
}

.rating-panel {
  text-align: center;
}

.rating-panel .operator-mark {
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  font-size: 1.35rem;
}

.rating-panel strong {
  display: block;
  color: var(--blue-800);
  font-size: 2.5rem;
  line-height: 1;
}

.side-summary {
  position: sticky;
  top: 108px;
}

.contact-form {
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-950);
  font-weight: 800;
}

.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: var(--white);
  color: var(--gray-950);
}

.checkbox {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  font-weight: 600 !important;
  color: var(--gray-700) !important;
}

.checkbox input {
  width: auto;
  margin-top: 5px;
}

.form-status {
  color: var(--green-600);
  font-weight: 800;
  min-height: 24px;
}

.site-footer {
  background: var(--blue-950);
  color: rgba(255,255,255,0.86);
  padding: 46px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer .fine-print {
  color: rgba(255,255,255,0.68);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 28px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 0;
  background: var(--green-600);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 12;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 32px));
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  z-index: 25;
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--gray-700);
}

.operator-logo {
  width: 90px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.operator-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#classement .ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#classement .ranking-card {
  padding: 24px;
  border-radius: 16px;
}

#classement .operator-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-right: 0;
}

#classement .operator-logo {
  width: 160px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#classement .operator-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#classement .operator-head h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

#classement .operator-head p {
  max-width: 260px;
  margin: 0 auto;
  font-size: 0.95rem;
}

#classement .rank-pill {
  top: 16px;
  right: 16px;
}

#classement .offer-box {
  margin-top: 22px;
}

#classement .card-actions {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }
  
  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
  }
  
  .primary-nav.is-open {
    display: flex;
  }
  
  .primary-nav a {
    padding: 12px;
  }
  
  .hero-grid, .review-hero-grid, .two-col, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .ranking-grid, .card-grid, .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .side-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .container, .narrow, .article-body {
    width: min(100% - 24px, 1120px);
  }
  
  .bar-inner {
    align-items: flex-start;
    padding: 9px 0;
  }
  
  .header-inner {
    min-height: 66px;
  }
  
  .brand img {
    width: 178px;
  }
  
  .hero-grid {
    padding: 46px 0 36px;
  }
  
  .page-hero {
    padding: 40px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .ranking-grid, .card-grid, .editorial-grid, .footer-grid, .criteria-grid {
    grid-template-columns: 1fr;
  }
  
  .operator-head {
    padding-right: 0;
  }
  
  .rank-pill {
    position: static;
    margin-bottom: 12px;
  }
  
  .score-row, .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  
  .compact-list div {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    grid-template-columns: 1fr;
    bottom: 10px;
  }
  
  .cookie-actions .btn {
    flex: 1 1 140px;
  }
}

@media (max-width: 980px) {
  #classement .ranking-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logos {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: center;
}

.footer-logos-grid a,
.footer-logos-grid img {
  display: block;
}

.footer-logos-grid img {
  height: 40px;
  width: auto;
  opacity: .75;
  transition: opacity .2s ease;
}

.footer-logos-grid a:hover img {
  opacity: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.88) 0%, rgba(255, 255, 255, 0.82) 50%, rgba(238, 248, 244, 0.88) 100%),
    url("../images/hero-bg.jpg") center center / cover no-repeat;
  border-bottom: 1px solid var(--gray-200);
}