/* ==========================================================================
   DOM-TOM IPTV — Pro Theme Stylesheet
   Archetype: Compact Utility Header + 2-Col Side-by-Side Matrix + Elevated Metric Cards + Clean FAQ
   Personality: Structured Modular Bento · Native Three-Oceans Palette
   ========================================================================== */

/* 01. Tokens & Reset
   -------------------------------------------------------------------------- */
:root {
  --nacre: #f6f3ec;
  --sable: #efe9dc;
  --blanc: #fffdf8;
  --abysse: #0a1430;
  --abysse2: #121f45;
  --abysse3: #1b2b5c;
  --ink: #0d1733;
  --ink2: #36405e;
  --mut: #667089;
  --line: rgba(13, 23, 51, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --caraibe: #14b8a6;
  --caraibeD: #0b7f74;
  --caraibeL: #7ee8db;
  --indien: #4f6bff;
  --indienD: #2f45c4;
  --indienL: #a9b8ff;
  --pacifique: #ff6b4a;
  --pacifiqueD: #d2472a;
  --pacifiqueL: #ffb09d;
  --sargasse: #f2b632;
  --sargasseD: #a77806;
  --sargasseL: #ffd98a;
  --hibiscus: #d6336c;
  --wa: #25d366;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 40px -28px rgba(10, 20, 48, 0.35);
  --shadow-lift: 0 26px 52px -26px rgba(10, 20, 48, 0.5);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--nacre);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: clip;
}

a {
  color: var(--indienD);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2.5px solid var(--sargasse);
  outline-offset: 2px;
}

/* High-contrast links on dark abyssal surfaces */
.sec-dark a:not(.btn):not(.bento-link),
.matrix-card.is-dark a:not(.btn),
.panel.dark a:not(.btn),
.bento-tile.is-dark a:not(.btn):not(.bento-link),
.pstrip > div:last-child a:not(.btn),
.page-hero.is-dark .lead a:not(.btn),
.cinema .shead.light a:not(.btn),
.reseau .shead.light a:not(.btn),
.cta p a:not(.btn),
.side.offer a:not(.btn) {
  color: var(--caraibeL);
  text-decoration: underline;
  text-decoration-color: rgba(126, 232, 219, 0.45);
  text-underline-offset: 3px;
  font-weight: 600;
}

.sec-dark a:not(.btn):not(.bento-link):hover,
.matrix-card.is-dark a:not(.btn):hover,
.panel.dark a:not(.btn):hover,
.bento-tile.is-dark a:not(.btn):not(.bento-link):hover,
.pstrip > div:last-child a:not(.btn):hover,
.page-hero.is-dark .lead a:not(.btn):hover,
.cinema .shead.light a:not(.btn):hover,
.reseau .shead.light a:not(.btn):hover,
.cta p a:not(.btn):hover,
.side.offer a:not(.btn):hover {
  color: var(--sargasse);
  text-decoration-color: var(--sargasse);
}

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

button,
input,
select {
  font: inherit;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
  font-weight: 700;
}

.is-hidden {
  display: none !important;
}

