/* MasterCalc — landing page
   Tipografia: Frank Ruhl Libre (display) + Playfair Display Italic (acento) + Inter (corpo)
   Paleta: navy escuro, dourado/olive, off-white cream
*/

:root {
  --c-bg: #f7f5f0;
  --c-bg-2: #fbfaf6;
  --c-card: #ffffff;
  --c-ink: #0c1832;          /* navy escuro principal */
  --c-ink-soft: #2a3754;
  --c-muted: #6b7388;
  --c-gold: #9a7e2c;          /* dourado/olive */
  --c-gold-soft: #c8b776;
  --c-gold-rule: #d8c898;
  --c-line: #e5e1d4;
  --c-line-2: #ece8d9;
  --c-success: #2db26b;
  --c-wa: #25D366;
  --c-wa-dark: #1ebd5a;

  --f-display: "Frank Ruhl Libre", "Times New Roman", serif;
  --f-italic: "Playfair Display", "Georgia", serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 0 rgba(12,24,50,0.04), 0 12px 40px -16px rgba(12,24,50,0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== HEADER ============== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,245,240,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 18px;
  color: var(--c-ink);
}
.brand-tag {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--c-gold);
  margin-top: 2px;
}

/* ============== BUTTONS ============== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 16px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-card);
  color: var(--c-ink);
  border-color: var(--c-line);
  box-shadow: 0 4px 14px -6px rgba(154,126,44,0.25);
}
.btn-primary:hover {
  box-shadow: 0 8px 20px -8px rgba(154,126,44,0.35);
}

.btn-outline {
  background: var(--c-card);
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn-outline:hover { background: var(--c-ink); color: #fff; }

/* WhatsApp buttons — sempre verde oficial #25D366 com ícone branco */
.btn-wa {
  background: var(--c-wa);
  color: #fff;
  border-color: var(--c-wa);
  box-shadow: 0 6px 18px -6px rgba(37,211,102,0.55);
}
.btn-wa:hover {
  background: var(--c-wa-dark);
  border-color: var(--c-wa-dark);
  box-shadow: 0 10px 26px -8px rgba(37,211,102,0.6);
}
.btn-wa .ic-wa { width: 20px; height: 20px; color: #fff; flex: none; }

.btn-wa-pill {
  border-radius: 999px;
  font-size: 13px;
  padding: 10px 18px;
  box-shadow: 0 4px 12px -4px rgba(37,211,102,0.5);
}
.btn-wa-pill .ic-wa { width: 16px; height: 16px; }

.btn-submit {
  width: 100%;
  letter-spacing: 0.08em;
  font-size: 14px;
  padding: 18px 22px;
}
.btn-submit .arrow { font-weight: 400; transition: transform 0.18s ease; }
.btn-submit:hover .arrow { transform: translateX(4px); }

/* ============== HERO ============== */

.hero { padding: 56px 0 40px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--c-ink);
  background: var(--c-bg-2);
  border: 1px solid var(--c-gold-rule);
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 28px;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-gold-soft);
  box-shadow: 0 0 0 3px rgba(154,126,44,0.18);
}

.display {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 6.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--c-ink);
  margin: 0 0 28px;
  text-transform: uppercase;
}
.display em,
.display-2 em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--c-gold);
  text-transform: none;
  letter-spacing: 0;
}

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  margin: 0 0 32px;
  max-width: 620px;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.center-row { justify-items: center; }
@media (max-width: 600px) {
  .cta-row { grid-template-columns: 1fr; }
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line), transparent);
  margin: 56px 0 40px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 5vw, 48px);
  color: var(--c-gold);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-lbl {
  font-size: 13.5px;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ============== SECTIONS ============== */

.section { padding: 48px 0; }
.section.cta-section { padding: 72px 0 88px; }

.eyebrow {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--c-ink);
  margin-bottom: 18px;
}

.display-2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(28px, 4.8vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--c-ink);
  margin: 0 0 22px;
  text-transform: uppercase;
}
.display-2.center { text-align: center; }

