/* ===== Fofonka — Landing page institucional ===== */
:root{
  --ink:#151a23;
  --ink-soft:#4a5568;
  --muted:#6b7684;
  --line:#e6e9ee;
  --surface:#ffffff;
  --bg:#f7f9fb;
  --bg-tint:#eef4f1;
  --green:#04CF4D;
  --green-dark:#026943;
  --blue:#3680FE;
  --blue-dark:#003FAD;
  --grad-brand: linear-gradient(135deg,#04CF4D 0%, #039C48 45%, #026943 100%);
  --grad-blue: linear-gradient(135deg,#3680FE 0%, #003FAD 100%);
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --shadow-card: 0 1px 2px rgba(21,26,35,.04), 0 12px 32px -16px rgba(21,26,35,.12);
  --shadow-float: 0 24px 60px -20px rgba(3,64,45,.28);
  --maxw:1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ padding:96px 0; }
h1,h2,h3{ line-height:1.15; letter-spacing:-0.02em; margin:0; font-weight:800; }
p{ margin:0; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--green-dark);
  background:var(--bg-tint);
  padding:6px 14px; border-radius:999px;
  margin-bottom:18px;
}
.eyebrow::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--grad-brand); }
.eyebrow-dot{
  display:inline-block; width:6px; height:6px; border-radius:50%;
  background:var(--grad-brand); margin:0 8px; vertical-align:middle; font-style:normal;
}