/* 02. Typography & Containers
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.015em;
  font-weight: 700;
}

.mono {
  font-family: var(--font-mono);
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 22px;
}

.bande {
  height: 10px;
  background:
    radial-gradient(circle at 10px -4px, transparent 9px, rgba(255, 255, 255, 0.55) 9.5px 11px, transparent 11.5px) 0 0 / 20px 10px,
    linear-gradient(90deg, var(--caraibe) 0 33.3%, var(--indien) 33.3% 66.6%, var(--pacifique) 66.6%);
}

.crumbs {
  font-size: 14px;
  color: var(--mut);
  margin-bottom: 16px;
}

.crumbs a {
  color: var(--mut);
  font-weight: 600;
}

.crumbs a:hover {
  color: var(--indienD);
}

.crumbs span {
  margin: 0 7px;
  opacity: 0.5;
}

.crumbs.on-dark {
  color: #9aa5c6;
}

.crumbs.on-dark a {
  color: #c3cbe4;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indienD);
  background: rgba(79, 107, 255, 0.09);
  border: 1px solid rgba(79, 107, 255, 0.3);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.tag.tag-caraibe {
  color: var(--caraibeD);
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.35);
}

.tag.tag-pacifique {
  color: var(--pacifiqueD);
  background: rgba(255, 107, 74, 0.1);
  border-color: rgba(255, 107, 74, 0.35);
}

.tag.on-dark {
  color: var(--sargasse);
  background: rgba(242, 182, 50, 0.12);
  border-color: rgba(242, 182, 50, 0.38);
}

.lead {
  font-size: 19px;
  color: var(--ink2);
  max-width: 820px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 15.5px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-wa {
  background: var(--wa);
  color: #04210e;
}

.btn-wa:hover {
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.75);
}

.btn-corail,
.btn-pacifique {
  background: var(--pacifique);
  color: #fff;
}

.btn-corail:hover,
.btn-pacifique:hover {
  background: var(--pacifiqueD);
  box-shadow: 0 12px 28px -10px rgba(255, 107, 74, 0.7);
}

.btn-sargasse {
  background: var(--sargasse);
  color: var(--abysse);
}

.btn-sargasse:hover {
  box-shadow: 0 12px 28px -10px rgba(242, 182, 50, 0.8);
}

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

.btn-indien:hover {
  background: var(--indienD);
}

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

.btn-caraibe:hover {
  background: var(--caraibeD);
}

.btn-ink {
  background: var(--abysse);
  color: #fff;
}

.btn-ink:hover {
  background: var(--abysse3);
}

.btn-ghost {
  border: 1.5px solid currentColor;
  color: inherit;
  background: transparent;
}

.btn-ghost-dark {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.14);
}

.wa-ico {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex: none;
}

/* 03. Header & Navigation (Compact Utility Header + Mobile Drawer)
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 20, 48, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hdr .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20.5px;
  letter-spacing: -0.01em;
  flex: none;
}

.logo:hover {
  text-decoration: none;
}

.logo i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--abysse2);
  position: relative;
  overflow: hidden;
  flex: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
}

.logo i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--pacifique);
  box-shadow: 0 0 12px var(--pacifique);
}

.logo i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15px;
  background: linear-gradient(var(--caraibe) 0 50%, var(--indien) 50%);
}

.logo b {
  color: var(--caraibeL);
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14.5px;
  font-weight: 600;
}

.nav a {
  color: #c8d0e8;
  padding: 6px 2px;
  transition: color 0.18s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--sargasse);
  text-decoration: none;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--sargasse);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.nav-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 30, 0.68);
  backdrop-filter: blur(4px);
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(330px, 86vw);
  background: var(--abysse);
  color: #d4dbf0;
  padding: 20px 22px 28px;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.nav-drawer-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--caraibeL);
  margin: 6px 0 4px;
}

.nav-drawer-group a {
  color: #e4e9f7;
  font-weight: 600;
  font-size: 15.5px;
  padding: 9px 10px;
  border-radius: 10px;
}

.nav-drawer-group a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--sargasse);
  text-decoration: none;
}

/* 04. Hero & Alternating Bands
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 8% 0, rgba(20, 184, 166, 0.28), transparent 60%),
    radial-gradient(760px 480px at 55% 120%, rgba(79, 107, 255, 0.32), transparent 60%),
    radial-gradient(700px 420px at 100% 10%, rgba(255, 107, 74, 0.26), transparent 60%),
    var(--abysse);
  color: #d4dbf0;
  padding: 60px 0 0;
}

.swell {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  pointer-events: none;
}

.swell i {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 100%;
  bottom: -40px;
  background: radial-gradient(ellipse 60px 18px at 50% 0, transparent 97%, currentColor 100%) 0 0 / 120px 40px repeat-x;
  opacity: 0.08;
  animation: drift 22s linear infinite;
}

.swell i:nth-child(1) {
  color: var(--caraibe);
  bottom: -60px;
}

.swell i:nth-child(2) {
  color: var(--indien);
  bottom: -90px;
  animation-duration: 30s;
  animation-direction: reverse;
}

.swell i:nth-child(3) {
  color: var(--pacifique);
  bottom: -120px;
  animation-duration: 38s;
}

@keyframes drift {
  to {
    transform: translateX(120px);
  }
}

.hgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.eyebrow b {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid;
}

.eyebrow .o1 {
  color: var(--caraibeL);
  border-color: rgba(20, 184, 166, 0.5);
}

.eyebrow .o2 {
  color: var(--indienL);
  border-color: rgba(79, 107, 255, 0.6);
}

.eyebrow .o3 {
  color: var(--pacifiqueL);
  border-color: rgba(255, 107, 74, 0.55);
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.hero h1 .k {
  display: block;
  font-style: italic;
  font-weight: 600;
  font-size: 0.52em;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--caraibeL), var(--indienL) 50%, var(--pacifiqueL));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
}

.hero .lead {
  color: #c4cce6;
  font-size: 18px;
  margin-top: 20px;
}

.hero .lead strong {
  color: #fff;
}

.ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chips li {
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chips b {
  color: var(--sargasse);
}

/* Sub-page Visual Hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 46px;
  background:
    radial-gradient(760px 360px at 94% -10%, rgba(20, 184, 166, 0.22), transparent 60%),
    radial-gradient(640px 320px at 4% 110%, rgba(79, 107, 255, 0.18), transparent 60%),
    radial-gradient(560px 280px at 55% -20%, rgba(255, 107, 74, 0.12), transparent 60%),
    linear-gradient(178deg, var(--blanc), var(--sable));
  border-bottom: 1px solid var(--line);
}

.page-hero.is-dark {
  background:
    radial-gradient(820px 420px at 8% 0, rgba(20, 184, 166, 0.25), transparent 60%),
    radial-gradient(700px 380px at 92% 100%, rgba(79, 107, 255, 0.28), transparent 60%),
    radial-gradient(620px 340px at 90% 10%, rgba(255, 107, 74, 0.2), transparent 60%),
    var(--abysse);
  color: #cdd4ea;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.page-hero h1 {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  max-width: 960px;
}

.page-hero.is-dark h1 {
  color: #fff;
}

.page-hero.is-dark .lead {
  color: #c3cbe4;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
}

/* Clock Card (Homepage Hero) */
.clock-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 20px 20px 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.cc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #fff;
}

.cc-head strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.cc-head small {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #9aa5c6;
}

.cc-head .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2);
  animation: ping2 2s infinite;
}

@keyframes ping2 {
  50% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
}

.cc-list {
  list-style: none;
  display: grid;
  gap: 4px;
}

.cc-list li {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 14.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.cc-list li:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cc-list li.on {
  background: rgba(242, 182, 50, 0.14);
  box-shadow: inset 0 0 0 1px rgba(242, 182, 50, 0.45);
}

.cc-list li i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.cc-list .atl i {
  background: var(--caraibe);
}

.cc-list .ind i {
  background: var(--indien);
}

.cc-list .pac i {
  background: var(--pacifique);
}

.cc-list .n {
  color: #e8ecf8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-list .t {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
  font-size: 15.5px;
}

.cc-list .d {
  font-size: 12px;
  color: #8f9abd;
  min-width: 62px;
  text-align: right;
}

.cc-foot {
  font-size: 13.5px;
  color: #9aa5c6;
  margin-top: 10px;
}

.cc-foot a {
  color: var(--sargasse);
}

/* Trust Strip & Territory Sticky Bar */
.trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 52px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  position: relative;
}

.trust li {
  background: var(--abysse2);
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust li i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(242, 182, 50, 0.12);
  border: 1px solid rgba(242, 182, 50, 0.35);
  margin-bottom: 4px;
}

.trust li i svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--sargasse);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust li b {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  line-height: 1.15;
}

.trust li span {
  font-size: 13px;
  color: #9aa5c6;
}

.terrbar {
  position: sticky;
  top: 66px;
  z-index: 40;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.terrbar .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
}

.terrbar .wrap > span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mut);
  white-space: nowrap;
}

.tb-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.tb-list::-webkit-scrollbar {
  display: none;
}

.tb-list button {
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  background: var(--blanc);
  color: var(--ink2);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  gap: 6px;
  align-items: center;
}

.tb-list button i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.tb-list button .dot-atl {
  background: var(--caraibe);
}

.tb-list button .dot-ind {
  background: var(--indien);
}

.tb-list button .dot-pac {
  background: var(--pacifique);
}

.tb-list button[aria-pressed="true"] {
  background: var(--abysse);
  color: #fff;
  border-color: var(--abysse);
}

/* Alternating Sections */
.sec {
  padding: 78px 0;
  scroll-margin-top: 90px;
}

.sec-tight {
  padding: 56px 0;
}

.sec-blanc {
  background: var(--blanc);
}

.sec-nacre {
  background: var(--nacre);
}

