/* =========================================================
   Caio Regagnin Advocacia — estilos
   Design flat, mobile-first. Paleta: creme + preto.
   ========================================================= */

:root {
  /* Marca */
  --brand: #e8dcc4;        /* creme de destaque: botões, ícones e números sobre fundo preto */
  --brand-hover: #d8c8a8;
  --brand-deep: #121212;   /* botão flutuante do WhatsApp */
  --brand-ink: #121212;    /* destaque sobre fundo claro (preto) */
  --brand-soft: #e7ddcb;

  /* Neutros */
  --dark: #121212;
  --dark-hover: #2b2b2b;
  --dark-2: #1b1b1b;
  --dark-3: #0b0b0b;
  --paper: #f5efe4;        /* creme principal */
  --sand: #ece3d3;         /* creme mais fechado (seções alternadas) */
  --white: #fbf8f2;        /* creme claro (cartões e textos sobre preto) */
  --ink: #141414;
  --muted: #5e5850;
  --muted-light: #b8b0a3;
  --line: #ddd3c1;
  --line-dark: #2c2c2c;

  /* Papéis semânticos (trocados no modo escuro) */
  --heading: #121212;      /* títulos e contornos sobre fundo claro */
  --on-dark: #fbf8f2;      /* texto sobre superfícies pretas */
  --text-soft: #3d3a35;    /* texto corrido das páginas legais */
  --btn-bg: #121212;       /* botão principal */
  --btn-fg: #f5efe4;
  --btn-hover: #2b2b2b;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 16px;
  --radius: 4px;
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 120px);
}

/* ---------- Modo escuro (dark) ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #e8dcc4;
  --brand-hover: #d8c8a8;
  --brand-deep: #0c0c0c;
  --brand-ink: #e8dcc4;
  --brand-soft: #2a2620;

  --dark: #0c0c0c;
  --dark-hover: #222222;
  --dark-2: #0f0f0f;
  --dark-3: #080808;
  --paper: #141414;
  --sand: #1a1a1a;
  --white: #181818;
  --ink: #ece5d8;
  --muted: #aaa294;
  --muted-light: #b0a899;
  --line: #2a2a2a;
  --line-dark: #262626;

  --heading: #f3ecdf;
  --on-dark: #f3ecdf;
  --text-soft: #cfc8bb;
  --btn-bg: #e8dcc4;
  --btn-fg: #121212;
  --btn-hover: #d8c8a8;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 80px; } }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--dark); color: var(--on-dark);
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Tipografia comum ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--brand); }

.section { padding-block: var(--section-y); }

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__lead { color: var(--muted); font-size: 1.06rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font: 600 .95rem/1 var(--font-body);
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.btn--accent { background: var(--btn-bg); color: var(--btn-fg); }
.btn--accent:hover { background: var(--btn-hover); }
/* Sobre fundo preto, o botão inverte para creme */
.contact .btn--accent { background: var(--brand); color: var(--dark); }
.contact .btn--accent:hover { background: var(--brand-hover); }
.btn--ghost { border-color: var(--heading); color: var(--heading); }
.btn--ghost:hover { background: var(--heading); color: var(--paper); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: var(--on-dark); }
.btn--outline-light:hover { border-color: var(--on-dark); background: var(--on-dark); color: #121212; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }

.header__inner {
  display: flex; align-items: center; gap: 6px;
  height: var(--header-h);
}
.header__inner > .brand { margin-right: auto; flex-shrink: 0; }
.nav li a { white-space: nowrap; }

/* Ferramentas do cabeçalho: idioma + tema (+ menu no mobile) */
.header__tools { display: flex; align-items: center; gap: 4px; }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; min-width: 40px; padding: 0 8px;
  font: 600 .8rem/1 var(--font-body); letter-spacing: .06em; color: var(--heading);
  background: none; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.tool-btn:hover, .tool-btn[aria-expanded="true"] { border-color: var(--line); background: var(--sand); }
.tool-btn svg { width: 20px; height: 20px; }

.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.lang { position: relative; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 120;
  min-width: 160px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.lang__menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; font: 500 .93rem/1.2 var(--font-body); color: var(--ink);
  background: none; border: 0; border-radius: 2px; cursor: pointer; text-align: left;
}
.lang__menu button:hover { background: var(--sand); }
.lang__menu button[aria-current="true"] { font-weight: 600; color: var(--heading); }
.lang__menu button[aria-current="true"]::after { content: "✓"; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--dark); color: var(--brand);
  font: 500 1.05rem/1 var(--font-display); letter-spacing: .04em;
  border-radius: var(--radius);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font: 600 1.08rem/1.15 var(--font-display); color: var(--heading); }
