/* ============================================================
   MIRELA MEDEIROS ADVOCACIA — Premium Landing Page
   Palette: Gray (backgrounds) + light sections + WhatsApp-green buttons
   Header: mid-gray to make the black & gold logo stand out
   Fonts: Cormorant Garamond + Montserrat
   ============================================================ */

:root {
  --gray-deep: #2e2e2e;
  --gray: #4a4a4a;
  --gray-2: #5a5a5a;
  --gray-header: #6f6f6f;
  --gray-light: #c9c9c9;
  --gray-pale: #e8e8e8;
  --off-white: #f5f5f5;
  --ink: #2b2b2b;
  --text-body: #4a4a4a;
  --text-dim: #646464;
  --gold: #c9a227;
  --gold-light: #e2c879;
  --wa-green: #25d366;
  --wa-green-2: #4ade80;
  --wa-green-light: #86efac;
  --wa-green-dark: #1eb85a;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  --radius: 6px;
  --grad-wa: linear-gradient(135deg, #4ade80 0%, #25d366 45%, #1eb85a 100%);
  --grad-gray: linear-gradient(165deg, #5a5a5a 0%, #4a4a4a 55%, #3d3d3d 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--gray);
  color: var(--off-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  text-align: center;
  white-space: nowrap;
}
.btn .ico { width: 20px; height: 20px; flex: 0 0 auto; }

.btn-green {
  background: var(--grad-wa);
  color: #06281a;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.45);
}

.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn-xl { padding: 20px 40px; font-size: 16px; width: auto; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

@media (max-width: 640px) {
  .btn-lg, .btn-xl { width: 100%; max-width: 480px; font-size: 14px; padding: 17px 22px; }
}

/* ---------------- Header ---------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: var(--gray-header);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.header.scrolled {
  background: #5f5f5f;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: block; line-height: 0; }
.brand-logo { height: 92px; width: auto; }

@media (max-width: 640px) {
  .brand { margin: 0 auto; }
  .brand-logo { height: 80px; }
  .header-cta { display: none; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 210px 0 110px;
  background:
    radial-gradient(1100px 550px at 90% -10%, rgba(226, 200, 121, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(226, 200, 121, 0.1), transparent 55%),
    var(--grad-gray);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 90px;
  background: linear-gradient(180deg, transparent, var(--gold-light));
  opacity: 0.8;
}
.hero-glow {
  position: absolute;
  bottom: -160px; left: 50%;
  transform: translateX(-50%);
  width: 620px; height: 260px;
  background: radial-gradient(50% 100% at 50% 100%, rgba(226, 200, 121, 0.14), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold-light), transparent); }

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.12;
  max-width: 900px;
  margin: 0 auto 26px;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--gray-pale);
  max-width: 700px;
  margin: 0 auto 38px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 46px;
}
.hero-note { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-pale); opacity: 0.85; }

/* ---------------- Trust strip ---------------- */
.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(226, 200, 121, 0.28);
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #f7f7f7;
}
.ico-check { width: 16px; height: 16px; color: var(--gold-light); }

/* ---------------- Sections ---------------- */
.section { padding: 110px 0; }
.section-light { background: var(--off-white); color: var(--text-body); }
.section-dark { background: var(--grad-gray); color: var(--gray-pale); }

.section-light .eyebrow { color: var(--gold-dark, #9a7b1c); }
.section-light .section-lead { color: var(--text-dim); }
.section-light .section-title { color: var(--ink); }
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark .section-lead { color: var(--gray-pale); }
.section-dark .section-title { color: #ffffff; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  text-align: center;
  margin-bottom: 22px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.section-lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  font-size: 16px;
  font-weight: 300;
}
.section .eyebrow { display: flex; justify-content: center; margin-bottom: 20px; }

/* ---------------- Cards (Áreas) ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
  border: 1px solid rgba(74, 74, 74, 0.16);
  border-radius: 10px;
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-wa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(74, 74, 74, 0.4); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }

.card-ico { width: 46px; height: 46px; color: #9a7b1c; margin-bottom: 22px; }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 12px; color: var(--ink); }
.card-text { font-size: 14px; font-weight: 300; color: var(--text-body); margin-bottom: 20px; }
.card-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a7b1c;
  transition: color 0.25s ease;
}
.card-link:hover { color: var(--wa-green-dark); }

/* ---------------- Pillars ---------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  max-width: 900px;
  margin: 0 auto;
}
.pillar {
  border-top: 1px solid rgba(154, 123, 28, 0.3);
  padding: 26px 6px 6px;
}
.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: #9a7b1c;
  display: block;
  margin-bottom: 8px;
}
.pillar-title { font-family: var(--serif); font-weight: 600; font-size: 26px; margin-bottom: 10px; color: var(--ink); }
.pillar-text { font-size: 15px; font-weight: 300; color: var(--text-body); }

/* ---------------- Steps ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}
.step { text-align: center; padding: 40px 26px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(226, 200, 121, 0.55);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 22px;
  background: radial-gradient(circle at 50% 35%, rgba(226, 200, 121, 0.14), transparent 70%);
}
.step-title { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 12px; color: #ffffff; }
.step-text { font-size: 14px; font-weight: 300; color: var(--gray-pale); max-width: 260px; margin: 0 auto; }

.center { text-align: center; }

/* ---------------- CTA final ---------------- */
.section-cta {
  background:
    radial-gradient(1000px 500px at 50% 120%, rgba(226, 200, 121, 0.16), transparent 60%),
    var(--grad-gray);
  text-align: center;
}
.cta-number {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

/* ---------------- Footer ---------------- */
.footer { background: var(--gray-deep); border-top: 1px solid rgba(226, 200, 121, 0.16); padding: 70px 0 34px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-logo { height: 76px; width: auto; margin-bottom: 18px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gray-pale); max-width: 260px; }
.footer-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.footer-link { display: block; font-size: 14px; color: var(--gray-pale); margin-bottom: 10px; transition: color 0.25s ease; }
a.footer-link:hover { color: var(--gold-light); }
.footer-list { list-style: none; }
.footer-list li { font-size: 14px; color: var(--gray-pale); margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: #9c9c9c; }
.footer-privacy { font-size: 12px; }

/* ---------------- Floating WhatsApp ---------------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--grad-wa);
  color: #06281a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 44px rgba(37, 211, 102, 0.55); }
.wa-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-deep);
  color: var(--off-white);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  border: 1px solid rgba(226, 200, 121, 0.3);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* ---------------- Animations (reveal) ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .hero { padding: 170px 0 80px; }
  .section { padding: 80px 0; }
  .cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .trust-strip { flex-direction: column; align-items: center; gap: 12px; }
  .hero-title { font-size: clamp(32px, 9vw, 42px); }
  .hero-sub { font-size: 15px; }
}