.sec-sable {
  background: linear-gradient(180deg, var(--nacre), var(--sable));
}

.sec-dark {
  background:
    radial-gradient(800px 400px at 0 0, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(255, 107, 74, 0.16), transparent 60%),
    var(--abysse);
  color: #cdd4ea;
}

.shead {
  max-width: 860px;
  margin-bottom: 34px;
}

.kick {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pacifiqueD);
  margin-bottom: 10px;
}

.shead h2,
.sec h2 {
  font-size: clamp(27px, 3.5vw, 42px);
  font-weight: 800;
}

.shead p {
  font-size: 17.5px;
  color: var(--ink2);
  margin-top: 12px;
}

.shead.light h2,
.sec-dark h2 {
  color: #fff;
}

.shead.light p {
  color: #b8c1de;
}

.shead.light .kick {
  color: var(--sargasse);
}

/* Segmented Controls */
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  background: rgba(13, 23, 51, 0.06);
  padding: 4px;
  border-radius: 12px;
}

.seg button {
  font-size: 14px;
  font-weight: 700;
  border: 0;
  background: transparent;
  color: var(--ink2);
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
}

.seg button[aria-pressed="true"] {
  background: var(--blanc);
  color: var(--ink);
  box-shadow: 0 2px 8px -2px rgba(13, 23, 51, 0.25);
}

.panel.dark .seg,
.sec-dark .seg {
  background: rgba(255, 255, 255, 0.08);
}

.panel.dark .seg button,
.sec-dark .seg button {
  color: #c4cce6;
}

.panel.dark .seg button[aria-pressed="true"],
.sec-dark .seg button[aria-pressed="true"] {
  background: var(--sargasse);
  color: var(--abysse);
}

/* Cinema Showcase & Poster Carousel */
.cinema {
  background:
    radial-gradient(800px 420px at 100% 0, rgba(79, 107, 255, 0.22), transparent 60%),
    radial-gradient(700px 400px at 0 100%, rgba(20, 184, 166, 0.16), transparent 60%),
    var(--abysse);
  color: #cdd4ea;
}

.poster-title {
  color: #fff;
  font-size: 20px;
  margin: 32px 0 14px;
}

.poster-carousel {
  list-style: none;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 24px 0 34px;
  padding: 14px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--sargasse) rgba(255, 255, 255, 0.08);
}

.poster-carousel::-webkit-scrollbar {
  height: 8px;
}

.poster-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}

.poster-carousel:focus-visible {
  outline: 2px solid var(--indien);
  outline-offset: 4px;
  border-radius: 12px;
}

.poster-carousel li {
  flex: 0 0 clamp(200px, 26vw, 290px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1c14;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.poster-carousel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.poster-carousel li:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 50px -16px rgba(0, 0, 0, 0.92), 0 0 0 2px var(--sargasse);
}

.poster-carousel li:hover img {
  transform: scale(1.06);
}

.genres {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 18px;
}

.genre {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 24px 22px 20px;
  min-height: 246px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, var(--g1), var(--g2));
  box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s, border-color 0.25s;
}

.genre:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.28);
}

.genre::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}

.genre::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 10px, transparent 10px 18px);
  opacity: 0.5;
}

.genre .gbadge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.genre .gico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 6px;
}

.genre .gico svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.genre h3 {
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
  margin-top: 4px;
}

.genre p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
  flex: 1;
}

.genre .gmeta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.genre .gmeta span {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px 10px;
}

.g-action { --g1: #d2472a; --g2: #3b0f1f; }
.g-thriller { --g1: #1b2b5c; --g2: #060b1c; }
.g-scifi { --g1: #2f45c4; --g2: #120a3a; }
.g-anim { --g1: #0b7f74; --g2: #0d3a52; }
.g-doc { --g1: #0f6a52; --g2: #06222a; }
.g-drame { --g1: #a77806; --g2: #3a1f0a; }
.g-series { --g1: #d6336c; --g2: #2a0b2e; }
.g-comedie { --g1: #14b8a6; --g2: #1b2b5c; }

.cine-feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.cine-feats div {
  background: var(--abysse2);
  padding: 16px 18px;
}

.cine-feats b {
  display: block;
  color: #fff;
  font-size: 15.5px;
}

.cine-feats span {
  font-size: 13.5px;
  color: #9aa5c6;
}

.cine-cta {
  text-align: center;
  margin-top: 30px;
}

/* 05. Pricing Plans & Cards
   -------------------------------------------------------------------------- */
.tarifs {
  background: linear-gradient(180deg, var(--nacre), var(--sable));
}

.ptools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

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

.billet {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s;
}

.billet:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.billet::before,
.billet::after {
  content: "";
  position: absolute;
  top: 150px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sable);
  border: 1px solid var(--line);
}

.billet::before {
  left: -12px;
}

.billet::after {
  right: -12px;
}

.b-top {
  border-bottom: 2px dashed var(--line);
  padding-bottom: 16px;
  min-height: 128px;
}

.b-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mut);
  letter-spacing: 0.1em;
}

.billet h3 {
  font-size: 26px;
  margin: 4px 0 6px;
}

.billet .b-top p {
  font-size: 14.5px;
  color: var(--ink2);
}

.b-price .pv {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.b-price small {
  font-size: 14px;
  color: var(--mut);
  font-weight: 600;
}

.billet ul {
  list-style: none;
  font-size: 14.5px;
  color: var(--ink2);
  flex: 1;
}

.billet li {
  padding: 6px 0 6px 24px;
  position: relative;
  border-bottom: 1px solid rgba(13, 23, 51, 0.06);
}

.billet li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--caraibe);
  border-bottom: 2.5px solid var(--caraibe);
  transform: rotate(-45deg);
}

.billet.hot,
.billet.plan--featured {
  background: var(--abysse);
  border-color: var(--abysse);
  color: #cdd4ea;
  transform: translateY(-8px);
}

.billet.hot:hover,
.billet.plan--featured:hover {
  transform: translateY(-12px);
}

.billet.hot h3,
.billet.hot .pv,
.billet.plan--featured h3,
.billet.plan--featured .pv {
  color: #fff;
}

.billet.hot .b-top p,
.billet.hot ul,
.billet.plan--featured .b-top p,
.billet.plan--featured ul {
  color: #b8c1de;
}

.billet.hot li,
.billet.plan--featured li {
  border-color: rgba(255, 255, 255, 0.08);
}

.billet.hot::before,
.billet.hot::after,
.billet.plan--featured::before,
.billet.plan--featured::after {
  border-color: transparent;
}

.billet.hot .b-top,
.billet.plan--featured .b-top {
  border-color: rgba(255, 255, 255, 0.18);
}

.ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--pacifique);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.pnote {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--mut);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.paycards {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}

.paycards span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  padding: 3px 9px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
}

.paycards.dark {
  margin: 0;
}

.paycards.dark span {
  color: var(--ink);
  border-color: var(--line);
  background: var(--blanc);
}

/* Compact 4-plan strip (Articles, Local City Pages, Pricing Trust) */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 16px 0 26px;
}

.plan {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  box-shadow: var(--shadow-card);
}

.plan.hot,
.plan.plan--featured {
  border: 2px solid var(--pacifique);
  background: var(--abysse);
  color: #cdd4ea;
  box-shadow: 0 18px 40px -24px rgba(255, 107, 74, 0.65);
}

.plan.hot h3,
.plan.hot h4,
.plan.plan--featured h3,
.plan.plan--featured h4 {
  color: var(--sargasse);
}

.plan.hot .p,
.plan.plan--featured .p {
  color: #fff;
}

.plan.hot .p small,
.plan.plan--featured .p small {
  color: #b8c1de;
}

.plan h3,
.plan h4 {
  font-size: 13px;
  color: var(--mut);
  font-weight: 800;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-features {
  list-style: none;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink2);
  margin: 6px 0 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 5px;
}

.plan-features li {
  position: relative;
  padding-left: 19px;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--caraibe);
  border-bottom: 2px solid var(--caraibe);
  transform: rotate(-45deg);
}

