/* ===== Thera — Landing Page Styles ===== */
:root {
  --navy-900: #0a1430;
  --navy-850: #0c1a3d;
  --navy-800: #0f1e45;
  --navy-700: #14285c;
  --blue-600: #1f4fb0;
  --blue-500: #2b6fd6;
  --blue-400: #3b82f6;
  --cyan: #38bdf8;
  --wa: #25d366;
  --wa-dark: #1ebe57;
  --ink: #0f172a;
  --muted: #5a6784;
  --line: #e6ebf3;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(15, 30, 69, .35);
  --shadow-sm: 0 8px 24px -12px rgba(15, 30, 69, .28);
  --maxw: 1160px;
  --grad: linear-gradient(90deg, #3b82f6, #38bdf8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Poppins", sans-serif; line-height: 1.15; color: var(--navy-900); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .95rem; border: 0; cursor: pointer;
  padding: 12px 20px; border-radius: 999px; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  font-family: "Inter", sans-serif; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-whatsapp { background: var(--wa); color: #04371a; }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand-logo { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; color: var(--navy-800); font-size: .96rem; transition: color .2s; }
.nav a:hover { color: var(--blue-500); }
.nav .nav-cta { color: #04371a; }
.nav .nav-cta:hover { color: #04371a; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(56,189,248,.22), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(59,130,246,.28), transparent 45%),
    linear-gradient(160deg, #0a1430 0%, #0f2154 55%, #123073 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
  opacity: .5;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 74px 22px 84px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(56,189,248,.14); border: 1px solid rgba(56,189,248,.35);
  color: #bfe6ff; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  letter-spacing: .3px;
}
.pill svg { color: var(--cyan); }
.hero-title { font-size: clamp(2.1rem, 5vw, 3.5rem); color: #fff; margin: 20px 0 16px; font-weight: 800; }
.hero-sub { color: #cdd8ee; font-size: 1.08rem; max-width: 560px; }
.hero-sub strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero-stats { list-style: none; display: flex; gap: 30px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Poppins", sans-serif; font-size: 1.7rem; color: #fff; }
.hero-stats span { font-size: .84rem; color: #a9b8d6; }

.hero-visual { display: flex; justify-content: center; }
.logo-card {
  background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6);
  max-width: 340px; width: 100%;
  animation: float 5s ease-in-out infinite;
}
.logo-card img { border-radius: 8px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Trust bar ===== */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; gap: 26px; padding: 20px 22px; flex-wrap: wrap; }
.intelbras-badge { height: 54px; width: auto; border-radius: 8px; }
.trust-text { color: var(--muted); font-size: .98rem; max-width: 640px; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(56,189,248,.14), transparent 40%), radial-gradient(circle at 5% 100%, rgba(59,130,246,.18), transparent 45%);
}
.section-dark .container { position: relative; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #b9c6e2; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue-500); background: rgba(43,111,214,.1); padding: 6px 14px; border-radius: 999px;
}
.eyebrow.light { color: var(--cyan); background: rgba(56,189,248,.14); }

/* ===== Cards (serviços) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500)); color: #fff;
}
.card-ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ===== Benefits ===== */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s, background .25s;
}
.benefit:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.benefit-num { font-family: "Poppins", sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--cyan); }
.benefit h3 { color: #fff; font-size: 1.15rem; margin: 12px 0 8px; }
.benefit p { color: #b9c6e2; font-size: .95rem; }

/* ===== Features (diferenciais) ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { text-align: center; padding: 28px 22px; border-radius: var(--radius); transition: background .25s, transform .25s; }
.feature:hover { background: var(--bg-soft); transform: translateY(-4px); }
.feature-ic {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(43,111,214,.1); color: var(--blue-500);
}
.feature-ic svg { width: 32px; height: 32px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .94rem; }

/* ===== Segments (atendemos) ===== */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.segment {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.segment:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.segment-ic {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500)); color: #fff;
}
.segment-ic svg { width: 38px; height: 38px; }
.segment h3 { font-size: 1.25rem; margin-bottom: 8px; }
.segment p { color: var(--muted); }

/* ===== About ===== */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; min-height: 360px; }
.about-img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.about-img.img-a { width: 66%; height: 300px; top: 0; left: 0; }
.about-img.img-b { width: 52%; height: 190px; bottom: 0; right: 0; border: 6px solid #fff; }
.about-badge {
  position: absolute; top: 18px; right: 4%; z-index: 2;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan)); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%; font-size: .72rem; font-weight: 600; text-transform: uppercase;
  box-shadow: var(--shadow); letter-spacing: .5px;
}
.about-badge strong { font-family: "Poppins", sans-serif; font-size: 1.5rem; }
.about-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 12px 0 16px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-text strong { color: var(--ink); }
.check-list { list-style: none; margin: 6px 0 26px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 12px 0 14px; }
.contact-lead { color: #b9c6e2; margin-bottom: 28px; font-size: 1.05rem; }
.contacts { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 16px 18px;
  transition: transform .2s, background .2s;
}
a.contact-card:hover { transform: translateX(5px); background: rgba(255,255,255,.11); }
.contact-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.contact-ic.wa { background: rgba(37,211,102,.16); color: var(--wa); }
.contact-ic.loc { background: rgba(56,189,248,.16); color: var(--cyan); }
.contact-detail { display: flex; flex-direction: column; }
.contact-detail small { color: #9fb0d0; font-size: .8rem; }
.contact-detail strong { color: #fff; font-size: 1.12rem; }

.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.35rem; margin-bottom: 18px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit;
  font-size: .95rem; color: var(--ink); background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.field textarea { resize: vertical; }
.form-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 12px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-850); color: #c3d0ea; padding-top: 54px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 40px; }
.footer-logo { height: 64px; width: auto; background: #fff; padding: 8px 10px; border-radius: 12px; margin-bottom: 14px; }
.footer-brand p { color: #9fb0d0; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: .94rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .84rem; color: #8fa1c2; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37,211,102,.6);
  animation: pulse 2.4s infinite; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ===== Reveal animation (only when JS is active) ===== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .cards, .benefits, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .logo-card { max-width: 260px; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-media { min-height: 320px; max-width: 460px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px 20px;
    transform: translateY(-140%); transition: transform .32s ease; box-shadow: var(--shadow-sm);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .cards, .benefits, .feature-grid, .segments, .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .contact-form-wrap { padding: 24px; }
  .about-img.img-a { width: 74%; height: 240px; }
  .about-img.img-b { width: 56%; height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-card, .wa-float { animation: none; }
  .js .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
