/* Trans Obra — Landing Page (paleta amarelo marca) */
:root {
  /* Cor da marca */
  --brand: #F7B900;
  --brand-600: #DDA200;
  --brand-700: #9E7400;
  --brand-50: #FFF8E1;

  /* WhatsApp — reservado para botões de WhatsApp */
  --wa: #25D366;
  --wa-600: #1DA851;
  --wa-700: #128C7E;

  --yellow: #f5c518; /* estrelas de avaliação (mantido) */
  --ink: #0f1419;
  --ink-2: #1a2028;
  --text: #101828;
  --muted: #667085;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #faf9f5;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.05);
  --shadow: 0 6px 20px -6px rgba(16,24,40,.10), 0 2px 6px rgba(16,24,40,.05);
  --shadow-lg: 0 18px 40px -12px rgba(16,24,40,.18);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; color: #344054; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #475467; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.accent { color: var(--brand); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  margin-bottom: 18px;
}
.eyebrow-dark { background: var(--brand-50); color: var(--brand-700); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
/* Botões de WhatsApp mantêm verde */
.btn-primary { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px rgba(37,211,102,.55); }
.btn-primary:hover { background: var(--wa-600); transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }
.btn-xl { padding: 20px 34px; font-size: 1.15rem; }

.link-arrow { color: var(--brand-700); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { color: var(--brand); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 40px; width: auto; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,20,25,.55), rgba(15,20,25,.75)),
    radial-gradient(80% 60% at 20% 30%, rgba(247,185,0,.28), transparent 60%);
}
.hero-content { position: relative; padding: 88px 20px 96px; max-width: 780px; }
.hero-content h1 { color: #fff; }
.hero-content .lead { color: rgba(255,255,255,.9); max-width: 620px; margin-bottom: 28px; }
.hero-badges {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.hero-badges li {
  color: rgba(255,255,255,.92); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; font-size: .95rem;
}
.hero-badges .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px rgba(247,185,0,.25); }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-muted { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }

/* Two column */
.two-col { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }

/* Grids */
.grid { display: grid; gap: 16px; }
.grid-equip { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 640px) { .grid-equip { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 960px) { .grid-equip { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; } }

.grid-why { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-why { grid-template-columns: repeat(5, 1fr); } }

.grid-audience { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid-audience { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid-audience { grid-template-columns: repeat(4, 1fr); } }

/* Equip card */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 148px;
  text-align: left;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3d7de; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center;
}
.card h3 { margin: 0; font-size: 1.02rem; }
.card .arrow { margin-top: auto; color: var(--brand); font-weight: 700; font-size: .9rem; }
.card.card-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
  color: #fff; border-color: transparent;
}
.card.card-cta .icon { background: rgba(255,255,255,.16); color: #fff; }
.card.card-cta h3, .card.card-cta .arrow { color: #fff; }
.card.card-cta p { color: rgba(255,255,255,.95); margin: 0; font-size: .92rem; }

/* Why */
.why-card { text-align: left; }
.why-card .icon { width: 48px; height: 48px; }

/* Audience */
.aud-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.aud-card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.aud-card span { font-weight: 600; }

/* Timeline */
.timeline {
  list-style: none; padding: 0; margin: 0 0 40px;
  display: grid; gap: 24px;
  counter-reset: step;
}
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
  .timeline::before {
    content: ''; position: absolute; left: 8%; right: 8%; top: 34px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  }
}
.step {
  position: relative; padding: 0 8px;
  display: flex; gap: 16px; align-items: flex-start;
}
@media (min-width: 900px) { .step { flex-direction: column; text-align: center; align-items: center; } }
.step-num {
  counter-increment: step;
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 999px; background: var(--brand); color: var(--text);
  display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 0 0 6px rgba(247,185,0,.15);
}
.step-num::before { content: counter(step); }
.step h3 { margin: 4px 0 6px; }
.step p { margin: 0; color: rgba(255,255,255,.75); font-size: .95rem; }

/* Ratings */
.rating-headline {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 20px; padding: 14px 22px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm);
}
.rating-score { font-size: 2.4rem; font-weight: 900; color: var(--text); line-height: 1; }
.stars { color: var(--yellow); font-size: 1.1rem; letter-spacing: 2px; }
.rating-count { font-size: .85rem; color: var(--muted); }

/* Carousel */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 6px 2px 20px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 88%; scroll-snap-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .review-card { flex-basis: 46%; } }
@media (min-width: 960px) { .review-card { flex-basis: 32%; } }
.review-card .stars { margin-bottom: 8px; }
.review-card .quote { color: #344054; font-size: .98rem; margin: 0 0 16px; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; font-weight: 700;
}
.review-card .name { font-weight: 700; font-size: .95rem; }
.review-card .meta { color: var(--muted); font-size: .82rem; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-60%);
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
  font-size: 1.4rem; cursor: pointer; color: var(--text);
  display: none;
}
@media (min-width: 900px) { .carousel-btn { display: grid; place-items: center; } }
.carousel-btn.prev { left: -16px; }
.carousel-btn.next { right: -16px; }

/* Final CTA */
.cta-final {
  background: radial-gradient(120% 80% at 50% 0%, #fff8e1, transparent 60%), var(--bg);
}
.cta-final h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-sub { margin-top: 14px; color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 120px; background: #fff; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (min-width: 720px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-info p { margin: 0 0 4px; font-size: .92rem; }
.footer-info a { color: var(--brand-700); font-weight: 700; }
.muted { color: var(--muted); font-size: .82rem; }

/* Floating WA — mantém verde WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 60px; height: 60px; border-radius: 999px;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px rgba(37,211,102,.6);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
@media (max-width: 720px) { .wa-float { bottom: 84px; width: 54px; height: 54px; } }

/* Mobile sticky bar — mantém verde WhatsApp */
.mobile-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
  background: var(--wa); color: #fff;
  border-radius: 999px; padding: 14px 20px;
  font-weight: 700; font-size: .98rem;
  align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.55);
}
@media (max-width: 720px) { .mobile-cta { display: flex; } .header-cta { display: none; } }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