.plan.hot .plan-features,
.plan.plan--featured .plan-features {
  color: #cdd4ea;
  border-top-color: rgba(255, 255, 255, 0.16);
}

.plan .p {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.plan .p small {
  display: block;
  font-size: 13px;
  color: var(--mut);
  font-weight: 600;
  font-family: var(--font-sans);
  margin-top: 4px;
}

.plan .btn {
  width: 100%;
  margin-top: 8px;
  padding: 10px 14px;
  font-size: 14px;
}

.plan-badge {
  display: inline-block;
  align-self: center;
  background: var(--pacifique);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 06. Bento / Device / App Grids & Elevated Metric Cards
   -------------------------------------------------------------------------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.metrics > div {
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-top: 5px solid var(--caraibe);
  box-shadow: var(--shadow-card);
}

.metrics > div:nth-child(2) {
  border-top-color: var(--indien);
}

.metrics > div:nth-child(3) {
  border-top-color: var(--pacifique);
}

.metrics > div:nth-child(4) {
  border-top-color: var(--sargasse);
}

.metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--abysse);
  line-height: 1.1;
}

.metrics span {
  font-size: 14px;
  color: var(--ink2);
  font-weight: 600;
}

.metrics.on-dark > div {
  background: var(--abysse2);
  border-color: rgba(255, 255, 255, 0.12);
}

.metrics.on-dark b {
  color: #fff;
}

.metrics.on-dark span {
  color: #a9b4d4;
}

/* Modular Asymmetric Bento Grid */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-tile {
  grid-column: span 4;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(79, 107, 255, 0.35);
}

.bento-tile.span-6 {
  grid-column: span 6;
}

.bento-tile.span-8 {
  grid-column: span 8;
}

.bento-tile.span-12 {
  grid-column: span 12;
}

.bento-tile.is-dark {
  background: var(--abysse);
  border-color: var(--abysse);
  color: #cdd4ea;
}

.bento-tile.is-dark h3 {
  color: #fff;
}

.bento-tile.is-dark p {
  color: #b8c1de;
}

.bento-tile.accent-caraibe {
  border-top: 4px solid var(--caraibe);
}

.bento-tile.accent-indien {
  border-top: 4px solid var(--indien);
}

.bento-tile.accent-pacifique {
  border-top: 4px solid var(--pacifique);
}

.bento-tile.accent-sargasse {
  border-top: 4px solid var(--sargasse);
}

.bento-tile h3 {
  font-size: 21px;
  line-height: 1.22;
}

.bento-tile p {
  font-size: 15px;
  color: var(--ink2);
  flex: 1;
}

.bento-link {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--indienD);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bento-tile.is-dark .bento-link {
  color: var(--sargasse);
}

/* 2-Column Side-by-Side Matrix */
.matrix-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.matrix-card {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.matrix-card.is-dark {
  background: var(--abysse);
  border-color: var(--abysse);
  color: #cdd4ea;
}

.matrix-card.is-dark h3 {
  color: #fff;
}

.matrix-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.matrix-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.matrix-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.matrix-card.is-dark .matrix-list li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.matrix-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.matrix-list strong {
  color: var(--ink);
}

.matrix-card.is-dark .matrix-list strong {
  color: #fff;
}

/* Device & App Visual Cards */
.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(135deg, var(--abysse), var(--abysse3));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.icon-badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--caraibeL);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge.badge-caraibe {
  background: linear-gradient(135deg, var(--caraibeD), var(--caraibe));
}

.icon-badge.badge-indien {
  background: linear-gradient(135deg, var(--indienD), var(--indien));
}

.icon-badge.badge-pacifique {
  background: linear-gradient(135deg, var(--pacifiqueD), var(--pacifique));
}

.icon-badge.badge-sargasse {
  background: linear-gradient(135deg, var(--sargasseD), var(--sargasse));
}

.icon-badge.badge-caraibe svg,
.icon-badge.badge-indien svg,
.icon-badge.badge-pacifique svg,
.icon-badge.badge-sargasse svg {
  stroke: #fff;
}

.app-tile-svg {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  flex: none;
  box-shadow: 0 12px 22px -12px rgba(10, 20, 48, 0.5);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-head small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pacifiqueD);
  font-weight: 600;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.spec-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--nacre);
  border: 1px solid var(--line);
  color: var(--ink2);
}

.spec-chip.is-hl {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.35);
  color: var(--caraibeD);
}

.spec-chip.is-warn {
  background: rgba(255, 107, 74, 0.12);
  border-color: rgba(255, 107, 74, 0.35);
  color: var(--pacifiqueD);
}

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

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

.device-card,
.app-card,
.gloss-card {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.device-card:hover,
.app-card:hover,
.gloss-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(79, 107, 255, 0.32);
}

.device-card p,
.app-card p,
.gloss-card p {
  font-size: 15px;
  color: var(--ink2);
}

.gloss-card {
  scroll-margin-top: 100px;
  border-top: 4px solid var(--indien);
}

