/* ==========================================================
   ABC Comunicação Visual
   Cores da marca: ajuste as variáveis abaixo para as cores
   exatas do logotipo e o site inteiro se adapta.
   ========================================================== */
:root {
  --brand: #0b2a5b;        /* cor principal (azul escuro) */
  --brand-2: #1565d8;      /* cor de apoio (azul vivo) */
  --accent: #ffc400;       /* cor de destaque (amarelo) */
  --accent-ink: #1a1400;   /* texto sobre o destaque */
  --whats: #25d366;        /* verde WhatsApp */
  --whats-dark: #128c4a;

  --ink: #0f172a;
  --muted: #5b6475;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;

  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(11, 42, 91, .35);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--whats { background: var(--whats); color: #fff; box-shadow: 0 12px 28px -12px rgba(37, 211, 102, .8); }
.btn--whats:hover { background: var(--whats-dark); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.15rem; }
.btn--block { width: 100%; }

/* ===== Cabeçalho ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,23,42,.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; text-decoration: none; color: var(--brand); }
.brand__img { height: 58px; width: auto; display: block; }
.brand__text { display: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.brand__text strong {
  background: var(--brand); color: var(--accent); padding: .1rem .45rem; border-radius: 7px; margin-right: .35rem; font-weight: 800;
}
.brand.no-logo .brand__img { display: none; }
.brand.no-logo .brand__text { display: inline; }
.brand--light { color: #fff; }
.brand--light .brand__text strong { background: var(--accent); color: var(--brand); }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--brand); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2.5px; margin: 5px 0; background: var(--brand); border-radius: 2px; transition: .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, var(--brand-2) 0%, transparent 60%), var(--brand);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4.5rem, 10vw, 8rem);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.stripe { position: absolute; height: 46px; width: 160%; left: -30%; transform: rotate(-12deg); opacity: .14; }
.stripe--1 { top: 18%; background: var(--accent); opacity: .22; }
.stripe--2 { top: 62%; background: #fff; height: 18px; }
.stripe--3 { top: 80%; background: var(--brand-2); height: 90px; opacity: .35; }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hl { color: var(--accent); position: relative; white-space: nowrap; }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.6rem; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.4rem; color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem; }
.hero__badges li { display: flex; align-items: center; gap: .45rem; }
.hero__badges .ico { color: var(--accent); }

.hero__logo { position: relative; justify-self: center; width: min(400px, 100%); }
.logo-card {
  aspect-ratio: 1; border-radius: 32px; background: #fff;
  display: grid; place-items: center; padding: 2.4rem;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 10px rgba(255,255,255,.08);
  transform: rotate(-3deg);
}
.logo-card img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.logo-card__placeholder { display: none; text-align: center; color: var(--brand); }
.logo-card.no-logo img { display: none; }
.logo-card.no-logo .logo-card__placeholder { display: block; }
.logo-card__mark {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 9vw, 5.5rem);
  line-height: 1; padding: .2em .35em; border-radius: 22px; background: var(--brand); color: var(--accent);
  letter-spacing: -.03em;
}
.logo-card__name { display: block; margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }

.float-tag {
  position: absolute; padding: .55rem 1rem; border-radius: 999px; font-weight: 700; font-size: .88rem;
  box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; white-space: nowrap;
}
.float-tag--a { top: 6%; left: -10%; background: var(--accent); color: var(--accent-ink); }
.float-tag--b { bottom: 14%; right: -8%; background: #fff; color: var(--brand); animation-delay: -1.6s; }
.float-tag--c { bottom: -4%; left: 6%; background: var(--brand-2); color: #fff; animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ===== Seções ===== */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__head p { color: var(--muted); font-size: 1.08rem; }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__text p { color: var(--muted); font-size: 1.06rem; }
.about__text strong { color: var(--ink); }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat {
  padding: 1.5rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .3rem;
}
.stat:nth-child(2), .stat:nth-child(3) { background: var(--brand); color: #fff; border-color: var(--brand); }
.stat .ico { width: 34px; height: 34px; color: var(--brand-2); margin-bottom: .5rem; }
.stat:nth-child(2) .ico, .stat:nth-child(3) .ico { color: var(--accent); }
.stat strong { font-family: var(--font-display); font-size: 1.1rem; }
.stat span { font-size: .93rem; opacity: .8; }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-2), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: var(--brand); color: var(--accent); transition: transform .25s;
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.05); }
.card__icon svg { width: 30px; height: 30px; }
.card p { color: var(--muted); margin: 0; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.step { position: relative; padding: 1.8rem 1.5rem; border-radius: var(--radius); border: 1px dashed #c9d3e6; }
.step__n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 1rem;
  background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Faixa CTA */
.cta-band { background: linear-gradient(110deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; padding: 3.5rem 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: var(--accent); opacity: .18;
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { margin: 0; opacity: .85; font-size: 1.08rem; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact__info > p { color: var(--muted); font-size: 1.06rem; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__list small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact__list a { font-weight: 700; font-size: 1.12rem; text-decoration: none; color: var(--brand); }
.contact__list a:hover { text-decoration: underline; }
.contact__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-alt); color: var(--brand-2); }
.contact__ico svg { width: 24px; height: 24px; }
.contact__ico--whats { background: var(--whats); color: #fff; }

.quote { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.2rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.quote h3 { font-size: 1.4rem; margin-bottom: .2rem; }
.quote label { display: grid; gap: .4rem; font-weight: 700; font-size: .92rem; }
.quote input, .quote select, .quote textarea {
  font: inherit; font-weight: 500; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-alt);
  color: var(--ink); transition: border-color .2s, background .2s; width: 100%;
}
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--brand-2); background: #fff; }
.quote textarea { resize: vertical; }
.quote__error { color: #c62828; font-weight: 600; margin: 0; font-size: .92rem; }

/* Rodapé */
.footer { background: #071a3a; color: rgba(255,255,255,.75); padding: 3rem 0 6rem; text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: .6rem; }
.footer .brand__img { height: 76px; background: #fff; border-radius: 12px; padding: 6px 10px; }
.footer p { margin: 0; }
.footer__copy { font-size: .88rem; opacity: .7; }

/* Botão flutuante WhatsApp */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: .6rem; height: 62px; padding: 0 1.3rem 0 1rem; border-radius: 999px;
  background: var(--whats); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 14px 34px -10px rgba(18, 140, 74, .75);
  transition: transform .2s, background .2s;
}
.whats-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--whats);
  animation: pulse 2.2s ease-out infinite;
}
.whats-float:hover { transform: scale(1.05); background: var(--whats-dark); }
.whats-float svg { width: 32px; height: 32px; }
@keyframes pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsivo ===== */
@media (max-width: 980px) {
  .hero__grid, .about, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .hero__logo { width: min(340px, 82%); order: -1; }
  .hero__copy { text-align: center; }
  .hero__copy .eyebrow { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero__cta, .hero__badges { justify-content: center; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 20px 1.2rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; }
  .whats-float { width: 62px; padding: 0; justify-content: center; }
  .whats-float__label { display: none; }
  .cta-band__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .services, .steps, .about__stats { grid-template-columns: 1fr; }
  .float-tag--a { left: -4%; }
  .float-tag--b { right: -4%; }
  .quote { padding: 1.6rem; }
  .hero__cta .btn { width: 100%; }
}
