:root {
  --navy: #0d1630;
  --text: #1b2333;
  --muted: #4f5868;
  --bg: #f2f5f9;
  --card: #ffffff;
  --border: #e3e8ef;
  --green: #45b035;
  --green-dark: #2c8f24;
  --green-light: #dcf1cd;
  --red: #e5302a;
  --orange: #f58a1f;
  --yellow: #f6b81c;
  --blue: #2d6fe0;
  --radius: 14px;
  --shadow: 0 3px 14px rgba(20, 40, 80, .07);
  --font-title: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 70px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
svg { flex-shrink: 0; }

.container { width: 100%; max-width: 1268px; margin: 0 auto; padding: 0 24px; }

/* ---------- Logo ---------- */
.logo {
  font-family: var(--font-title); font-style: italic; font-weight: 800;
  font-size: 32px; letter-spacing: -.8px; color: var(--navy); line-height: 1; white-space: nowrap;
}
.logo .i1 { color: var(--red); }
.logo .i2 { color: var(--yellow); }
.logo .i3 { color: var(--green); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-green {
  background: linear-gradient(180deg, #5cc43c 0%, #34a12a 100%);
  color: #fff; padding: 12px 22px; font-size: 15px;
  box-shadow: 0 5px 12px rgba(52, 161, 42, .28);
}
.btn-green:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(52, 161, 42, .36); }
.btn-outline {
  border: 1.5px solid #cdd4de; color: var(--navy); padding: 7px 16px; font-size: 13px; background: #fff;
}
.btn-outline:hover { border-color: var(--navy); }
.nav a.nav-extra { display: none; }
.hdr-avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #5cc43c, #34a12a); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .3px; }
.btn-soft {
  width: 100%; height: 34px; background: var(--green-light); color: #142a10;
  font-size: 14px; font-weight: 600; gap: 10px;
}
.btn-soft svg { width: 15px; height: 15px; }
.btn-soft:hover { background: #cbeab6; }

/* ---------- Décors ---------- */
.burst { position: absolute; width: 60px; height: 60px; pointer-events: none; }
.burst span { position: absolute; height: 7px; border-radius: 4px; }
.burst .b-o { width: 36px; background: var(--orange); left: 0; top: 40px; transform: rotate(17deg); }
.burst .b-r { width: 34px; background: var(--red); left: 12px; top: 20px; transform: rotate(33deg); }
.burst .b-g { width: 30px; background: var(--green); left: 28px; top: 8px; transform: rotate(50deg); }

.bars { position: absolute; display: flex; gap: 3px; }
.bars span { width: 11px; height: 18px; border-radius: 2px; transform: skewX(-22deg); }
.bars span:nth-child(1) { background: var(--red); }
.bars span:nth-child(2) { background: var(--yellow); }
.bars span:nth-child(3) { background: var(--green); }

/* ---------- Header ---------- */
.header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header .container { display: flex; align-items: center; height: 54px; }
.header .logo { margin-left: 16px; }
.nav { display: flex; gap: 23px; margin: 0 auto; padding: 0 24px; }
.nav a { font-family: var(--font-title); font-size: 13.5px; font-weight: 500; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav a:hover { color: var(--green-dark); }
.nav a svg { width: 14px; height: 14px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a svg { transition: transform .2s; }
.nav-item::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 18px; }
.nav-sub {
  position: absolute; top: calc(100% + 16px); left: -24px; z-index: 60; width: 460px; padding: 18px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px rgba(16, 24, 40, .14);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.nav .nav-sub a { display: flex; padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.nav .nav-sub a:hover, .nav .nav-sub a:focus-visible { background: #f0faea; color: var(--green-dark); }
.nav .nav-sub a.current { background: #f0faea; color: var(--green-dark); font-weight: 600; }
.nav .nav-sub .nav-sub-all { justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; font-weight: 600; color: var(--green-dark); }
@media (hover: hover) and (min-width: 1025px) {
  .nav-item:hover .nav-sub { opacity: 1; visibility: visible; transform: none; }
  .nav-item:hover > a svg { transform: rotate(180deg); }
}
@media (min-width: 1025px) {
  .nav-item:focus-within .nav-sub, .nav-item.sub-open .nav-sub { opacity: 1; visibility: visible; transform: none; }
  .nav-item.sub-open > a svg { transform: rotate(180deg); }
  .nav-item.sub-dismissed .nav-sub { opacity: 0; visibility: hidden; transform: translateY(-6px); }
  .nav-item.sub-dismissed > a svg { transform: none; }
}
.header-actions { display: flex; gap: 14px; align-items: center; }
.header-actions .btn { border-radius: 6px; }
.header-actions .btn-outline { padding: 6px 12px; font-size: 12.5px; gap: 6px; border-width: 1px; }
.header-actions .btn-outline svg { width: 14px; height: 14px; }
.header-actions .btn-green { padding: 9px 16px; font-size: 13.5px; box-shadow: none; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; color: var(--navy); }
.burger svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #edf1f6 0%, #f2f5f9 100%); }
.hero {
  /* header 54 + hero 573 + stats 84 - chevauchement 30 + marge basse 39 = 720 */
  --extra: clamp(-80px, calc(100svh - 720px), 600px);
  --img: min(var(--extra), 220px);
}
.hero .container { position: relative; height: calc(573px + var(--extra)); padding-top: calc(54px + var(--extra) / 2); }
.hero-media {
  position: absolute; right: calc(100% - 937px - var(--img) * .26); top: calc(var(--extra) / 2); height: calc(600px + var(--img) / 2); aspect-ratio: 909 / 511;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 28%, #000 44%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 28%, #000 44%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 0; }
.hero-burst { left: calc(476px - var(--img) * .2); top: calc(21px + var(--extra) / 2); z-index: 2; }
.hero-text { position: relative; z-index: 2; padding-left: 14px; }
.hero h1 {
  font-family: var(--font-title); font-style: italic; font-weight: 800;
  font-size: 54px; line-height: 1.08; letter-spacing: -1.3px; color: var(--navy);
}
.hl-pill {
  display: inline-block; margin-top: 8px; padding: 2px 34px 6px 24px; font-size: .92em;
  background: linear-gradient(90deg, #67c63c 0%, #3fa92f 100%);
  color: #fff; border-radius: 16px 22px 16px 22px; transform: skewX(-6deg);
  box-shadow: 0 6px 14px rgba(63, 169, 47, .25);
}
.hl-pill > span { display: inline-block; transform: skewX(6deg); }
.hero-list { margin-top: 22px; display: grid; gap: 11px; }
.hero-list li { display: flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 700; color: var(--navy); text-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 2px rgba(255,255,255,.9); }
.hero-list .check { width: 22px; height: 22px; flex-shrink: 0; }
.check { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.check svg { width: 12px; height: 12px; }
.c-red { background: linear-gradient(180deg, #f04a3c, #d9261f); }
.c-orange { background: linear-gradient(180deg, #fb9d33, #ef7b12); }
.c-yellow { background: linear-gradient(180deg, #fbc93a, #f2a812); }
.c-green { background: linear-gradient(180deg, #5cc43c, #34a12a); }

/* Carte prix */
.price-card {
  position: absolute; z-index: 3; right: 30px; top: calc(87px + var(--extra) / 2); width: 329px;
  background: #fff; border-radius: 18px; padding: 19px 19px 21px;
  box-shadow: 0 12px 36px rgba(20, 40, 80, .13); text-align: center;
}
.price-card .bars { top: 14px; right: 24px; }
.tag-grey {
  display: inline-block; background: #eceff4; border-radius: 999px;
  padding: 5px 28px; font-family: var(--font-title); font-weight: 700; font-size: 16.5px; color: var(--navy);
}
.price-pill {
  display: flex; align-items: baseline; justify-content: center; gap: 9px; margin-top: 15px;
  background: linear-gradient(90deg, #e3242b 0%, #ef5a24 40%, #f6911f 72%, #f9b52c 100%);
  color: #fff; border-radius: 999px; padding: 7px 14px 9px;
  font-family: var(--font-title); font-style: italic; font-weight: 800; font-size: 31px; line-height: 1.12; letter-spacing: -.5px;
  box-shadow: 0 6px 16px rgba(227, 36, 43, .22);
}
.price-pill small { font-size: 27px; font-weight: 700; }
.price-after { margin-top: 9px; font-family: var(--font-title); font-style: italic; font-weight: 800; font-size: 23px; color: var(--navy); }
.price-list { margin: 14px 0 20px; display: grid; gap: 7px; text-align: left; padding-left: 4px; }
.price-list li { display: flex; align-items: center; gap: 9px; font-size: 13.6px; white-space: nowrap; color: var(--navy); }
.price-list .check { width: 18px; height: 18px; }
.price-card .btn-green { width: 100%; height: 50px; font-size: 17px; font-family: var(--font-title); font-style: italic; font-weight: 800; background: linear-gradient(180deg, #4fc43a 0%, #259c22 100%); }

/* ---------- Barre de stats ---------- */
.stats { position: relative; z-index: 4; margin-top: -30px; }
.stats-bar {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow); height: 84px;
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.stats-bar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 18%, var(--orange) 38%, var(--orange) 50%, var(--yellow) 66%, var(--green) 82%, var(--green) 100%);
}
.stat { flex: 1 1 auto; display: flex; align-items: center; gap: 17px; padding: 0 10px 0 30px; white-space: nowrap; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 -4px 8px rgba(0,0,0,.14), 0 3px 8px rgba(0,0,0,.08); }
.stat-ico svg { width: 28px; height: 28px; }
.stat strong { display: block; font-family: var(--font-title); font-style: italic; font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.3; letter-spacing: -.2px; }
.stat div > span { font-size: 14px; color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 76px 0 0; }
.section-head { margin-bottom: 26px; padding-left: 10px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section h2 { font-family: var(--font-title); font-size: 33px; font-weight: 800; color: var(--navy); letter-spacing: -.6px; line-height: 1.2; }
.section-head h2 { position: relative; display: inline-block; padding-bottom: 16px; }
.section-head h2::before {
  content: ""; position: absolute; left: 3px; bottom: 0; width: 33px; height: 12px; transform: skewX(-22deg);
  background: linear-gradient(90deg, var(--red) 0 9px, transparent 9px 12px, var(--yellow) 12px 21px, transparent 21px 24px, var(--green) 24px 33px);
  border-radius: 2px;
}
.section-head h2::after {
  content: ""; position: absolute; left: 44px; right: 0; bottom: 4px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--orange) 30%, var(--yellow) 60%, var(--green) 100%);
}
.section-head p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #eaeef4; }

/* Types d'entraînement */
.types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.type { padding: 14px 15px 14px; display: flex; flex-direction: column; border-radius: 16px; }
.type-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 700; font-size: 17px; color: var(--navy); }
.ti { width: 36px; height: 36px; border-radius: 50%; background: #edf0f5; display: grid; place-items: center; }
.ti svg { width: 20px; height: 20px; color: var(--navy); }
.type p { margin-top: 8px; font-size: 13px; color: var(--text); line-height: 1.35; min-height: 35px; letter-spacing: -.1px; }
.type-visual { margin: 10px 0 12px; height: 86px; border-radius: 10px; overflow: hidden; position: relative; }
.type-visual img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; margin: auto; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(30, 30, 35, .72); border: 2px solid rgba(255,255,255,.85); color: #fff; display: grid; place-items: center;
}
.play svg { width: 14px; height: 14px; margin-left: 2px; }
.type-btn { margin-top: auto; }
.quiz { background: #fff; border: 1px solid var(--border); padding: 10px 12px; display: grid; gap: 6px; align-content: center; }
.quiz-row { display: flex; align-items: center; gap: 10px; height: 22px; padding: 0 8px; border-radius: 999px; }
.quiz-row i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #b9c2cf; background: #fff; }
.quiz-row b { flex: 1; height: 8px; border-radius: 4px; background: #dfe4ec; }
.quiz-row.on { background: var(--green-light); border: 1px solid #a6d98d; }
.quiz-row.on i { border-color: var(--green); background: radial-gradient(circle, var(--green) 40%, #fff 46%); }
.quiz-row.on b { background: #8fcf74; }
.mixed { background: #fff; border: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; align-items: center; padding: 8px; }
.mixed .quiz { border: 0; padding: 0; gap: 8px; }
.mixed .quiz-row { padding: 0; height: auto; gap: 5px; }
.mixed .quiz-row.on { background: none; border: 0; }
.mixed .thumb { position: relative; height: 70px; border-radius: 5px; overflow: hidden; }
.mixed .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mixed .play { width: 24px; height: 24px; border-width: 1.5px; }
.mixed .play svg { width: 10px; height: 10px; }
.exam-box { margin-left: 4px; margin-right: 4px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 14px; }
.exam-box svg { width: 34px; height: 34px; color: var(--navy); }
.exam-box strong { display: block; font-family: var(--font-title); font-size: 14px; color: var(--navy); font-weight: 600; }
.exam-box span { font-family: var(--font-title); font-size: 14px; font-weight: 600; color: var(--navy); }

/* Catégories */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 20px; }
.cat { display: grid; grid-template-columns: 36px 1fr 16px; gap: 6px 12px; padding: 12px 14px 12px; align-items: center; transition: transform .15s ease, box-shadow .15s ease; }
.cat:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 40, 80, .1); }
.cat-ico { grid-row: 1; width: 36px; height: 36px; display: grid; place-items: center; }
.cat-ico svg { width: 36px; height: 36px; }
.cat h3 { font-family: var(--font-title); font-size: 14.5px; font-weight: 700; color: var(--navy); white-space: nowrap; grid-column: 2 / 4; }
.cat p {
  grid-column: 1 / 3; font-size: 12px; color: var(--text); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat > .arr { grid-column: 3; grid-row: 2; align-self: end; width: 16px; height: 16px; color: var(--navy); }

/* Avis */
.rating { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--navy); white-space: nowrap; }
.rating .stars svg { width: 20px; height: 20px; }
.rating strong { font-family: var(--font-title); font-size: 18px; font-weight: 600; }
.rating b { font-weight: 700; }
.stars { display: inline-flex; gap: 1px; color: #f7b500; }
.stars svg { width: 13px; height: 13px; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review { padding: 14px 18px 16px; }
.review-head { display: grid; grid-template-columns: 44px 1fr 16px; gap: 0 12px; align-items: center; }
.review-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; grid-row: 1 / 3; }
.review-head .stars svg { width: 15px; height: 15px; }
.review-head strong { font-family: var(--font-title); font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.review-head .arr { grid-row: 1; grid-column: 3; width: 16px; height: 16px; color: var(--navy); }
.review blockquote { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--text); }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.article { overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease; }
.article:hover { transform: translateY(-2px); }
.article-img { position: relative; padding: 0; }
.article-img img { width: 100%; aspect-ratio: 3.2 / 1; object-fit: cover; border-radius: 12px 12px 0 0; }
.article-body { padding: 10px 16px 12px; display: flex; flex-direction: column; flex: 1; }
.article h3 { font-family: var(--font-title); font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.article p { margin-top: 4px; font-size: 12.5px; color: var(--text); line-height: 1.4; flex: 1; }
.article-meta { margin-top: 8px; display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: var(--muted); }
.article-meta .time { display: inline-flex; align-items: center; gap: 5px; }
.article-meta .time svg { width: 13px; height: 13px; }
.badge { font-size: 11.5px; font-weight: 500; padding: 3px 12px; border-radius: 999px; }
.b-blue { background: #dfeafc; color: #1d4fb4; }
.b-green { background: #dcf3cf; color: #2a7d1f; }
.b-red { background: #fde1de; color: #c3241b; }
.section-head .btn-outline { padding: 7px 16px; font-size: 13px; }
.section-head .btn-outline svg { width: 16px; height: 16px; }

/* Offre */
.offer { margin-top: 64px; padding: 18px 26px; display: grid; grid-template-columns: 310px auto auto auto; justify-content: space-between; align-items: center; }
.offer .price-pill { white-space: nowrap; }
.offer-intro h2 { white-space: nowrap; font-family: var(--font-title); font-style: italic; font-weight: 800; font-size: 31px; color: var(--navy); letter-spacing: -.6px; line-height: 1.15; }
.offer-intro p { margin-top: 4px; font-size: 13.5px; color: var(--text); max-width: 320px; line-height: 1.4; }
.offer-price { position: relative; text-align: center; margin: 0 18px 0 8px; }
.offer-price .price-pill { margin: 0; font-size: 28px; padding: 6px 20px 8px; gap: 7px; }
.offer-price .price-pill small { font-size: 22px; }
.offer-price .price-after { font-size: 16px; margin-top: 4px; }
.offer-list { display: grid; gap: 4px; border-left: 1px solid var(--border); padding: 4px 22px; }
.offer-list li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--navy); white-space: nowrap; }
.offer-list .check { width: 17px; height: 17px; }
.offer-list .check svg { width: 10px; height: 10px; }
.offer-cta { border-left: 1px solid var(--border); padding-left: 22px; align-self: stretch; display: flex; align-items: center; }
.offer-cta .btn-green { padding: 12px 24px; font-size: 17px; line-height: 1.2; white-space: normal; text-align: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { margin-top: 88px; background: #e6ebf2; border-top: 1px solid #d6dde7; color: var(--navy); }
.footer .container > div + div { border-top: 1px solid #d3dae4; }

.f-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 26px 10px 22px; }
.f-brand .logo { font-size: 30px; }
.f-brand p { margin-top: 10px; font-size: 14.5px; line-height: 1.4; color: var(--text); }
.socials { display: flex; gap: 20px; margin-top: 14px; }
.socials a { color: var(--navy); }
.socials a:hover { color: var(--green-dark); }
.socials svg { width: 20px; height: 20px; }

.f-app { display: flex; align-items: center; gap: 32px; align-self: center; }
.f-app-head { display: flex; align-items: center; }
.f-devices { width: 40px; height: 40px; color: var(--navy); padding-right: 16px; box-sizing: content-box; border-right: 1px solid #d3d9e1; }
.f-app-head div { padding-left: 16px; }
.f-app-head strong { display: block; font-family: var(--font-title); font-size: 16.5px; font-weight: 700; letter-spacing: -.2px; line-height: 1.25; }
.f-app-head span { font-size: 13.5px; color: var(--text); }
.f-stores { display: flex; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 13px;
  background: #0b0d12; color: #fff; border-radius: 8px; transition: transform .15s ease;
}
.store:hover { transform: translateY(-1px); }
.store svg { width: 23px; height: 23px; }
.store span { display: flex; flex-direction: column; font-family: var(--font-title); font-weight: 600; font-size: 16px; line-height: 1.05; letter-spacing: -.2px; }
.store small { font-family: var(--font-body); font-size: 9.5px; font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }

.f-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 22px 10px 22px; }
.footer h4 { font-family: var(--font-title); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: -.2px; }
.footer-col li { line-height: 1.85; }
.footer-col a { font-size: 13.5px; color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--green-dark); }
.footer-col a svg { width: 13px; height: 13px; }

.f-trust { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; padding: 18px 10px 20px; }
.f-pay { padding-right: 26px; }
.f-pay h4 { margin-bottom: 10px; }
.pay-list { display: flex; gap: 8px; }
.pay {
  width: 70px; height: 42px; display: grid; place-items: center; background: #fff;
  border: 1px solid #dde2e9; border-radius: 6px;
}
.pay-visa { font-family: var(--font-title); font-style: italic; font-weight: 800; font-size: 18px; color: #1a1f71; letter-spacing: -.5px; }
.pay-mc { display: flex; flex-direction: column; align-items: center; }
.pay-mc svg { width: 31px; height: 20px; }
.pay-mc small { font-size: 7.5px; font-weight: 600; color: #222; margin-top: 1px; }
.pay-amex {
  display: grid; place-items: center; width: 50px; height: 30px; background: #2e77bc; color: #fff;
  font-family: Arial, sans-serif; font-weight: 800; font-size: 6.8px; line-height: 1.1; text-align: center; letter-spacing: .3px; border-radius: 2px;
}
.pay-apple, .pay-google { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-body); font-size: 17.5px; font-weight: 500; color: #111; letter-spacing: -.4px; }
.pay-apple svg { width: 16px; height: 16px; margin-top: -3px; }
.pay-google { color: #5f6368; gap: 4px; }
.pay-google svg { width: 16px; height: 16px; }
.f-badge { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; white-space: nowrap; border-left: 1px solid #d3d9e1; min-height: 50px; }
.f-badge svg { width: 32px; height: 32px; color: var(--navy); }
.f-badge strong { display: block; font-family: var(--font-title); font-size: 14.5px; font-weight: 700; }
.f-badge span { font-size: 13px; color: var(--text); }

.f-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 14px 0 18px; font-size: 12.5px; color: var(--text); }
.f-tagline { text-align: center; }
.f-bottom-right { display: flex; justify-content: flex-end; align-items: center; }
.f-lang { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--navy); padding-right: 18px; }
.f-lang svg { width: 16px; height: 16px; }
.f-lang .f-chev { width: 13px; height: 13px; }
.f-top-link { display: inline-flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid #d3d9e1; color: var(--navy); }
.f-top-link svg { width: 13px; height: 13px; }
.f-top-link:hover, .f-lang:hover { color: var(--green-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1439px) {
  .nav { gap: 18px; padding: 0 16px; }
}
@media (max-width: 1279px) {
  .nav { gap: 14px; padding: 0 12px; }
  .nav a { font-size: 13px; }
  .header-actions { gap: 10px; }
}
@media (max-width: 1140px) {
  .nav { gap: 12px; padding: 0 10px; }
}
@media (max-width: 1024px) {
  .nav, .header-actions .btn-outline { display: none; }
  .header-actions { margin-left: auto; }
  .burger { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; margin: 0; position: absolute; top: 52px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 8px 24px 16px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
  .nav.open a.nav-extra { display: flex; align-items: center; gap: 10px; color: var(--green-dark); font-weight: 700; border-bottom: 0; }
  .nav.open a.nav-extra svg { width: 16px; height: 16px; }
  .nav.open { max-height: calc(100vh - 54px); max-height: calc(100dvh - 54px); overflow-y: auto; overscroll-behavior: contain; }
  .nav.open .nav-item { display: block; }
  .nav.open .nav-item::after { display: none; }
  .nav.open .nav-item > a { display: flex; justify-content: space-between; }
  .nav.open .nav-item.sub-open > a svg { transform: rotate(180deg); }
  .nav-sub { position: static; width: auto; padding: 4px 0 8px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; display: none; }
  .nav-item.sub-open .nav-sub { display: block; }
  .nav-sub-grid { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .nav.open .nav-sub a { padding: 10px 12px; border-bottom: 0; font-size: 14px; }
  .nav.open .nav-sub .nav-sub-all { margin-top: 4px; padding: 12px; border-top: 0; background: #f0faea; border-radius: 8px; }
  .nav.open .nav-item.sub-open > a { border-bottom: 0; }
}

@media (max-width: 1240px) {
  .offer { grid-template-columns: 1fr auto; row-gap: 20px; }
  .offer-list { border-left: 0; padding-left: 0; }
}

@media (max-width: 1180px) {
  .types { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .reviews, .articles { grid-template-columns: repeat(2, 1fr); }
  .f-cols { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .f-trust { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .f-pay { grid-column: 1 / -1; }
  .f-badge { justify-content: flex-start; margin-left: 0; padding-left: 0; border-left: 0; }
}

@media (max-width: 1024px) {
  .f-top { flex-direction: column; align-items: flex-start; gap: 28px; }
  .f-app { align-self: flex-start; }
  .hero { --extra: 0px; }
  .hero .container { height: auto; padding-bottom: 60px; }
  .hero-media { left: auto; right: -24px; width: 760px; height: 428px; aspect-ratio: auto; }
  .hero-burst { display: none; }
  .hero-text { min-height: 380px; }
  .price-card { position: relative; top: auto; right: auto; margin: 0 auto; width: 100%; max-width: 400px; }
  .stats-bar { display: grid; grid-template-columns: repeat(2, 1fr); height: auto; padding: 14px 0; row-gap: 14px; }
  .stat:nth-child(3) { border-left: 0; }
}

@media (max-width: 640px) {
  .section { padding-top: 56px; }
  .offer { margin-top: 44px; }
  .footer { margin-top: 64px; }
  .container { padding: 0 16px; }
  .header .logo { margin-left: 0; font-size: 24px; }
  .header-actions .btn-green { padding: 8px 12px; font-size: 13px; }
  .hero .container { padding-top: 28px; }
  .hero-media {
    left: 0; right: 0; width: auto; top: 372px; height: 330px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
  }
  .hero-media img { object-position: 72% 20%; }
  .hero-text { min-height: 680px; padding-left: 0; }
  .hero h1 { font-size: clamp(26px, calc(10.2vw - 4px), 42px); }
  .hl-pill { white-space: nowrap; padding: 2px 26px 6px 18px; }
  .hero-list li { font-size: 15.5px; }
  .price-card { padding: 22px 18px; }
  .price-pill { font-size: 32px; }
  .price-pill small { font-size: 24px; }
  .stats { margin-top: -24px; }
  .stats-bar { grid-template-columns: 1fr; padding: 6px 0 10px; row-gap: 0; }
  .stat { padding: 10px 16px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--border); }
  .section { padding-top: 32px; }
  .section h2 { font-size: 23px; }
  .section-head.row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rating { flex-wrap: wrap; white-space: normal; gap: 8px; }
  .types { grid-template-columns: 1fr 1fr; gap: 12px; }
  .type:last-child { grid-column: 1 / -1; }
  .type { padding: 12px; }
  .type-title { font-size: 14.5px; gap: 8px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { padding: 12px 10px; grid-template-columns: 26px 1fr 14px; gap: 6px 8px; }
  .cat-ico, .cat-ico svg { width: 26px; height: 26px; }
  .cat h3 { font-size: 13px; white-space: normal; line-height: 1.25; }
  .reviews, .articles { grid-template-columns: 1fr; }
  .article-img img { aspect-ratio: 2.4 / 1; }
  .offer { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 24px 18px; }
  .offer-intro p { margin-inline: auto; }
  .offer-price { margin: 10px 0 0; }
  .offer-list { justify-self: center; text-align: left; padding: 0; }
  .offer-list li { white-space: normal; }
  .offer-cta { border-left: 0; padding-left: 0; }
  .offer-cta .btn-green { width: 100%; }
  .offer-cta .btn-green br { display: none; }
  .f-top { flex-direction: column; gap: 22px; padding: 24px 0 20px; }
  .f-brand .logo { font-size: 28px; }
  .f-app { width: 100%; flex-direction: column; align-items: stretch; gap: 14px; }
  .f-stores { gap: 12px; }
  .store { flex: 1; height: 44px; padding: 0 12px; justify-content: center; }
  .f-cols { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 20px 0; }
  .f-trust { grid-template-columns: 1fr; padding: 18px 0; }
  .pay-list { flex-wrap: wrap; gap: 8px; }
  .pay { width: calc((100% - 32px) / 5); min-width: 0; }
  .f-bottom { grid-template-columns: 1fr; text-align: center; gap: 12px; }
  .f-bottom-right { justify-content: center; }
}
