/* ==========================================================================
   Mendes Miranda Advocacia — folha de estilos
   Paleta extraída do site original (Canva): navy escuro + roxo + dourado
   ========================================================================== */

:root {
  --bg: #0f1015;
  --bg-alt: #171225;
  --panel: #1c1730;
  --ink: #f5f3fa;
  --ink-muted: #c7c3d6;
  --purple: #8b3dff;
  --purple-2: #a370fc;
  --purple-dark: #612dae;
  --gold: #c9a24d;
  --danger: #db142c;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --container: 1120px;
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,16,21,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 42px; height: auto; filter: drop-shadow(0 2px 6px rgba(201,162,77,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; color: var(--ink); }
.brand-text small { color: var(--gold); letter-spacing: .05em; font-size: .68rem; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink-muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.btn-nav {
  color: #fff !important;
  background: var(--purple);
  padding: 8px 16px;
  border-radius: 999px;
}
.btn-nav:hover { background: var(--purple-dark); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: .98rem;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: #08210f; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.ico-whats { width: 20px; height: 20px; }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  padding: 96px 0 76px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,16,21,.88) 0%, rgba(23,18,37,.93) 55%, var(--bg) 100%);
  z-index: -1;
}
.hero-content { max-width: 760px; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.eyebrow-center { display: block; text-align: center; }
h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 18px;
}
h1 span { color: var(--purple-2); }
.hero-lead { font-size: 1.15rem; color: var(--ink-muted); max-width: 560px; margin: 0 0 32px; }

.hero-problems {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}
.hero-problems-title { margin: 0 0 14px; font-weight: 600; color: var(--ink); }
.chip-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li {
  background: rgba(139,61,255,.18);
  border: 1px solid rgba(163,112,252,.4);
  color: var(--purple-2);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .9rem;
}
.hero-highlight { font-size: 1.15rem; font-weight: 700; color: var(--gold); margin: 0; }

/* -------------------- Marca d'água / selo do escritório -------------------- */
/* Repete a logomarca (discretamente) em cada seção, como um brasão gravado
   em cada "página" do site — reforça a marca ao longo de toda a rolagem,
   além do cabeçalho fixo. */
.section, .cta-band, .site-footer { position: relative; overflow: hidden; }

.brand-watermark {
  position: absolute;
  width: 260px;
  height: auto;
  opacity: .05;
  filter: grayscale(1) brightness(2);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.brand-watermark.pos-tr { top: -40px; right: -30px; }
.brand-watermark.pos-bl { bottom: -50px; left: -40px; transform: rotate(-8deg); }
.brand-watermark.pos-tl { top: -30px; left: -20px; transform: rotate(6deg); }

.section > .container,
.cta-band > .container,
.site-footer > .container { position: relative; z-index: 1; }

/* -------------------- Selo circular (advogado / indenização) -------------------- */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #8a6a26);
  color: #241a06;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(201,162,77,.3);
}
.seal svg { width: 55%; height: 55%; }

/* -------------------- Tira ilustrada (estilo almanaque) -------------------- */
.illus-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 36px 0 4px;
}
.illus-strip.left-align { justify-content: flex-start; }
.sticker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 96px;
  text-align: center;
}
.sticker-frame {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid rgba(201,162,77,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sticker-frame img { width: 68%; height: 68%; object-fit: contain; }
.sticker-frame .seal { width: 100%; height: 100%; }
.sticker span { font-size: .78rem; color: var(--ink-muted); letter-spacing: .02em; }
.sticker:nth-child(odd) .sticker-frame { transform: rotate(-3deg); }
.sticker:nth-child(even) .sticker-frame { transform: rotate(3deg); }

/* -------------------- Sections -------------------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 18px; }
h2.center { text-align: center; }
.section-lead { color: var(--ink-muted); max-width: 720px; font-size: 1.05rem; }
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.timeline-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.timeline-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 14px; }
.timeline-card h3 { margin: 0 0 10px; font-size: 1.1rem; color: var(--gold); }
.timeline-card ul { margin: 6px 0 0; padding-left: 20px; color: var(--ink-muted); }

.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(219,20,44,.1);
  border: 1px solid rgba(219,20,44,.4);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0;
}
.callout img { width: 40px; height: 40px; flex-shrink: 0; }
.callout p { margin: 0; color: var(--ink-muted); }
.callout strong { color: #ff8f9c; }

.cta-inline { margin-top: 32px; text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: .8fr 1.2fr; }
.two-col.reverse .two-col-icons { order: -1; }
.two-col-text h2 { margin-top: 16px; }
.two-col-text img.eyebrow-icon { width: 64px; }
.two-col-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.two-col-icons img {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(255,255,255,.08);
  object-fit: contain;
}

.check-list { list-style: none; margin: 18px 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--whatsapp);
  font-weight: 700;
}

.cta-band {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band-meta { font-size: .9rem; opacity: .85; margin-bottom: 28px; }
.cta-band-inner { display: flex; flex-direction: column; align-items: center; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card-icon { width: 52px; height: 52px; object-fit: contain; margin-bottom: 14px; }
.card h3 { color: var(--purple-2); margin: 0 0 10px; font-size: 1.1rem; }
.card p { color: var(--ink-muted); margin: 0 0 10px; }
.card ul { margin: 6px 0 0; padding-left: 20px; color: var(--ink-muted); }

/* -------------------- Footer -------------------- */
.site-footer {
  background: #0a0a0e;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 56px 0 32px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 14px;
}
.footer-brand img { width: 46px; height: auto; filter: drop-shadow(0 2px 6px rgba(201,162,77,.35)); }
.footer-brand strong { font-size: 1.2rem; color: var(--ink); }
.footer-brand small { color: var(--gold); letter-spacing: .08em; font-size: .72rem; text-transform: uppercase; }
.footer-tagline { color: var(--ink-muted); margin: 0 0 18px; }
.footer-contact { margin: 0 0 20px; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { color: #666; font-size: .85rem; margin: 0; }

/* -------------------- WhatsApp flutuante -------------------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  color: #08210f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: 60;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* -------------------- Responsivo -------------------- */
@media (max-width: 860px) {
  .nav a:not(.btn-nav) { display: none; }
  .nav { gap: 0; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .two-col-icons { order: 0; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 52px 0; }
  .brand-watermark { width: 160px; }
  .sticker { width: 78px; }
  .sticker-frame { width: 62px; height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .whatsapp-float { transition: none; }
}