.brand__text small { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.brand--light .brand__mark { background: var(--brand); color: var(--dark); }
.brand--light .brand__text strong { color: var(--on-dark); }
.brand--light .brand__text small { color: var(--muted-light); }

/* Menu mobile */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--heading); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  display: flex; flex-direction: column; gap: 28px;
  padding: 24px var(--gutter) 40px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav.is-open { visibility: visible; opacity: 1; transform: none; }
.nav ul { display: flex; flex-direction: column; }
.nav li a {
  display: block; padding: 16px 0;
  font: 500 1.35rem/1.2 var(--font-display); color: var(--heading);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav__cta { align-self: stretch; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .header__tools { margin-left: 8px; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 22px;
    padding: 0; border: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none;
  }
  .nav ul { flex-direction: row; gap: 20px; }
  .nav li a {
    padding: 6px 0; border: 0;
    font: 500 .9rem/1 var(--font-body); color: var(--ink);
    background: linear-gradient(var(--heading), var(--heading)) left bottom / 0 2px no-repeat;
    transition: background-size .25s, color .2s;
  }
  .nav li a:hover, .nav li a.is-active { color: var(--brand-ink); background-size: 100% 2px; }
  .nav__cta { min-height: 44px; padding: 0 20px; align-self: auto; }
}
/* Entre 1024 e 1199px o menu não comporta o botão; o WhatsApp flutuante cobre essa função */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav ul { gap: 18px; }
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 32px 64px; }
.hero__grid { display: grid; gap: 48px; align-items: center; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 1.4rem + 4vw, 4.2rem);
  letter-spacing: -.02em;
  color: var(--heading);
  margin-bottom: 24px;
}
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero__lead strong { color: var(--ink); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero__facts {
  display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 0;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.hero__facts li { padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--line); }
.hero__facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__facts span { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero__facts strong { font: 500 1.15rem/1.4 var(--font-display); color: var(--heading); }

.hero__media { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.hero__media::before {
  content: ""; position: absolute; inset: 24px -16px -16px 24px;
  background: var(--btn-bg); border-radius: var(--radius);
}
.hero__media img {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--radius);
}
.hero__badge {
  position: absolute; left: -12px; bottom: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; background: var(--dark); color: var(--on-dark);
  font-size: .85rem; font-weight: 500; border-radius: var(--radius);
}
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

@media (max-width: 639px) {
  .hero__media::before { inset: 14px -8px -8px 14px; }
  .inst__media::before { inset: -8px 14px 14px -8px; }
}

@media (max-width: 479px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__badge { left: 12px; right: 12px; justify-content: center; }
}

@media (min-width: 960px) {
  .hero { padding-block: 48px 96px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .hero__media { max-width: none; }
}

/* ---------- Faixa de destaques ---------- */
.strip { background: var(--dark); color: var(--on-dark); }
.strip__grid { display: grid; grid-template-columns: 1fr 1fr; }
.strip__item { padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line-dark); }
.strip__item:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line-dark); }
.strip__item:nth-child(even) { padding-left: 16px; }
.strip__item:nth-last-child(-n+2) { border-bottom: 0; }
.strip__item strong { display: block; font: 500 1.35rem/1.2 var(--font-display); color: var(--brand); margin-bottom: 4px; }
.strip__item span { font-size: .88rem; color: var(--muted-light); line-height: 1.45; }

@media (min-width: 900px) {
  .strip__grid { grid-template-columns: repeat(4, 1fr); }
  .strip__item, .strip__item:nth-child(odd), .strip__item:nth-child(even) {
    padding: 40px 28px; border-bottom: 0; border-right: 1px solid var(--line-dark);
  }
  .strip__item:first-child { padding-left: 0; }
  .strip__item:last-child { border-right: 0; }
}

