/* =====================================================
   IPTV Test Gratuit — main.css 2026
   ===================================================== */

/* ---------- Variables ---------- */
:root {
  --bg: #f0f2f8;
  --bg-alt: #e8eaf2;
  --white: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --dark-card: #0f1724;
  --dark-card-text: #e5e7eb;
  --radius: 1rem;
  --radius-sm: .6rem;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
}

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

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ---------- Layout ---------- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }

/* ---------- Typography ---------- */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
  color: var(--text);
}
.sub { color: var(--muted); margin-bottom: 2.5rem; font-size: 1.05rem; }
.highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .75rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.45); }
.btn--white { background: var(--white); color: var(--primary); font-weight: 700; }
.btn--white:hover { background: var(--bg); transform: translateY(-2px); }

.btn--ghost {
  border: 2px solid var(--text);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover { background: var(--text); color: var(--white); }

.btn--nav-cta {
  background: var(--dark-card);
  color: var(--white);
  padding: .6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}
.btn--nav-cta:hover { opacity: .85; }

.btn--plan {
  display: block;
  width: 100%;
  padding: .8rem;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--primary);
  margin: 1rem 0 .5rem;
  transition: all .2s;
}
.btn--plan:hover { background: var(--primary); color: var(--white); }

.btn--plan-featured {
  display: block;
  width: 100%;
  padding: .85rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  margin: 1rem 0 .5rem;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
}
.btn--plan-featured:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  font-weight: 700;
  padding: .85rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.btn--whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.nav-inner, .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-name { color: var(--primary); }
.logo { width: 38px; height: 38px; border-radius: 8px; }

.menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.menu a:hover { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; display: block; transition: .3s; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, #dde3f5 0%, #e8ecf8 50%, #f0f4fc 100%);
  padding: 7rem 1rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Decorative shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.shape--1 {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  border-radius: 50%;
  top: 18%; left: 6%;
  font-size: 1.7rem;
  color: #fff;
  box-shadow: 0 8px 28px rgba(244,63,94,.35);
  animation: float1 6s ease-in-out infinite;
}
.shape--2 {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #818cf8, #6366f1);
  border-radius: 22px;
  top: 26%; right: 7%;
  font-size: 2rem;
  box-shadow: 0 8px 28px rgba(99,102,241,.35);
  animation: float2 7s ease-in-out infinite;
}
.shape--3 {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 50%;
  top: 13%; right: 19%;
  opacity: .55;
  animation: float3 5s ease-in-out infinite;
}
.shape--4 {
  background: linear-gradient(135deg, #fb923c, #f97316);
  border-radius: 50px;
  bottom: 24%; left: 5%;
  padding: .55rem 1.3rem;
  font-size: .82rem;
  color: #fff;
  letter-spacing: .6px;
  box-shadow: 0 8px 28px rgba(251,146,60,.4);
  animation: float1 8s ease-in-out infinite reverse;
}
.shape--5 {
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  bottom: 30%; right: 12%;
  opacity: .4;
  animation: float3 9s ease-in-out infinite;
}
@media (max-width: 768px) {
  .shape--1 { width: 46px; height: 46px; font-size: 1.15rem; top: 8%; left: 3%; }
  .shape--2 { width: 48px; height: 48px; font-size: 1.3rem; top: 8%; right: 3%; border-radius: 15px; }
  .shape--3 { width: 16px; height: 16px; top: 6%; right: 17%; }
  .shape--4 { padding: .38rem .9rem; font-size: .72rem; bottom: 12%; left: 3%; }
  .shape--5 { width: 14px; height: 14px; bottom: 18%; right: 6%; }
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-8deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.badge-hero {
  display: inline-block;
  background: rgba(37,99,235,.12);
  color: var(--primary);
  border: 1px solid rgba(37,99,235,.25);
  padding: .4rem 1.1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}
.hero-sub strong { color: var(--primary); }

.hero-clients {
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--primary);
  font-weight: 600;
}

.seo-intro {
  font-size: .9rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.seo-intro strong { color: var(--text); }

.cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 1rem 0;
}
.trust-inner {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* ---------- CHANNELS SLIDER ---------- */
.channels-section {
  background: var(--white);
  padding: 1.8rem 0;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}
.channels-subtitle {
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.channels-wrap {
  overflow: hidden;
  margin-bottom: .7rem;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.channels-wrap:last-child { margin-bottom: 0; }

.channels-track {
  display: flex;
  gap: .6rem;
  width: max-content;
  padding: .15rem 0;
}
.channels-track--left  { animation: ch-left  38s linear infinite; }
.channels-track--right { animation: ch-right 42s linear infinite; }
.channels-track--left:hover,
.channels-track--right:hover { animation-play-state: paused; }

@keyframes ch-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes ch-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.ch-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .85rem;
  border-radius: 50px;
  border: 1.5px solid rgba(0,0,0,.1);
  background: var(--white);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.ch-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  flex-shrink: 0;
}
.ch-pill--red::before   { background: #ef4444; }
.ch-pill--blue::before  { background: #3b82f6; }
.ch-pill--yellow::before { background: #f59e0b; }

/* ---------- FEATURES GRID ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.feat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-card h3 { font-size: 1.15rem; font-weight: 700; margin: 1rem 0 .4rem; }
.feat-card p { color: var(--muted); font-size: .9rem; }

.feat-card--dark {
  background: var(--dark-card);
  color: var(--white);
}
.feat-card--dark h3 { color: var(--white); }
.feat-card--dark p { color: rgba(255,255,255,.65); }
.feat-card--dark .feat-icon-wrap { background: rgba(255,255,255,.1); }
.feat-card--dark .feat-icon-wrap svg { stroke: var(--white); }

.feat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37,99,235,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-icon-wrap svg { stroke: var(--primary); }

/* ---------- DEVICES ---------- */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.device-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.device-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.device-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.device-card span { font-size: .9rem; font-weight: 600; color: var(--text); }

/* ---------- REVIEWS SLIDER ---------- */
.reviews-slider-wrap {
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.reviews-slider {
  display: flex;
  gap: 1.5rem;
  animation: reviews-scroll 40s linear infinite;
  width: max-content;
  padding: .5rem 1rem;
}
.reviews-slider:hover { animation-play-state: paused; }

@keyframes reviews-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* section avis sur fond alt */
#avis { background: var(--bg-alt); }

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  width: 320px;
  flex-shrink: 0;
}
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .8rem; }
.star-half { opacity: .5; }
.review-card p { font-size: .9rem; color: var(--text); line-height: 1.65; margin-bottom: 1.2rem; }
.review-card p strong { color: var(--primary); }
.reviewer { display: flex; align-items: center; gap: .8rem; }
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer strong { font-size: .9rem; display: block; }
.verified { font-size: .78rem; color: #22c55e; font-weight: 500; }

/* ---------- MOVIES SLIDER ---------- */
.movies-slider-wrap {
  overflow: hidden;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.movies-slider {
  display: flex;
  gap: 1.2rem;
  animation: movies-scroll 35s linear infinite;
  width: max-content;
  padding: 0 1rem;
}
.movies-slider:hover { animation-play-state: paused; }

@keyframes movies-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.movie-card {
  flex-shrink: 0;
  width: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  cursor: pointer;
  transition: transform .25s ease;
}
.movie-card:hover { transform: scale(1.04); }
.movie-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.movie-card span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .8rem .5rem .5rem;
  text-align: center;
  letter-spacing: .04em;
}

/* ---------- TARIFS ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: var(--white);
  border: 2px solid transparent;
  padding: .6rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  transition: all .2s;
  box-shadow: var(--shadow);
}
.tab-btn.active {
  background: var(--dark-card);
  color: var(--white);
  border-color: transparent;
}
.tab-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.pricing {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.p-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.p-card--featured {
  background: var(--dark-card);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(15,23,36,.4);
}
.p-card--featured .p-type { color: rgba(255,255,255,.6); }
.p-card--featured .p-duration { color: var(--white); }
.p-card--featured .p-price { color: var(--white); }
.p-card--featured .p-tagline { color: rgba(255,255,255,.6); }
.p-card--featured .p-guarantee { color: rgba(255,255,255,.5); }
.p-card--featured .p-feats li { color: rgba(255,255,255,.75); }
.p-card--featured .p-feats li::before { color: var(--accent); }

.p-card--recommended {
  border-color: var(--primary);
  border-width: 2.5px;
  box-shadow: 0 12px 40px rgba(37,99,235,.18);
  transform: scale(1.04);
  z-index: 1;
}
.p-card--recommended:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 18px 50px rgba(37,99,235,.24);
}

.p-best-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: var(--white);
  font-size: .76rem;
  font-weight: 700;
  padding: .42rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  box-shadow: 0 4px 18px rgba(37,99,235,.45), inset 0 1px 0 rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.15);
}

.p-type {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.p-duration {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .2rem;
}
.p-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: .3rem;
  line-height: 1;
}
.p-tagline {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .5rem;
}
.p-guarantee {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 1rem;
  text-align: center;
}
.p-feats {
  list-style: none;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.p-feats li {
  font-size: .88rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.4;
}
.p-feats li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05em;
}

.test-offer {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
  font-size: .95rem;
}
.test-offer a { color: var(--primary); font-weight: 700; text-decoration: none; }
.test-offer a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: .8rem; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.05);
  cursor: pointer;
}
.faq-item summary {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding-top: .8rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}
.faq-item p strong { color: var(--primary); }

/* ---------- WHATSAPP CTA ---------- */
.whatsapp-cta-section {
  background: var(--white);
  padding: 3rem 0;
}
.whatsapp-cta-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  flex-wrap: wrap;
}
.whatsapp-cta-icon {
  color: #25d366;
  flex-shrink: 0;
}
.whatsapp-cta-text { flex: 1; min-width: 200px; }
.whatsapp-cta-text h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .3rem; }
.whatsapp-cta-text p { color: var(--muted); font-size: .95rem; }
.whatsapp-cta-text p strong { color: var(--primary); }

/* ---------- CONTACT ---------- */
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 1rem; font-size: .95rem; display: flex; align-items: center; gap: .75rem; }
.contact-list a { color: var(--primary); text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.ci { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); }
.ci--wa { color: #25D366; fill: #25D366; }
.ci--globe { color: var(--primary); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--white);
  color: var(--muted);
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 2.5rem 0;
  text-align: center;
}
.foot p { font-size: .9rem; margin-bottom: 1rem; color: var(--text); }
.foot-nav {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.foot-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  transition: color .2s;
}
.foot-nav a:hover { color: var(--primary); }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  z-index: 1000;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.6); }

/* ---------- STICKY BAR ---------- */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
  padding: .8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}
.sticky-bar a { font-weight: 600; text-decoration: none; color: var(--text); font-size: .9rem; }


/* =====================================================
   PAGE HEADER (blog, apropos, etc.)
   ===================================================== */
.page-header {
  background: linear-gradient(135deg, #dde3f5 0%, #e8ecf8 50%, #f0f4fc 100%);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.page-header .section-title { margin-bottom: .5rem; }

/* Blog search */
.blog-search { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; max-width: 600px; margin: 0 auto; }
.blog-search input {
  flex: 1;
  min-width: 220px;
  padding: .85rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(37,99,235,.2);
  background: var(--white);
  font-size: .95rem;
  outline: none;
  box-shadow: var(--shadow);
}
.blog-search input:focus { border-color: var(--primary); }

/* Articles grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.article-card h3 { font-size: 1rem; font-weight: 700; margin: 1rem 1.2rem .4rem; line-height: 1.4; }
.article-card p { font-size: .9rem; color: var(--muted); margin: 0 1.2rem 1rem; line-height: 1.6; }
.article-card .btn { margin: 0 1.2rem 1.2rem; }
.pagination { display: flex; gap: 1rem; justify-content: center; }

/* =====================================================
   ARTICLE PAGES
   ===================================================== */
.article-wrap { max-width: 860px; margin: 0 auto; padding: 4rem 1.5rem 6rem; }
.article-wrap .article-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.25; margin-bottom: 1rem; }
.article-wrap .article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,.08); padding-bottom: 1rem; }
.toc { background: var(--white); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 1.4rem 1.6rem; margin-bottom: 2.5rem; box-shadow: var(--shadow); }
.toc h2 { font-size: 1rem; font-weight: 700; margin-bottom: .8rem; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; }
.toc ol { padding-left: 1.3rem; }
.toc li { margin-bottom: .35rem; }
.toc a { color: var(--primary); text-decoration: none; font-size: .95rem; }
.toc a:hover { text-decoration: underline; }
.article-img-wrap { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.article-img-wrap img { width: 100%; height: auto; display: block; }
.article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 .8rem; color: var(--text); border-bottom: 2px solid var(--bg-alt); padding-bottom: .4rem; }
.article-body h3 { font-size: 1.15rem; font-weight: 600; margin: 1.6rem 0 .5rem; color: var(--primary); }
.article-body p { margin-bottom: 1.1rem; line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 1.6rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: .5rem; line-height: 1.7; }
.article-body a { color: var(--primary); text-decoration: underline; }
.article-body a:hover { color: var(--primary-dark); }
.article-cta-box { background: linear-gradient(135deg, var(--primary), #1d4ed8); color: var(--white); border-radius: var(--radius); padding: 2rem 2.5rem; text-align: center; margin: 2.5rem 0; }
.article-cta-box h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .5rem; color: var(--white); }
.article-cta-box p { opacity: .9; margin-bottom: 1.2rem; }
.related-section { margin-top: 4rem; padding-top: 2rem; border-top: 2px solid var(--bg-alt); }
.related-section h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.2rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.related-card { background: var(--white); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); transition: box-shadow .2s; }
.related-card:hover { box-shadow: var(--shadow-md); }
.related-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: .5rem; line-height: 1.45; }
.related-card a { color: var(--primary); text-decoration: none; font-size: .88rem; font-weight: 600; }
.related-card a:hover { text-decoration: underline; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .devices-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    background: var(--white);
    padding: 1.2rem 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    gap: 1rem;
  }
  .menu.show { display: flex; }
  .hamburger { display: flex; }
  .btn--nav-cta { display: none; }

  .hero { padding: 5rem 1rem 4rem; min-height: auto; }
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }

  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .devices-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .pricing { grid-template-columns: 1fr; }

  .whatsapp-cta-box { flex-direction: column; text-align: center; }
  .whatsapp-cta-icon { margin: 0 auto; }

  .foot-nav { gap: .8rem; }
  .sticky-bar { padding: .7rem 1rem; }

  .movie-card { width: 130px; }
  .movie-card img { height: 195px; }

  .review-card { width: 270px; }

}

@media (max-width: 480px) {
  html, body { font-size: 15px; }

  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 1rem 3rem; }
  .hero-title { font-size: 1.75rem; }
  .cta { flex-direction: column; }
  .cta .btn { width: 100%; text-align: center; }

  .trust-inner { gap: 1rem; }
  .trust-item { font-size: .82rem; }

  .devices-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .device-card { padding: 1.2rem .8rem; }
  .device-card img { width: 48px; height: 48px; }

  .movie-card { width: 120px; }
  .movie-card img { height: 180px; }

  .tabs { gap: .5rem; }
  .tab-btn { padding: .55rem 1rem; font-size: .82rem; }

  .p-card { padding: 1.5rem 1.2rem; }
  .p-price { font-size: 2rem; }
  .p-duration { font-size: 1.3rem; }

  .sticky-bar { flex-direction: column; gap: .5rem; padding: .8rem 1rem; }
  .sticky-bar a { width: 100%; text-align: center; }

  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 24px; height: 24px; }

  .foot-nav { flex-direction: column; gap: .5rem; }
  .article-wrap { padding: 2.5rem 1rem 5rem; }
  .related-grid { grid-template-columns: 1fr; }
  .article-cta-box { padding: 1.5rem 1.2rem; }
}
