/* =========================================================
   Lagoinha Matriz — folha de estilo
   Paleta extraída do site original:
   slate-900 #0f172a · slate-800 #1e293b · slate-700 #334155
   âmbar     #fbbf24 · âmbar escuro #d97706
   texto     #ffffff · #e5e7eb · #d1d5db
   ========================================================= */

:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --amber:     #fbbf24;
  --amber-700: #d97706;
  --text:      #ffffff;
  --text-soft: #e5e7eb;
  --text-mute: #d1d5db;
  --wrap:      1152px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--slate-900);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
}

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

.cards .reveal:nth-child(2) { transition-delay: .12s; }
.cards .reveal:nth-child(3) { transition-delay: .24s; }
.cards .reveal:nth-child(4) { transition-delay: .36s; }
.timeline .reveal:nth-child(2) { transition-delay: .12s; }
.timeline .reveal:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 64px 16px;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(15,23,42,.80), rgba(15,23,42,.70), rgba(15,23,42,.90));
}

.hero-content { position: relative; z-index: 1; max-width: 900px; }

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.05;
  background: linear-gradient(to right, #fbbf24, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  font-weight: 300;
  color: var(--text-soft);
}

.hero-rule {
  width: 96px; height: 4px;
  margin: 32px auto 0;
  border-radius: 999px;
  background: linear-gradient(to right, var(--amber), var(--amber-700));
}

/* ---------------- Seções ---------------- */
.sec { padding: 80px 16px; }
.sec-a { background: linear-gradient(var(--slate-900), var(--slate-800)); }
.sec-b { background: linear-gradient(var(--slate-800), var(--slate-900)); }

.sec h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 800;
  color: var(--amber);
}

.rule {
  width: 80px; height: 4px;
  margin: 20px auto 48px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--amber), var(--amber-700));
}

.lead {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-soft);
}

.prose { max-width: 820px; margin: 0 auto; }
.prose p {
  margin: 0 0 22px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-soft);
}

/* ---------------- Linha do tempo ---------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 56px auto 0;
  text-align: center;
}

.tl-item {
  padding: 28px 16px;
  border: 1px solid rgba(251,191,36,.2);
  border-radius: 16px;
  background: linear-gradient(to bottom right, rgba(51,65,85,.5), rgba(30,41,59,.5));
}

.tl-year {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
}

.tl-label {
  display: block;
  margin-top: 6px;
  font-size: .95rem;
  color: var(--text-mute);
}

/* ---------------- Cartões ---------------- */
.cards { display: grid; gap: 28px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 32px 26px;
  border: 1px solid rgba(251,191,36,.2);
  border-radius: 16px;
  background: linear-gradient(to bottom right, rgba(51,65,85,.5), rgba(30,41,59,.5));
  text-align: center;
  transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(251,191,36,.5); }

.card h3 {
  margin: 18px 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--amber);
}
.card-sm h3 { font-size: 1.2rem; }

.card p {
  margin: 0;
  color: var(--text-mute);
  font-size: .98rem;
  line-height: 1.7;
}

.icon {
  width: 64px; height: 64px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: linear-gradient(to bottom right, rgba(251,191,36,.2), rgba(217,119,6,.1));
  color: var(--amber);
}
.icon svg { width: 30px; height: 30px; }

/* ---------------- Painel de destaque ---------------- */
.panel {
  max-width: 900px;
  margin: 56px auto 0;
  padding: 34px 30px;
  border: 1px solid rgba(251,191,36,.3);
  border-radius: 16px;
  background: rgba(30,41,59,.7);
  text-align: center;
}
.panel p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-soft);
}
.panel-lead { margin: 0 auto 48px; }
.panel-lead p { font-size: 1.25rem; font-weight: 500; }

/* ---------------- Rodapé ---------------- */
.footer {
  padding: 72px 16px 32px;
  background: var(--slate-900);
  border-top: 1px solid rgba(251,191,36,.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-title {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: .02em;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--text-mute);
}
.footer-line a { text-decoration: none; }
.footer-line a:hover { color: var(--amber); }

.mini { width: 18px; height: 18px; color: var(--amber); flex: none; }

.footer-cnpj {
  margin: 18px 0 0;
  font-size: .88rem;
  color: #94a3b8;
}

.btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--amber), var(--amber-700));
  color: var(--slate-900);
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(251,191,36,.28); }

.copyright {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(51,65,85,.6);
  text-align: center;
}
.copyright p { margin: 0; font-size: .9rem; color: #94a3b8; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 900px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .sec { padding: 60px 16px; }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .panel { padding: 26px 20px; }
}
