/*
Theme Name: Controla BPO
Theme URI: https://controlabpo.com.br
Author: Controla
Description: Tema landing page de alta conversao para a Controla - BPO Financeiro e Gestao Empresarial.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: controla
*/

/* ===== Tokens da marca ===== */
:root {
  --navy: #0a2540;
  --navy-2: #0d3355;
  --navy-fg: #eaf4fb;
  --accent: #12b3c7;          /* ciano da logo */
  --accent-dark: #0e94a5;
  --gold: #d7a44a;
  --gold-fg: #2a1c00;
  --bg: #ffffff;
  --fg: #0f1c2b;
  --muted: #5d6b7a;
  --secondary: #f2f6f9;
  --border: #e3e9ef;
  --danger: #d9534f;
  --radius: 18px;
  --shadow: 0 18px 45px -20px rgba(10, 37, 64, .35);
  --shadow-glow: 0 10px 25px -10px rgba(18, 179, 199, .6);
  --max: 1152px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-display {
  font-family: "Sora", "Manrope", system-ui, sans-serif;
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.bg-soft { background: var(--secondary); }
.bg-navy { background: var(--navy); }
.grad-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #10405f 100%); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.on-navy .eyebrow { color: var(--accent); }
h2.title { font-size: 28px; margin-top: 14px; }
@media (min-width: 640px) { h2.title { font-size: 38px; } }
.lead { margin-top: 18px; color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 680px; }
.narrow.center { margin: 0 auto; }

/* ===== Botoes ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; border-radius: 12px; padding: 14px 24px;
  cursor: pointer; border: 1px solid transparent; transition: .2s ease;
  text-align: center;
}
.btn-cta { background: var(--accent); color: #04222a; box-shadow: var(--shadow-glow); }
.btn-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--navy-fg); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline-navy { background: transparent; color: var(--navy-fg); border-color: rgba(234,244,251,.35); }
.btn-outline-navy:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-xl { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== Cards ===== */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 1px 2px rgba(15,28,43,.04);
}
.card-lift { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.icon-box {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(18,179,199,.12); color: var(--accent); flex: 0 0 auto;
}
.icon-box.navy { background: var(--navy); color: #fff; width: 48px; height: 48px; border-radius: 16px; }
.icon-box.danger { background: rgba(217,83,79,.1); color: var(--danger); }
.icon-box svg { width: 20px; height: 20px; }

.grid { display: grid; gap: 22px; }
@media (min-width: 768px) {
  .g2 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) { .g2s { grid-template-columns: repeat(2, 1fr); } }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(10,37,64,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(234,244,251,.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; max-width: var(--max); margin: 0 auto; }
.brand img { height: 30px; width: auto; }
.main-nav { display: none; gap: 26px; font-size: 14px; font-weight: 600; color: rgba(234,244,251,.72); }
.main-nav a:hover { color: var(--navy-fg); }
@media (min-width: 900px) { .main-nav { display: flex; } }
.header-right { display: flex; align-items: center; gap: 22px; }

/* ===== Hero ===== */
.hero { overflow: hidden; }
.hero-inner { display: grid; gap: 44px; align-items: center; padding: 60px 20px; max-width: var(--max); margin: 0 auto; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.05fr .95fr; padding: 90px 20px; } }
.hero h1 { color: var(--navy-fg); font-size: 30px; margin-top: 18px; }
@media (min-width: 640px) { .hero h1 { font-size: 40px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 52px; } }
.hero p.sub { margin-top: 22px; color: rgba(234,244,251,.78); font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-checks { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; color: rgba(234,244,251,.75); font-size: 14px; }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 16px; height: 16px; color: var(--accent); }
.hero-media { position: relative; }
.hero-media .frame { border-radius: 26px; overflow: hidden; border: 1px solid rgba(234,244,251,.18); box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.floating-card {
  position: absolute; left: 18px; bottom: -24px; display: flex; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow);
}
.floating-card strong { font-size: 14px; }
.floating-card small { color: var(--muted); font-size: 12px; }

/* ===== Listas de checks ===== */
.check-list li { display: flex; gap: 12px; font-size: 14px; margin-bottom: 12px; }
.check-list svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }

/* ===== Passos ===== */
.steps { display: grid; gap: 30px; margin-top: 48px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step-bullet { width: 48px; height: 48px; border-radius: 999px; background: var(--accent); color: #04222a; display: grid; place-items: center; box-shadow: var(--shadow-glow); }
.step-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--muted); margin-top: 18px; }

/* ===== Planos ===== */
.plans { display: grid; gap: 22px; margin-top: 48px; align-items: start; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; }
.plan.featured { border-color: rgba(18,179,199,.45); box-shadow: var(--shadow); }
@media (min-width: 1024px) { .plan.featured { margin-top: -24px; } }
.badge {
  position: absolute; top: -13px; left: 24px; background: var(--gold); color: var(--gold-fg);
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}
.plan h3 { font-size: 20px; }
.plan .tagline { color: var(--muted); font-size: 14px; margin-top: 8px; }
.inherits { margin-top: 22px; background: rgba(18,179,199,.1); color: var(--accent-dark); font-weight: 600; font-size: 14px; padding: 9px 12px; border-radius: 10px; }

/* ===== Segmentos ===== */
.seg-grid { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 640px) { .seg-grid { grid-template-columns: repeat(2, 1fr); } }
.seg-grid li { display: flex; gap: 12px; font-size: 14px; }
.seg-grid svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.note { display: flex; gap: 12px; background: var(--secondary); border-radius: 14px; padding: 16px; font-size: 14px; color: var(--muted); margin-top: 26px; }

/* ===== CEO ===== */
.ceo { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1024px) { .ceo { grid-template-columns: .8fr 1.2fr; } }
.ceo-photo { position: relative; }
.ceo-photo .frame { border-radius: 26px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.quote-title { font-size: 22px; margin-top: 14px; line-height: 1.4; }
@media (min-width: 640px) { .quote-title { font-size: 27px; } }

/* ===== Depoimentos ===== */
.testi { display: flex; flex-direction: column; height: 100%; }
.testi .logo { height: 46px; width: auto; max-width: 75%; object-fit: contain; }
.testi blockquote { margin: 18px 0 0; color: var(--muted); font-size: 14px; flex: 1; }
.stars { display: flex; gap: 4px; color: var(--gold); margin-top: 20px; }
.stars svg { width: 16px; height: 16px; }
.testi figcaption { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--border); margin-top: 20px; padding-top: 18px; }
.testi figcaption img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; flex: 0 0 auto; }
.testi .name { font-size: 14px; font-weight: 700; display: block; }
.testi .company { font-size: 12px; color: var(--muted); display: block; }
.testi .result { font-size: 12px; font-weight: 700; color: var(--accent-dark); display: block; margin-top: 4px; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; margin-top: 14px; }
.faq details[open] { border-color: rgba(18,179,199,.45); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* ===== CTA final ===== */
.cta-final { display: grid; gap: 44px; align-items: center; padding: 64px 20px; max-width: var(--max); margin: 0 auto; }
@media (min-width: 1024px) { .cta-final { grid-template-columns: 1fr .85fr; padding: 90px 20px; } }
.cta-final h2 { color: var(--navy-fg); font-size: 30px; }
@media (min-width: 640px) { .cta-final h2 { font-size: 42px; } }
.cta-final .sub { color: rgba(234,244,251,.78); margin-top: 22px; max-width: 560px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(234,244,251,.72); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 46px 20px; }
.footer-top { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 14px; }
.footer-nav a:hover { color: var(--navy-fg); }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(234,244,251,.25); display: grid; place-items: center; transition: .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 16px; height: 16px; }
.copyright { margin-top: 34px; border-top: 1px solid rgba(234,244,251,.15); padding-top: 22px; font-size: 12px; color: rgba(234,244,251,.6); }

/* ===== WhatsApp flutuante ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 999px; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4);
}
.wa-float svg { width: 26px; height: 26px; }