/* ---------- Sobre ---------- */
.about__grid { display: grid; gap: 48px; align-items: start; }
.about__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius); }
.about__role { font-weight: 600; color: var(--brand-ink); margin-top: -8px; margin-bottom: 24px; }
.about__content > p:not(.eyebrow, .about__role) { color: var(--muted); font-size: 1.04rem; }
.about__content > p strong { color: var(--ink); }

.about__inst { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.about__inst h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.about__inst ul { display: grid; gap: 16px; }
.about__inst li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.about__inst-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--brand-soft); color: var(--brand-ink); border-radius: var(--radius); }
.about__inst strong { display: block; color: var(--heading); line-height: 1.35; }
.about__inst li span:not(.about__inst-icon) { font-size: .9rem; color: var(--muted); }

.about__media { max-width: 460px; width: 100%; margin-inline: auto; }

@media (min-width: 720px) {
  .about__grid { grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
}
@media (min-width: 1024px) {
  .about__grid { gap: 80px; }
}

/* ---------- Áreas ---------- */
.areas { background: var(--sand); }
.cards { display: grid; gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--heading); transform: translateY(-3px); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; background: var(--dark); color: var(--brand); border-radius: var(--radius); }
.card h3 { font: 500 1.35rem/1.25 var(--font-display); color: var(--heading); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__link { margin-top: auto; padding-top: 20px; font-weight: 600; text-decoration: none; color: var(--brand); }
.card__link:hover { color: var(--on-dark); }

.card--featured { background: var(--dark); border-color: var(--dark); }
.card--featured:hover { border-color: var(--brand); }
.card--featured .card__icon { background: var(--brand); color: var(--dark); }
.card--featured h3 { color: var(--on-dark); }
.card--featured p { color: var(--muted-light); }
.card__tag {
  position: absolute; top: 20px; right: 20px;
  padding: 4px 10px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--brand); color: var(--dark); border-radius: 2px;
}

/* 5 cartões: 2 colunas (o último, Leilões, ocupa a linha toda); no desktop, 3 em cima e 2 maiores embaixo */
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cards .card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .cards .card { grid-column: span 2; }
  .cards .card:nth-child(n+4), .cards .card:last-child { grid-column: span 3; }
}

/* ---------- Leilões ---------- */
.auction { background: var(--dark); color: var(--on-dark); }
.auction__head { display: grid; gap: 24px; margin-bottom: 56px; }
.auction__head .section__title { margin-bottom: 0; max-width: 620px; }
.auction__intro { color: var(--muted-light); font-size: 1.06rem; }
.auction__intro strong { color: var(--on-dark); }

.steps { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); counter-reset: step; }
.step { padding: 32px 28px; background: var(--dark); }
.step__num { display: block; font: 500 2.4rem/1 var(--font-display); color: var(--brand); margin-bottom: 20px; }
.step h3 { font: 500 1.25rem/1.25 var(--font-display); margin-bottom: 10px; }
.step p { color: var(--muted-light); font-size: .94rem; }

.auction__types { display: grid; gap: 16px; margin-top: 40px; }
.auction__type { padding: 28px; background: var(--dark-2); border-left: 3px solid var(--brand); border-radius: var(--radius); }
.auction__type h3 { font: 500 1.25rem/1.25 var(--font-display); color: var(--brand); margin-bottom: 8px; }
.auction__type p { color: var(--muted-light); font-size: .95rem; }

