/* Andrade & Honorato Advogados — LPs institucionais
   Paleta: branco/claro com detalhes em bordô (cor da logo). */

:root {
  --maroon: #7a0c0e;
  --maroon-dark: #560809;
  --maroon-bright: #9a141b;
  --wa: #1eb14f;
  --wa-dark: #17913f;
  --wa-shadow: 0 16px 34px -14px rgba(30,177,79,.55);
  --ink: #1d1a1a;
  --muted: #5c5654;
  --bg: #ffffff;
  --bg-soft: #faf6f5;
  --line: #ece4e2;
  --line-strong: #ddd0cd;
  --shadow: 0 18px 40px -22px rgba(90, 8, 10, .28);
  --radius: 14px;
  --wrap: 1180px;
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Archivo", system-ui, sans-serif;
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-family: "Archivo", sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--maroon);
}
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head p { color: var(--muted); margin-top: 14px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  line-height: 1;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--maroon); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--maroon-bright); }
.btn-primary:active { transform: translateY(1px); }
/* Botão de WhatsApp — verde, com destaque */
.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--wa-shadow); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-wa:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--maroon); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--maroon); background: #fff; }
.btn-ghost-light { background: #fff; color: var(--maroon); }
.btn-ghost-light:hover { background: #f4ebea; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 96px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: height .28s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { height: 68px; border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 62px; width: auto; transition: height .28s ease; }
.site-header.scrolled .brand img { height: 42px; }
.header-cta { display: inline-flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 600; color: var(--ink); font-size: .98rem; display: inline-flex; align-items: center; gap: 8px; }
.header-phone svg { width: 18px; height: 18px; color: var(--maroon); }

/* Hero */
.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: flex; align-items: center;
  color: #fff;
  padding: 96px 0 72px;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  background-image: var(--hero-img);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(48,4,5,.9) 0%, rgba(48,4,5,.74) 42%, rgba(40,4,5,.4) 100%);
}
.hero-inner { width: 100%; padding: 0 22px 0 clamp(22px, 6vw, 108px); }
.hero-copy { max-width: 600px; }
.hero .eyebrow { color: #f0c9c9; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  margin: 16px 0 18px; color: #fff; letter-spacing: -0.02em;
}
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: #f3e7e6; max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; color: #f0e4e3; }
.hero-trust svg { width: 18px; height: 18px; color: #e9b7b7; flex: none; }

/* Sobre */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-copy p { color: var(--muted); text-align: justify; text-justify: inter-word; hyphens: auto; }
.about-copy p:first-of-type { color: var(--ink); font-size: 1.12rem; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-media .stamp {
  position: absolute; left: -18px; bottom: -18px;
  background: var(--maroon); color: #fff; padding: 16px 20px; border-radius: 12px;
  font-family: "Archivo", sans-serif; font-weight: 600; line-height: 1.25; font-size: .95rem;
  box-shadow: var(--shadow); max-width: 210px;
}
.about-media .stamp span { display: block; font-size: .78rem; font-weight: 500; color: #eec6c6; margin-top: 3px; }

/* Áreas (grid de serviços) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: #fff; padding: 26px 24px; transition: background .2s ease; }
.service:hover { background: var(--bg-soft); }
.service-ic { width: 40px; height: 40px; border-radius: 10px; background: #f6eceb; color: var(--maroon); display: grid; place-items: center; margin-bottom: 14px; }
.service-ic svg { width: 21px; height: 21px; }
.service h3 { font-size: 1.06rem; margin-bottom: 6px; }
.service p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Diferenciais */
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.diff-ic { width: 46px; height: 46px; color: var(--maroon); margin-bottom: 14px; }
.diff-ic svg { width: 46px; height: 46px; }
.diff h3 { font-size: 1.1rem; margin-bottom: 8px; }
.diff p { font-size: .96rem; color: var(--muted); margin: 0; }

/* Equipe — cartões lado a lado com foto no topo */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 860px; margin: 0 auto; }
.member {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.member:hover { transform: translateY(-4px); }
.member-photo { position: relative; aspect-ratio: 4 / 5; background: #f3ebea; overflow: hidden; }
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.member-info { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; align-items: flex-start; }
.member-info .role { display: inline-block; font-family: "Archivo", sans-serif; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--maroon); background: #f6eceb; padding: 5px 13px; border-radius: 999px; margin-bottom: 14px; }
.member-info h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 8px; }
.member-info .oab { font-family: "Archivo", sans-serif; font-weight: 600; color: var(--muted); font-size: .96rem; margin: 0 0 6px; }
.member-wa { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; font-family: "Archivo", sans-serif; font-weight: 600; font-size: .95rem; color: var(--wa-dark); }
.member-wa svg { width: 19px; height: 19px; }
.member-wa:hover { color: var(--wa); }
.team-cta { text-align: center; margin-top: 40px; }

/* CTA band */
.cta-band { background: var(--maroon); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); max-width: 720px; margin: 0 auto 14px; }
.cta-band p { color: #f2dcdc; max-width: 560px; margin: 0 auto 28px; }

/* Contato / Footer */
.site-footer { background: #2a0607; color: #e9dcdb; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer img.flogo { height: 46px; margin-bottom: 18px; }
.site-footer h4 { font-family: "Archivo", sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: #e2b9b9; margin-bottom: 14px; }
.footer-item { display: flex; gap: 11px; margin-bottom: 12px; font-size: .96rem; color: #e9dcdb; align-items: flex-start; }
.footer-item svg { width: 18px; height: 18px; color: #d99a9a; flex: none; margin-top: 2px; }
.footer-item a:hover { color: #fff; }
.footer-about { color: #d8c6c5; font-size: .96rem; max-width: 34ch; }
.footer-maplink { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .92rem; font-weight: 600; color: #e2b9b9; }
.footer-maplink svg { width: 16px; height: 16px; color: #d99a9a; flex: none; }
.footer-maplink:hover { color: #fff; }
.footer-map-wrap { margin-top: 40px; }
.footer-map { display: block; width: 100%; height: 260px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); filter: grayscale(.15); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 42px; padding-top: 22px; font-size: .85rem; color: #c9b3b2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 32px -8px rgba(30,177,79,.7);
  transition: transform .15s ease, background .2s ease;
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse { 0% { box-shadow: 0 14px 32px -8px rgba(30,177,79,.7), 0 0 0 0 rgba(30,177,79,.45); } 70% { box-shadow: 0 14px 32px -8px rgba(30,177,79,.7), 0 0 0 16px rgba(30,177,79,0); } 100% { box-shadow: 0 14px 32px -8px rgba(30,177,79,.7), 0 0 0 0 rgba(30,177,79,0); } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
.wa-float:hover { background: var(--wa-dark); transform: translateY(-2px); }
.wa-float:active { transform: translateY(0); }
.wa-float svg { width: 30px; height: 30px; }

/* Responsivo */
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .diffs { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-phone { display: none; }
  .brand img { height: 48px; }
  .site-header { height: 76px; }
  .site-header.scrolled .brand img { height: 38px; }
  .services { grid-template-columns: 1fr; }
  .diffs { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; max-width: 400px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88dvh; padding-top: 84px; }
  .about-media .stamp { left: 0; }
}
