/* Meilleur France IPTV — site .fr /francophone/ */

:root {
  --blue: #0055a4;
  --blue-2: #1769e0;
  --red: #ef4135;
  --navy: #172b4d;
  --white: #ffffff;
  --grey: #f5f7fa;
  --line: #e5eaf0;
  --muted: #667085;
  --body: #3e4c66;
  --shadow: 0 12px 32px rgba(23, 43, 77, 0.08);
  --shadow-soft: 0 8px 24px rgba(23, 43, 77, 0.06);
  --radius: 18px;
  --header: 78px;
  --max: 1140px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --wa: #25d366;
  --wa-dark: #128c7e;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-2);
}

p,
li,
dd {
  color: var(--body);
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.35rem); margin: 0 0 0.7rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.45rem; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

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

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

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

.section-head,
.hero-copy,
.choose-head,
.pricing-head,
.activation-head,
.reviews-head,
.about-us-head,
.page-hero {
  max-width: 760px;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead,
.hero-text,
.section-head p,
.choose-head p,
.pricing-head p,
.activation-head p,
.reviews-head p,
.about-us-head p,
.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 85, 164, 0.18);
}

.btn-primary:hover {
  background: var(--blue-2);
  color: #fff;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  background: #004484;
}

.btn-secondary {
  background: var(--red);
  color: #fff;
  font-size: 1.175rem;
  box-shadow: 0 8px 18px rgba(239, 65, 53, 0.18);
}

.btn-secondary:hover,
.btn-secondary:active {
  color: #fff;
}

.btn-secondary:hover {
  background: #d6362b;
  transform: translateY(-1px);
}

.btn-secondary:active {
  background: #c42e24;
  transform: translateY(0);
}

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

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

.wa-btn,
.box-cta {
  background: var(--wa);
  color: #fff;
  font-size: 1.05rem;
}

.wa-btn:hover,
.box-cta:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-1px);
}

.wa-btn:active,
.box-cta:active {
  background: var(--wa-dark);
  color: #fff;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0 46%, transparent 46% 54%, var(--red) 54% 100%);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(23, 43, 77, 0.06);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.logo-full {
  display: block;
  width: min(220px, 54vw);
  height: auto;
}

.logo-compact {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  position: relative;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.nav ul {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.35rem 0.65rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: 10px;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
  background: #f3f7fd;
}

.nav-cta {
  margin-left: 0.4rem;
}

.nav-cta .btn {
  min-height: 44px;
  background: #8e1b22;
  color: #fff;
  box-shadow: 0 8px 18px rgba(142, 27, 34, 0.22);
}

.nav-cta .btn:hover {
  background: #a3262e;
  color: #fff;
}

.nav-cta .btn:active {
  background: #6e1218;
  color: #fff;
}

.header-cta { display: none; }

.hero {
  padding: 3.2rem 0 2.2rem;
  background:
    radial-gradient(ellipse 42% 60% at 92% 8%, rgba(0, 85, 164, 0.08), transparent 70%),
    radial-gradient(ellipse 28% 40% at 8% 90%, rgba(239, 65, 53, 0.06), transparent 70%),
    var(--white);
}

.hero-grid,
.box-grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 1.8rem;
  align-items: center;
}

.box-grid {
  grid-template-columns: 1fr;
  gap: 1.4rem;
  justify-items: center;
}

.box-visual {
  width: min(100% - 2.2rem, 760px);
  margin: 0 auto;
}

.box-copy {
  width: 100%;
}

.hero .hero-copy {
  max-width: none;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  margin: 0 0 0.9rem;
  line-height: 1.05;
}

.hero-title-main,
.hero-title-line {
  display: block;
}

