/* Qualis Contábil — Estilos principais */

:root {
  --bg: #ffffff;
  --foreground: #0f2847;
  --navy: #0f2847;
  --navy-dark: #0a1f38;
  --navy-light: #1a3a5c;
  --teal: #00c9a7;
  --teal-dark: #00a88a;
  --teal-light: #33d4b8;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 1px 3px rgba(15, 40, 71, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 40, 71, 0.1);
  --container: 80rem;
  --header-height: 5rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Utilitários */
.gradient-hero {
  background: linear-gradient(135deg, rgba(0,201,167,.08) 0%, rgba(15,40,71,.04) 50%, rgba(0,201,167,.06) 100%);
}
.gradient-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.gradient-teal { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.bg-slate-50 { background: var(--slate-50); }
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--slate-600); }
.text-white { color: #fff; }
.text-white-70 { color: rgba(255,255,255,.7); }

.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }

.section-subtitle {
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: .75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2.75rem; } }

.section-header { margin-bottom: 3rem; text-align: center; }
.section-header p { margin-top: 1rem; max-width: 42rem; margin-left: auto; margin-right: auto; color: var(--slate-600); font-size: 1.125rem; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 25px rgba(0,201,167,.25); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 25px rgba(37,211,102,.3); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(15,40,71,.2); }
.btn-ghost:hover { background: rgba(15,40,71,.05); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all .3s ease;
}
.header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: .75rem 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* Logo oficial — layout vertical em fundo branco */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.header__logo img {
  height: 4.25rem;
  width: auto;
  max-height: 4.25rem;
  display: block;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .header__logo img { height: 4.5rem; max-height: 4.5rem; }
}
.header__nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .header__nav { display: flex; } }
.header__nav a {
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(15,40,71,.8);
  border-radius: .5rem;
  transition: color .2s;
}
.header__nav a:hover { color: var(--teal); }
.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: block; } }
.header__menu-btn {
  display: flex;
  padding: .5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
}
@media (min-width: 1024px) { .header__menu-btn { display: none; } }
.header__menu-btn svg { width: 1.5rem; height: 1.5rem; }

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(226,232,240,.5);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
}
.mobile-menu.open { display: block; }
.mobile-menu nav { padding: 1rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu a {
  padding: .75rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  border-radius: .5rem;
}
.mobile-menu a:hover { background: rgba(0,201,167,.1); color: var(--teal); }
.mobile-menu .btn { margin-top: .5rem; width: 100%; }

/* Hero */
.hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { padding-top: 9rem; padding-bottom: 6rem; } }
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.25rem; } }
.hero__lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.7;
}
@media (min-width: 640px) { .hero__lead { font-size: 1.25rem; } }
.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
.hero__indicators {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .hero__indicators { grid-template-columns: repeat(4, 1fr); } }
.hero__indicator {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero__indicator-icon {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,201,167,.1);
  border-radius: .5rem;
  flex-shrink: 0;
}
.hero__indicator-icon svg { width: 1rem; height: 1rem; color: var(--teal); }
.hero__indicator span { font-size: .75rem; font-weight: 500; color: var(--slate-600); }
@media (min-width: 640px) { .hero__indicator span { font-size: .875rem; } }