.gloss-card:nth-child(3n+2) {
  border-top-color: var(--caraibe);
}

.gloss-card:nth-child(3n) {
  border-top-color: var(--pacifique);
}

.gloss-tip {
  background: var(--nacre);
  border-left: 4px solid var(--caraibe);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 14px;
  color: var(--ink2);
  margin-top: auto;
}

/* Pillars & Performance (Homepage + About) */
.perf {
  background: var(--blanc);
}

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

.pillar {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}

.pillar .pico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--caraibe), var(--indien));
  margin-bottom: 14px;
}

.pillar:nth-child(2) .pico {
  background: linear-gradient(135deg, var(--indien), var(--hibiscus));
}

.pillar:nth-child(3) .pico {
  background: linear-gradient(135deg, var(--pacifique), var(--sargasse));
}

.pillar .pico svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar .n {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pacifiqueD);
}

.pillar .big {
  position: absolute;
  right: 22px;
  top: 26px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--indienD);
  background: rgba(79, 107, 255, 0.08);
  border-radius: 8px;
  padding: 3px 9px;
}

.pillar h3 {
  font-size: 22px;
  margin: 6px 0 10px;
}

.pillar p {
  color: var(--ink2);
  font-size: 15.5px;
}

.pillar ul {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 7px;
}

.pillar li {
  font-size: 14.5px;
  padding-left: 24px;
  position: relative;
  color: var(--ink);
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--caraibeD);
  border-bottom: 2.5px solid var(--caraibeD);
  transform: rotate(-45deg);
}

.pstrip {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.pstrip > div {
  border-radius: 20px;
  padding: 24px;
  background: var(--nacre);
  border: 1px solid var(--line);
}

.pstrip > div:last-child {
  background: var(--abysse);
  color: #cdd4ea;
  border-color: var(--abysse);
}

.pstrip > div:last-child h3 {
  color: #fff;
}

.pstrip h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.pstrip p {
  font-size: 15px;
}

.perf-cta {
  margin-top: 14px;
}

/* Comparison Tables */
.tbl,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--blanc);
}

.tbl table,
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 720px;
}

.tbl th,
.tbl td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.tbl thead th {
  background: var(--abysse);
  color: #fff;
  font-size: 14px;
}

.tbl thead th.col-hl,
.tbl thead th:nth-child(2) {
  background: var(--pacifiqueD);
}

.tbl tbody th {
  font-weight: 700;
  background: var(--nacre);
}

.tbl td.y {
  color: var(--caraibeD);
  font-weight: 700;
}

.tbl td.n {
  color: var(--pacifiqueD);
}

.tbl td:nth-child(2) {
  background: rgba(255, 107, 74, 0.05);
}

/* Author Profile Card */
.profile-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 34px -18px rgba(10, 20, 48, 0.55);
}

/* 07. Interactive Calculator, Map, Topology & Filters
   -------------------------------------------------------------------------- */
.filter-pills,
.jump-pills,
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.filter-pills button,
.jump-pills a,
.filters button {
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--line);
  background: var(--blanc);
  color: var(--ink2);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.filter-pills button:hover,
.jump-pills a:hover,
.filters button:hover {
  border-color: var(--indien);
  color: var(--indienD);
  text-decoration: none;
}

.filter-pills button[aria-pressed="true"],
.filters button[aria-pressed="true"] {
  background: var(--abysse);
  color: #fff;
  border-color: var(--abysse);
}

.est-grid,
.sp-grid,
.inst-grid,
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.panel {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  min-width: 0;
  box-shadow: var(--shadow-card);
}

.panel.dark {
  background: var(--abysse);
  color: #cdd4ea;
  border-color: var(--abysse);
}

.panel.dark h3 {
  color: #fff;
}

.fl {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mut);
  margin: 16px 0 8px;
}

.panel.dark .fl {
  color: #8f9abd;
}

.fl:first-child {
  margin-top: 0;
}

.sel {
  width: 100%;
  font-size: 15.5px;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--blanc);
  color: var(--ink);
}

.panel.dark .sel {
  background: var(--abysse2);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.isp {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.isp button {
  font-size: 14px;
  text-align: left;
  border: 1.5px solid var(--line);
  background: var(--nacre);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1.3;
}

.isp button small {
  display: block;
  color: var(--mut);
  font-size: 12.5px;
  margin-top: 2px;
}

.isp button[aria-pressed="true"] {
  border-color: var(--indien);
  background: #eef0ff;
  box-shadow: 0 0 0 3px rgba(79, 107, 255, 0.15);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--pacifique);
}

.chk {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  margin-top: 16px;
  color: var(--ink2);
}

.chk input {
  width: 18px;
  height: 18px;
  accent-color: var(--indien);
}

.gauge {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
}

.g-bg,
.g-fg {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
}

.g-bg {
  stroke: rgba(255, 255, 255, 0.1);
}

.g-fg {
  stroke: var(--caraibe);
  transition: stroke-dasharray 0.5s, stroke 0.3s;
}

.g-read {
  text-align: center;
  margin-top: -58px;
  margin-bottom: 22px;
}

.g-read b {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  color: #fff;
  line-height: 1;
}

.g-read span {
  font-size: 13px;
  color: #8f9abd;
}

.kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

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

.kpis div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 12px 14px;
}

.kpis small {
  display: block;
  font-size: 12.5px;
  color: #9aa5c6;
}

.kpis b {
  font-family: var(--font-mono);
  font-size: 19px;
  color: #fff;
}

.calc-isp-card {
  margin-top: 10px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.32);
  border-left: 4px solid var(--caraibe);
  border-radius: 12px;
  padding: 12px 15px;
}

.calc-isp-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--caraibeL);
  margin-bottom: 3px;
}

.calc-isp-card strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.verdict {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.verdict.ok {
  background: rgba(20, 184, 166, 0.18);
  color: var(--caraibeL);
}

.verdict.mid {
  background: rgba(242, 182, 50, 0.16);
  color: var(--sargasseL);
}

.verdict.ko {
  background: rgba(255, 107, 74, 0.18);
  color: var(--pacifiqueL);
}

.tips {
  list-style: none;
  margin-top: 12px;
  font-size: 14.5px;
}

.tips li {
  padding: 7px 0 7px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tips li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--sargasse);
}

/* Interactive Map & Territory Card */
.terr {
  background: var(--blanc);
}

.tgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.worldmap {
  background: var(--abysse);
  border-radius: 22px;
  padding: 14px;
  margin: 0;
  overflow: hidden;
}

