/* ==========================================================================
   PERFECTOO PROTECTOR — FINAL CALL TO ACTION
   The page's closing moment: one large dark "screen" panel on the light page,
   with a real television (light bezel, dark glass) as the visual.
   Everything else stays quiet so the buttons are the loudest thing.
   ========================================================================== */

/* ---------- 1. Tokens (same as other sections; move to :root later) ---------- */
.cta-section {
  --bg:#F2F6F9; --bg-tint:#E4EEF4; --surface:#FFFFFF;
  --ink:#10202C; --ink-2:#46586A; --ink-3:#7A8B9A; --line:#D5E1EA;
  --accent:#0A6B78; --accent-hover:#085862; --accent-soft:#D8EEF0; --signal:#E8A33D;
  --deep:#06323A; --deep-2:#0A5560; --deep-3:#04222A;
  --font-display:"Bricolage Grotesque","Segoe UI",system-ui,sans-serif;
  --font-body:"Instrument Sans","Segoe UI",system-ui,sans-serif;
  --r-lg:26px; --r-xl:34px;
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- 2. Shell ---------- */
.cta-section {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 96px) clamp(20px, 5vw, 80px) clamp(56px, 8vw, 120px);
  background:
    radial-gradient(40% 50% at 0% 100%, var(--accent-soft) 0%, transparent 70%),
    #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.cta-section *, .cta-section *::before, .cta-section *::after { box-sizing: border-box; }

/* The dark panel */
.cta-section .cta-inner {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1360px; margin: 0 auto;
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(50% 60% at 85% 0%, rgba(120,220,230,.28) 0%, transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(232,163,61,.10) 0%, transparent 60%),
    linear-gradient(160deg, var(--deep-2) 0%, var(--deep) 55%, var(--deep-3) 100%);
  box-shadow: 0 2px 4px rgba(16,32,44,.05), 0 70px 100px -60px rgba(6,50,58,.8);
}
.cta-section .cta-inner::before { /* glass reflection */
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.07) 38%, transparent 38.2%);
}
.cta-section .cta-inner::after { /* orbit ring */
  content: ""; position: absolute; z-index: -1; right: -14%; bottom: -40%;
  width: min(70%, 760px); aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.14); pointer-events: none;
}

/* ---------- 3. Topline ---------- */
.cta-topline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.cta-indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }

/* ---------- 4. Main grid ---------- */
.cta-main {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 88px); align-items: center;
  margin-top: clamp(28px, 4vw, 52px);
}
.cta-copy h2 {
  margin: 0; max-width: 13ch;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5.2vw, 4.8rem); line-height: .98; letter-spacing: -.045em;
  text-wrap: balance;
}
.cta-copy > p {
  margin: 24px 0 0; max-width: 46ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.7; color: rgba(255,255,255,.76);
  text-wrap: pretty;
}

/* ---------- 5. Buttons (scoped so global .btn styles can't fight them) ---------- */
.cta-section .cta-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: clamp(28px, 3.5vw, 44px);
}
.cta-section .cta-actions .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 8px 24px; border-radius: 999px;
  font: 600 .9375rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cta-section .cta-actions .btn span {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-size: 1rem; line-height: 1; transition: transform .3s var(--ease);
}
.cta-section .cta-actions .btn:hover span { transform: translate(2px, -2px); }

.cta-section .cta-actions .btn-primary {
  padding-right: 8px; background: #fff; color: var(--deep);
  box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 20px 36px -14px rgba(0,0,0,.55);
}
.cta-section .cta-actions .btn-primary span { background: var(--accent); color: #fff; }
.cta-section .cta-actions .btn-primary:hover { background: var(--accent-soft); }

.cta-section .cta-actions .btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.35);
}
.cta-section .cta-actions .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.cta-section .cta-actions .btn-whatsapp {
  padding-right: 8px; background: #128C4A; color: #fff;
}
.cta-section .cta-actions .btn-whatsapp span { background: rgba(255,255,255,.2); }
.cta-section .cta-actions .btn-whatsapp:hover { background: #0E7A3F; }

.cta-section .cta-actions .btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* ---------- 6. Visual: a television ---------- */
.cta-visual {
  padding: 12px; border-radius: 28px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-tint) 100%);
  box-shadow: 0 50px 80px -40px rgba(0,0,0,.6);
}
.cta-visual-label, .cta-visual-caption {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 4px 12px 12px;
  font-size: .8125rem; font-weight: 500; color: var(--ink-2);
}
.cta-visual-label span:last-child {
  padding: 4px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; color: var(--accent);
}
.cta-visual-caption { padding: 12px 12px 4px; color: var(--ink-3); }

.cta-visual-screen {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 10; display: flex; align-items: flex-end;
  padding: clamp(18px, 3vw, 36px);
  border-radius: 18px;
  background: linear-gradient(160deg, #0B3F49 0%, var(--deep-3) 100%);
}
.cta-visual-screen::before { /* reflection */
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.12) 30%, transparent 30.2%);
}
.cta-screen-glow {
  position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(60% 70% at 75% 15%, rgba(120,220,230,.4) 0%, transparent 60%);
}
.cta-screen-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.cta-screen-small { font-size: .875rem; font-weight: 600; color: var(--signal); }
.cta-screen-large {
  margin-top: 8px;
  font: 800 clamp(2.2rem, 5vw, 4.2rem)/.95 var(--font-display); letter-spacing: -.045em;
}
.cta-screen-rule { width: 44px; height: 4px; margin: 18px 0 14px; border-radius: 4px; background: var(--signal); }
.cta-screen-bottom { font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.72); }

/* ---------- 7. Bottom strip ---------- */
.cta-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: clamp(32px, 4.5vw, 64px); padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.76);
}
.cta-bottom-mark { font: 700 1rem/1 var(--font-display); letter-spacing: -.01em; color: #fff; }
.cta-bottom-mark span { color: var(--signal); }

/* ---------- 8. Responsive ---------- */
@media (max-width: 1000px) {
  .cta-main { grid-template-columns: 1fr; }
  .cta-copy h2 { max-width: 16ch; }
  .cta-visual { max-width: 640px; }
}
@media (max-width: 620px) {
  .cta-section .cta-inner { border-radius: 26px; }
  .cta-section .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-section .cta-actions .btn { width: 100%; justify-content: space-between; }
  .cta-section .cta-actions .btn-ghost { justify-content: center; }
  .cta-visual-caption span:last-child { display: none; }
}

/* ---------- 9. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .cta-section .cta-actions .btn, .cta-section .cta-actions .btn span { transition: none; }
  .cta-section .cta-actions .btn:hover span { transform: none; }
}