.hero__visual { position: relative; max-width: 32rem; margin: 0 auto; }
@media (min-width: 1024px) { .hero__visual { max-width: none; } }
.hero__q-deco {
  position: absolute;
  right: -1rem; top: 2rem;
  font-size: 12rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(15,40,71,.04);
  user-select: none;
  pointer-events: none;
}
.hero__chart-badge {
  position: absolute;
  left: -1rem; top: 4rem;
  z-index: 10;
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__chart-bars {
  display: flex;
  align-items: flex-end;
  gap: .25rem;
  height: 3rem;
}
.hero__chart-bars span {
  width: .75rem;
  background: var(--teal);
  border-radius: 2px;
  animation: growBar .6s ease forwards;
  transform-origin: bottom;
}
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hero__chart-badge p { margin-top: .5rem; font-size: .75rem; font-weight: 600; color: var(--navy); }
.hero__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--slate-100), var(--slate-50));
}
.hero__exp-badge {
  position: absolute;
  bottom: -1rem; right: 1rem;
  background: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__exp-badge strong { font-size: 1.5rem; color: var(--teal); display: block; }
.hero__exp-badge span { font-size: .75rem; color: var(--slate-600); }

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero__blob--1 { right: -8rem; top: 5rem; width: 24rem; height: 24rem; background: rgba(0,201,167,.1); }
.hero__blob--2 { left: -5rem; bottom: 0; width: 16rem; height: 16rem; background: rgba(15,40,71,.05); }

/* Credibilidade */
.credibility { position: relative; z-index: 10; margin-top: -2rem; margin-bottom: 2rem; }
.credibility__card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(15,40,71,.3);
}
@media (min-width: 640px) { .credibility__card { padding: 2rem; } }
@media (min-width: 1024px) { .credibility__card { padding: 2.5rem; } }
.credibility__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) { .credibility__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .credibility__grid { grid-template-columns: repeat(4, 1fr); } }
.credibility__item { display: flex; gap: 1rem; align-items: flex-start; }
.credibility__icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,201,167,.2);
  border-radius: .75rem;
  flex-shrink: 0;
}
.credibility__icon svg { width: 1.5rem; height: 1.5rem; color: var(--teal); }
.credibility__item h3 { font-weight: 700; color: #fff; font-size: 1rem; }
.credibility__item p { font-size: .875rem; color: rgba(255,255,255,.7); margin-top: .25rem; }

/* Cards de serviço */
.services__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,201,167,.1);
}
.service-card__icon {
  width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,201,167,.1);
  border-radius: .75rem;
  margin-bottom: 1rem;
  transition: all .3s;
}
.service-card:hover .service-card__icon {
  background: var(--teal);
  box-shadow: 0 10px 25px rgba(0,201,167,.3);
}
.service-card__icon svg { width: 1.75rem; height: 1.75rem; color: var(--teal); transition: color .3s; }
.service-card:hover .service-card__icon svg { color: #fff; }
.service-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.service-card p { margin-top: .5rem; font-size: .875rem; color: var(--slate-600); line-height: 1.6; }
.service-card__more {
  margin-top: 1rem;
  display: flex; align-items: center; gap: .25rem;
  font-size: .875rem; font-weight: 600; color: var(--teal);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover .service-card__more { opacity: 1; }
.services__footer { margin-top: 3rem; text-align: center; }

/* Diferenciais */
.differentials__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .differentials__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.differentials .section-title { color: #fff; }
.differentials__list { display: flex; flex-direction: column; gap: 1rem; }
.differentials__list li {
  display: flex; gap: .75rem; align-items: flex-start;
  font-size: 1rem; color: rgba(255,255,255,.9);
}
@media (min-width: 640px) { .differentials__list li { font-size: 1.125rem; } }
.differentials__list svg { width: 1.5rem; height: 1.5rem; color: var(--teal); flex-shrink: 0; margin-top: .125rem; }
.differentials__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,.3);
  position: relative;
}
.differentials__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,31,56,.4), transparent);
}