.worldmap svg {
  width: 100%;
  height: auto;
  display: block;
}

.worldmap figcaption {
  color: #8f9abd;
  font-size: 13px;
  padding: 8px 6px 2px;
}

#map .eq { stroke: rgba(242, 182, 50, 0.35); stroke-dasharray: 6 6; }
#map .tr { stroke: rgba(255, 255, 255, 0.1); stroke-dasharray: 2 6; }
#map .lbl { fill: rgba(242, 182, 50, 0.6); font: 600 11px var(--font-mono); }
#map .ocean { fill: rgba(255, 255, 255, 0.12); font: 700 15px var(--font-sans); letter-spacing: 0.3em; }
#map .lk { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; }
#map .lk.on { stroke: var(--sargasse); stroke-width: 2.5; stroke-dasharray: 6 5; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -11; } }
#map .hub rect { fill: var(--abysse); stroke: #cdd4ea; stroke-width: 1.5; }
#map .hub text { fill: #cdd4ea; font: 600 11px var(--font-mono); }
#map .hub.on rect { stroke: var(--sargasse); fill: var(--sargasse); }
#map .pin { cursor: pointer; }
#map .pin circle { stroke: var(--abysse); stroke-width: 2; }
#map .pin text { fill: #fff; font: 700 12px var(--font-sans); paint-order: stroke; stroke: var(--abysse); stroke-width: 3px; }
#map .pin.atl circle { fill: var(--caraibe); }
#map .pin.ind circle { fill: var(--indien); }
#map .pin.pac circle { fill: var(--pacifique); }
#map .pin.on circle { stroke: #fff; stroke-width: 3; }
#map .pin:focus { outline: none; }
#map .pin:focus circle { stroke: var(--sargasse); stroke-width: 4; }

.tcard {
  background: var(--nacre);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.tc-h {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.tc-code {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
  background: var(--abysse);
  color: var(--sargasse);
  border-radius: 12px;
  padding: 12px;
  min-width: 62px;
  text-align: center;
}

.tc-h h3 {
  font-size: 26px;
}

.tc-h small {
  color: var(--mut);
  font-size: 14px;
}

.tc-dl {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.tc-dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.tc-dl dt {
  color: var(--mut);
  font-weight: 600;
}

.tc-dl dd {
  color: var(--ink);
}

.tc-tip {
  font-size: 15px;
  background: var(--blanc);
  border-left: 4px solid var(--caraibe);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  color: var(--ink2);
}

/* Installation Assistant & Topology */
.install {
  background: var(--blanc);
}

.devs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.devs button {
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  background: var(--nacre);
  border-radius: 12px;
  padding: 12px 8px;
  cursor: pointer;
  color: var(--ink);
}

.devs button[aria-pressed="true"] {
  background: var(--abysse);
  color: #fff;
  border-color: var(--abysse);
}

.install h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.steps {
  counter-reset: s;
  list-style: none;
}

.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 14px 44px;
  font-size: 15.5px;
  color: var(--ink2);
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--caraibe);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.out {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--abysse2);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--sargasseL);
  word-break: break-all;
  min-height: 44px;
}

.sp-note {
  font-size: 14px;
  color: #9aa5c6;
  margin-top: 14px;
  line-height: 1.55;
}

.panel.dark .btn {
  margin-top: 14px;
}

.tiny {
  font-size: 12.5px;
  color: #8f9abd;
  margin-top: 10px;
}

.reseau {
  background:
    radial-gradient(800px 400px at 0 0, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(255, 107, 74, 0.16), transparent 60%),
    var(--abysse);
  color: #cdd4ea;
}

.res-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.topo {
  width: 100%;
  height: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 10px;
}

.topo .cols text { fill: #8f9abd; font: 600 11px var(--font-mono); text-anchor: middle; letter-spacing: 0.08em; }
.topo .p { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; }
.topo .p.on { stroke: var(--sargasse); stroke-width: 3; stroke-dasharray: 7 6; animation: flow 1s linear infinite; }
.topo .p.on.bad { stroke: var(--pacifique); }
.topo .nd rect { fill: var(--abysse2); stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.5; rx: 9; }
.topo .nd text { fill: #cdd4ea; font: 600 11px var(--font-sans); text-anchor: middle; }
.topo .nd.on rect { stroke: var(--sargasse); fill: #1e2b55; }
.topo .nd.on text { fill: #fff; }

/* Homepage Guides, Engineering & FAQ */
.guides {
  background: linear-gradient(180deg, var(--nacre), var(--sable));
}

.gcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 16px;
}

.gcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-top: 5px solid var(--caraibe);
  border-radius: 18px;
  padding: 22px;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gcard:nth-child(3n+2) {
  border-top-color: var(--indien);
}

.gcard:nth-child(3n) {
  border-top-color: var(--pacifique);
}

.gcard:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.gcard .gtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.gcard .gcat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--caraibeD);
  background: rgba(20, 184, 166, 0.09);
  border: 1px solid rgba(20, 184, 166, 0.32);
  padding: 4px 10px;
  border-radius: 6px;
}

.gcard .gmin {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pacifiqueD);
}

.gcard h3 {
  font-size: 18px;
  margin: 4px 0 2px;
  line-height: 1.25;
}

.gcard p {
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.5;
  flex: 1;
}

.gcard .gmore {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--indienD);
}

.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 44px;
}

.seo h3 {
  font-size: 22px;
  margin: 26px 0 10px;
  color: var(--indienD);
}

.seo p {
  color: var(--ink2);
  margin-bottom: 14px;
}

.seo-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.spec {
  background: var(--abysse);
  color: #cdd4ea;
  border-radius: 22px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.spec::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--caraibe) 0 33.3%, var(--indien) 33.3% 66.6%, var(--pacifique) 66.6%);
}

.spec h3 {
  color: #fff;
  margin: 6px 0 14px;
}

.spec dl div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 10px;
  font-size: 14.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec dt {
  color: #8f9abd;
}

.spec dd {
  color: #fff;
}

.ups {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-left: 5px solid var(--sargasse);
  border-radius: 18px;
  padding: 20px;
}

.ups h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

/* Clean FAQ List */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 44px;
}

.faq-grid > div:first-child p {
  color: var(--ink2);
  margin: 14px 0 20px;
}

.faq details,
.faq-list details {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 0 20px;
  transition: border-color 0.18s;
}