.section-lead {
  font-size: 16.5px;
  color: var(--c-ink-soft);
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 680px;
}
.section-lead.center { text-align: center; margin-left: auto; margin-right: auto; }

.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  margin: 0 0 18px;
  max-width: 680px;
}
.prose strong { color: var(--c-ink); }

/* ============== CARDS ============== */

.card {
  position: relative;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.card-top-rule {
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--c-gold);
  border-radius: 2px;
}

.kicker {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--c-ink);
  margin-bottom: 12px;
}

/* Credential card (hero block) */
.credential-card {
  padding: 40px 36px 36px;
  border-color: var(--c-line-2);
}
.corner-mark {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 84px;
  height: 84px;
  border: 1.5px solid var(--c-gold);
  border-radius: 8px 12px 8px 8px;
  border-bottom: none;
  border-left: none;
  pointer-events: none;
}
.card-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: 0;
  color: var(--c-muted);
  margin: 12px 0 4px;
  text-transform: uppercase;
}
.card-subtitle {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--c-gold);
  font-size: 18px;
  margin: 0 0 18px;
}
.card-body {
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 18px;
}

/* Service card */
.service-card { padding-top: 32px; }
.service-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0;
  margin: 4px 0 8px;
  text-transform: uppercase;
}
.service-desc {
  color: var(--c-muted);
  font-size: 14.5px;
  margin: 0 0 16px;
  line-height: 1.65;
}

/* Lists */
.diamond-list,
.diamond-list-rich,
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.diamond-list li {
  position: relative;
  padding: 12px 0 12px 26px;
  color: var(--c-muted);
  font-size: 14.5px;
  border-top: 1px dashed var(--c-line);
}
.diamond-list li:first-child { border-top: none; padding-top: 8px; }
.diamond-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--c-gold);
  font-size: 12px;
}
.diamond-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.diamond-list.two-col li:nth-child(2) { border-top: none; padding-top: 8px; }
@media (max-width: 640px) {
  .diamond-list.two-col { grid-template-columns: 1fr; }
  .diamond-list.two-col li:nth-child(2) { border-top: 1px dashed var(--c-line); padding-top: 12px; }
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 26px;
  color: var(--c-ink-soft);
  font-size: 15px;
  border-top: 1px dashed var(--c-line);
}
.check-list li:first-child { border-top: none; padding-top: 8px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--c-gold);
  font-weight: 700;
}

.diamond-list-rich {
  margin-top: 20px;
}
.diamond-list-rich li {
  position: relative;
  padding: 14px 0 14px 24px;
  color: var(--c-muted);
  font-size: 15px;
  border-top: 1px dashed var(--c-line);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
}
.diamond-list-rich li:first-child { border-top: none; }
.diamond-list-rich li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--c-gold);
}
.diamond-list-rich strong {
  color: var(--c-gold);
  font-weight: 600;
  font-size: 14.5px;
}
@media (max-width: 600px) {
  .diamond-list-rich li { grid-template-columns: 1fr; gap: 4px; }
}

.callout-italic {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 15.5px;
  color: var(--c-muted);
  margin: 24px 0 0;
  line-height: 1.6;
}

/* ============== SPECIALTIES ============== */

