/*
Theme Name: Recarga NexaTV
Theme URI: https://nexatvrecarga.app/
Author: nexatvrecarga.app
Description: Tema WooCommerce leve, responsivo e otimizado para a venda de recargas digitais NexaTV no Brasil.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: recarganexatv
Tags: e-commerce, custom-logo, one-column, accessibility-ready, translation-ready
*/

:root {
  --rx-ink: #101214;
  --rx-ink-soft: #181b1e;
  --rx-paper: #ffffff;
  --rx-canvas: #f6f7f8;
  --rx-muted: #626870;
  --rx-line: #e1e4e7;
  --rx-coral: #ff4f4b;
  --rx-coral-dark: #dc302f;
  --rx-coral-soft: #fff1f0;
  --rx-gold: #ffbd52;
  --rx-pix: #19a991;
  --rx-radius-sm: 12px;
  --rx-radius: 20px;
  --rx-radius-lg: 30px;
  --rx-shadow: 0 22px 60px rgba(15, 18, 20, .10);
  --rx-container: 1180px;
  --rx-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--rx-paper);
  color: var(--rx-ink);
  font-family: var(--rx-font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--rx-container)); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  clip: auto !important; width: auto; height: auto; margin: 0; padding: 12px 18px;
  top: 10px; left: 10px; z-index: 100000; color: #fff; background: var(--rx-ink);
  border-radius: 8px; white-space: normal;
}
:focus-visible { outline: 3px solid var(--rx-pix); outline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(16, 18, 20, .92); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.brand-name { color: #fff; font-weight: 850; letter-spacing: -.03em; font-size: 18px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: #e7e9eb; font-weight: 680; font-size: 15px; transition: color .2s ease; }
.site-nav a:hover { color: var(--rx-coral); }
.cart-link {
  display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 760;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 10px 16px;
  transition: border-color .2s ease, background .2s ease;
}
.cart-link:hover { border-color: var(--rx-coral); background: rgba(255,79,75,.1); }
.cart-link svg { width: 20px; height: 20px; }
.cart-count { min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding-inline: 4px; border-radius: 999px; background: var(--rx-coral); font-size: 12px; }
.menu-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; width: 44px; height: 44px; border-radius: 12px; }
.menu-toggle svg { width: 23px; height: 23px; }

.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 22px; border: 0; border-radius: 14px;
  background: var(--rx-coral); color: #fff; font-weight: 820; font-size: 16px;
  line-height: 1.15; cursor: pointer; box-shadow: 0 12px 30px rgba(255,79,75,.2);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { transform: translateY(-2px); background: var(--rx-coral-dark); color: #fff; box-shadow: 0 16px 34px rgba(255,79,75,.27); }
.button svg { width: 19px; height: 19px; }
.button-secondary { background: transparent; box-shadow: none; color: #fff; border: 1px solid rgba(255,255,255,.26); }
.button-secondary:hover { background: rgba(255,255,255,.08); }

.hero {
  position: relative; overflow: hidden; background: var(--rx-ink); color: #fff;
  min-height: 730px; padding: 80px 0 48px; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background: radial-gradient(circle at 80% 48%, rgba(255,79,75,.22), transparent 33%),
              linear-gradient(118deg, #111416 0%, #0f1113 56%, #1b1110 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 680px; height: 680px; right: -170px; top: 25px;
  border: 1px solid rgba(255,89,73,.24); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,79,75,.025), 0 0 0 150px rgba(255,171,63,.018);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.hero-copy { max-width: 650px; padding-top: 10px; }
.hero h1 { margin: 0; font-size: clamp(44px, 5.1vw, 76px); line-height: 1.01; letter-spacing: -.058em; font-weight: 900; }
.hero h1 .accent { color: var(--rx-coral); }
.hero-lead { max-width: 610px; margin: 26px 0 30px; color: #c9cdd1; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; color: #edf0f2; font-size: 14px; font-weight: 650; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; padding: 4px 20px; border-left: 1px solid rgba(255,255,255,.2); }
.trust-item:first-child { padding-left: 0; border-left: 0; }
.trust-item svg { width: 21px; height: 21px; color: var(--rx-coral); }
.trust-item:first-child svg { color: var(--rx-pix); }
.hero-media { position: relative; min-height: 540px; display: grid; place-items: center; }
.hero-media::before {
  content: ""; position: absolute; inset: 13% 4% 6% 6%; border-radius: 50%; filter: blur(50px);
  background: rgba(255,62,44,.28); z-index: -1;
}
.hero-product { width: min(450px, 92%); filter: drop-shadow(0 30px 32px rgba(0,0,0,.48)); transform: rotate(3.2deg); animation: rx-float 6s ease-in-out infinite; }
@keyframes rx-float { 50% { transform: rotate(1.5deg) translateY(-12px); } }
.hero-feature-rail {
  margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(255,255,255,.04); overflow: hidden;
}
.hero-feature { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 15px; padding: 22px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-feature:first-child { border-left: 0; }
.hero-feature-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,79,75,.12); color: var(--rx-coral); }
.hero-feature-icon svg { width: 25px; height: 25px; }
.hero-feature strong { display: block; font-size: 15px; }
.hero-feature span { display: block; color: #b9bec3; font-size: 13px; line-height: 1.45; }

.section { padding: 104px 0; }
.section-heading { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.048em; font-weight: 900; }
.section-heading h2 .accent { color: var(--rx-coral); }
.section-heading p { margin: 16px auto 0; color: var(--rx-muted); font-size: 18px; }

.plans { background: var(--rx-paper); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan-card {
  position: relative; display: flex; flex-direction: column; padding: 26px; background: #fff;
  border: 1px solid var(--rx-line); border-radius: var(--rx-radius); box-shadow: 0 14px 42px rgba(15,18,20,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--rx-shadow); border-color: #ffc0bd; }
.plan-card.is-featured { border: 2px solid var(--rx-coral); padding: 25px; }
.plan-media { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: linear-gradient(145deg, #fafafa, #f1f2f3); }
.plan-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.plan-card:hover .plan-media img { transform: scale(1.025); }
.plan-content { display: flex; flex: 1; flex-direction: column; padding-top: 22px; text-align: center; }
.plan-content h3 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.plan-days { color: var(--rx-muted); font-size: 16px; margin-top: 5px; }
.plan-price { margin-top: 12px; color: var(--rx-coral-dark); font-weight: 900; font-size: 38px; letter-spacing: -.045em; line-height: 1.1; }
.plan-detail { min-height: 24px; margin: 4px 0 15px; color: #0b9860; font-weight: 760; font-size: 14px; }
.plan-card .button { margin-top: auto; width: 100%; }
.delivery-note { margin: 30px 0 0; min-height: 64px; display: flex; justify-content: center; align-items: center; gap: 12px; background: #edf8f5; color: #24312e; border-radius: 16px; padding: 16px 22px; text-align: center; }
.delivery-note svg { flex: 0 0 auto; color: #109b70; width: 25px; height: 25px; }

.process { position: relative; overflow: hidden; background: var(--rx-ink); color: #fff; }
.process::after { content: ""; position: absolute; width: 470px; height: 470px; right: -120px; top: -120px; border-radius: 50%; border: 1px solid rgba(255,79,75,.35); box-shadow: 0 0 0 72px rgba(255,79,75,.035), 0 0 0 145px rgba(255,189,82,.018); }
.process .section-heading { position: relative; z-index: 1; margin-inline: 0; text-align: left; }
.process .section-heading p { color: #b8bdc2; }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 55px; }
.steps::before { content: ""; position: absolute; top: 29px; left: 9%; right: 9%; height: 2px; background: linear-gradient(90deg, var(--rx-coral), var(--rx-gold)); }
.step { position: relative; padding: 0 22px 0 0; }
.step-number { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--rx-coral); border: 4px solid #2a2526; font-size: 20px; font-weight: 900; }
.step-icon { margin-top: 22px; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); color: #fff; }
.step-icon svg { width: 34px; height: 34px; }
.step h3 { margin: 16px 0 5px; font-size: 20px; line-height: 1.2; }
.step p { margin: 0; color: #c1c5c9; line-height: 1.5; }

.assurance { position: relative; background: #fff7f7; overflow: hidden; }
.assurance::before { content: ""; position: absolute; inset: auto 0 -120px; height: 310px; background: radial-gradient(ellipse at center, rgba(255,79,75,.1), transparent 65%); }
.assurance-grid { position: relative; display: grid; grid-template-columns: .95fr 1.45fr; gap: 80px; align-items: center; }
.assurance-copy h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 52px); line-height: 1.06; letter-spacing: -.045em; }
.assurance-copy h2 .accent { color: var(--rx-coral); }
.assurance-copy p { color: var(--rx-muted); font-size: 18px; }
.assurance-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.assurance-item { padding: 22px 28px; text-align: center; border-left: 1px solid #f0c8c7; }
.assurance-item:first-child { border-left: 0; }
.assurance-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: #ffe3e2; color: var(--rx-coral-dark); }
.assurance-icon svg { width: 28px; height: 28px; }
.assurance-item h3 { margin: 0 0 7px; font-size: 18px; line-height: 1.25; }
.assurance-item p { margin: 0; color: var(--rx-muted); font-size: 14px; line-height: 1.5; }

.seo-content { padding: 78px 0; background: var(--rx-canvas); }
.seo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.seo-content h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.seo-copy { color: #4f555c; font-size: 17px; }
.seo-copy p:first-child { margin-top: 0; }
.seo-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 25px; }
.seo-point { padding: 16px; border: 1px solid var(--rx-line); border-radius: 14px; background: #fff; font-size: 14px; font-weight: 750; }

.faq { background: #fff; }
.faq-list { max-width: 940px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--rx-line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-item[open] { border-color: var(--rx-coral); background: var(--rx-coral-soft); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font-size: 18px; font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--rx-coral-dark); font-size: 28px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 64px 22px 24px; color: #42484f; }
.faq-answer p { margin: 0; }

.final-cta { position: relative; overflow: hidden; padding: 70px 0; background: linear-gradient(112deg, #ed272b, var(--rx-coral) 58%, #ff724c); color: #fff; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(ellipse at 100% 50%, transparent 0 54px, rgba(255,220,121,.13) 55px 57px, transparent 58px 105px); pointer-events: none; }
.final-cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.final-cta h2 { margin: 0; max-width: 660px; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.045em; }
.final-cta .button { flex: 0 0 auto; background: #fff; color: var(--rx-coral-dark); box-shadow: 0 16px 38px rgba(86,12,10,.22); }
.final-cta .button:hover { background: var(--rx-ink); color: #fff; }

.site-footer { background: var(--rx-ink); color: #d9dde0; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .8fr); gap: 58px; }
.footer-brand img { width: 76px; height: 76px; border-radius: 50%; margin-bottom: 18px; }
.footer-brand strong { display: block; color: #fff; font-size: 21px; }
.footer-brand p { max-width: 280px; color: #9ca3aa; }
.footer-column h2 { margin: 0 0 14px; color: #fff; font-size: 15px; }
.footer-column ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-column a { color: #b7bdc2; font-size: 14px; }
.footer-column a:hover { color: var(--rx-coral); }
.footer-bottom { margin-top: 55px; padding-top: 22px; border-top: 1px solid #34383c; display: flex; justify-content: space-between; gap: 30px; color: #858c92; font-size: 12px; }
.footer-legal { max-width: 780px; }

.page-shell, .woocommerce-page main { min-height: 62vh; padding: 72px 0 100px; background: var(--rx-canvas); }
.page-article { max-width: 880px; margin: 0 auto; padding: 48px; border: 1px solid var(--rx-line); border-radius: var(--rx-radius); background: #fff; box-shadow: var(--rx-shadow); }
.page-article h1 { margin-top: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.page-article h2 { margin-top: 38px; line-height: 1.2; }
.page-article a { color: var(--rx-coral-dark); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce .quantity .qty, .woocommerce input.input-text, .woocommerce textarea, .woocommerce select { border: 1px solid #cfd4d8; border-radius: 10px; padding: 11px 12px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--rx-pix); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--rx-pix); }
.woocommerce div.product .product_title { font-weight: 880; letter-spacing: -.035em; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--rx-coral-dark); font-weight: 850; }

@media (max-width: 980px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; display: none; top: calc(100% + 1px); left: 0; right: 0; background: #151719; border-bottom: 1px solid #303438; padding: 22px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { width: min(calc(100% - 40px), var(--rx-container)); margin-inline: auto; flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { display: block; padding: 11px 0; }
  .cart-link .cart-label { display: none; }
  .hero { padding-top: 58px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(42px, 6.4vw, 62px); }
  .hero-feature-rail { grid-template-columns: 1fr; }
  .hero-feature { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .hero-feature:first-child { border-top: 0; }
  .plan-grid { gap: 16px; }
  .plan-card { padding: 18px; }
  .plan-card.is-featured { padding: 17px; }
  .plan-content h3 { font-size: 19px; }
  .plan-price { font-size: 32px; }
  .process::after { opacity: .6; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 42px 20px; }
  .steps::before { display: none; }
  .assurance-grid, .seo-grid { grid-template-columns: 1fr; gap: 45px; }
  .assurance-list { max-width: 780px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2 / span 2; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--rx-container)); }
  .header-inner { min-height: 70px; gap: 12px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { display: none; }
  .cart-link { padding: 9px 12px; margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .section { padding: 74px 0; }
  .section-heading { margin-bottom: 36px; }
  .hero { min-height: auto; padding: 48px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-lead { font-size: 18px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; gap: 8px 14px; }
  .trust-item { border: 0; padding: 4px 0; }
  .hero-media { min-height: auto; padding: 20px 0 8px; }
  .hero-product { width: min(390px, 92%); transform: rotate(1deg); }
  @keyframes rx-float { 50% { transform: rotate(0deg) translateY(-8px); } }
  .hero-feature-rail { margin-top: 16px; }
  .plan-grid { grid-template-columns: 1fr; gap: 22px; }
  .plan-card { max-width: 460px; width: 100%; margin-inline: auto; }
  .plan-media { aspect-ratio: 1.1 / 1; }
  .delivery-note { align-items: flex-start; text-align: left; }
  .process .section-heading { text-align: center; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 12px; }
  .steps::before { display: block; top: 28px; bottom: 32px; left: 40px; right: auto; width: 2px; height: auto; }
  .step { min-height: 155px; padding: 0 0 24px 98px; }
  .step-number { position: absolute; left: 0; top: 0; }
  .step-icon { display: none; }
  .step h3 { margin-top: 0; padding-top: 2px; }
  .assurance-copy { text-align: center; }
  .assurance-list { grid-template-columns: 1fr; }
  .assurance-item { border-left: 0; border-top: 1px solid #f0c8c7; }
  .assurance-item:first-child { border-top: 0; }
  .seo-content { padding: 64px 0; }
  .seo-grid { gap: 30px; }
  .seo-points { grid-template-columns: 1fr; }
  .faq-item summary { padding: 18px 54px 18px 18px; font-size: 16px; }
  .faq-answer { padding: 0 18px 20px; }
  .final-cta { padding: 60px 0; }
  .final-cta-inner { flex-direction: column; text-align: center; }
  .final-cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .page-shell, .woocommerce-page main { padding: 42px 0 70px; }
  .page-article { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

