/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #252236;
  --gold: #A38251;
  --gold-dark: #7d6440;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --off-white: #f8fafc;
  --white: #ffffff;
  --text-dark: #1a2433;
  --text-muted: #46536b;

  --gradient-gold: linear-gradient(135deg, #8a6f42 0%, var(--gold) 45%, #c2a271 70%, #8a6f42 100%);

  --font-serif: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-width: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.25; }

.eyebrow-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Reveal-on-scroll (progressive enhancement, see script.js) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CTA Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 18px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-outline {
  background-color: transparent;
  color: var(--whatsapp-dark);
  border: 2px solid var(--whatsapp);
}
.btn-whatsapp-outline:hover {
  background-color: var(--whatsapp);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.btn-large { padding: 20px 40px; font-size: 1.15rem; }

.btn-wrap { text-align: center; }

.micro-copy {
  display: block;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.micro-copy.on-dark { color: rgba(248, 250, 252, 0.7); }

/* ===== Dobra 1: Hero ===== */
.hero {
  background-color: var(--navy);
  padding: 48px 0 64px;
  color: var(--white);
}

.hero .logo-wordmark {
  height: 40px;
  width: auto;
  margin-bottom: 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }

.hero-text h1 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-text h1 .highlight { color: var(--gold); }

.hero-text .subheadline {
  color: #dbe4f0;
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 54ch;
}

.hero-image {
  display: flex;
  justify-content: center;
}
.hero-image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ===== Dobra 2: Identificação ===== */
.identification {
  background-color: var(--off-white);
  text-align: center;
}
.identification h2 {
  color: var(--navy);
  font-size: 1.9rem;
  margin-bottom: 40px;
}

.check-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 12px;
  text-align: left;
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(10, 31, 58, 0.06);
}
.check-list .icon-check {
  flex-shrink: 0;
  margin-top: 3px;
}

.transition-text {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* ===== Dobra 3: Solução ===== */
.solution { background-color: var(--white); text-align: center; }
.solution h2 {
  color: var(--navy);
  font-size: 1.9rem;
  max-width: 780px;
  margin: 0 auto 48px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.solution-card {
  background: var(--white);
  border-style: solid;
  border-width: 4px 0 0 0;
  border-image: var(--gradient-gold) 1;
  border-radius: 10px;
  padding: 32px 26px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(10, 31, 58, 0.08);
}
.solution-card .icon-wrap { margin-bottom: 18px; color: var(--navy); }
.solution-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.solution-card p { color: var(--text-muted); }

/* ===== Dobra 4: Outras Especialidades ===== */
.specialties { background-color: var(--off-white); text-align: center; }
.specialties h2 {
  color: var(--navy);
  font-size: 1.9rem;
  max-width: 760px;
  margin: 0 auto 44px;
}

.card-grid-specialties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 44px;
  text-align: left;
}

.specialty-card {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(10, 31, 58, 0.06);
  transition: border-color 0.25s ease, transform 0.25s ease;
  flex: 1 1 100%;
}
.specialty-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.specialty-card-image {
  aspect-ratio: 16 / 10;
  background: #e9eef4;
  border: 1px solid rgba(10, 31, 58, 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
}
.specialty-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.specialty-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
}
.specialty-card p { color: var(--text-muted); font-size: 0.96rem; }

/* ===== Dobra 5: Autoridade ===== */
.authority { background-color: var(--white); }
.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.authority-grid > * { min-width: 0; }
.authority-image img {
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(10, 31, 58, 0.18);
}
.authority-image .photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.authority-image .photo-collage img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}
.authority-text h2 {
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.authority-text > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.badge {
  background-image: var(--gradient-gold);
  padding: 14px 18px;
  border-radius: 6px;
}
.badge strong { color: var(--white); font-family: var(--font-serif); font-size: 1.1rem; }
.badge span { display: block; color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }

/* ===== Footer ===== */
footer {
  background-color: var(--navy);
  color: rgba(248, 250, 252, 0.85);
  padding: 40px 0;
  text-align: center;
  font-size: 0.92rem;
}
footer .footer-logo {
  height: 44px;
  width: auto;
  margin: 0 auto 14px;
}
footer p { margin-bottom: 6px; }

/* ===== Icons ===== */
.icon { width: 28px; height: 28px; }
.icon-gold { color: var(--gold-dark); }
.icon-navy { color: var(--navy); }
.icon-whatsapp { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== Responsive: Desktop ===== */
@media (min-width: 768px) {
  section { padding: 100px 0; }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
  .hero-text h1 { font-size: 2.75rem; }
  .hero-text .subheadline { font-size: 1.15rem; }
  .hero-image img { max-height: 520px; width: auto; }

  .identification h2 { font-size: 2.3rem; }
  .check-list li { font-size: 1.1rem; }

  .solution h2 { font-size: 2.3rem; }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }

  .specialties h2 { font-size: 2.3rem; }
  .specialty-card { flex: 1 1 calc(33.333% - 14px); max-width: calc(33.333% - 14px); }

  .authority-grid { grid-template-columns: 0.9fr 1.1fr; }
  .authority-text h2 { font-size: 2.2rem; }
}

@media (min-width: 1024px) {
  .hero-text h1 { font-size: 3.1rem; }
}
