/* ==========================================================================
   Onda Digi Plus — Design System
   ========================================================================== */

:root {
  --navy-950: #0a0f2c;
  --navy-900: #10163d;
  --navy-800: #171f52;
  --indigo-600: #4f5fe0;
  --indigo-700: #4856d6; /* variante foncée pour texte sur fond --indigo-100 (conforme WCAG AA) */
  --indigo-500: #6474ea;
  --indigo-100: #eaecfd;
  --blue-glow: #7c9bff;

  --ink: #12172e;
  --ink-soft: #545a72;
  --ink-faint: #616780; /* assombri (était #8a90a6) — contraste 3.2:1 -> 5.6:1 sur fond blanc, conforme WCAG AA */

  --paper: #ffffff;
  --paper-alt: #f5f6fb;
  --border: #e7e9f3;

  --green: #17a76a;
  --green-dark: #0e7a4d; /* variante foncée de --green pour le texte sur fond clair (conforme WCAG AA) */
  --green-bg: #e4f8ee;
  --whatsapp: #25d366;

  --gold: #ffb020;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 30px -12px rgba(16, 22, 61, 0.18);
  --shadow-hover: 0 18px 40px -14px rgba(16, 22, 61, 0.28);

  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.2;
}

section { padding: 88px 0; }

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

/* ---------- Header ---------- */

.sticky-top-group {
  position: sticky;
  top: 0;
  z-index: 100;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
}

@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  @media (min-width: 861px) {
    header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  }
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.logo-badge {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo-600), var(--blue-glow));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--indigo-600); }

