/* Voner Scalzitti — Consultoria Tributária
   Paleta e tipografia conforme Identidade Visual/LEIA-ME.md */

:root {
  --navy: #0A1A2F;
  --navy-dark: #050E1F;
  --gold: #C9A961;
  --gold-dark: #A88A45;
  --cream: #F5EFE1;
  --white: #FFFFFF;
  --ink: #1B2534;
  --muted: #5B6572;
  --border: #E6E0D2;
  --max: 1160px;
  --radius: 10px;
  --shadow: 0 18px 40px -16px rgba(10, 26, 47, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Lora', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--muted); }

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

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 18px rgba(0,0,0,0.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand img { height: 42px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(201,169,97,0.55); }

.btn-outline {
  border-color: rgba(245,239,225,0.4);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--cream); }

.nav-cta { display: none; }
@media (min-width: 880px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}
@media (min-width: 880px) { .nav-toggle { display: none; } }

.nav-links { display: none; }
@media (min-width: 880px) { .nav-links { display: flex; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  padding: 10px 24px 22px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--cream);
  padding: 12px 0;
  border-bottom: 1px solid rgba(245,239,225,0.1);
  font-size: 0.98rem;
}
.mobile-nav .btn { margin-top: 14px; justify-content: center; }
@media (min-width: 880px) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 18% 15%, rgba(201,169,97,0.12), transparent 45%), var(--navy);
  color: var(--cream);
  padding: 72px 0 90px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 300px; margin: 0 auto; }
}

.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--gold); }
.hero p.lead {
  color: var(--cream);
  opacity: 0.85;
  font-size: 1.08rem;
  max-width: 48ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}
.hero-badges span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-dark);
  background: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,169,97,0.25);
}
.hero-photo img { width: 100%; display: block; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); }

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 920px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(201,169,97,0.14);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Diagnostic banner ---------- */
.diagnostic {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--cream);
  border-radius: var(--radius);
  padding: 46px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border: 1px solid rgba(201,169,97,0.3);
}
.diagnostic h3 { color: var(--white); margin-bottom: 6px; }
.diagnostic p { color: var(--cream); opacity: 0.8; margin: 0; max-width: 46ch; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-grid .photo img { width: 100%; display: block; }

.pillars { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.pillars li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.96rem; color: var(--ink);
}
.pillars li::before {
  content: '';
  flex: none;
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: var(--cream);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245,239,225,0.12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.site-footer .logo-footer img { height: 38px; margin-bottom: 14px; }
.site-footer p { color: rgba(245,239,225,0.7); font-size: 0.92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(245,239,225,0.78); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(245,239,225,0.55);
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid rgba(245,239,225,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  transition: border-color 0.2s, color 0.2s;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,0.4);
  z-index: 200;
  color: white;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: var(--cream); opacity: 0.8; max-width: 56ch; margin: 0 auto; }
.breadcrumb { font-size: 0.82rem; opacity: 0.6; margin-bottom: 14px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.18);
}

/* ---------- Misc ---------- */
.badge-empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 50px 30px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
}
.badge-empty .icon-lg { font-size: 2.2rem; color: var(--gold); margin-bottom: 14px; }

.contact-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row .icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-row strong { display: block; color: var(--navy); font-size: 0.95rem; }
.contact-row span { color: var(--muted); font-size: 0.9rem; }

.timeline-slot {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
