/* ==========================================================================
   Landing — Advocacia Edry Brilhante | Revisão de contratos bancários
   Design system derivado da referência, adaptado para azul marinho + dourado.
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Marca */
  --navy: #0A1F33;
  --navy-deep: #06131F;
  --gold: #C9A227;
  --gold-hover: #B08D1E;

  /* Ação */
  --whatsapp: #25D366;

  /* Neutros */
  --white: #FFFFFF;
  --gray-bg: #F4F4F4;
  --gray-bg-alt: #F1F1F1;
  --body-text: #3A3A3A;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1292px;
  --pad-x: 22px;
  --radius-btn: 5px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

section { padding: 80px 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); color: var(--white); }

/* --- Tipografia ---------------------------------------------------------- */

h1, h2, h3 { font-family: var(--font-display); margin: 0; }

h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.section--navy h2 { color: var(--white); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head p { max-width: 720px; margin: 16px auto 0; }

/* Rótulo pequeno com linha decorativa (padrão do FAQ na referência) */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}
.eyebrow::after {
  content: '';
  width: 48px;
  height: 2px;
  background: var(--gold);
}

/* --- Botões -------------------------------------------------------------- */

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--navy);
  background: var(--gold);
  border: none;
  border-radius: var(--radius-btn);
  box-shadow: none;
  padding: 18px 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease;
}
.btn:hover { background: var(--gold-hover); }
.btn svg { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }

.btn-wrap { text-align: center; margin-top: 40px; }

/* Botão secundário: usado onde o destino não é o WhatsApp (perfil do Google).
   O dourado fica reservado à ação principal, para não haver dois CTAs iguais. */
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 16px 32px;
  font-size: 18px;
}
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost svg { width: 20px; height: 20px; }

/* Frase de reforço logo abaixo do CTA */
.btn-nudge {
  font-size: 15px;
  margin-top: 14px;
  opacity: .85;
}

/* Linha de credibilidade (hero e contato final) */
.credline {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-top: 28px;
  line-height: 1.6;
}
.section--gray .credline { color: #6A6A6A; }

/* --- Header -------------------------------------------------------------- */

.site-header {
  background: var(--white);
  padding: 14px 0;
  text-align: center;
}
/* O logo é um lockup horizontal 3:1 e vem em PNG transparente, dourado. Sobre o
   branco do header ele perde peso rápido: abaixo de ~60px de altura o "ADVOCACIA"
   deixa de ser legível. */
.site-header img {
  margin: 0 auto;
  height: 72px;
  width: auto;
  max-width: 100%;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  background-color: var(--navy);
  background-image: url('assets/img/hero.webp');
  background-size: cover;
  background-position: center;
  padding: 110px 0;
  text-align: center;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 19, 31, .62) 0%,
    rgba(6, 19, 31, .72) 45%,
    rgba(6, 19, 31, .68) 100%
  );
}
.hero .container { position: relative; }

.hero h1 {
  font-size: 59px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.01em;
  max-width: 15ch;
  margin: 0 auto;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .subtitle {
  font-size: 19px;
  max-width: 620px;
  margin: 26px auto 34px;
  color: rgba(255,255,255,.88);
}

/* --- Cards escuros (situações atendidas / diferenciais) ------------------ */

.card-grid {
  display: grid;
  gap: 22px;
}
.card-grid--5 { grid-template-columns: repeat(5, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 34px 24px;
  text-align: center;
}
.card .icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.card p {
  font-size: 14px;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

/* Sobre fundo navy o card sólido sumiria. Vira contorno dourado discreto. */
.section--navy .card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(201,162,39,.3);
}
.section--navy .section-head p { color: rgba(255,255,255,.78); }

/* Demais áreas de atuação */
.areas .card h3 { font-size: 19px; margin-bottom: 10px; }
.areas .card p { font-size: 15px; }

/* --- Bloco de duas colunas (imagem + texto) ------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split__media {
  border-radius: 8px;
  overflow: hidden;
  min-height: 380px;
  background: #D8DCE0;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split .btn-wrap { text-align: left; }


/* --- FAQ ----------------------------------------------------------------- */

.faq { max-width: 900px; margin: 0 auto; }

.faq details {
  background: var(--navy);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  padding: 22px 56px 22px 24px;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 27px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq__body {
  padding: 0 24px 24px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
}
.faq .faq__body p { margin: 0 0 12px; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* --- Bio do advogado ----------------------------------------------------- */

.bio {
  background-color: var(--navy);
  background-image:
    linear-gradient(115deg, rgba(201,162,39,.07) 0 22%, transparent 22% 40%, rgba(201,162,39,.05) 40% 52%, transparent 52%);
  color: var(--white);
}
.bio__photo {
  border-radius: 8px;
  overflow: hidden;
  min-height: 460px;
  background: #12293F;
}
.bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.bio h2 { margin-bottom: 6px; color: var(--white); }
.bio .oab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 22px;
}
.bio p { color: rgba(255,255,255,.8); }
.bio ul {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}
.bio li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.8);
  font-size: 16px;
}
.bio li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.bio li strong { color: var(--white); }

/* --- Avaliações ---------------------------------------------------------- */

.reviews { text-align: center; }
.reviews .section-head { margin-bottom: 0; }
.reviews__cta { margin-top: 32px; }

/* --- Contato final ------------------------------------------------------- */

/* Coluna única centrada. Sem a limitação de largura o parágrafo iria aos 1292px
   do container e ficaria ilegível. */
.contact__inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.contact__inner > p { margin: 16px 0 0; }

.contact__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.contact__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 17px;
}
.contact__list svg { width: 20px; height: 20px; fill: var(--gold); flex-shrink: 0; }
.contact__list a { color: var(--body-text); text-decoration: none; }
.contact__list a:hover { color: var(--gold-hover); }

/* --- Rodapé -------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.55);
  padding: 44px 0;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}
.site-footer p { margin: 0 0 10px; }
.site-footer .disclaimer {
  max-width: 900px;
  margin: 18px auto 0;
  font-size: 12px;
  color: rgba(255,255,255,.38);
}

/* --- Bolha flutuante do WhatsApp ---------------------------------------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
}
.wa-float svg { width: 34px; height: 34px; fill: var(--white); }

/* --- Responsivo ---------------------------------------------------------- */

@media (max-width: 1024px) {
  .card-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  .split { gap: 40px; }
}

@media (max-width: 767px) {
  section { padding: 56px 0; }
  .hero { padding: 76px 0; background-image: url('assets/img/hero-mobile.webp'); }
  .hero h1 { font-size: 34px; max-width: none; }
  .hero .subtitle { font-size: 17px; }
  h2 { font-size: 27px; }
  .card-grid--5,
  .card-grid--3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .split .btn-wrap { text-align: center; }
  .btn { font-size: 17px; padding: 16px 24px; width: 100%; justify-content: center; }
  .split__media, .bio__photo { min-height: 280px; }
  .site-header img { height: 46px; }
  .btn--ghost { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