.nav-cta {
  background: var(--indigo-600);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--navy-800); }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 210px 24px 24px;
    z-index: 200;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  header:has(.nav-links.open) nav { justify-content: center; padding-top: 6px; }
  header:has(.nav-links.open) .logo {
    position: relative;
    z-index: 201;
    color: #fff;
    font-size: 26px;
    margin-bottom: 36px;
  }
  header:has(.nav-links.open) .logo-badge { width: 48px; height: 48px; }
  header:has(.nav-links.open) .nav-toggle {
    position: fixed;
    top: 22px;
    right: 24px;
  }
  .nav-links li { width: 100%; max-width: 320px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links li:last-of-type { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 18px 0;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
  }
  .nav-links a:hover { color: var(--blue-glow); }
  .nav-cta {
    display: inline-block;
    margin-top: 24px;
    background: var(--whatsapp);
    color: #fff !important;
    padding: 16px 36px;
    font-size: 16px;
  }
  .nav-toggle { display: block; position: relative; z-index: 201; }
  .nav-toggle.open svg.icon { color: #fff; }
}

/* ---------- Hero ---------- */

.hero {
  background: radial-gradient(1200px 600px at 20% -10%, #232b6b 0%, transparent 60%),
              linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  color: #fff;
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 60px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #cfd6ff;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--blue-glow), #a6b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: #b6bbdb;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--indigo-600);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(79,95,224,0.6);
}
.btn-primary:hover { transform: translateY(-2px); background: #4451c9; }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); }

.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #c9cdea; font-size: 14px; font-weight: 500; }
.trust-item strong { display: block; color: #fff; font-size: 15px; }

/* ---------- Stats bar ---------- */

.stats-bar {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--blue-glow);
  font-variant-numeric: tabular-nums;
}
.stat-label { color: #aeb4d6; font-size: 14px; margin-top: 6px; }

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 56px 0;
}
.stat-icon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(16, 22, 61, 0.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.stat-icon-card:hover { border-color: var(--indigo-500); box-shadow: var(--shadow-card); }
.stat-icon-wrap { display: flex; justify-content: center; margin-bottom: 12px; }
.stat-icon-wrap svg.icon { width: 24px; height: 24px; color: var(--indigo-600); }
.stat-icon-wrap-gold svg.icon { color: var(--gold); }
.stat-icon-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
  background: linear-gradient(90deg, var(--indigo-600), var(--blue-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-icon-label { font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .stats-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Section heading ---------- */

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--indigo-600);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Feature rows (icon + text, alternating) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--indigo-100);
  color: var(--indigo-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.feature-row h3 { font-size: 19px; margin-bottom: 8px; }
.feature-row p { color: var(--ink-soft); font-size: 15.5px; }

.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.features-split .visual {
  background: linear-gradient(160deg, var(--navy-950), var(--indigo-600));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 64px;
  overflow: hidden;
}

@media (max-width: 860px) {
  .features-split { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Feature grid (8 cards) ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.feature-card .feature-icon { margin-bottom: 18px; }
.feature-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; }

@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */

.pricing-section { background: var(--paper-alt); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.price-card.featured {
  background: linear-gradient(160deg, var(--navy-950), var(--indigo-600));
  border: 2px solid var(--indigo-500);
  transform: scale(1.03);
}
.price-card.featured h3,
.price-card.featured .price-now,
.price-card.featured .price-features li { color: #fff; }
.price-card.featured .price-plan-sub { color: var(--blue-glow); }
.price-card.featured .price-note,
.price-card.featured .price-guarantee { color: rgba(255,255,255,0.65); }
.price-card.featured .price-old { color: rgba(255,255,255,0.5); }
.price-card.featured .price-discount { background: rgba(255,255,255,0.15); color: #fff; }
.price-card.featured .price-features li::before { color: var(--blue-glow); }
.price-card.featured .btn-primary { background: #fff; color: var(--indigo-600); box-shadow: none; }
.price-card.featured .btn-primary:hover { background: #eef0ff; }
.price-badge-top {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--indigo-600); color: #fff;
  font-size: 12.5px; font-weight: 700;
  padding: 6px 16px; border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 20px; margin-bottom: 4px; }
.price-plan-sub { color: var(--indigo-600); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.price-discount {
  display: inline-block;
  background: var(--green-bg); color: var(--green-dark);
  font-size: 12.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.price-old { color: var(--ink-faint); text-decoration: line-through; font-size: 15px; }
.price-now { font-family: var(--font-head); font-size: 38px; font-weight: 800; margin-bottom: 4px; }
.price-now sup { font-size: 18px; }
.price-note { color: var(--ink-faint); font-size: 13px; margin-bottom: 22px; }

.price-features { margin-bottom: 26px; flex: 1; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--ink-soft);
  padding: 7px 0;
}
.price-features li::before {
  content: "✓";
  color: var(--green); font-weight: 800;
  flex-shrink: 0;
}

.price-card .btn { width: 100%; }
.price-guarantee { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 14px; }

@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } .price-card.featured { transform: none; } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

.payment-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}
.payment-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.payment-trust svg.icon { width: 18px; height: 18px; color: var(--indigo-600); }

/* ---------- Devices ---------- */

.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.device-card {
  text-align: center;
  padding: 30px 16px;
  background: var(--paper-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.device-card .icon { font-size: 34px; margin-bottom: 12px; }
.device-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.device-card p { font-size: 13.5px; color: var(--ink-faint); }

@media (max-width: 780px) { .devices-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step-card { position: relative; padding-left: 8px; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: 14.5px; }

@media (max-width: 780px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 28px;
  margin: 0 auto 40px;
  box-shadow: 0 1px 3px rgba(16, 22, 61, 0.06);
}
.rating-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
.rating-score {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}
.rating-score .rating-max { display: block; font-size: 11px; color: var(--ink-faint); font-weight: 600; margin-top: 2px; }
.rating-details { display: flex; flex-direction: column; gap: 4px; }
.rating-details .stars { margin-bottom: 0; }
.rating-count { font-size: 13px; color: var(--ink-faint); }
.rating-count strong { color: var(--ink-soft); }
.rating-satisfaction {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.rating-satisfaction strong { font-family: var(--font-head); font-size: 22px; color: var(--green); }
.rating-satisfaction span { font-size: 11px; color: var(--ink-faint); }
@media (max-width: 560px) {
  .rating-summary { flex-direction: column; padding: 20px; }
  .rating-divider { width: 60%; height: 1px; }
}

.testimonials-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonials-scroll 70s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes testimonials-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.testimonial-card {
  flex: 0 0 340px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.stars { color: var(--gold); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; }
.testimonial-who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--indigo-600); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-head);
  flex-shrink: 0;
}
.testimonial-who .name { font-weight: 700; font-size: 14.5px; }
.testimonial-who .loc { color: var(--ink-faint); font-size: 13px; }
.plan-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--indigo-700);
  background: var(--indigo-100);
  padding: 2px 9px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .testimonial-card { flex-basis: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-track { animation: none; }
  .testimonials-viewport { overflow-x: auto; }
}

/* ---------- Blog ---------- */

.blog-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.blog-tag {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.blog-cat {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: var(--indigo-700);
  background: var(--indigo-100);
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
}
.blog-card h3 { font-size: 17px; margin-bottom: 10px; }
.blog-card h3 a:hover { color: var(--indigo-600); }
.blog-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; flex: 1; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-faint); border-top: 1px solid var(--border); padding-top: 14px; }
.blog-meta .read-link { color: var(--indigo-600); font-weight: 700; }

@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
}
.faq-question .icon { transition: transform .2s ease; color: var(--indigo-600); font-size: 20px; }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 22px; }
.faq-answer p { color: var(--ink-soft); font-size: 14.5px; }

.faq-cta {
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.faq-cta p { font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.faq-cta-note { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-faint); }

/* ---------- Final CTA ---------- */

.final-cta {
  background: linear-gradient(135deg, var(--navy-950), var(--indigo-600));
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.final-cta h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 16px; }
.final-cta p { color: #c9cdea; max-width: 560px; margin: 0 auto 32px; font-size: 16px; }
.final-cta .stats-grid { margin: 40px 0; }
.final-cta .stat-num { color: #fff; }

/* ---------- Footer ---------- */

footer {
  background: var(--navy-950);
  color: #9aa0c4;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 320px; }
footer h3 { color: #fff; font-size: 15px; margin-bottom: 16px; }
footer ul li { margin-bottom: 10px; font-size: 14px; }
footer ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}

@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */

.whatsapp-btn {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 30px;
  box-shadow: 0 10px 26px -6px rgba(37,211,102,0.6);
  z-index: 200;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Article page ---------- */

.article-hero { background: var(--paper-alt); padding: 56px 0 40px; border-bottom: 1px solid var(--border); }
.article-hero .blog-cat { margin-bottom: 18px; }
.article-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 16px; }
.article-hero .meta { color: var(--ink-faint); font-size: 14px; }

.article-body { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.article-body h2 { font-size: 22px; margin: 40px 0 16px; }
.article-body h3 { font-size: 18px; margin: 28px 0 12px; }
.article-body p { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }
.article-body ul, .article-body ol { color: var(--ink-soft); font-size: 16px; margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body strong { color: var(--ink); }

.article-cta {
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}
.article-cta h3 { margin-bottom: 10px; }
.article-cta p { color: var(--ink-soft); margin-bottom: 20px; }
.article-cta .btn { margin: 6px 8px; }
.article-cta .btn-ghost { background: transparent; color: var(--indigo-600); border: 1px solid var(--border); }
.article-cta .btn-ghost:hover { background: var(--indigo-100); }

.back-link { display: inline-block; margin-top: 32px; color: var(--indigo-600); font-weight: 700; font-size: 14.5px; }

/* ---------- Icons (inline SVG, Lucide-style) ---------- */

svg.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.15em;
}

.nav-toggle svg.icon { width: 24px; height: 24px; color: var(--ink); }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; }
.hero-badge svg.icon { width: 16px; height: 16px; color: var(--gold); }

.btn svg.icon { width: 18px; height: 18px; }

.trust-item svg.icon { width: 22px; height: 22px; color: var(--blue-glow); }

.stat-num { display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.stat-num svg.icon { width: 0.72em; height: 0.72em; color: var(--gold); }

.feature-icon svg.icon { width: 26px; height: 26px; }

.features-split .visual svg.icon { width: 96px; height: 96px; color: rgba(255,255,255,0.85); }

.device-card .icon svg.icon { width: 30px; height: 30px; color: var(--indigo-600); }

.price-guarantee { display: inline-flex; align-items: center; gap: 6px; }
.price-guarantee svg.icon { width: 14px; height: 14px; color: var(--ink-faint); }

.stars { display: flex; gap: 3px; }
.stars svg.icon { width: 16px; height: 16px; color: var(--gold); }

.faq-question .icon svg.icon { width: 20px; height: 20px; color: var(--indigo-600); }
.faq-question .icon { display: inline-flex; }

.whatsapp-btn svg.icon { width: 30px; height: 30px; color: #fff; }

footer svg.icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; color: var(--blue-glow); }

.logo-badge svg.icon { width: 20px; height: 20px; color: #fff; }

.blog-cat svg.icon, .article-hero .meta svg.icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }

.back-link svg.icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* ---------- Teste Grátis 24h ---------- */

.trial-topbar {
  background: linear-gradient(90deg, var(--green), var(--whatsapp));
  color: #fff;
  font-family: var(--font-body);
}
.trial-topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 44px;
  flex-wrap: wrap;
  text-align: center;
}
.trial-pill {
  background: rgba(255,255,255,0.22);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.03em;
  margin-right: 8px;
  white-space: nowrap;
}
.trial-topbar-msg { font-size: 14px; font-weight: 500; }
.trial-topbar-cta {
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .15s ease;
}
.trial-topbar-cta:hover { transform: translateY(-1px); }
.trial-topbar-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  opacity: 0.7;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.trial-topbar-close:hover { opacity: 1; }
.trial-topbar.hidden { display: none; }
@media (max-width: 640px) {
  .trial-topbar-inner { justify-content: flex-start; text-align: left; padding: 10px 40px 10px 16px; }
}

.trial-banner {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 56px 0;
}
.trial-banner-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.trial-banner-icon {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,176,32,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trial-banner-icon svg.icon { width: 34px; height: 34px; color: var(--gold); }
.trial-banner-text { flex: 1; min-width: 240px; }
.trial-banner-text .eyebrow { color: var(--gold); }
.trial-banner-text h2 { margin-bottom: 8px; }
.trial-banner-text p { color: #b6bbdb; font-size: 15px; max-width: 480px; }
.trial-banner-btn {
  flex: none;
  background: var(--whatsapp);
  color: var(--navy-950);
  box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6);
}
.trial-banner-btn:hover { transform: translateY(-2px); background: #21bd5b; }
@media (max-width: 780px) {
  .trial-banner-inner { flex-direction: column; text-align: center; }
  .trial-banner-text p { max-width: none; }
}

.trial-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff7e8;
  border: 1px solid #ffe0a3;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
  flex-wrap: wrap;
}
.trial-note svg.icon { width: 18px; height: 18px; color: var(--gold); flex: none; }
.trial-note a { color: var(--indigo-600); font-weight: 700; text-decoration: underline; }

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
