/* ============================================================
   Pinheiro Promotora — site styles
   Paleta: Vermelho #E31D1A · Grafite #1A1A1B · Cinza #F5F5F5
   Tipografia: Montserrat (legibilidade para público idoso)
   ============================================================ */

:root {
  --red: #E31D1A;
  --red-dark: #B5140F;
  --red-soft: #fdeceb;
  --graphite: #1A1A1B;
  --ink: #2a2a2c;
  --muted: #5f6065;
  --gray-soft: #F5F5F5;
  --line: #e7e7ea;
  --white: #ffffff;
  --wa: #25D366;
  --wa-dark: #1aa64f;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(26,26,27,.06);
  --shadow: 0 14px 40px rgba(26,26,27,.10);
  --shadow-red: 0 12px 30px rgba(227,29,26,.28);
  --shadow-wa: 0 12px 30px rgba(37,211,102,.32);
  --wrap: 1160px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { color: var(--graphite); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--gray { background: var(--gray-soft); }
.section--graphite { background: var(--graphite); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow--center { justify-content: center; }

.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin-top: 16px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 1.08rem;
  padding: 16px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 22px; height: 22px; flex: 0 0 auto; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-wa); }
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--graphite); border-color: #d3d4d8; }
.btn--ghost:hover { border-color: var(--graphite); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { font-size: 1.25rem; padding: 20px 36px; }
.btn--xl { font-size: 1.4rem; padding: 22px 40px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; }
.header__logo img { height: 46px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--graphite); font-size: 1.05rem; }
.header__phone svg { width: 19px; height: 19px; color: var(--red); }
.header__phone-label { display: flex; flex-direction: column; line-height: 1.15; }
.header__phone-label small { font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--red-soft), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fafafb 100%);
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: clamp(48px, 7vw, 86px) 0 clamp(56px, 8vw, 92px);
}
.hero__h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 800; line-height: 1.04; }
.hero__h1 .accent { color: var(--red); }
.hero__sub { font-size: 1.3rem; color: var(--muted); margin-top: 22px; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: 1.02rem; }
.hero__note svg { width: 20px; height: 20px; color: var(--wa-dark); flex: 0 0 auto; }
.hero__trustline { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.hero__trustline span { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--graphite); font-size: 1rem; }
.hero__trustline svg { width: 19px; height: 19px; color: var(--red); }