.specialty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin-top: 16px;
}
@media (max-width: 700px) {
  .specialty-grid { grid-template-columns: 1fr; gap: 24px; }
}
.specialty {
  border-left: 3px solid var(--c-gold);
  padding: 4px 0 4px 20px;
}
.specialty-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--c-gold);
  margin-bottom: 8px;
}
.specialty-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.specialty p {
  color: var(--c-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* ============== IMAGE CARD ============== */

.image-card {
  position: relative;
  margin: 40px 0 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.image-card img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/10;
}
.image-card figcaption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: var(--c-card);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  padding: 10px 18px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(12,24,50,0.10);
}
.image-corner {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 110px;
  height: 110px;
  border: 1.5px solid var(--c-gold);
  border-radius: 8px 8px 12px 8px;
  border-top: none;
  border-left: none;
  pointer-events: none;
}

/* ============== ANALISE / FORM ============== */

.analise-card { padding: 36px 32px 32px; }

.form-card { padding: 32px 28px; }
.form-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.form-sub {
  color: var(--c-gold);
  font-size: 14px;
  margin: 0 0 24px;
}

.form-card label {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-ink);
}
.form-card input,
.form-card select,
.form-card textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-ink);
  outline: none;
  transition: border-color 0.18s ease;
}
.form-card input::placeholder,
.form-card textarea::placeholder {
  color: #b8bccc;
  font-weight: 400;
  letter-spacing: 0;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus { border-bottom-color: var(--c-gold); }
.form-card textarea { resize: vertical; min-height: 80px; }

.form-card .btn-submit { margin-top: 12px; }

.form-feedback {
  margin: 14px 0 0;
  color: var(--c-success);
  font-size: 14px;
  text-align: center;
}

/* ============== TESTIMONIALS ============== */

.testimonial { padding: 32px 32px 28px; }
.quote-mark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 0.6;
  color: var(--c-gold-soft);
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  display: inline-block;
  transform: rotate(180deg);
}
.quote-body {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 0 0 20px;
}
.quote-divider {
  height: 1px;
  background: var(--c-line);
  margin: 0 0 16px;
}
.quote-author {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-ink);
}
.quote-role {
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 4px;
}

/* ============== FAQ ============== */

.faq { margin-top: 12px; }
.faq details {
  border-bottom: 1px solid var(--c-line);
}
.faq details:first-child { border-top: 1px solid var(--c-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 22px;
  color: var(--c-gold);
  transition: transform 0.2s ease;
  flex: none;
}
.faq details[open] .plus { transform: rotate(45deg); }
.faq-body {
  padding: 0 0 22px;
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============== FOOTER ============== */

.site-footer {
  background: var(--c-bg);
  padding: 56px 0 32px;
  margin-top: 24px;
  border-top: 1px solid var(--c-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.brand-footer { margin-bottom: 16px; }
.footer-about {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 280px;
}
.footer-title {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--c-ink);
  margin: 4px 0 16px;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-list a:hover { color: var(--c-gold); }
.footer-bottom {
  text-align: center;
  font-size: 12.5px;
  color: var(--c-muted);
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  line-height: 1.7;
}
.footer-bottom a { color: var(--c-gold); text-decoration: none; }
.footer-bottom a:hover { color: var(--c-ink); }
.footer-disclaimer {
  margin: 18px auto 0;
  max-width: 680px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--c-muted);
  opacity: 0.85;
}

/* ============== FLOATING WHATSAPP ============== */

.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--c-wa);
  color: #fff;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,0.55);
  z-index: 60;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.floating-wa:hover {
  transform: translateY(-2px);
  background: var(--c-wa-dark);
  box-shadow: 0 18px 42px -10px rgba(37,211,102,0.65);
}
.floating-wa .ic-wa { width: 26px; height: 26px; color: #fff; flex: none; }
.floating-wa-text { white-space: nowrap; }

/* Mobile: vira FAB redondo só com ícone para não cobrir conteúdo */
@media (max-width: 600px) {
  .floating-wa {
    padding: 0;
    width: 56px;
    height: 56px;
    justify-content: center;
    right: 16px;
    bottom: 16px;
  }
  .floating-wa-text { display: none; }
  .floating-wa .ic-wa { width: 28px; height: 28px; }
}

/* ============== RESPONSIVE TWEAKS ============== */

@media (max-width: 600px) {
  .hero { padding: 36px 0 28px; }
  .section { padding: 36px 0; }
  .card { padding: 28px 22px; }
  .form-card { padding: 26px 22px; }
  .corner-mark { width: 60px; height: 60px; top: -6px; right: -6px; }
  .image-corner { width: 70px; height: 70px; }
}