.hero-title-main {
  color: var(--navy);
  font-size: clamp(1.85rem, 3.15vw, 3.05rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  white-space: nowrap;
}

.hero-title-line {
  color: var(--blue);
  font-size: clamp(1.08rem, 1.85vw, 1.62rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-text strong {
  color: var(--navy);
  font-weight: 800;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.35rem 0.9rem 0.35rem 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-check {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.hero-actions,
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
}

.hero-visual .hero-banner {
  display: block;
  width: min(100%, 540px);
  height: auto;
  margin-left: auto;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 85, 164, 0.18);
  background: #fff;
}

.box-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(23, 43, 77, 0.12);
  background: #070b16;
}

.band {
  background: var(--grey);
}

section {
  padding: 4.5rem 0;
}

.choose-grid,
.review-grid,
.contact-grid,
.blog-grid,
.legal-grid {
  display: grid;
  gap: 1rem;
}

.choose-grid,
.review-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.8rem;
}

.choose-card,
.review-card,
.contact-card,
.post-card,
.step-card,
.plan-card,
.about-card,
.highlight,
.wa-card,
.box-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.choose-card,
.review-card,
.contact-card,
.step-card {
  padding: 1.3rem 1.2rem 1.25rem;
}

.choose-icon,
.step-icon,
.contact-icon,
.highlight-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eef4fc;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.choose-icon svg,
.step-icon svg,
.contact-icon svg,
.highlight-icon svg,
.box-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choose-head h3 {
  margin: 0.15rem 0 0.45rem;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

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

.choose-card:nth-child(2) .choose-icon {
  background: #eef4fc;
  color: var(--blue);
}

.highlight:nth-child(2) .highlight-icon {
  background: #fdeceb;
  color: var(--red);
}

.pricing-head {
  margin: 0 auto 1.6rem;
  text-align: center;
}

.server-picker {
  max-width: 40rem;
  margin: 0 auto 1.7rem;
}

.server-picker h3 {
  margin-bottom: 0.75rem;
  text-align: center;
}

.server-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 0.4rem;
}

.server-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.server-option {
  min-height: 48px;
  padding: 0.75rem 0.7rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.server-option:hover { background: var(--grey); }

.server-option[aria-checked="true"],
.server-option[aria-checked="true"]:hover {
  background: var(--blue);
  color: #fff;
}

.server-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: center;
}

.plan-panel { animation: panel-in 0.28s ease; }

.plan-panel[hidden] { display: none; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.price-old {
  margin-right: 0.3rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.plan-card {
  padding: 1.15rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card.is-featured {
  border: 2px solid var(--blue);
  box-shadow: 0 18px 40px rgba(0, 85, 164, 0.14);
}

.plan-badges {
  min-height: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.badge-pop {
  background: var(--red);
  color: #fff;
  text-transform: uppercase;
}

.badge-gift,
.box-badge {
  background: #e8f1fc;
  color: var(--blue);
}

.plan-price {
  margin: 0.2rem 0 0.85rem;
}

.price-now {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.screen-label {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.screen-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.screen-option {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--grey);
  color: var(--navy);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.screen-option:hover {
  border-color: #b9cceb;
}

.screen-option[aria-checked="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.plan-features {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.plan-features li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--body);
}

.plan-features svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-features .age-icon {
  width: 22px;
  height: 16px;
}

.plan-features .age-icon text {
  fill: var(--blue);
  stroke: none;
  font-size: 11px;
  font-weight: 800;
  font-family: inherit;
}

.plan-foot {
  margin-top: auto;
}

.plan-foot .btn {
  width: 100%;
}

.plan-foot .pay-logos {
  display: block;
  width: 100%;
  height: auto;
  margin: 0.75rem auto 0;
}

.plan-note {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.wa-card,
.about-card {
  padding: 1.4rem;
}

.box-card {
  max-width: 860px;
  margin-inline: auto;
  padding: 1.15rem 0 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
  border: 2px solid #0055a4;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 85, 164, 0.18);
}

.box-copy {
  width: 100%;
  padding: 0 1.35rem;
}

.wa-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
  background: #fff;
}

#assistance-whatsapp .wa-btn {
  background: #8e1b22;
  color: #fff;
}

#assistance-whatsapp .wa-btn:hover {
  background: #a3262e;
  color: #fff;
}

#assistance-whatsapp .wa-btn:active {
  background: #6e1218;
  color: #fff;
}

.wa-copy h2,
.box-copy h2 { margin-bottom: 0.45rem; }

.box-copy {
  width: 100%;
  text-align: center;
}

.box-copy h2,
.box-copy p {
  text-align: center;
}

.box-badge {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.3rem 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.box-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.box-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  color: var(--navy);
}

.box-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef4fc;
  color: var(--blue);
}

.box-features li:nth-child(2) .box-icon,
.box-features li:nth-child(4) .box-icon {
  background: #fdeceb;
  color: var(--red);
}

.box-delivery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--navy);
}

.box-delivery svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.7;
}