.faq details[open],
.faq-list details[open] {
  border-color: rgba(79, 107, 255, 0.35);
}

.faq summary,
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq summary::after,
.faq-list summary::after {
  content: "+";
  color: var(--pacifique);
  font-size: 24px;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after,
.faq-list details[open] summary::after {
  content: "–";
}

.faq details p,
.faq-list details p {
  padding-bottom: 16px;
  color: var(--ink2);
  margin: 0;
}

.faq-cat-title {
  font-size: 23px;
  margin: 34px 0 14px;
  padding-top: 8px;
  scroll-margin-top: 90px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-cat-title:first-of-type {
  margin-top: 0;
}

.final {
  background: var(--abysse);
  color: #cdd4ea;
  text-align: center;
  padding: 76px 0;
  position: relative;
}

.final h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
}

.final p {
  max-width: 660px;
  margin: 14px auto 0;
  color: #b8c1de;
}

.final .ctas {
  justify-content: center;
}

/* 08. Editorial Articles, Article Hub & Legal Pages
   -------------------------------------------------------------------------- */
.hhero {
  position: relative;
  padding: 58px 0 46px;
  background:
    radial-gradient(760px 360px at 95% -10%, rgba(20, 184, 166, 0.24), transparent 60%),
    radial-gradient(640px 300px at -5% 120%, rgba(255, 107, 74, 0.16), transparent 60%),
    linear-gradient(175deg, var(--blanc), var(--sable));
  border-bottom: 1px solid var(--line);
}

.hhero .k {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pacifiqueD);
  font-weight: 700;
}

.hhero h1 {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  margin: 10px 0 14px;
  max-width: 960px;
}

.hhero p {
  font-size: 18.5px;
  color: var(--ink2);
  max-width: 820px;
}

.hstats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--mut);
}

.hstats b {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink);
  display: block;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 20px;
  padding-bottom: 30px;
}

.card {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-top: 5px solid var(--caraibe);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:nth-child(3n+2) {
  border-top-color: var(--pacifique);
}

.card:nth-child(3n) {
  border-top-color: var(--sargasse);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.card .in {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.card .cat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--caraibeD);
  background: rgba(20, 184, 166, 0.09);
  border: 1px solid rgba(20, 184, 166, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.card .min {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pacifiqueD);
  letter-spacing: 0.08em;
}

.card h2 {
  font-size: 19px;
  line-height: 1.3;
}

.card h2 a {
  color: var(--ink);
}

.card p {
  font-size: 15px;
  color: var(--ink2);
}

.card .m {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--mut);
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.card .more {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--caraibeD);
}

.hub-cta {
  margin: 30px 0 80px;
  border-radius: 24px;
  padding: 38px;
  background: linear-gradient(135deg, var(--abysse), var(--abysse3) 55%, var(--caraibeD));
  color: #fff;
  text-align: center;
  border-top: 5px solid var(--sargasse);
}

.hub-cta h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
}

.hub-cta p {
  color: #cdd4ea;
  max-width: 680px;
  margin: 0 auto 20px;
}

.hub-cta .row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Article Pages */
.ahero {
  padding: 52px 0 36px;
  background:
    radial-gradient(700px 340px at 4% -20%, rgba(20, 184, 166, 0.2), transparent 60%),
    radial-gradient(620px 300px at 52% -30%, rgba(79, 107, 255, 0.16), transparent 60%),
    radial-gradient(600px 300px at 100% 0, rgba(255, 107, 74, 0.2), transparent 60%),
    linear-gradient(180deg, var(--blanc), var(--nacre));
  border-bottom: 1px solid var(--line);
}

.ahero h1 {
  font-size: clamp(27px, 3.8vw, 44px);
  font-weight: 800;
  max-width: 980px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--mut);
}

.meta strong {
  color: var(--ink);
  font-weight: 700;
}

.meta a {
  color: var(--indienD);
  font-weight: 700;
}

.agrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 48px;
  padding: 36px 0 80px;
}

.agrid > * {
  min-width: 0;
}

.prose h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  margin: 46px 0 16px;
  padding-top: 8px;
  scroll-margin-top: 90px;
}

.prose h3 {
  font-size: 20px;
  margin: 30px 0 12px;
  color: var(--indienD);
}

.prose p {
  margin: 0 0 18px;
  color: #283150;
}

.prose ul,
.prose ol {
  margin: 0 0 20px 24px;
  color: #283150;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--ink);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: #e6f7f4;
  border: 1px solid rgba(20, 184, 166, 0.3);
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--caraibeD);
}

.prose pre {
  background: var(--abysse);
  border-radius: 14px;
  padding: 18px;
  overflow: auto;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
}

.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--sargasseL);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 26px;
  font-size: 15.5px;
  display: block;
  overflow-x: auto;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--abysse);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose tr:hover td {
  background: rgba(79, 107, 255, 0.05);
}

.toc {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 0 0 30px;
  box-shadow: 0 10px 30px -22px rgba(10, 20, 48, 0.45);
  position: relative;
  overflow: hidden;
}

.toc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(var(--caraibe), var(--indien), var(--pacifique));
}

.toc strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.toc ol {
  margin: 0 0 0 20px;
}

.toc li {
  margin: 6px 0;
  font-size: 16px;
}

.box {
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  background: var(--blanc);
}

.box.tip {
  border-left: 5px solid var(--caraibe);
}

.box.warn {
  border-left: 5px solid var(--pacifique);
  background: #fff2ed;
}

.box.expert {
  border-left: 5px solid var(--indien);
  background: #f0f2ff;
}

.box p:last-child {
  margin: 0;
}

.box-t {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
  font-size: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 0 0 26px;
}

.stat {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--pacifiqueD);
}

.stat span {
  font-size: 14px;
  color: var(--mut);
}

.cta {
  margin: 40px 0;
  border-radius: 22px;
  padding: 34px 34px 44px;
  background: var(--abysse);
  color: #cdd4ea;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--caraibe) 0 33.3%, var(--indien) 33.3% 66.6%, var(--pacifique) 66.6%);
}

.cta h2,
.cta h3 {
  margin: 0 0 10px;
  color: #fff;
}

.cta p {
  color: #cdd4ea;
  margin: 0 auto 18px;
  max-width: 640px;
}

.cta .row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.author {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin-top: 42px;
}

.author .av {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--abysse);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--sargasse);
  flex: none;
  border: 3px solid var(--caraibe);
  font-size: 14px;
}

.author p {
  font-size: 15px;
  margin: 4px 0 0;
  color: var(--mut);
}

