/* ==========================================================
   Kauan José · Gestor de Tráfego
   ========================================================== */

/* Fonte Inter (variável: um arquivo cobre os pesos 400 a 900) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --accent: #0A3B78;
  --accent-soft: #E9F0F8;
  --ink: #0E1116;
  --text: #57575D;
  --muted: #6E6E73;
  --line: #E7E7EA;
  --green: #7CD992;
  --green-strong: #34B764;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #FFFFFF;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
.page { width: 100%; overflow: hidden; }
.container { max-width: 1160px; margin: 0 auto; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes charIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(26,52,85,.35); }
  70%  { box-shadow: 0 0 0 14px rgba(26,52,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,52,85,0); }
}

/* ---------- Textos de seção ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.02em;
  font-weight: 800; margin: 14px 0 0;
}

/* ---------- Botões WhatsApp ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.btn-lg { font-size: 16px; padding: 16px 30px; box-shadow: 0 10px 26px rgba(26,52,85,.28); }
.btn-md { font-size: 15px; padding: 14px 26px; box-shadow: 0 8px 22px rgba(26,52,85,.24); }
.btn-sm {
  gap: 9px; font-weight: 600; font-size: 14px; padding: 11px 20px;
  box-shadow: 0 4px 14px rgba(26,52,85,.22); white-space: nowrap; flex: none;
}
.btn-sm .dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(124,217,146,.25); }
.btn-white {
  background: #fff; color: var(--accent); gap: 11px;
  font-size: 17px; padding: 17px 34px; box-shadow: 0 14px 34px rgba(0,0,0,.3);
}
.btn-white .dot { width: 10px; height: 10px; background: var(--green-strong); }

@media (hover: hover) {
  .btn-sm:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 20px rgba(26,52,85,.32); }
  .btn-lg:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 32px rgba(26,52,85,.36); }
  .btn-md:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 28px rgba(26,52,85,.32); }
  .btn-white:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 40px rgba(0,0,0,.36); }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px; min-width: 38px; flex: none; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.brand-role { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 24px 92px; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 78% 0%, #F1F1F3 0%, rgba(241,241,243,0) 60%);
}
.hero .container { position: relative; display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 24px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.03em;
  font-weight: 800; margin: 0 0 22px; max-width: 16ch; overflow-wrap: break-word;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .w { display: inline-block; white-space: nowrap; margin-right: .28em; }
.hero h1 .c { display: inline-block; opacity: 0; animation: charIn .25s ease forwards; }
.hero-sub {
  font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--text);
  margin: 0 0 34px; max-width: 46ch; font-weight: 400;
}
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--muted); font-weight: 500; }

.hero-photo { flex: 0 1 420px; min-width: 0; position: relative; }
.hero-photo-frame {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; box-shadow: 0 12px 30px rgba(14,17,22,.12);
  display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600;
}
.float-badge .ico {
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.float-badge .ico img { object-fit: contain; }
.float-badge.meta { top: 24px; left: -18px; animation: floatY 5s ease-in-out infinite; }
.float-badge.meta .ico img { width: 82%; height: 82%; }
.float-badge.google { bottom: 64px; right: -22px; animation: floatY 6.5s ease-in-out .5s infinite; }
.float-badge.google .ico img { width: 105%; height: 105%; max-width: none; }

/* ---------- Prova social ---------- */
.proof { padding: 64px 24px 72px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof .container { text-align: center; }
.proof-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 36px; flex-wrap: wrap; }
.proof-head h2 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pill { background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: .02em; }
.clients-track {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  overflow-x: auto; overflow-y: hidden; padding: 6px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  scrollbar-width: none; cursor: grab; touch-action: pan-y;
}
.clients-track::-webkit-scrollbar { display: none; }
.clients-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; width: max-content; }
.client { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; transition: transform .25s ease; }
.client-ring {
  display: inline-flex; padding: 3px; border-radius: 50%;
  background: linear-gradient(135deg, #0A3B78, #5C87B8); transition: box-shadow .25s ease;
}
.client-ring > span { display: inline-flex; padding: 3px; border-radius: 50%; background: #fff; }
.client-ring img {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  background: #fff; border: 1px solid var(--line);
}
@media (hover: hover) {
  .client:hover { transform: translateY(-6px); }
  .client:hover .client-ring { box-shadow: 0 10px 22px rgba(10,59,120,.28); }
}
.proof-foot { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); font-weight: 500; margin: 0; }
.proof-foot::before, .proof-foot::after { content: ''; width: 26px; height: 1px; background: #CDCDD3; flex: none; }

/* ---------- Isso parece familiar ---------- */
.familiar { background: var(--accent); color: #E9F1F9; padding: 96px 24px; }
.familiar .container { max-width: 960px; }
.familiar-head { text-align: center; margin-bottom: 52px; }
.familiar-head .eyebrow { color: #5FA0E0; }
.familiar-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 44px;
}
.question {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; padding: 22px 24px;
}
.question::before {
  content: '?'; flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: #5FA0E0; color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.question p { margin: 0; font-size: 16px; line-height: 1.5; color: #CFE0F5; }
.familiar-close {
  text-align: center; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.5; font-weight: 600;
  color: #fff; max-width: 30ch; margin: 0 auto; letter-spacing: -.01em;
}

/* ---------- Serviços ---------- */
.services { padding: 96px 24px; }
.services-head { margin-bottom: 48px; max-width: 620px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 rgba(14,17,22,.02);
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) { .card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(14,17,22,.1); } }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.card-ico {
  width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card-ico img { width: 82%; height: 82%; object-fit: contain; max-width: none; }
.card-ico img.lg { width: 108%; height: 108%; }
.card-ico img.md { width: 105%; height: 105%; }
.card h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }

/* ---------- Como funciona ---------- */
.block { padding: 0 24px 96px; }
.steps-box { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 56px 44px; }
.steps-box .section-title { font-size: clamp(28px, 3.6vw, 42px); }
.steps-head { margin-bottom: 44px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 8px 26px 8px 0; transition: transform .25s ease; }
@media (hover: hover) { .step:hover { transform: translateY(-6px); } }
.step-n { font-size: 46px; font-weight: 800; line-height: 1; color: var(--line); letter-spacing: -.03em; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); }

/* ---------- Para quem é ---------- */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.fit-box { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 38px 34px; }
.fit-box.no { background: #F6F6F7; }
.fit-box h3 { margin: 0 0 24px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.fit-box.no h3 { color: var(--text); }
.fit-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.fit-box li { display: flex; align-items: flex-start; gap: 13px; font-size: 15px; line-height: 1.5; color: #26262E; }
.fit-box.no li { color: var(--text); }
.fit-box li::before {
  content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.fit-box.no li::before { content: '✕'; background: #fff; border: 1px solid #D3D3D8; color: #98989F; }

/* ---------- Quem sou eu ---------- */
.about {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 56px 48px;
  display: flex; gap: 52px; align-items: flex-start; flex-wrap: wrap;
}
.about-photo { flex: 0 1 320px; min-width: 0; }
.about-photo-frame { border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.about-text { flex: 1 1 420px; min-width: 0; }
.about-text h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 14px 0 22px; }
.bio { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.bio p { margin: 0; font-size: 16px; line-height: 1.6; color: #40404A; }
.certs { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.cert {
  display: flex; align-items: center; gap: 12px; background: #F7F8FA; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 18px; text-decoration: none; cursor: pointer; flex: 0 0 auto; width: max-content;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (hover: hover) { .cert:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14,17,22,.1); border-color: #CFE0F5; } }
.cert-ico {
  flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cert-ico img { width: 70%; height: 70%; object-fit: contain; }
.cert-ico img.g { width: 78%; height: 78%; }
.cert-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cert-title { font-size: 13px; font-weight: 700; color: #1B1B1F; line-height: 1.3; white-space: nowrap; }
.cert-sub { font-size: 12px; color: var(--muted); line-height: 1.3; }

/* Janela do certificado */
.modal {
  position: fixed; inset: 0; background: rgba(14,17,22,.72); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal[hidden] { display: none; }
.modal-box {
  position: relative; width: min(760px, 100%); max-height: 90vh; background: #fff; border-radius: 16px;
  overflow: auto; box-shadow: 0 30px 70px rgba(0,0,0,.4); padding: 8px;
}
.modal-box img { width: 100%; height: auto; border-radius: 8px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: none; background: #1B1B1F; color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- CTA final ---------- */
.final {
  background: var(--accent); color: #E9F1F9; border-radius: 32px;
  padding: clamp(48px, 7vw, 84px) clamp(28px, 6vw, 72px); text-align: center; position: relative; overflow: hidden;
}
.final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 340px at 50% -10%, rgba(157,188,224,.22) 0%, rgba(157,188,224,0) 60%);
}
.final > * { position: relative; }
.final h2 {
  font-size: clamp(28px, 4vw, 46px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800;
  margin: 0 auto 20px; max-width: 24ch; color: #fff;
}
.final p { font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: #CFE0F5; max-width: 52ch; margin: 0 auto 36px; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 24px; }
.footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand-mark { width: 34px; height: 34px; min-width: 34px; font-size: 14px; }
.footer-name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.footer-role { font-size: 12px; color: var(--muted); line-height: 1.2; }
.copy { font-size: 12px; color: #98989F; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 14px 22px; border-radius: 999px; box-shadow: 0 12px 30px rgba(14,17,22,.28);
  animation: pulseRing 2.6s ease-out infinite;
  transition: transform .2s ease, opacity .2s ease, visibility .2s;
}
.wa-float .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green-strong); box-shadow: 0 0 0 3px rgba(52,183,100,.3); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@media (hover: hover) { .wa-float:hover { transform: scale(1.06); } }
.wa-icon { display: none; }

/* No celular o botão vira um círculo no canto, para não cobrir o conteúdo */
@media (max-width: 640px) {
  .wa-float {
    bottom: 16px; right: 16px; width: 58px; height: 58px; padding: 0; border: 2px solid #fff;
    justify-content: center;
  }
  .wa-float .wa-label { display: none; }
  .wa-float .wa-icon { display: block; width: 26px; height: 26px; }
  .wa-float .dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border: 2px solid #fff; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .c { opacity: 1; }
}