#box-android .box-cta {
  width: auto;
  margin-inline: auto;
  background: #8e1b22;
  color: #fff;
}

#box-android .box-cta:hover {
  background: #a3262e;
  color: #fff;
}

#box-android .box-cta:active {
  background: #6e1218;
  color: #fff;
}

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

.activation-steps {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  position: relative;
}

.activation-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #f3b4ae 50%, var(--red));
}

.activation-step {
  position: relative;
}

.activation-index {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--grey);
}

.activation-step:nth-child(2) .activation-index { background: var(--blue-2); }
.activation-step:nth-child(3) .activation-index { background: var(--red); }

.step-card h3,
.choose-card h3 { margin-top: 0.2rem; }

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.review-card h3 {
  margin: 0;
}

.star-row {
  display: none;
  gap: 2px;
  margin: 0;
}

.star-row[data-rating="1"],
.star-row[data-rating="2"],
.star-row[data-rating="3"],
.star-row[data-rating="4"],
.star-row[data-rating="5"] {
  display: flex;
}

.star-tile {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: #d0d5dd;
}

.star-tile svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.star-row[data-rating="1"] .star-tile:nth-child(-n+1),
.star-row[data-rating="2"] .star-tile:nth-child(-n+2),
.star-row[data-rating="3"] .star-tile:nth-child(-n+3),
.star-row[data-rating="4"] .star-tile:nth-child(-n+4),
.star-row[data-rating="5"] .star-tile:nth-child(-n+5) {
  background: #00b67a;
}