.aside .stick {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.side.offer {
  background: var(--abysse);
  color: #cdd4ea;
  border: 0;
  position: relative;
  overflow: hidden;
  padding-top: 30px;
}

.side.offer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--caraibe) 0 33.3%, var(--indien) 33.3% 66.6%, var(--pacifique) 66.6%);
}

.side.offer h4,
.side.offer .side-title {
  color: #fff;
}

.side h4,
.side .side-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.side ul {
  list-style: none;
}

.side li {
  margin: 9px 0;
  font-size: 14.5px;
  line-height: 1.45;
}

.side .price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--sargasse);
}

.side .price small {
  font-size: 13px;
  color: #9aa5c6;
  font-weight: 600;
  font-family: var(--font-sans);
}

.side .btn {
  width: 100%;
  margin-top: 12px;
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.related a {
  display: block;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
}

.related a:hover {
  border-color: var(--indien);
  text-decoration: none;
}

.related a small {
  display: block;
  font-family: var(--font-mono);
  color: var(--pacifiqueD);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Legal Pages */
.lhero {
  padding: 54px 0 34px;
  background: linear-gradient(175deg, var(--blanc), var(--sable));
  border-bottom: 1px solid var(--line);
}

.lhero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
}

.lhero p {
  color: var(--mut);
  margin-top: 10px;
}

.legal {
  max-width: 860px;
  padding: 40px 22px 80px;
}

.legal h2 {
  font-size: 25px;
  margin: 34px 0 12px;
}

.legal p,
.legal li {
  color: var(--ink2);
  margin-bottom: 12px;
}

.legal ul,
.legal ol {
  margin: 0 0 18px 22px;
}

.legal .box {
  border-left: 6px solid var(--caraibe);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 22px 0;
}

.legal nav.lnk {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.legal nav.lnk a {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  background: var(--blanc);
  font-weight: 600;
}

/* 09. Footer, Sticky CTA & WhatsApp
   -------------------------------------------------------------------------- */
.ftr {
  background: var(--abysse);
  color: #a5aecb;
  padding: 0 0 110px;
  font-size: 15px;
  position: relative;
}

.ftr .bande {
  margin-bottom: 52px;
}

.ftr-desc {
  margin-top: 14px;
  max-width: 400px;
  line-height: 1.6;
}

.fgrid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.15fr 1fr;
  gap: 30px;
}

.ftr h5,
.ftr .ftr-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.ftr ul {
  list-style: none;
}

.ftr li {
  margin: 7px 0;
}

.ftr a {
  color: #a5aecb;
}

.ftr a:hover {
  color: var(--sargasse);
}

.fbot {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
}

/* Floating Sticky Offer Bar (All non-homepage pages) */
#cta-sticky {
  position: fixed;
  left: 18px;
  bottom: 20px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 20, 48, 0.96);
  color: #fff;
  border: 1px solid rgba(242, 182, 50, 0.42);
  border-radius: 16px;
  padding: 11px 14px 11px 16px;
  box-shadow: 0 18px 36px -14px rgba(4, 12, 32, 0.72);
  backdrop-filter: blur(10px);
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

#cta-sticky.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#cta-sticky .cta-sticky-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

#cta-sticky .cta-sticky-copy strong {
  font-family: var(--font-display);
  font-size: 15.5px;
  color: #fff;
}

#cta-sticky .cta-sticky-copy span {
  font-size: 12.5px;
  color: var(--caraibeL);
}

/* Floating WhatsApp Widget */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  filter: drop-shadow(0 14px 26px rgba(4, 34, 47, 0.42));
  transition: transform 0.25s;
}

.wa-float:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.wa-float .wa-pill {
  position: relative;
  display: block;
  background: #25d366;
  color: #03230f;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.35;
  padding: 12px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wa-float .wa-pill::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #25d366;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.wa-float .wa-circ {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #4ee38a, #25d366 55%, #16a34a);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2);
}

.wa-float .wa-circ::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ping 2.2s infinite;
  pointer-events: none;
}

.wa-float .wa-circ svg {
  width: 31px;
  height: 31px;
  fill: #fff;
}

.wa-float:hover .wa-pill,
.wa-float:hover .wa-pill::after {
  background: #2ee072;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* 10. Responsive Breakpoints (<=1024px, <=760px, <=600px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hgrid,
  .page-hero-grid,
  .tgrid,
  .seo-grid,
  .agrid,
  .res-grid {
    grid-template-columns: 1fr;
  }

  .aside {
    display: none;
  }

  .billets,
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .bento-tile,
  .bento-tile.span-6,
  .bento-tile.span-8 {
    grid-column: span 6;
  }

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

@media (max-width: 760px) {
  .sec {
    padding: 60px 0;
  }

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

  .trust li:last-child {
    grid-column: span 2;
  }

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

  .est-grid,
  .sp-grid,
  .inst-grid,
  .calc-grid,
  .matrix-2col,
  .faq-grid,
  .pstrip,
  .pillars,
  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .bento-tile,
  .bento-tile.span-6,
  .bento-tile.span-8,
  .bento-tile.span-12 {
    grid-column: span 12;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  /* Safe positioning of #cta-sticky above .wa-float on tablet/mobile */
  #cta-sticky {
    left: 12px;
    right: 12px;
    bottom: 92px;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .hdr .btn-wa {
    font-size: 0;
    padding: 10px;
    gap: 0;
  }

  .hdr .btn-wa .wa-ico {
    width: 21px;
    height: 21px;
  }

  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .terrbar .wrap > span {
    display: none;
  }

  .kpis.kpis-3 {
    grid-template-columns: 1fr;
  }

  .billets,
  .plans {
    grid-template-columns: 1fr;
  }

  .billet.hot,
  .billet.plan--featured {
    transform: none;
  }

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

  .tc-dl div,
  .two {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .wa-float {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }

  .wa-float .wa-pill {
    font-size: 13.5px;
    padding: 10px 15px;
  }

  .wa-float .wa-circ {
    width: 52px;
    height: 52px;
  }

  .wa-float .wa-circ svg {
    width: 27px;
    height: 27px;
  }

  #cta-sticky {
    bottom: 76px;
    padding: 9px 12px;
  }

  #cta-sticky .cta-sticky-copy strong {
    font-size: 14px;
  }

  #cta-sticky .cta-sticky-copy span {
    font-size: 11.5px;
  }
}

@media (max-width: 340px) {
  .wa-float .wa-pill {
    display: none;
  }
}

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