/* ============================================================
   GM Serviços Contábeis — V1 (2026)
   Redesign completo — HTML/CSS/JS estático + PHP (formulário)
   ============================================================ */

:root {
  /* Azul principal (referência senhorcontabil) + vermelho do logo GM como acento */
  --navy-900: #0c1550;
  --navy-800: #12206e;
  --navy-700: #1b2f96;
  --navy-100: #e8ebf7;
  --teal-500: #2743c9;   /* azul claro (hover) */
  --teal-600: #142882;   /* azul primário */
  --teal-100: #e7ebfa;
  --red-600: #c02027;    /* vermelho do logo GM (acento) */
  --red-700: #a51b21;
  --red-100: #fae9ea;
  --wa-green: #1fb355;
  --wa-green-dark: #178f44;
  --gold-500: #d9a441;
  --ink-900: #161c2e;
  --ink-600: #47506a;
  --ink-400: #7b8399;
  --bg-soft: #f5f6fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(12, 21, 80, 0.07);
  --shadow-md: 0 10px 30px rgba(12, 21, 80, 0.12);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 700;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #c7d5e2;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #dff3ef; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.topbar svg { width: 14px; height: 14px; fill: #93c5fd; flex-shrink: 0; }
.topbar .tb-wa {
  background: var(--wa-green); color: #fff !important; font-weight: 600;
  padding: 4px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}
.topbar .tb-wa svg { fill: #fff; }
.topbar .tb-wa:hover { background: var(--wa-green-dark); text-decoration: none; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5ecf3;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-600));
  display: grid; place-items: center;
  color: #fff; font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.5px;
}
.brand-logo { height: 52px; width: auto; }
.brand-logo-chip {
  background: #fff; border-radius: 12px; padding: 8px 12px;
  display: inline-block; box-shadow: var(--shadow-sm);
}
.brand-logo-chip img { height: 46px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; color: var(--navy-900); font-size: 1.05rem; font-family: "Plus Jakarta Sans", sans-serif; }
.brand-text span { font-size: 0.72rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: 1.5px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink-600); font-weight: 500; font-size: 0.95rem;
}
.nav a:hover { color: var(--teal-600); text-decoration: none; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; border: 0; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal-600); color: #fff !important; box-shadow: 0 6px 18px rgba(20, 40, 130, 0.35); }
.btn-primary:hover { background: var(--teal-500); }
.btn-accent { background: var(--red-600); color: #fff !important; box-shadow: 0 6px 18px rgba(192, 32, 39, 0.35); }
.btn-accent:hover { background: var(--red-700); }
.btn-wa {
  background: var(--wa-green); color: #fff !important;
  box-shadow: 0 6px 18px rgba(31, 179, 85, 0.4);
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-wa:hover { background: var(--wa-green-dark); }
.btn-wa svg { width: 19px; height: 19px; fill: #fff; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.55); color: #fff !important; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--navy-900); color: #fff !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--navy-900);
  margin: 5px 0; border-radius: 2px; transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(61, 90, 241, 0.35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(192, 32, 39, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #d9e4ee;
  padding: 92px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(61, 90, 241, 0.22); border: 1px solid rgba(122, 146, 255, 0.5);
  color: #b9c8ff; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  max-width: 620px; margin-bottom: 16px; font-weight: 800; letter-spacing: -0.6px;
}
.hero h1 em { font-style: normal; color: #9db4ff; }
.hero p.lead { font-size: 1.05rem; max-width: 560px; margin-bottom: 30px; color: #b9c9d8; }
.hero-link { color: #b9c8ff; font-weight: 600; font-size: 0.95rem; align-self: center; }
.hero-link:hover { color: #fff; text-decoration: none; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; max-width: 720px;
}
.stat {
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius);
  padding: 16px 20px; background: rgba(255,255,255,0.04);
}
.stat b { display: block; font-size: 1.4rem; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; }
.stat span { font-size: 0.83rem; color: #a7bacb; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }

.kicker {
  display: inline-block; color: var(--teal-600); font-weight: 700;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; letter-spacing: -0.5px; }
.section-sub { color: var(--ink-600); max-width: 680px; margin-bottom: 44px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--white); border: 1px solid #e6edf4; border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.12rem; margin: 16px 0 10px; }
.card p { color: var(--ink-600); font-size: 0.95rem; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--teal-100); display: grid; place-items: center;
}
.card .icon svg { width: 26px; height: 26px; fill: var(--teal-600); }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.9rem; }

/* ---------- Sobre ---------- */
.about-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  background: linear-gradient(150deg, var(--navy-800), var(--teal-600));
  border-radius: 20px; padding: 40px 34px; color: #eaf6f3; box-shadow: var(--shadow-md);
}
.about-visual blockquote {
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; font-weight: 600;
  line-height: 1.5; margin-bottom: 22px; color: #fff;
}
.about-visual .since { font-size: 0.85rem; color: #bfe6de; letter-spacing: 1px; text-transform: uppercase; }
.about-text p { color: var(--ink-600); margin-bottom: 16px; }
.skill-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px;
  list-style: none; margin-top: 24px;
}
.skill-list li {
  display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 0.94rem; color: var(--navy-800);
}
.skill-list svg { width: 17px; height: 17px; fill: var(--teal-600); flex-shrink: 0; }

/* ---------- Autosserviço ---------- */
.tool-card ul { list-style: none; margin-top: 8px; }
.tool-card ul li { padding: 5px 0; border-bottom: 1px dashed #e3ebf2; font-size: 0.92rem; }
.tool-card ul li:last-child { border-bottom: 0; }
.tool-card ul a { color: var(--ink-600); display: flex; justify-content: space-between; }
.tool-card ul a:hover { color: var(--teal-600); text-decoration: none; }
.tool-card ul a::after { content: "↗"; color: var(--teal-500); }

/* ---------- Notícias ---------- */
.news-card { display: flex; flex-direction: column; }
.news-tag {
  align-self: flex-start; background: var(--navy-100); color: var(--navy-700);
  font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.news-card h3 { margin-top: 0; }
.news-card time { color: var(--ink-400); font-size: 0.82rem; margin-bottom: 8px; display: block; }

/* ---------- Depoimentos ---------- */
.quote-card { border-left: 4px solid var(--teal-500); }
.quote-card p { font-style: italic; color: var(--ink-600); }
.quote-card footer { margin-top: 16px; font-weight: 600; color: var(--navy-800); font-style: normal; }
.quote-card footer small { display: block; color: var(--ink-400); font-weight: 400; }

/* ---------- Form ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .item .icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--teal-100); display: grid; place-items: center;
}
.contact-info .item .icon svg { width: 20px; height: 20px; fill: var(--teal-600); }
.contact-info .item b { display: block; color: var(--navy-900); font-size: 0.95rem; }
.contact-info .item span, .contact-info .item a { color: var(--ink-600); font-size: 0.92rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 0.85rem; font-weight: 600; color: var(--navy-800); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid #dbe5ee; border-radius: 10px;
  font: inherit; color: var(--ink-900); background: #fff; outline: none;
  transition: border 0.15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal-500); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--ink-400); margin-top: 12px; }
.hp-field { position: absolute; left: -5000px; opacity: 0; height: 0; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 0.93rem; display: none; }
.alert.ok { background: #e7f8f1; color: #0b6e51; border: 1px solid #b8e8d5; display: block; }
.alert.err { background: #fdecec; color: #a33030; border: 1px solid #f3c5c5; display: block; }

/* ---------- Mapa ---------- */
.map-frame {
  border: 0; width: 100%; height: 420px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); display: block;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb3c5; padding: 64px 0 0; font-size: 0.92rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer a { color: #c3d3e0; }
.footer a:hover { color: #9db4ff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer .brand-text strong { color: #fff; }
.footer .brand-text span { color: #7d93a7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 0.82rem;
  color: #7d93a7; text-align: center;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Página interna (serviços) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #cfdce8; padding: 64px 0;
}
.page-hero .kicker { color: #9db4ff; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -0.5px; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 16px; color: #8fa6ba; }
.breadcrumb a { color: #b7cadb; }
.article { max-width: 780px; }
.article p { color: var(--ink-600); margin-bottom: 18px; }
.article h2 { font-size: 1.4rem; margin: 34px 0 14px; }
.article ul { margin: 0 0 18px 22px; color: var(--ink-600); }
.article ul li { margin-bottom: 8px; }
.cta-strip {
  background: linear-gradient(135deg, var(--teal-600), var(--navy-700));
  border-radius: 18px; color: #fff; padding: 44px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-strip h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.cta-strip p { color: #d5efe9; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 18px 24px 24px; gap: 16px; border-bottom: 1px solid #e5ecf3;
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-hours { display: none; }
  section { padding: 60px 0; }
}

/* ---------- Faixa de contato (antes do footer) ---------- */
.contact-strip {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(61, 90, 241, 0.4), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: 20px; color: #fff; padding: 46px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.contact-strip h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; letter-spacing: -0.3px; }
.contact-strip p { color: #c3cdf5; }
.contact-strip .cs-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Balão do WhatsApp ---------- */
.wa-balloon {
  position: fixed; right: 22px; bottom: 94px; z-index: 60;
  width: 320px; max-width: calc(100vw - 44px);
  background: #fff; border-radius: 16px; box-shadow: 0 14px 44px rgba(12, 21, 80, 0.28);
  overflow: hidden; opacity: 0; transform: translateY(14px) scale(0.97);
  pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-balloon.open { opacity: 1; transform: none; pointer-events: auto; }
.wa-balloon-head {
  background: var(--wa-green); color: #fff; padding: 14px 16px;
  display: flex; align-items: center; gap: 11px;
}
.wa-balloon-head .wa-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.wa-balloon-head .wa-avatar img { height: 30px; width: auto; }
.wa-balloon-head b { display: block; font-size: 0.95rem; line-height: 1.2; }
.wa-balloon-head span { font-size: 0.78rem; opacity: 0.9; }
.wa-balloon-close {
  margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.3rem;
  cursor: pointer; line-height: 1; padding: 4px;
}
.wa-balloon-body { padding: 16px; background: #ece5dd; }
.wa-msg {
  background: #fff; border-radius: 0 12px 12px 12px; padding: 11px 14px;
  font-size: 0.9rem; color: var(--ink-900); box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  max-width: 92%;
}
.wa-msg small { display: block; color: var(--ink-400); margin-top: 6px; font-size: 0.72rem; text-align: right; }
.wa-balloon-foot { padding: 14px 16px; background: #fff; }
.wa-balloon-foot .btn { width: 100%; text-align: center; justify-content: center; }

.wa-float .wa-hint {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: #fff; color: var(--ink-900); font-size: 0.82rem; font-weight: 600;
  white-space: nowrap; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-md);
}

/* ---------- Tela de Login (Área do Cliente) ---------- */
.login-page {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  font-family: "Inter", sans-serif;
}
.login-brand-side {
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(61, 90, 241, 0.35), transparent 60%),
    radial-gradient(600px 320px at -10% 110%, rgba(192, 32, 39, 0.2), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: #d4ddf5; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.login-brand-side::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none;
}
.login-brand-side > * { position: relative; z-index: 1; }
.login-brand-side h1 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 22px 0 12px; letter-spacing: -0.5px; }
.login-brand-side p { max-width: 420px; color: #b9c5ea; }
.login-features { list-style: none; margin-top: 28px; }
.login-features li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 0.95rem; }
.login-features svg { width: 18px; height: 18px; fill: #9db4ff; flex-shrink: 0; }
.login-back { color: #9db4ff; font-size: 0.9rem; }

.login-form-side {
  display: flex; align-items: center; justify-content: center; padding: 48px 24px;
  background: var(--bg-soft);
}
.login-card {
  width: 100%; max-width: 420px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-md); padding: 40px 36px;
}
.login-card h2 { font-size: 1.5rem; margin-bottom: 6px; letter-spacing: -0.3px; }
.login-card .login-sub { color: var(--ink-600); font-size: 0.93rem; margin-bottom: 26px; }
.login-field { margin-bottom: 16px; }
.login-pass-wrap { position: relative; }
.login-pass-wrap button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; color: var(--ink-400); font-size: 0.8rem; font-weight: 600;
}
.login-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; font-size: 0.87rem; }
.login-row label { display: flex; align-items: center; gap: 7px; margin: 0; font-weight: 500; color: var(--ink-600); }
.login-row input[type="checkbox"] { width: auto; accent-color: var(--teal-600); }
.login-help {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid #e8edf4;
  font-size: 0.87rem; color: var(--ink-600); text-align: center;
}

@media (max-width: 860px) {
  .login-page { grid-template-columns: 1fr; }
  .login-brand-side { display: none; }
}

/* ---------- Hero em duas colunas (humanizado) ---------- */
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.hero-visual { position: relative; }
.hero-visual > img {
  width: 100%; max-width: 540px; height: auto; margin: 0 auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}
.hero .hero-stats { max-width: none; margin-top: 56px; }
.hero-actions { margin-bottom: 0; }

/* ---------- Ilustrações humanas ---------- */
.about-visual .about-illus { width: 100%; height: auto; margin-bottom: 20px; }
.contact-persona { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.contact-persona img { width: 84px; height: 84px; flex-shrink: 0; }
.contact-persona b { display: block; color: var(--navy-900); }
.contact-persona span { color: var(--ink-600); font-size: 0.9rem; }

.quote-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar-circle {
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--teal-100); display: grid; place-items: center;
}
.avatar-circle svg { width: 100%; height: 100%; }
.quote-head b { color: var(--navy-800); display: block; line-height: 1.2; }
.quote-head small { color: var(--ink-400); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual > img { max-width: 420px; }
}

/* ---------- Refino mobile (V1.3) ---------- */
@media (max-width: 960px) {
  .hero-visual { order: -1; }
  .hero-visual > img { max-width: 360px; }
  .hero-grid { gap: 28px; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .topbar { font-size: 0.78rem; padding: 6px 0; }
  .topbar .tb-item { margin-right: 10px; }
  .topbar .tb-mail { display: none; }
  .topbar .tb-wa { padding: 3px 11px; }
  .brand-logo { height: 40px; }
  .brand-text strong { font-size: 0.95rem; }

  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 1.65rem; letter-spacing: -0.4px; }
  .hero p.lead { font-size: 0.98rem; margin-bottom: 24px; }
  .hero-badge { font-size: 0.72rem; padding: 6px 12px; margin-bottom: 16px; }
  .hero-visual > img { max-width: 270px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-link { align-self: flex-start; padding: 6px 0; }
  .hero .hero-stats { margin-top: 32px; gap: 10px; }
  .stat { padding: 12px 16px; display: flex; align-items: baseline; gap: 10px; }
  .stat b { font-size: 1.1rem; }

  .section-title { font-size: 1.45rem; }
  .section-sub { margin-bottom: 30px; }
  .card { padding: 24px 20px; }

  .about-visual { padding: 28px 22px; }
  .about-visual blockquote { font-size: 1.05rem; }
  .skill-list { grid-template-columns: 1fr; }

  .contact-strip { padding: 30px 22px; text-align: center; justify-content: center; }
  .contact-strip .cs-actions { width: 100%; flex-direction: column; }
  .contact-strip .cs-actions .btn { width: 100%; text-align: center; justify-content: center; }

  .map-frame { height: 300px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-balloon { right: 16px; bottom: 80px; }
  .footer { padding-top: 44px; }
}

/* ============================================================
   V1.4 — Estilo "Consen": navy profundo, curvas, cápsulas,
   números fantasma, contadores e detalhes decorativos
   ============================================================ */

h1, h2, h3, h4 { font-family: "Poppins", "Plus Jakarta Sans", sans-serif; }

/* Kicker com traço (estilo Consen) */
.kicker-line {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red-600); font-weight: 700; font-size: 0.95rem;
  text-transform: none; letter-spacing: 0.2px; margin-bottom: 14px;
}
.kicker-line::before {
  content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--red-600);
}
.dark-section .kicker-line, .hero .kicker-line { color: #ff6b71; }
.dark-section .kicker-line::before, .hero .kicker-line::before { background: #ff6b71; }

.section-title .hl { font-style: normal; color: var(--red-600); }

/* ---------- Hero Consen ---------- */
.hero {
  background: #0b1030;
  padding: 96px 0 150px;
}
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.hero h1 em { color: var(--red-600); text-shadow: 0 0 30px rgba(192,32,39,0.35); }
.hero-divider { width: 100%; max-width: 480px; height: 1px; background: rgba(255,255,255,0.16); margin: 30px 0; }
.hero-actions { align-items: center; }

.btn-pill { border-radius: 999px; padding: 14px 8px 14px 28px; display: inline-flex; align-items: center; gap: 12px; }
.btn-pill .plus {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.22);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 700;
}

.hero-phone { display: inline-flex; align-items: center; gap: 13px; color: #fff; }
.hero-phone:hover { text-decoration: none; }
.hero-phone .hp-icon {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--wa-green);
  display: grid; place-items: center; flex-shrink: 0;
  animation: pulse-wa 2.2s infinite;
}
.hero-phone .hp-icon svg { width: 24px; height: 24px; fill: var(--wa-green); }
.hero-phone small { display: block; color: #8d98c4; font-size: 0.8rem; }
.hero-phone b { color: #fff; font-size: 1.05rem; }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(31, 179, 85, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(31, 179, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 179, 85, 0); }
}

/* cápsulas de fotos */
.capsules { display: flex; gap: 22px; align-items: center; justify-content: center; }
.capsule { width: 152px; flex-shrink: 0; transform: translateY(12px); }
.capsule img { width: 100%; height: auto; }
.capsule.mid { width: 178px; transform: translateY(-16px); filter: drop-shadow(0 20px 40px rgba(192, 32, 39, 0.35)); }

/* formas decorativas */
.hero-shape { position: absolute; pointer-events: none; }
.hero-blob {
  width: 420px; height: 420px; left: -140px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(192, 32, 39, 0.5), rgba(192, 32, 39, 0.06) 65%);
  filter: blur(6px);
}
.hero-dots {
  right: 8%; bottom: 24%; width: 140px; height: 90px;
  background-image: radial-gradient(rgba(255,255,255,0.35) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
}
.hero-xs { left: 3%; bottom: 18%; display: flex; flex-direction: column; gap: 8px; }
.hero-xs span { color: rgba(255,255,255,0.5); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.hero-xs span:nth-child(2) { color: rgba(192, 32, 39, 0.8); margin-left: 14px; }

.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-curve svg { width: 100%; height: 90px; display: block; }

/* ---------- Serviços com número fantasma ---------- */
.num-card { position: relative; overflow: hidden; }
.ghost-num {
  position: absolute; top: 6px; left: 14px;
  font-family: "Poppins", sans-serif; font-weight: 800; font-size: 4.2rem;
  color: #eef0f8; line-height: 1; z-index: 0;
}
.num-card > *:not(.ghost-num) { position: relative; z-index: 1; }
.num-card .icon {
  border-radius: 50%; border: 1.5px solid #e2e6f3; background: #fff;
  width: 64px; height: 64px; margin-left: auto; margin-right: auto;
}
.num-card { text-align: center; }
.num-card h3::after {
  content: ""; display: block; width: 36px; height: 3px; border-radius: 2px;
  background: var(--red-600); margin: 10px auto 0;
}
.num-card a.more {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid #e2e6f3; border-radius: 999px; padding: 9px 20px;
  color: var(--ink-600); font-weight: 600; font-size: 0.86rem;
  transition: all 0.2s;
}
.num-card a.more:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; text-decoration: none; }
.num-card a.more:hover .mini-plus { color: #fff; }
.mini-plus { color: var(--red-600); font-weight: 800; }

/* ---------- Seção escura (Quem Somos + contadores) ---------- */
.dark-section {
  background:
    radial-gradient(700px 340px at 108% 0%, rgba(39, 67, 201, 0.35), transparent 60%),
    radial-gradient(600px 300px at -8% 100%, rgba(192, 32, 39, 0.22), transparent 55%),
    #0b1030;
  color: #b9c3e2;
  padding: 96px 0;
  position: relative; overflow: hidden;
}
.dark-section .section-title { color: #fff; }
.dark-section .about-text p { color: #a9b4d8; }
.dark-section .skill-list li { color: #e7ebfa; }
.dark-section .skill-list svg { fill: #ff6b71; }
.dark-section .about-visual { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }

.counters-wrap { margin-top: 70px; }
.counters-label {
  display: flex; align-items: center; gap: 18px; color: #dfe4f5; font-weight: 600;
  font-size: 0.95rem; margin-bottom: 40px; text-align: center;
}
.counters-label::before, .counters-label::after {
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.14);
}
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.counter b {
  display: block; font-family: "Poppins", sans-serif; font-weight: 800;
  font-size: 2.6rem; color: #fff; line-height: 1;
}
.counter b i { font-style: normal; color: var(--red-600); }
.counter > span { color: #8d98c4; font-size: 0.9rem; }

/* responsivo do novo hero */
@media (max-width: 960px) {
  .capsule { width: 118px; }
  .capsule.mid { width: 140px; }
  .counters { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
}
@media (max-width: 680px) {
  .hero { padding: 48px 0 110px; }
  .capsules { gap: 12px; }
  .capsule { width: 88px; transform: translateY(6px); }
  .capsule.mid { width: 108px; transform: translateY(-8px); }
  .hero-divider { margin: 20px 0; }
  .hero-phone .hp-icon { width: 46px; height: 46px; }
  .ghost-num { font-size: 3.4rem; }
  .counter b { font-size: 2rem; }
  .hero-blob { width: 260px; height: 260px; left: -120px; top: -100px; }
}

@media (max-width: 960px) {
  .hero-xs, .hero-dots { display: none; }
}

/* ---------- V1.5: botão do header, login e páginas internas no estilo Consen ---------- */
.btn { white-space: nowrap; }
.header .nav .btn {
  border-radius: 999px; background: var(--red-600);
  box-shadow: 0 6px 18px rgba(192, 32, 39, 0.3); padding: 12px 26px;
}
.header .nav .btn:hover { background: var(--red-700); }

.page-hero {
  background:
    radial-gradient(500px 260px at -6% -30%, rgba(192, 32, 39, 0.4), transparent 60%),
    radial-gradient(600px 300px at 106% 120%, rgba(39, 67, 201, 0.35), transparent 60%),
    #0b1030;
  position: relative; overflow: hidden;
}
.page-hero .kicker { color: #ff6b71; }
.page-hero .kicker-line::before { background: #ff6b71; }

.login-brand-side {
  background:
    radial-gradient(520px 420px at -10% -10%, rgba(192, 32, 39, 0.45), transparent 62%),
    radial-gradient(600px 340px at 110% 110%, rgba(39, 67, 201, 0.4), transparent 60%),
    #0b1030;
}
.login-brand-side::after { display: none; }
.login-features svg { fill: #ff6b71; }
.login-card { border-radius: 22px; }
.login-card h2 { font-family: "Poppins", sans-serif; }
.login-card h2::after {
  content: ""; display: block; width: 36px; height: 3px; border-radius: 2px;
  background: var(--red-600); margin-top: 8px;
}
.login-row a { color: var(--red-600); font-weight: 600; }

/* nav em uma linha */
.nav { gap: 20px; }
.nav a { white-space: nowrap; font-size: 0.93rem; }
.brand-text strong { white-space: nowrap; }
.brand-text span { white-space: nowrap; }
@media (max-width: 1080px) {
  .brand-text span { display: none; }
  .nav { gap: 14px; }
}