.review-person {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.review-person strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.review-person span {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.review-card blockquote {
  margin: 0;
}

.review-card blockquote p {
  margin: 0;
  font-size: 0.98rem;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.highlight {
  padding: 1rem;
}

.highlight strong {
  display: block;
  margin-bottom: 0.25rem;
}

.about-us-head {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.about-card h3 {
  margin: 1.5rem 0 0.75rem;
  text-align: center;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.about-end {
  margin-top: 1.3rem;
  text-align: center;
}

.about-end p {
  margin-bottom: 1rem;
  color: var(--navy);
}

.site-footer {
  background: var(--grey);
  border-top: 1px solid var(--line);
  padding: 2.6rem 0 1.2rem;
  color: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand p,
.site-footer li,
.site-footer a {
  color: var(--body);
}

.site-footer a {
  text-decoration: none;
  font-weight: 650;
}

.site-footer a:hover { color: var(--blue); }

.footer-logo {
  width: min(210px, 70%);
  height: auto;
  margin-bottom: 0.7rem;
}

.footer-heading {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 800;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.page-hero {
  padding: 2.4rem 0 0.4rem;
  max-width: none;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #b0b8c6;
}

.breadcrumb a { text-decoration: none; font-weight: 700; }

.contact-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-value {
  font-weight: 800;
  color: var(--navy);
  margin: 0.2rem 0 0.4rem;
  overflow-wrap: anywhere;
}

.contact-card p:last-child { margin-bottom: 0; }

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.blog-home-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.blog-home-head h2 + p {
  color: var(--muted);
}

.blog-home .blog-grid {
  margin-top: 1.8rem;
}

.faq {
  background: #fff;
}

.faq-wrap {
  width: min(860px, 100%);
}

.faq-head {
  max-width: 720px;
  margin: 0 auto 1.6rem;
  text-align: center;
}

.faq-head h2 + p {
  color: var(--muted);
}

.faq-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

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

.faq-item.is-open {
  box-shadow: inset 3px 0 0 var(--red);
}

.faq-q {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.4;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-toggle:hover {
  color: var(--blue);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex: none;
  position: relative;
  border-radius: 50%;
  background: #eef4fc;
  color: var(--blue);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item.is-open .faq-icon {
  background: var(--blue);
  color: #fff;
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-panel-inner {
  padding-bottom: 0.15rem;
}

.faq-panel-inner p,
.faq-panel-inner ul {
  margin: 0;
  padding: 0 1.15rem 1.05rem;
  color: var(--body);
}

.faq-panel-inner ul {
  padding-left: 2.3rem;
  padding-bottom: 0.35rem;
}

.faq-panel-inner li + li {
  margin-top: 0.3rem;
}

.faq-panel-inner a {
  color: var(--blue);
  font-weight: 700;
}

.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.post-card img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background: var(--grey);
}

.post-card div { padding: 1rem 1rem 1.15rem; }

.post-card .kicker { margin-bottom: 0.35rem; }

.post-card h2 {
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.article-cover {
  width: 100%;
  border-radius: 18px;
  margin: 0.4rem 0 1.2rem;
  border: 1px solid var(--line);
}

.prose {
  max-width: 760px;
}

.prose h2 { margin-top: 2.1rem; }
.prose h3 { margin-top: 1.35rem; font-size: 1.15rem; }
.prose p { margin: 0 0 1rem; }
.prose ul,
.prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.6rem;
  text-align: left;
}

.prose th {
  background: #eef4fc;
  color: var(--navy);
}

.faq {
  display: grid;
  gap: 0.6rem;
  margin: 0.6rem 0 1rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem 0.9rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
}

.faq summary h3 {
  display: inline;
  font-size: 1rem;
}

.faq details p { margin: 0.7rem 0 0.2rem; }

.article-cta {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0, 85, 164, 0.05), transparent 50%),
    #fff;
}

.article-cta .btn { margin: 0.35rem 0.5rem 0.35rem 0; }

.related {
  margin-top: 1.6rem;
}

.related ul { padding-left: 1.1rem; }

.order-dialog {
  width: min(520px, calc(100% - 24px));
  border: 0;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 24px 70px rgba(23, 43, 77, 0.24);
}

.order-dialog::backdrop {
  background: rgba(23, 43, 77, 0.48);
}

.order-inner { padding: 1.2rem 1.2rem 1.3rem; }

.order-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.order-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
}

.order-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.9rem 0 1rem;
}

.order-summary div {
  background: var(--grey);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
}

.order-summary dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-summary dd {
  margin: 0.15rem 0 0;
  font-weight: 800;
  color: var(--navy);
}

.form-field { margin-bottom: 0.8rem; }

.form-field label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.form-field input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #d5dce6;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--navy);
  background: #fff;
}

.form-field input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 105, 224, 0.2);
}

.form-error {
  margin: 0 0 0.8rem;
  color: #9f1d16;
  font-weight: 700;
  background: #fdeceb;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.order-dialog .btn { width: 100%; }

.order-help {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

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

#abonnements,
#box-android,
#pourquoi,
#activation,
#avis,
#a-propos,
#blog-accueil,
#faq,
.guide [id] {
  scroll-margin-top: 96px;
}

.guide {
  background: var(--grey);
}

.guide-wrap {
  width: min(920px, 100%);
  padding: 1.7rem 1.45rem 1.5rem;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 85, 164, 0.18);
}

.guide-intro {
  text-align: center;
}

.guide-intro h2 {
  margin-bottom: 0.8rem;
}

.guide-updated {
  display: inline-flex;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #eef4fc;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.guide-intro p:last-child,
.guide-body p,
.guide-list,
.guide-steps,
.guide-pick p,
.guide-cta p {
  color: var(--body);
}

.guide-body {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.guide-body h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.25;
}

.guide-body h3 {
  margin: 1.15rem 0 0.45rem;
  font-size: 1.12rem;
}

.guide-body p,
.guide-list,
.guide-steps {
  margin: 0 0 0.9rem;
}

.guide-body a {
  color: var(--blue);
  font-weight: 700;
}

.guide-toc {
  margin: 1.7rem 0 2.2rem;
  padding: 1.05rem 1.15rem 1.15rem;
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.guide-toc > p {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-weight: 800;
}

.guide-toc ol {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  gap: 0.45rem 1.4rem;
  margin: 0;
  padding-left: 1.2rem;
}

.guide-toc a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.guide-toc a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.guide-list,
.guide-steps {
  padding-left: 1.2rem;
}

.guide-list li,
.guide-steps li {
  margin: 0.4rem 0;
}

.guide-servers,
.guide-picks {
  display: grid;
  gap: 0.85rem;
  margin: 0.3rem 0 1rem;
}

.guide-servers {
  grid-template-columns: 1fr 1fr;
}

.guide-picks {
  grid-template-columns: repeat(3, 1fr);
}

.guide-server,
.guide-pick {
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1rem 0.95rem;
}

.guide-server h3,
.guide-pick h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
}

.guide-server ul {
  margin: 0;
  padding-left: 1.1rem;
}

.guide-server li + li {
  margin-top: 0.3rem;
}

.guide-server.is-premium {
  background: #fff;
  border: 2px solid var(--blue);
  box-shadow: 0 8px 18px rgba(0, 85, 164, 0.12);
}

.guide-server.is-premium h3 {
  color: var(--blue);
}

.guide-cta {
  margin-top: 2.2rem;
  padding: 1.45rem 1.2rem 1.35rem;
  text-align: center;
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.guide-cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.guide-cta p {
  margin: 0 auto 1.1rem;
  max-width: 38rem;
}

@media (max-width: 1100px) {
  .pricing-grid,
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .plan-card.is-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: fixed;
    inset: calc(var(--header) + 3px) 0 0 0;
    background: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
    padding: 1rem 1.1rem 2rem;
    overflow: auto;
    z-index: 30;
  }
  body.nav-open .nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .nav a,
  .nav-cta .btn {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-cta { margin: 0.4rem 0 0; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .hero-grid,
  .box-grid,
  .choose-grid,
  .review-grid,
  .activation-steps,
  .highlights,
  .blog-grid,
  .contact-grid,
  .footer-grid,
  .guide-servers,
  .guide-picks {
    grid-template-columns: 1fr;
  }
  .guide-toc ol {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .activation-steps::before { display: none; }
  .wa-card { align-items: center; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 3.2rem 0; }
}

@media (max-width: 640px) {
  .logo-full { display: block; width: min(168px, 58vw); }
  .logo-compact { display: none; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding-top: 1.6rem; }
  .hero-title-main { font-size: clamp(1.55rem, 7.4vw, 1.95rem); }
  .hero-title-line {
    font-size: clamp(0.98rem, 3.85vw, 1.15rem);
    white-space: normal;
  }
  .hero-points {
    flex-direction: column;
    align-items: flex-start;
  }
  .guide-wrap { padding: 1.2rem 1rem 1.15rem; }
  .review-grid,
  .order-summary,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn,
  .article-actions .btn,
  .wa-btn,
  .box-cta { width: 100%; }
  .price-now { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