.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(28px,3.4vw,38px); text-wrap:balance; }
.section-head p{ color:var(--muted); font-size:16px; margin-top:14px; line-height:1.65; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:700; font-size:15px;
  padding:14px 26px; border-radius:999px;
  border:1px solid transparent;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{
  background:var(--grad-brand); color:#fff;
  box-shadow:0 14px 30px -12px rgba(2,105,67,.55);
}
.btn-primary:hover{ box-shadow:0 18px 36px -12px rgba(2,105,67,.65); }
.btn-ghost{
  background:#fff; color:var(--ink); border-color:var(--line);
}
.btn-ghost:hover{ border-color:#c7cfd8; }
.btn svg{ width:18px; height:18px; }

/* ===== Header ===== */
header.site{
  position:sticky; top:0; z-index:40;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
}
.brand{ display:flex; align-items:center; }
.brand-logo{ height:34px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:14.5px; font-weight:600; color:var(--ink-soft); }
.nav-links a:hover{ color:var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.brand-mobile{ display:none; }

/* Botão hambúrguer — só existe visualmente abaixo do breakpoint */
.menu-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; border:none; background:none; cursor:pointer;
  padding:0; flex:none;
}
.menu-toggle span{
  display:block; width:20px; height:2px; background:var(--ink); border-radius:2px;
  margin:0 auto; transition:transform .2s ease, opacity .2s ease;
}

@media (max-width:860px){
  .nav{ position:relative; padding:14px 0; }
  .menu-toggle{ display:flex; }
  .nav-links{ display:none; }
  .brand{ display:none; }
  .brand-mobile{ display:flex; align-items:center; margin-right:6px; }
  .brand-mobile .brand-logo{ height:30px; }
  .nav-cta .btn-primary{ display:none; }
}

/* Drawer lateral (mobile) */
.drawer-overlay{
  position:fixed; inset:0; z-index:48;
  background:rgba(10,14,20,.45);
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.drawer-overlay.open{ opacity:1; pointer-events:auto; }

.mobile-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:49;
  width:min(78vw, 320px);
  background:#fff; box-shadow:-16px 0 40px -20px rgba(21,26,35,.35);
  transform:translateX(100%); transition:transform .28s ease;
  display:flex; flex-direction:column; padding:22px 22px 28px;
}
.mobile-drawer.open{ transform:translateX(0); }

.drawer-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
.drawer-head .brand-logo{ height:30px; }
.drawer-close{
  border:none; background:var(--bg-tint); color:var(--ink);
  width:32px; height:32px; border-radius:9px; font-size:20px; line-height:1;
  cursor:pointer;
}
.drawer-links{ display:flex; flex-direction:column; gap:4px; }
.drawer-links a{
  font-size:15.5px; font-weight:600; color:var(--ink); padding:12px 4px;
  border-bottom:1px solid var(--line);
}
.drawer-cta{ margin-top:26px; justify-content:center; }

/* Ondas decorativas de fundo do hero */
.hero-waves{
  position:absolute; left:0; right:0; bottom:-10%; z-index:0;
  width:100%; height:auto; pointer-events:none;
}

/* ===== Hero ===== */
.hero{ padding:76px 0 60px; overflow:hidden; position:relative; }
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.05fr 1fr; gap:56px; align-items:center;
}
.hero-grid > *{ min-width:0; }
.hero h1{ font-size:clamp(34px,4.6vw,54px); text-wrap:balance; }
.hero h1 .accent{
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.lead{
  color:var(--ink-soft); font-size:17.5px; margin-top:20px; max-width:52ch; line-height:1.65;
}
.hero-actions{ display:flex; align-items:center; gap:16px; margin-top:34px; flex-wrap:wrap; }
.hero-note{ font-size:13px; color:var(--muted); }

.hero-badges{ display:flex; gap:18px; margin-top:44px; flex-wrap:nowrap; }
.hero-badge{ display:flex; align-items:center; gap:8px; flex:none; }
.hero-badge .dot{
  width:30px; height:30px; border-radius:9px; background:var(--bg-tint);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.hero-badge .dot svg{ width:15px; height:15px; color:var(--green-dark); }
.hero-badge span{ font-size:12.5px; font-weight:600; color:var(--ink-soft); white-space:nowrap; }
@media (max-width:980px){
  .hero-badges{ flex-wrap:wrap; }
}
@media (max-width:400px){
  .hero-badges{ gap:14px; }
  .hero-badge span{ font-size:11.5px; }
}

/* Hero visual: mockup de celular com anel de fundo e cards flutuantes */
.hero-visual{
  position:relative; display:flex; justify-content:center; align-items:center;
  padding:20px clamp(16px, 6vw, 64px);
  min-height:clamp(360px, 52vw, 520px);
  overflow:visible;
}
.hero-visual .glow{
  position:absolute; width:70%; height:70%; left:8%; top:6%;
  background:radial-gradient(closest-side, rgba(4,207,77,.20), transparent 72%);
  filter:blur(4px); z-index:0;
}
.hero-visual .glow-blue{
  position:absolute; width:60%; height:60%; right:0; bottom:2%;
  background:radial-gradient(closest-side, rgba(54,128,254,.18), transparent 72%);
  filter:blur(4px); z-index:0;
}
.hero-visual .ring{
  position:absolute; z-index:1; border-radius:50%;
  border:1px solid var(--line);
  width:min(120%, 460px); height:min(120%, 460px);
}
.ring-2{ width:min(92%, 350px); height:min(92%, 350px); border-style:dashed; opacity:.6; }

.device{
  position:relative; z-index:2;
  width:min(260px, 58vw);
  border-radius:34px;
  background:#0f1420;
  padding:12px;
  box-shadow:var(--shadow-float);
  transform:rotate(-4deg);
}
.device .screen{
  background:#fff; border-radius:24px; overflow:hidden;
  aspect-ratio:9/18;
  display:flex; flex-direction:column;
}
.screen-bar{ display:flex; align-items:center; justify-content:space-between; padding:16px 16px 10px; }
.screen-bar .app{ display:flex; align-items:center; gap:6px; }
.screen-bar .app svg{ height:14px; width:auto; }
.screen-bar .app span{ font-size:11px; font-weight:800; color:var(--ink); }
.screen-bar .dot-menu{ display:flex; gap:3px; }
.screen-bar .dot-menu span{ width:4px; height:4px; border-radius:50%; background:var(--muted); opacity:.5; }

.screen-hero{
  margin:0 16px 12px; border-radius:14px; padding:16px;
  background:linear-gradient(135deg, rgba(4,207,77,.10), rgba(54,128,254,.10));
  display:flex; flex-direction:column; gap:8px;
}
.screen-hero .badge{ width:26px; height:26px; border-radius:8px; background:var(--grad-brand); }

.screen-body{ padding:0 16px 18px; display:flex; flex-direction:column; gap:12px; flex:1; }
.skel-line{ height:8px; border-radius:6px; background:#eef1f4; }
.skel-card{
  border-radius:14px; background:var(--bg-tint); padding:12px;
  display:flex; align-items:center; gap:10px;
}
.skel-card .chip{ width:32px; height:32px; border-radius:9px; background:var(--grad-brand); flex:none; }
.skel-card .lines{ display:flex; flex-direction:column; gap:6px; flex:1; }
.skel-graph{
  height:64px; border-radius:12px;
  background:linear-gradient(180deg, rgba(4,207,77,.14), transparent);
  border:1px solid var(--line); position:relative; overflow:hidden;
}
.skel-graph svg{ position:absolute; inset:0; width:100%; height:100%; }
.skel-tabbar{
  margin-top:auto; display:flex; justify-content:space-around;
  padding:12px 16px; border-top:1px solid var(--line);
}
.skel-tabbar span{ width:18px; height:18px; border-radius:6px; background:#eef1f4; }
.skel-tabbar span.active{ background:var(--grad-brand); }

.float-card{
  position:absolute; z-index:3;
  background:#fff; border-radius:16px; padding:12px 14px;
  box-shadow:var(--shadow-card); border:1px solid var(--line);
  display:flex; align-items:center; gap:10px;
  max-width:min(190px, 46vw);
}
.float-card svg{ width:20px; height:20px; flex:none; }
.float-card .t{ font-size:12px; font-weight:700; color:var(--ink); white-space:nowrap; }
.float-card .s{ font-size:10.5px; color:var(--muted); white-space:nowrap; }
.float-1{ top:10%; left:0; animation:float1 6s ease-in-out infinite; }
.float-2{ bottom:16%; right:2%; animation:float2 7s ease-in-out infinite; }
.float-3{ top:52%; left:-4%; animation:float1 5.5s ease-in-out infinite reverse; }
.float-badge{
  position:absolute; z-index:3; width:56px; height:56px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-card); border:1px solid var(--line); background:#fff;
}
.float-badge svg{ width:26px; height:26px; }
.badge-1{ top:2%; right:8%; background:var(--grad-blue); border:none; animation:float2 6.5s ease-in-out infinite; }
.badge-1 svg{ color:#fff; }
.badge-2{ bottom:4%; left:14%; animation:float1 5s ease-in-out infinite; }

@keyframes float1{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-10px);} }
@keyframes float2{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(12px);} }
@media (prefers-reduced-motion: reduce){ .float-1,.float-2,.float-3,.badge-1,.badge-2{ animation:none; } }

@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ margin-top:20px; min-height:400px; }
}
@media (max-width:640px){
  .hero{ padding:28px 0 40px; }
  .hero-visual{ padding:16px 12px; min-height:340px; }
  .float-3, .badge-2{ display:none; }
  .float-1{ top:4%; left:2px; }
  .float-2{ bottom:8%; right:2px; }
  .badge-1{ top:0; right:4px; width:44px; height:44px; }
  .badge-1 svg{ width:20px; height:20px; }
}
@media (max-width:380px){
  .float-1, .float-2{ display:none; }
}