/* phone chat mockup */
.phone {
  position: relative; width: 318px; max-width: 100%; margin: 0 auto;
  background: var(--graphite); border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow); border: 1px solid #2c2c2e;
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: var(--graphite); border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen { background: #ECE5DD; border-radius: 30px; overflow: hidden; height: 540px; display: flex; flex-direction: column; }
.phone__bar { background: var(--wa-dark); color: #fff; display: flex; align-items: center; gap: 12px; padding: 26px 16px 12px; }
.phone__avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.phone__avatar img { width: 30px; height: auto; }
.phone__contact { line-height: 1.2; }
.phone__contact strong { font-size: .98rem; font-weight: 700; }
.phone__contact small { font-size: .72rem; opacity: .85; }
.phone__chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.bubble { max-width: 80%; padding: 9px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; }
.bubble small { display: block; font-size: .62rem; color: rgba(0,0,0,.45); text-align: right; margin-top: 3px; }
.bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: #DCF8C6; border-top-right-radius: 4px; }
.bubble--out small { color: var(--wa-dark); }
.phone__input { background: #fff; margin: 6px; border-radius: 22px; padding: 11px 16px; color: #9a9a9a; font-size: .88rem; display: flex; align-items: center; justify-content: space-between; }
.phone__input .send { width: 30px; height: 30px; border-radius: 50%; background: var(--wa); display: inline-flex; align-items: center; justify-content: center; }
.phone__input .send svg { width: 16px; height: 16px; color: #fff; }
.phone__badge {
  position: absolute; bottom: -18px; left: -22px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 11px;
  border: 1px solid var(--line);
}
.phone__badge .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.phone__badge .dot svg { width: 20px; height: 20px; }
.phone__badge b { font-size: .98rem; color: var(--graphite); }
.phone__badge span { font-size: .76rem; color: var(--muted); display: block; }

/* ============================================================
   SERVICES (big rows)
   ============================================================ */
.services { display: flex; flex-direction: column; gap: 18px; margin-top: 44px; }
.svc {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dcdce0; }
.svc__icon { width: 70px; height: 70px; border-radius: 18px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.svc__icon svg { width: 36px; height: 36px; }
.svc__body h3 { font-size: 1.5rem; font-weight: 700; }
.svc__body p { color: var(--muted); margin-top: 6px; font-size: 1.05rem; }
.svc__cta { flex: 0 0 auto; }

/* ============================================================
   AUDIENCE (para quem é)
   ============================================================ */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.aud {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; text-align: center; box-shadow: var(--shadow-sm);
}
.aud__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--graphite); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.aud__icon svg { width: 42px; height: 42px; }
.aud h3 { font-size: 1.35rem; font-weight: 700; }
.aud p { color: var(--muted); margin-top: 10px; font-size: 1.02rem; }

/* ============================================================
   STEPS (como funciona)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; position: relative; }
.step { text-align: center; padding: 0 10px; }
.step__num {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px;
  background: #fff; border: 3px solid var(--red); color: var(--red);
  font-size: 2rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.4rem; font-weight: 700; }
.step p { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }

/* ============================================================
   TRUST (por que confiar)
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.trust { text-align: left; }
.trust__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.08); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.trust__icon svg { width: 30px; height: 30px; color: #ff5a57; }
.trust h3 { color: #fff; font-size: 1.25rem; font-weight: 700; }
.trust p { color: rgba(255,255,255,.62); margin-top: 8px; font-size: 1rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 1.18rem; font-weight: 700; color: var(--graphite);
  padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__q .ico { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; transition: transform .25s ease; font-size: 1.4rem; line-height: 1; }
.faq__item[open] .faq__q .ico { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.faq__q::-webkit-details-marker { display: none; }

/* ============================================================
   LOCATION
   ============================================================ */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.loc__list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.loc__list li { display: flex; align-items: flex-start; gap: 14px; font-size: 1.08rem; }
.loc__list .ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.loc__list .ico svg { width: 22px; height: 22px; }
.loc__list strong { display: block; color: var(--graphite); font-weight: 700; }
.loc__list span { color: var(--muted); }
.loc__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.loc__map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; text-align: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% -40%, rgba(255,255,255,.16), transparent 70%); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.2rem; margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 32px; }

/* ============================================================
   SECURITY NOTICE
   ============================================================ */
.security {
  display: flex; align-items: flex-start; gap: 18px;
  background: #fff7ed; border: 1px solid #fcd9a8; border-left: 6px solid #f59e0b;
  border-radius: var(--radius); padding: 22px 26px; max-width: var(--wrap);
}
.security__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #fef0d3; color: #b45309; display: flex; align-items: center; justify-content: center; }
.security__icon svg { width: 24px; height: 24px; }
.security__txt h3 { font-size: 1.05rem; font-weight: 800; color: #b45309; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.security__txt p { color: #6b4d20; font-size: 1.04rem; line-height: 1.55; }
.security__txt strong { color: #92400e; }

/* ============================================================
   LEGAL (footer)
   ============================================================ */
.legal { border-top: 1px solid rgba(255,255,255,.1); padding: 40px 0 8px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.legal h4 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.legal p { font-size: .98rem; line-height: 1.65; color: rgba(255,255,255,.62); margin-bottom: 12px; }
.legal p strong { color: rgba(255,255,255,.85); font-weight: 700; }
.legal .legal__addr { display: flex; align-items: flex-start; gap: 11px; font-size: .98rem; color: rgba(255,255,255,.62); }
.legal .legal__addr svg { width: 18px; height: 18px; color: var(--red); flex: 0 0 auto; margin-top: 3px; }
.footer { background: #111112; color: rgba(255,255,255,.7); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 0 44px; }
.footer__brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; font-size: 1rem; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; letter-spacing: .02em; }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.footer__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 1rem; }
.footer__list svg { width: 18px; height: 18px; color: var(--red); flex: 0 0 auto; margin-top: 3px; }
.footer__list a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.footer__social a:hover { background: var(--red); }
.footer__social svg { width: 22px; height: 22px; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: rgba(255,255,255,.5); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 0; overflow: hidden;
  background: var(--wa); color: #fff; border-radius: 999px;
  box-shadow: var(--shadow-wa); padding: 0; height: 64px;
  transition: transform .15s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); }
.wa-float__icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.wa-float__icon svg { width: 34px; height: 34px; }
.wa-float__label { font-weight: 700; font-size: 1.05rem; padding-right: 24px; max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .3s ease, opacity .25s ease, padding .3s ease; }
.wa-float:hover .wa-float__label { max-width: 220px; opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .loc { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .header__phone-label { display: none; }
  .header__phone span.num { display: none; }
  .svc { grid-template-columns: auto 1fr; }
  .svc__cta { grid-column: 1 / -1; }
  .svc__cta .btn { width: 100%; }
  .aud-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .legal { grid-template-columns: 1fr; gap: 26px; }
  .security { flex-direction: column; gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .wa-float__label { max-width: 0; opacity: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