@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .auction__types { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 960px) {
  .auction__head { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Serviços em leilões ---------- */
.services { background: var(--sand); }
.services .section__head { max-width: 720px; }
.services__grid { display: grid; gap: 16px; }
.service {
  display: flex; flex-direction: column;
  padding: 32px 28px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.service__phase {
  align-self: flex-start; margin-bottom: 18px; padding: 5px 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg); border-radius: 2px;
}
.service h3 { font: 500 1.45rem/1.25 var(--font-display); color: var(--heading); margin-bottom: 20px; }
.service__list { display: grid; gap: 12px; }
.service__list li { position: relative; padding-left: 28px; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.service__list li::before {
  content: ""; position: absolute; left: 2px; top: .38em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--heading); border-bottom: 2px solid var(--heading);
  transform: rotate(-45deg);
}

.service--featured { background: var(--dark); border-color: var(--dark); }
.service--featured .service__phase { background: var(--brand); color: var(--dark); }
.service--featured h3 { color: var(--on-dark); }
.service--featured .service__list li { color: var(--muted-light); }
.service--featured .service__list li::before { border-color: var(--brand); }

.services__cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  margin-top: 32px; padding: 28px; background: var(--paper);
  border: 1px solid var(--line); border-left: 3px solid var(--heading); border-radius: var(--radius);
}
.services__cta p { color: var(--muted); font-size: 1.04rem; }
.services__cta strong { color: var(--heading); }

@media (max-width: 479px) { .services__cta .btn { align-self: stretch; } }
@media (min-width: 720px) {
  .services__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .service--featured { grid-column: 1 / -1; }
  .service--featured .service__list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .services__cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; }
}
@media (min-width: 1100px) {
  .services__grid { grid-template-columns: 1fr 1fr 1.25fr; }
  .service--featured { grid-column: auto; }
  .service--featured .service__list { grid-template-columns: 1fr; }
}

/* ---------- Institucional ---------- */
.inst__grid { display: grid; gap: 48px; align-items: center; }
.inst__content > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; }
.inst__link { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.inst__link span { display: inline-block; transition: transform .2s; }
.inst__link:hover span { transform: translateX(4px); }

.inst__media { position: relative; max-width: 420px; width: 100%; margin-inline: auto; }
.inst__media::before { content: ""; position: absolute; inset: -16px 24px 24px -16px; background: var(--sand); border-radius: var(--radius); }
.inst__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; border-radius: var(--radius); }

@media (min-width: 720px) {
  .inst__grid { grid-template-columns: 1.2fr .8fr; gap: 48px; }
}
@media (min-width: 1024px) {
  .inst__grid { gap: 80px; }
}

/* ---------- Redes sociais ---------- */
.social { background: var(--sand); }
.social__grid { display: grid; gap: 16px; }
.social-card {
  display: flex; flex-direction: column;
  padding: 32px 28px; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.social-card:hover { border-color: var(--heading); transform: translateY(-3px); }
.social-card__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px;
  background: var(--dark); color: var(--brand); border-radius: var(--radius);
}
.social-card__icon svg { width: 32px; height: 32px; }
.social-card__platform { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.social-card__handle { font: 500 clamp(1.5rem, 1.2rem + 1vw, 1.9rem)/1.2 var(--font-display); color: var(--heading); margin: 4px 0 12px; overflow-wrap: anywhere; }
.social-card__text { color: var(--muted); font-size: .97rem; margin-bottom: 24px; }
.social-card__cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  font-weight: 600; font-size: .93rem; color: var(--btn-fg);
  background: var(--btn-bg); border-radius: var(--radius);
  transition: background-color .2s;
}
.social-card__cta span { transition: transform .2s; }
.social-card:hover .social-card__cta { background: var(--btn-hover); }
.social-card:hover .social-card__cta span { transform: translateX(4px); }

@media (max-width: 479px) { .social-card__cta { align-self: stretch; justify-content: center; } }
@media (min-width: 720px) {
  .social__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .social-card { padding: 40px 36px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0;
  font: 500 1.1rem/1.4 var(--font-display); color: var(--heading);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--brand-ink); border-bottom: 2px solid var(--brand-ink);
  transform: rotate(45deg); transition: transform .25s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item summary:hover { color: var(--brand-ink); }
.faq__item p { padding-bottom: 24px; color: var(--muted); max-width: 640px; }

@media (min-width: 960px) {
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
  .faq__grid > header { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Contato ---------- */
.contact { background: var(--dark-2); color: var(--on-dark); }
.contact__grid { display: grid; gap: 48px; align-items: stretch; }
.contact__lead { color: var(--muted-light); font-size: 1.06rem; margin-bottom: 32px; }

.contact__list { display: grid; gap: 20px; margin-bottom: 36px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--dark); color: var(--brand); border-radius: var(--radius); }
.contact__list strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); font-weight: 600; margin-bottom: 2px; }
.contact__list address, .contact__list a { color: var(--on-dark); font-size: 1.02rem; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--brand); }

.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact__map { min-height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.25); }