/* ===== Logos strip removed per client request (no client logos) ===== */

/* ===== Serviços ===== */
.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
@media (max-width:900px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .services-grid{ grid-template-columns:1fr; } }
.service-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:28px; display:flex; flex-direction:column; gap:14px;
  transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.service-card:hover{ box-shadow:var(--shadow-card); transform:translateY(-3px); border-color:#d7ddE5; }
.service-icon{
  width:48px; height:48px; border-radius:13px;
  background:var(--grad-brand);
  display:flex; align-items:center; justify-content:center;
}
.service-icon svg{ width:23px; height:23px; color:#fff; }
.service-card h3{ font-size:18px; font-weight:800; }
.service-card p{ color:var(--muted); font-size:14.5px; line-height:1.6; }

/* ===== Por que a Fofonka ===== */
.why{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.why-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:center; }
@media (max-width:900px){ .why-grid{ grid-template-columns:1fr; } }
.why-list{ display:flex; flex-direction:column; gap:26px; }
.why-item{ display:flex; gap:16px; }
.why-item .ic{
  width:40px; height:40px; border-radius:11px; flex:none;
  background:var(--bg-tint); display:flex; align-items:center; justify-content:center;
}
.why-item .ic svg{ width:19px; height:19px; color:var(--green-dark); }
.why-item h4{ font-size:15.5px; font-weight:800; margin:0 0 4px; }
.why-item p{ font-size:14px; color:var(--muted); line-height:1.6; }

.stat-card{
  background:var(--ink); color:#fff; border-radius:var(--radius-lg);
  padding:38px; position:relative; overflow:hidden;
}
.stat-card::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 85% 10%, rgba(4,207,77,.35), transparent 55%);
}
.stat-card .inner{ position:relative; z-index:1; }
.stat-big{ font-size:56px; font-weight:800; letter-spacing:-0.02em; }
.stat-big .grad{ background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-card .cap{ font-size:14.5px; color:#c6cdd6; margin-top:6px; }
.stat-divider{ height:1px; background:rgba(255,255,255,.12); margin:26px 0; }
.stat-row{ display:flex; gap:28px; flex-wrap:wrap; }
.stat-row .item{ font-size:13px; color:#dfe4ea; display:flex; align-items:center; gap:8px; }
.stat-row .item svg{ width:15px; height:15px; color:#3ef08a; }

/* ===== Processo ===== */
.process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
@media (max-width:900px){ .process-grid{ grid-template-columns:repeat(2,1fr); gap:32px; } }
@media (max-width:560px){ .process-grid{ grid-template-columns:1fr; } }
.process-step{ padding:0 20px 0 0; position:relative; }
.process-step:not(:last-child)::after{
  content:''; position:absolute; top:22px; left:calc(100% - 20px); width:40px; height:1px;
  background:repeat-x linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  background-image:linear-gradient(90deg, var(--line) 50%, transparent 50%);
  background-size:10px 1px;
}
@media (max-width:900px){ .process-step:not(:last-child)::after{ display:none; } }
.process-num{
  width:44px; height:44px; border-radius:12px; background:var(--bg-tint);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:16px; color:var(--green-dark); margin-bottom:18px;
}
.process-step h4{ font-size:16.5px; font-weight:800; margin-bottom:8px; }
.process-step p{ font-size:14px; color:var(--muted); line-height:1.6; }


/* ===== FAQ ===== */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{
  border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface);
  overflow:hidden;
}
.faq-item summary{
  list-style:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 22px; font-weight:700; font-size:15.5px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .plus{
  width:26px; height:26px; border-radius:50%; background:var(--bg-tint); flex:none;
  display:flex; align-items:center; justify-content:center; position:relative;
}
.faq-item summary .plus::before, .faq-item summary .plus::after{
  content:''; position:absolute; background:var(--green-dark);
}
.faq-item summary .plus::before{ width:11px; height:2px; }
.faq-item summary .plus::after{ width:2px; height:11px; transition:transform .2s ease; }
.faq-item[open] summary .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-item .faq-a{ padding:0 22px 20px; color:var(--muted); font-size:14.5px; line-height:1.65; }

/* ===== CTA final ===== */
.cta-final{
  background:var(--ink); border-radius:28px; padding:64px 48px; text-align:center;
  position:relative; overflow:hidden; margin:0 24px;
  max-width:calc(var(--maxw) - 48px);
  margin-inline:auto;
}
.cta-final::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 20% 20%, rgba(4,207,77,.25), transparent 50%),
             radial-gradient(circle at 80% 80%, rgba(54,128,254,.25), transparent 50%);
}
.cta-final .inner{ position:relative; z-index:1; }
.cta-final h2{ color:#fff; font-size:clamp(26px,3.4vw,36px); text-wrap:balance; }
.cta-final p{ color:#c6cdd6; margin-top:14px; font-size:16px; }
.cta-final .hero-actions{ justify-content:center; margin-top:30px; }

/* ===== Footer ===== */
footer.site{ padding:56px 0 32px; }
.footer-grid{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:28px; }
.footer-brand{ display:flex; align-items:center; }
.footer-logo{ height:28px; width:auto; }
.footer-tag{ font-size:13px; color:var(--muted); margin-top:10px; max-width:34ch; }
.footer-links{ display:flex; gap:48px; flex-wrap:wrap; }
.footer-col h5{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:14px; }
.footer-col a{ display:block; font-size:14px; color:var(--ink-soft); margin-bottom:10px; }
.footer-col a:hover{ color:var(--ink); }
.footer-bottom{
  border-top:1px solid var(--line); margin-top:44px; padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:12.5px; color:var(--muted);
}

/* ===== WhatsApp floating button ===== */
.wa-float{
  position:fixed; bottom:22px; right:22px; z-index:50;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 28px -8px rgba(37,211,102,.55);
  transition:transform .15s ease;
}
.wa-float:hover{ transform:scale(1.06); }
.wa-float svg{ width:28px; height:28px; }

@media (max-width:640px){
  section{ padding:64px 0; }
  .cta-final{ padding:44px 24px; margin:0 16px; }
}