/* WhatsApp CTA */
.wa-cta__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  background: #fff;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .wa-cta__card { padding: 3rem; } }
@media (min-width: 1024px) { .wa-cta__card { padding: 4rem; } }
.wa-cta__grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) { .wa-cta__grid { grid-template-columns: auto 1fr auto; gap: 3rem; } }
.wa-cta__icon-wrap {
  display: flex; justify-content: center;
}
@media (min-width: 1024px) { .wa-cta__icon-wrap { justify-content: flex-start; } }
.wa-cta__icon-box {
  width: 6rem; height: 6rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37,211,102,.1);
  border-radius: var(--radius-lg);
}
@media (min-width: 640px) { .wa-cta__icon-box { width: 7rem; height: 7rem; } }
.wa-cta__icon-box svg { width: 3.5rem; height: 3.5rem; color: var(--whatsapp); }
@media (min-width: 640px) { .wa-cta__icon-box svg { width: 4rem; height: 4rem; } }
.wa-cta__text { text-align: center; }
@media (min-width: 1024px) { .wa-cta__text { text-align: left; } }
.wa-cta__text h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
@media (min-width: 640px) { .wa-cta__text h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .wa-cta__text h2 { font-size: 2.25rem; } }
.wa-cta__text p { margin-top: 1rem; color: var(--slate-600); font-size: 1rem; }
@media (min-width: 640px) { .wa-cta__text p { font-size: 1.125rem; } }
.wa-cta__action { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
@media (min-width: 1024px) { .wa-cta__action { align-items: flex-end; } }
.wa-cta__action .btn { width: 100%; }
@media (min-width: 640px) { .wa-cta__action .btn { width: auto; padding-left: 2.5rem; padding-right: 2.5rem; } }
.wa-cta__action small { font-size: .75rem; color: var(--slate-500); }
.wa-cta__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.wa-cta__blob--1 { right: -5rem; top: -5rem; width: 16rem; height: 16rem; background: rgba(37,211,102,.1); }
.wa-cta__blob--2 { left: -5rem; bottom: -5rem; width: 16rem; height: 16rem; background: rgba(0,201,167,.1); }

/* Timeline */
.timeline { position: relative; }
.timeline__line {
  display: none;
  position: absolute;
  top: 2rem; left: 12.5%; right: 12.5%;
  height: 2px;
  background: rgba(0,201,167,.3);
}
@media (min-width: 1024px) { .timeline__line { display: block; } }
.timeline__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) { .timeline__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .timeline__grid { grid-template-columns: repeat(4, 1fr); } }
.timeline__step { text-align: center; }
.timeline__num {
  width: 4rem; height: 4rem;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg);
  font-size: 1.5rem; font-weight: 700; color: #fff;
  box-shadow: 0 10px 25px rgba(0,201,167,.3);
}
.timeline__step h3 { margin-top: 1.5rem; font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.timeline__step p { margin-top: .5rem; font-size: .875rem; color: var(--slate-600); line-height: 1.6; }

/* Stats */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats__item { text-align: center; }
.stats__value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--teal);
}
@media (min-width: 640px) { .stats__value { font-size: 3rem; } }
.stats__label { margin-top: .5rem; font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.7); }
@media (min-width: 640px) { .stats__label { font-size: 1rem; } }