.map-consent {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: 100%; min-height: inherit; padding: 32px 24px; text-align: center;
  border: 1px dashed var(--line-dark); border-radius: var(--radius);
}
.map-consent .contact__icon { margin-bottom: 12px; }
.map-consent p { color: var(--muted-light); font-size: .9rem; max-width: 320px; }
.map-consent .map-consent__title { color: var(--on-dark); font: 500 1.2rem/1.3 var(--font-display); }
.map-consent a { color: var(--brand); }
.map-consent .btn { margin-top: 16px; }

@media (max-width: 479px) { .contact__actions .btn { flex: 1 1 100%; } }
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .contact__map, .contact__map iframe { min-height: 480px; }
}

/* ---------- Rodapé ---------- */
.footer { background: var(--dark-3); color: var(--muted-light); padding-top: 64px; font-size: .93rem; }
.footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer h3 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer ul a:hover { color: var(--brand); }
.footer__oab { margin-top: 16px; }
.footer__bottom { display: grid; gap: 8px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .8rem; }

@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; }
  .footer__bottom { grid-template-columns: auto 1fr; gap: 32px; }
  .footer__bottom p:last-child { text-align: right; }
}

.footer__h-gap { margin-top: 24px; }
.footer__bottom a:hover { color: var(--brand); }
.footer--compact { padding-top: 0; }

/* ---------- Páginas legais ---------- */
.legal { padding-block: clamp(40px, 6vw, 80px) var(--section-y); }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: .93rem; color: var(--heading); text-decoration: none;
}
.legal__back:hover { color: var(--brand-ink); }
.page-legal .legal__back { margin-right: 8px; }
@media (max-width: 639px) {
  .page-legal .legal__back { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: 0; }
  .page-legal .legal__back [data-i18n] { display: none; } /* no celular, só a seta */
}

.legal__grid { display: grid; gap: 40px; }
.legal__toc { display: none; }

.legal__body { max-width: 760px; min-width: 0; }
.legal__body h1 {
  font: 500 clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem)/1.1 var(--font-display);
  color: var(--heading); letter-spacing: -.01em; margin-bottom: 12px;
}
.legal__meta { color: var(--muted); font-size: .9rem; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal__body h2 {
  font: 500 1.45rem/1.25 var(--font-display); color: var(--heading);
  margin: 48px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal__body h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 24px 0 8px; }
.legal__body p, .legal__body li { color: var(--text-soft); }
.legal__body ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal__body li { margin-bottom: 8px; padding-left: 4px; }
.legal__body li::marker { color: var(--brand-ink); }
.legal__body a { color: var(--brand-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }

.legal__table { overflow-x: auto; margin: 8px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.legal__table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .93rem; }
.legal__table th, .legal__table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__table th { background: var(--dark); color: var(--on-dark); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table td:first-child { color: var(--ink); font-weight: 500; }

.legal__see { margin-top: 48px; padding: 20px 24px; background: var(--sand); border-radius: var(--radius); }
/* Aviso exibido em ES/EN: o documento legal vale em português */
.legal__lang-note { margin-bottom: 32px; padding: 16px 20px; border-left: 3px solid var(--heading); background: var(--sand); border-radius: var(--radius); }
.legal__lang-note p { color: var(--ink); font-size: .95rem; }

@media (min-width: 1024px) {
  .legal__grid { grid-template-columns: 240px 1fr; gap: 72px; align-items: start; }
  .legal__toc {
    display: block; position: sticky; top: calc(var(--header-h) + 32px);
    padding-left: 20px; border-left: 2px solid var(--line);
  }
  .legal__toc-title { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .legal__toc ol { display: grid; gap: 8px; }
  .legal__toc a { font-size: .9rem; color: var(--muted); text-decoration: none; }
  .legal__toc a:hover { color: var(--brand-ink); }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px;
  background: var(--brand-deep); color: var(--brand); border-radius: 50%;
  border: 2px solid var(--brand); /* anel creme: visível tanto no creme quanto no preto */
  transition: transform .2s, background-color .2s;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.wa-float:hover { transform: scale(1.06); background: var(--dark-hover); }
@media (min-width: 1024px) { .wa-float { right: 28px; bottom: 28px; width: 60px; height: 60px; } }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