/* Depoimentos */
.testimonials__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.testimonial-card__quote { width: 2rem; height: 2rem; color: var(--teal); }
.testimonial-card__stars { display: flex; gap: .125rem; margin-top: .5rem; }
.testimonial-card__stars svg { width: 1rem; height: 1rem; fill: var(--teal); color: var(--teal); }
.testimonial-card__text { margin-top: 1rem; font-size: .875rem; color: var(--slate-600); line-height: 1.7; }
.testimonial-card__author {
  margin-top: 1.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.testimonial-card__author img {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card__author strong { font-weight: 700; color: var(--navy); display: block; }
.testimonial-card__author span { font-size: .875rem; color: var(--slate-500); }
.testimonials__nav {
  margin-top: 2rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.testimonials__nav button {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--slate-200);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: var(--navy);
  transition: all .2s;
}
.testimonials__nav button:hover:not(:disabled) { background: var(--teal); color: #fff; border-color: var(--teal); }
.testimonials__nav button:disabled { opacity: .3; cursor: not-allowed; }
.testimonials__dots { display: flex; gap: .5rem; }
.testimonials__dots button {
  height: .5rem;
  border-radius: 9999px;
  border: none;
  background: var(--slate-300);
  cursor: pointer;
  padding: 0;
  width: .5rem;
  transition: all .3s;
}
.testimonials__dots button.active { width: 1.5rem; background: var(--teal); }

/* Blog */
.blog__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .blog__grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all .3s;
}
.blog-card:hover { box-shadow: 0 20px 40px rgba(0,201,167,.1); }
.blog-card__cat {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600; color: var(--teal);
}
.blog-card__cat svg { width: 1rem; height: 1rem; }
.blog-card h3 {
  margin-top: .75rem;
  font-size: 1.125rem; font-weight: 700; color: var(--navy);
  transition: color .2s;
}
.blog-card:hover h3 { color: var(--teal); }
.blog-card p { margin-top: .5rem; font-size: .875rem; color: var(--slate-600); line-height: 1.6; }
.blog-card__link {
  margin-top: 1rem;
  display: flex; align-items: center; gap: .25rem;
  font-size: .875rem; font-weight: 600; color: var(--teal);
}

/* FAQ */
.faq__list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq__item {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.faq__question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}
.faq__question svg {
  width: 1.25rem; height: 1.25rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq__item.open .faq__question svg { transform: rotate(180deg); }
.faq__answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: .875rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.faq__item.open .faq__answer { display: block; }

/* Formulário */
.form-card {
  max-width: 48rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }
.form-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-group label {
  display: block;
  margin-bottom: .375rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy);
}
.form-group.full { grid-column: 1 / -1; }
.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: .75rem;
  font-size: .875rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,201,167,.2);
}
.form-input.error { border-color: #fca5a5; background: #fef2f2; }
.form-error { margin-top: .25rem; font-size: .75rem; color: #ef4444; }
.form-success {
  margin-top: 1rem;
  display: flex; align-items: center; gap: .5rem;
  padding: 1rem;
  background: rgba(0,201,167,.1);
  border-radius: .75rem;
  color: var(--teal-dark);
  font-size: .875rem;
  font-weight: 500;
}
.form-success svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.form-footer { margin-top: 1.5rem; text-align: center; font-size: .875rem; color: var(--slate-500); }
.form-footer a { color: var(--teal); font-weight: 500; }

/* Footer */
.footer { padding-top: 4rem; padding-bottom: 2rem; }
.footer__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__logo {
  display: inline-block;
  background: #fff;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  line-height: 0;
}
.footer__logo img {
  height: 5.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer__about { margin-top: 1rem; font-size: .875rem; color: rgba(255,255,255,.7); line-height: 1.7; }
.footer__title {
  margin-bottom: 1rem;
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
}
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer__links a:hover { color: var(--teal); }
.footer__contact { display: flex; flex-direction: column; gap: .75rem; }
.footer__contact li {
  display: flex; gap: .75rem; align-items: flex-start;
  font-size: .875rem; color: rgba(255,255,255,.7);
}
.footer__contact svg, .footer__contact .icon-wa { width: 1.25rem; height: 1.25rem; color: var(--teal); flex-shrink: 0; margin-top: .125rem; }
.footer__contact a:hover { color: var(--teal); }
.footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer__bottom p { font-size: .875rem; color: rgba(255,255,255,.5); }

/* FAB WhatsApp */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 50;
  width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .2s;
  animation: pulseWa 2s infinite;
}
@media (min-width: 640px) { .fab-whatsapp { bottom: 2rem; right: 2rem; width: 4rem; height: 4rem; } }
.fab-whatsapp:hover { transform: scale(1.1); }
.fab-whatsapp svg { width: 1.75rem; height: 1.75rem; }
@media (min-width: 640px) { .fab-whatsapp svg { width: 2rem; height: 2rem; } }
@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.7); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Popup conversão */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
.popup-overlay.show { opacity: 1; visibility: visible; }
.popup {
  position: fixed;
  left: 1rem; right: 1rem;
  top: 50%;
  z-index: 70;
  max-width: 28rem;
  margin: 0 auto;
  transform: translateY(-50%) scale(.95);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
.popup.show { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }
.popup__close {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: .25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-500);
}
.popup__close svg { width: 1.25rem; height: 1.25rem; }
.popup__content { text-align: center; }
.popup__icon {
  width: 4rem; height: 4rem;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,201,167,.1);
  border-radius: var(--radius-lg);
}
.popup__icon svg { width: 2rem; height: 2rem; color: var(--teal); }
.popup h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
@media (min-width: 640px) { .popup h3 { font-size: 1.5rem; } }
.popup p { margin-top: .5rem; font-size: .875rem; color: var(--slate-600); }
.popup__actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.popup__actions .btn { width: 100%; }

/* Animações scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--slate-100); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }

/* Hidden utility */
.hidden { display: none !important; }
