/* =========================================================
   Almeida & Méssas · Landing page Direito Imobiliário
   Tokens espelhados em /docs/design-system.json (implementation.css_variables).
   Paleta do site institucional almeidaemessas.com.br: grafite, cinza, bronze e âmbar.
   Estrutura inspirada na referência luisgregorioadv.com.br, com identidade própria.
   Mobile-first. Sem frameworks.
   ========================================================= */
:root {
  /* Cores (design-system.json > tokens.colors) */
  --am-primary: #303131;            /* grafite do site institucional */
  --am-primary-hover: #444545;
  --am-primary-soft: #F5ECDF;       /* âmbar bem claro */
  --am-secondary: #BC792A;          /* bronze (decorativo) */
  --am-accent: #E2A24D;             /* âmbar (títulos e ícones em fundo escuro, botão com texto escuro) */
  --am-text: #222222;
  --am-text-muted: #5A5B5B;
  --am-surface: #F7F7F6;
  --am-surface-alt: #EDEDED;
  --am-white: #FFFFFF;
  --am-surface-dark: #222222;
  --am-surface-mid: #606161;        /* cinza das seções do site institucional (somente texto branco) */
  --am-border: #D0D0D0;
  --am-border-control: #8A8B8B;
  --am-success: #206541;
  --am-success-hover: #174D32;
  --am-success-active: #123D28;
  --am-error: #A12C32;
  --am-focus: #8F5A1E;            /* bronze de texto sobre fundo claro e anel de foco */
  --am-on-dark: #F7F7F6;
  --am-disabled-bg: #E3E5E8;
  --am-disabled-text: #69717B;
  /* Extensões do projeto (composer WhatsApp) */
  --am-wa-bubble: #DCF8C6;
  --am-wa-paper: #EFE6D6;
  --am-wa-dot: #25D366;

  /* Tipografia */
  --am-font-display: "Montserrat", Arial, sans-serif;
  --am-font-body: "Montserrat", Arial, sans-serif;

  /* Raios, sombras, transições */
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;
  --sh-xs: 0 1px 3px rgba(20,20,20,.04);
  --sh-sm: 0 4px 12px rgba(20,20,20,.06);
  --sh-md: 0 12px 32px rgba(20,20,20,.09);
  --sh-lg: 0 20px 48px rgba(20,20,20,.12);
  --t-fast: 150ms ease-out;
  --t-base: 220ms ease-out;
  --t-img: 500ms ease-out;

  /* Layout */
  --gutter: 20px;
  --gap: 16px;
  --section-y: 64px;
  --head-gap: 32px;
  --card-pad: 24px;
  --header-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --gap: 20px; --section-y: 80px; } }
@media (min-width: 1024px) { :root { --gutter: 24px; --gap: 24px; --section-y: 96px; --head-gap: 48px; --card-pad: 32px; --header-h: 88px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--am-font-body); font-size: clamp(1rem, 1.1vw, 1.0625rem); line-height: 1.7; color: var(--am-text); background: var(--am-surface); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--am-primary-soft); color: var(--am-primary); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--am-primary); text-wrap: balance; }
h1, h2, h3 { font-family: var(--am-font-display); font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1.1; letter-spacing: -.025em; margin-bottom: 24px; max-width: 15ch; }
h2 { font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.18; letter-spacing: -.02em; margin-bottom: 24px; max-width: 22ch; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.4rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 12px; }
h4 { font-family: var(--am-font-body); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; color: var(--am-primary); }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--am-focus); outline-offset: 3px; border-radius: var(--r-xs); }
.section--dark :focus-visible, .cta-band :focus-visible, .banner :focus-visible, .card--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--am-accent); }
.container { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--am-primary); color: var(--am-white); padding: 12px 18px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: clamp(.75rem, .9vw, .8125rem); font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--am-focus); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--am-secondary); }
.eyebrow--light { color: var(--am-accent); }
.eyebrow--light::before { background: var(--am-accent); }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.7; color: var(--am-text-muted); max-width: 60ch; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 148px; padding: 12px 24px; border-radius: var(--r-sm); border: 1px solid transparent; font-family: var(--am-font-body); font-weight: 700; font-size: 1rem; line-height: 1.3; letter-spacing: .005em; text-decoration: none; text-align: center; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast); }
.btn .icon { width: 18px; height: 18px; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; min-width: 0; padding: 10px 18px; font-size: .9375rem; }
.btn--lg { min-height: 52px; padding: 14px 28px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--am-primary); color: var(--am-white); }
.btn--primary:hover { background: var(--am-primary-hover); }
.btn--primary:active { background: var(--am-surface-dark); }
.btn--secondary { background: var(--am-accent); color: var(--am-text); }
.btn--secondary:hover, .btn--secondary:active { background: var(--am-secondary); }
.btn--ghost { background: transparent; color: var(--am-primary); border-color: var(--am-primary); }
.btn--ghost:hover { background: var(--am-primary-soft); }
.btn--ghost:active { background: #EADBC6; }
.btn--ghost-light { background: transparent; color: var(--am-on-dark); border-color: rgba(247,247,246,.55); }
.btn--ghost-light:hover { border-color: var(--am-accent); background: rgba(247,247,246,.06); }
.btn--wa { background: var(--am-success); color: var(--am-white); }
.btn--wa:hover { background: var(--am-success-hover); }
.btn--wa:active { background: var(--am-success-active); }
.btn-group, .section__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section__actions { margin-top: var(--head-gap); }
.section__actions--center { justify-content: center; }
@media (max-width: 479px) { .btn-group .btn, .section__actions .btn { width: 100%; } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--am-primary); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t-base); }
.link-arrow:hover { text-decoration-thickness: 2px; }
.link-arrow:hover .icon { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; color: var(--am-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ícones em contêiner ---------- */
.icon-box { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--am-primary-soft); color: var(--am-primary); }
.icon-box .icon { width: 24px; height: 24px; }
.icon-box--dark { background: rgba(226,162,77,.12); color: var(--am-accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: var(--am-surface); border-bottom: 1px solid var(--am-border); transition: box-shadow var(--t-base); }
.site-header.is-scrolled { box-shadow: var(--sh-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--am-primary); }
/* Logo oficial (PNG rasterizado → WebP 2x). Proporção ~3,7:1. */
.brand__logo { display: block; height: 48px; width: auto; }
.site-footer .brand__logo { height: 60px; }
@media (min-width: 768px) { .site-header .brand__logo { height: 56px; } }
@media (min-width: 1200px) { .site-header .brand__logo { height: 64px; } }

.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; background: transparent; color: var(--am-primary); border: 1px solid var(--am-border-control); border-radius: var(--r-sm); }
.menu-toggle .icon { width: 24px; height: 24px; }

/* Drawer lateral (celular e tablet) */
.nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(360px, 100vw); display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--am-surface); box-shadow: var(--sh-lg); transform: translateX(100%); visibility: hidden; transition: transform 280ms cubic-bezier(.2,.8,.2,1), visibility 0s linear 280ms; overflow-y: auto; }
.nav.is-open { transform: none; visibility: visible; transition: transform 280ms cubic-bezier(.2,.8,.2,1); }
.nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.nav__title { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--am-focus); }
.nav__close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--am-border); border-radius: var(--r-sm); background: var(--am-white); color: var(--am-primary); }
.nav__list a { display: block; white-space: nowrap; padding: 14px 0; border-bottom: 1px solid var(--am-border); color: var(--am-primary); font-weight: 500; text-decoration: none; }
.nav__list a:hover { color: var(--am-focus); }
.nav__cta { margin-top: 16px; width: 100%; }
.nav-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(20,20,20,.65); }
.nav-overlay[hidden] { display: none; }

@media (min-width: 1200px) {
  .menu-toggle, .nav__top, .nav-overlay { display: none !important; }
  .nav { position: static; z-index: auto; width: auto; flex-direction: row; align-items: center; gap: 32px; padding: 0; background: none; box-shadow: none; transform: none; visibility: visible; transition: none; overflow: visible; }
  .nav__list { display: flex; gap: 28px; }
  .nav__list a { position: relative; padding: 8px 0; border: 0; font-size: .9375rem; color: var(--am-text); }
  .nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--am-secondary); transition: right var(--t-base); }
  .nav__list a:hover { color: var(--am-focus); }
  .nav__list a:hover::after, .nav__list a[aria-current="true"]::after { right: 0; }
  .nav__cta { margin: 0; width: auto; }
}

/* ---------- Hero ---------- */
.hero { background: var(--am-surface); padding: 40px 0 var(--section-y); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy .lead { margin-bottom: 24px; }
.hero__points { margin-bottom: 32px; }
.hero__media { position: relative; width: 100%; max-width: 460px; margin-inline: auto; }
.hero__badge { position: absolute; left: -8px; bottom: 24px; display: flex; align-items: center; gap: 12px; background: var(--am-white); color: var(--am-primary); padding: 14px 18px 14px 14px; border: 1px solid var(--am-border); border-radius: var(--r-md); box-shadow: var(--sh-md); font-size: .875rem; font-weight: 700; line-height: 1.3; }
.hero__badge-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--am-primary); color: var(--am-accent); }
.hero__badge-icon .icon { width: 20px; height: 20px; }
@media (min-width: 1024px) {
  .hero { padding-top: 72px; }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .hero__media { max-width: none; }
  .hero__badge { left: -32px; }
}

/* Faixa de informações */
.facts { display: grid; gap: 1px; margin-top: 56px; background: var(--am-border); border: 1px solid var(--am-border); border-radius: var(--r-md); overflow: hidden; }
.facts li { display: flex; gap: 14px; align-items: center; padding: 20px; background: var(--am-primary-soft); font-size: .9375rem; line-height: 1.5; color: var(--am-text-muted); }
.facts li .icon-box { background: var(--am-white); }
.facts strong { display: block; color: var(--am-primary); font-size: 1rem; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; } }

/* ---------- Placeholders de imagem ---------- */
.ph { position: relative; margin: 0; width: 100%; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(145deg, #4A4B4B 0%, var(--am-primary) 55%, var(--am-surface-dark) 100%); box-shadow: var(--sh-sm); }
.ph--hero { aspect-ratio: 4 / 5; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--3x4 { aspect-ratio: 3 / 4; }
.ph--cover { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
.ph > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform var(--t-img); }
.ph__inner { position: absolute; inset: 0; display: grid; place-items: center; background-image: repeating-linear-gradient(135deg, rgba(226,162,77,.06) 0 1px, transparent 1px 14px); }
.ph__mono { font-family: var(--am-font-display); font-weight: 700; font-size: clamp(3rem, 10vw, 6rem); color: rgba(226,162,77,.3); letter-spacing: -.02em; }
.ph__label { position: absolute; left: 12px; bottom: 12px; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); background: rgba(20,20,20,.55); padding: 4px 8px; border-radius: var(--r-xs); }

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; }
.section--compact { --section-y: 64px; }
.section--white { background: var(--am-white); }
.section--surface { background: var(--am-surface); }
.section--alt { background: var(--am-surface-alt); }
.section--soft { background: var(--am-primary-soft); }
.section--dark { background: var(--am-surface-dark); color: var(--am-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--am-on-dark); }
.section__head { max-width: 760px; margin-bottom: var(--head-gap); }
.section__head h2 { margin-bottom: 0; }
.section__head h2 + .section__intro { margin-top: 20px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center h2 { margin-inline: auto; }
.section__intro { color: var(--am-text-muted); font-size: clamp(1.0625rem, 1.2vw, 1.125rem); margin-bottom: 0; }
.subhead { margin: var(--head-gap) 0 24px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); }

/* Grades */
.grid { display: grid; gap: var(--gap); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Sem card órfão no modo de 2 colunas */
  .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--3 > :last-child:nth-child(odd) { grid-column: auto; }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Cards */
.card { display: flex; flex-direction: column; height: 100%; background: var(--am-white); border: 1px solid var(--am-border); border-radius: var(--r-md); padding: var(--card-pad); box-shadow: var(--sh-xs); transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.card > .icon-box { margin-bottom: 20px; }
.card h3 { font-size: clamp(1.125rem, 1.5vw, 1.25rem); }
.card p { color: var(--am-text-muted); margin: 0; }
@media (hover: hover) { .card:has(.link-arrow):hover, .card--image:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--am-border-control); } }
.card--dark { background: var(--am-primary); border-color: var(--am-primary); }
.card--dark h3 { color: var(--am-white); }
.card--dark p { color: rgba(247,247,246,.82); }
.card--dark .link-arrow { color: var(--am-accent); }
.card--on-dark { background: rgba(247,247,246,.04); border-color: rgba(247,247,246,.16); box-shadow: none; }
.card--on-dark p { color: rgba(247,247,246,.8); }
.card--row { flex-direction: row; gap: 16px; align-items: flex-start; }
.card--row > .icon-box { margin: 0; }
.card--row h3 { margin-bottom: 6px; }
.card--split h3 { margin-bottom: 20px; }
.card__part { padding-top: 16px; border-top: 1px solid var(--am-border); }
.card__part + .card__part { margin-top: 16px; }
.card__label { margin: 0 0 6px !important; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--am-primary) !important; }
.card__label--gold { color: var(--am-focus) !important; }
.card--image { padding: 0; overflow: hidden; }
.card__media { border-radius: 0; box-shadow: none; }
.card--image:hover .card__media > img { transform: scale(1.025); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--card-pad); }
.card__category { margin: 0 0 8px !important; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--am-focus) !important; }

/* Lista com marcadores */
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.checklist .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--am-focus); stroke-width: 2; }

/* Painéis informativos */
.panel { height: 100%; background: var(--am-surface); border: 1px solid var(--am-border); border-radius: var(--r-md); padding: var(--card-pad); }
.panel > .icon-box { margin-bottom: 20px; }
.panel h3 { margin-bottom: 20px; }

/* Números em cards */
.numbered { counter-reset: none; }
.numbered__n { display: block; margin-bottom: 16px; font-family: var(--am-font-display); font-size: clamp(1.75rem, 2.4vw, 2.125rem); font-weight: 700; line-height: 1; color: var(--am-focus); font-variant-numeric: lining-nums; }

/* Composições em duas colunas */
.split { display: grid; gap: 40px; align-items: center; }
.split__copy > p { color: var(--am-text-muted); max-width: 65ch; }
@media (min-width: 1024px) {
  .split { gap: 64px; }
  .split--6-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split__media--sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}
.quote { margin: 32px 0 0; padding-left: 24px; border-left: 3px solid var(--am-secondary); font-family: var(--am-font-display); font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 500; font-style: italic; line-height: 1.5; color: var(--am-primary); }

/* ---------- Faixa editorial ---------- */
.banner { position: relative; display: grid; place-items: center; min-height: clamp(360px, 46vw, 520px); padding: var(--section-y) 0; overflow: hidden; background: var(--am-surface-dark); color: var(--am-on-dark); text-align: center; isolation: isolate; }
.banner__media { z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20,20,20,.66); }
.banner .eyebrow { justify-content: center; }
.banner h2 { max-width: 22ch; margin: 0 auto; color: var(--am-white); }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 32px; }
.timeline__step { position: relative; padding-left: 68px; }
.timeline__step::before { content: ""; position: absolute; left: 23px; top: 56px; bottom: -32px; width: 2px; background: rgba(48,49,49,.16); }
.timeline__step:last-child::before { display: none; }
.timeline__dot { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--am-primary); color: var(--am-accent); }
.timeline__dot .icon { width: 22px; height: 22px; }
.timeline__n { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--am-focus); }
.timeline__step h3 { font-size: clamp(1.125rem, 1.5vw, 1.25rem); margin-bottom: 8px; }
.timeline__step p { color: var(--am-text-muted); margin: 0; }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .timeline__step { padding: 72px 8px 0 0; }
  .timeline__step::before { left: 60px; right: -12px; top: 23px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- CTA intermediário ---------- */
.cta-band { background: var(--am-surface-mid); color: var(--am-on-dark); padding: 64px 0; }
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
.cta-band h2 { color: var(--am-white); margin-bottom: 12px; font-size: clamp(1.625rem, 2.6vw, 2.25rem); max-width: 26ch; }
.cta-band p { color: rgba(247,247,246,.8); margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .cta-band__actions .btn { width: 100%; } }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: minmax(0, 8fr) auto; gap: 48px; } .cta-band__actions { justify-content: flex-end; } }

/* ---------- Tabela comparativa ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--am-border); border-radius: var(--r-md); background: var(--am-white); -webkit-overflow-scrolling: touch; }
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; line-height: 1.6; }
.table caption { caption-side: top; padding: 16px 20px; text-align: left; font-size: .875rem; color: var(--am-text-muted); border-bottom: 1px solid var(--am-border); }
.table th, .table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--am-border); }
.table thead th { background: var(--am-primary); color: var(--am-white); font-weight: 700; border-bottom: 0; }
.table tbody th { width: 22%; color: var(--am-primary); font-weight: 700; }
.table tbody tr:nth-child(even) { background: var(--am-surface-alt); }
.table tbody tr:last-child > * { border-bottom: 0; }
@media (hover: hover) { .table tbody tr:hover { background: var(--am-primary-soft); } }
.note { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; font-size: .875rem; color: var(--am-text-muted); }
.note .icon { width: 16px; height: 16px; color: var(--am-focus); }

/* ---------- O escritório ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 28px 0 8px; }
.info-grid div { padding: 14px 0; border-top: 1px solid var(--am-border); }
.info-grid dt { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--am-focus); }
.info-grid dd { margin: 2px 0 0; font-weight: 500; color: var(--am-primary); line-height: 1.5; }
.team__title { margin-top: 32px; font-size: clamp(1.25rem, 1.7vw, 1.4rem); }
.team { display: grid; gap: 16px; }
.person { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: start; align-content: start; padding: 18px; border: 1px solid var(--am-border); border-radius: var(--r-md); background: var(--am-surface); }
.person__photo { border-radius: var(--r-sm); }
.person__photo .ph__mono { font-size: 2.6rem; }
.person__photo .ph__label { display: none; }
.person__name { color: var(--am-primary); margin-bottom: 2px; }
.person__role { font-size: .875rem; font-weight: 700; color: var(--am-focus); margin-bottom: 8px; }
.person__bio { font-size: .9375rem; color: var(--am-text-muted); margin: 0; }
.person__creds { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--am-border); font-size: .875rem; line-height: 1.5; color: var(--am-text); }
.person__creds li { display: flex; gap: 8px; align-items: flex-start; }
.person__creds .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--am-focus); stroke-width: 2; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .person { grid-template-columns: 1fr; } .person__photo { width: 100%; } }

/* ---------- Localização ---------- */
.map { display: grid; gap: var(--gap); margin-top: var(--gap); }
.map__frame { position: relative; min-height: 320px; border: 1px solid var(--am-border); border-radius: var(--r-md); overflow: hidden; background: var(--am-primary-soft) repeating-linear-gradient(135deg, rgba(48,49,49,.04) 0 1px, transparent 1px 16px); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__gate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: var(--am-text-muted); font-size: .9375rem; }
.map__gate p { margin: 0; }
.map__gate > .icon { width: 36px; height: 36px; color: var(--am-primary); }
.map__card { background: var(--am-white); border: 1px solid var(--am-border); border-radius: var(--r-md); padding: var(--card-pad); }
.map__name { font-family: var(--am-font-display); font-size: 1.1875rem; font-weight: 700; line-height: 1.2; color: var(--am-primary); }
.map__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (min-width: 1024px) { .map { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .map__frame { min-height: 380px; } }

/* Perfil da Empresa no Google (dentro do card de localização) */
.gbp { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--am-border); }
.gbp__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--am-primary-soft); color: var(--am-primary); }
.gbp__icon .icon { width: 22px; height: 22px; }
.gbp__title { margin: 0; font-weight: 700; color: var(--am-primary); line-height: 1.4; }
.gbp__text { margin: 2px 0 0; font-size: .9375rem; line-height: 1.55; color: var(--am-text-muted); }
.gbp__link { padding-top: 8px; }
.contact-list a, .footer__nap a { color: inherit; text-underline-offset: 3px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; }
.footer__social a { color: var(--am-accent); text-underline-offset: 3px; }

.contact-list { display: grid; gap: 12px; margin-top: 20px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.contact-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--am-focus); }

/* ---------- FAQ ---------- */
.faq__head .section__intro { margin: 20px 0 28px; }
@media (min-width: 1024px) { .faq__head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq__list { display: grid; border: 1px solid var(--am-border); border-radius: var(--r-md); overflow: hidden; background: var(--am-white); }
.faq__item + .faq__item { border-top: 1px solid var(--am-border); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 20px 24px; transition: background-color var(--t-fast); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--am-primary-soft); }
.faq__item summary:focus-visible { outline-offset: -3px; }
.faq__item summary h3 { margin: 0; font-size: clamp(1rem, 1.3vw, 1.0625rem); line-height: 1.45; }
.faq__item summary::after { content: ""; flex: none; width: 24px; height: 24px; background: var(--am-primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform var(--t-base); }
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__answer { padding: 0 24px 22px; color: var(--am-text-muted); }
.faq__answer p { margin: 0; max-width: 72ch; }

/* ---------- Contato / composer ---------- */
.contact__copy > p { color: var(--am-text-muted); }
.composer-card { background: var(--am-white); border: 1px solid var(--am-border); border-radius: var(--r-md); padding: 24px; box-shadow: var(--sh-md); }
.composer-card__title { font-size: clamp(1.25rem, 1.7vw, 1.4rem); margin-bottom: 20px; }
@media (min-width: 1024px) { .composer-card { padding: 32px; } .contact { align-items: start; } }

.chips { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: .875rem; font-weight: 700; color: var(--am-primary); margin-bottom: 10px; padding: 0; }
.chips legend span { font-weight: 400; color: var(--am-text-muted); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--am-border-control); border-radius: var(--r-sm); font-size: .9375rem; font-weight: 500; color: var(--am-text); background: var(--am-white); cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast); user-select: none; }
.chip span .icon { width: 1.05em; height: 1.05em; color: var(--am-focus); }
.chip:hover span { border-color: var(--am-primary); }
.chip input:checked + span { background: var(--am-primary); border-color: var(--am-primary); color: var(--am-white); }
.chip input:checked + span .icon { color: var(--am-accent); }
.chip input:focus-visible + span { outline: 3px solid var(--am-focus); outline-offset: 2px; }
.preview { margin: 4px 0 20px; }
.preview__label { font-size: .875rem; font-weight: 700; color: var(--am-primary); margin-bottom: 8px; }
.preview__box { background: var(--am-wa-paper); border-radius: var(--r-md); padding: 16px; background-image: radial-gradient(rgba(143,90,30,.08) 1px, transparent 1px); background-size: 12px 12px; }
.preview__bubble { position: relative; margin: 0 0 0 auto; max-width: 92%; width: fit-content; background: var(--am-wa-bubble); color: #111B21; padding: 10px 14px; border-radius: 10px 0 10px 10px; font-size: .9375rem; line-height: 1.5; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.preview__bubble::after { content: ""; position: absolute; top: 0; right: -8px; border-width: 0 0 10px 8px; border-style: solid; border-color: transparent transparent transparent var(--am-wa-bubble); }
.composer__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: .875rem; line-height: 1.4; color: var(--am-text-muted); text-align: center; }
.composer__note .icon { width: 14px; height: 14px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--am-surface-dark); color: rgba(247,247,246,.8); padding: 80px 0 96px; font-size: .9375rem; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 40px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { max-width: 36ch; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__title { margin: 0 0 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--am-accent); }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--am-accent); text-decoration: underline; text-underline-offset: 3px; }
.footer__nap { line-height: 1.7; }
.footer__nap strong, .footer__legal strong { color: var(--am-on-dark); }
.footer__legal { padding-top: 24px; border-top: 1px solid rgba(247,247,246,.18); font-size: .875rem; color: rgba(247,247,246,.7); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; } }
@media (max-width: 767px) { .footer__col + .footer__col, .footer__brand + .footer__col { padding-top: 24px; border-top: 1px solid rgba(247,247,246,.12); } }

/* ---------- Botão flutuante ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: var(--r-pill); background: var(--am-success); color: var(--am-white); box-shadow: var(--sh-lg); font-weight: 700; transition: transform var(--t-fast), background-color var(--t-fast); }
.fab:hover { background: var(--am-success-hover); transform: translateY(-2px); }
.fab .icon { width: 24px; height: 24px; }
@media (max-width: 479px) { .fab__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .fab { width: 56px; height: 56px; padding: 0; justify-content: center; } }

/* ---------- Toast mobile ---------- */
.toast { position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 4px; background: var(--am-white); border: 1px solid var(--am-border); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 6px 6px 6px 12px; animation: toastIn .35s ease-out; }
.toast[hidden] { display: none; }
.toast__open { flex: 1; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 0; text-align: left; font-size: .875rem; font-weight: 700; color: var(--am-primary); }
.toast__open .icon { color: var(--am-success); }
.toast__close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--am-text-muted); border-radius: 50%; }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Pop-up ---------- */
.popup { padding: 0; border: 0; background: transparent; width: min(540px, calc(100% - 32px)); max-width: 540px; max-height: calc(100dvh - 32px); overflow: visible; color: var(--am-text); }
.popup::backdrop { background: rgba(20,20,20,.65); }
.popup[open] { animation: popIn .28s ease-out; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.popup__card { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--am-surface) 0, var(--am-white) 160px); box-shadow: var(--sh-lg); overflow: hidden; border-top: 3px solid var(--am-secondary); }
.popup__scroll { overflow-y: auto; padding: 24px 24px 0; overscroll-behavior: contain; }
.popup__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.popup__avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--am-primary); display: grid; place-items: center; border: 2px solid var(--am-white); box-shadow: 0 0 0 1px var(--am-secondary); }
.popup__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.popup__avatar-ph { width: 74%; height: 74%; object-fit: contain; }
.popup__online { position: absolute; right: 1px; bottom: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--am-wa-dot); border: 2px solid var(--am-white); }
.popup__who { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.popup__name { font-family: var(--am-font-display); font-size: 1.0625rem; font-weight: 700; color: var(--am-primary); }
.popup__role { font-size: .875rem; color: var(--am-text-muted); margin-top: 2px; }
.popup__close { align-self: flex-start; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--am-border); background: var(--am-white); color: var(--am-primary); transition: background-color var(--t-fast); }
.popup__close:hover { background: var(--am-primary-soft); }
.popup__title { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); max-width: none; margin-bottom: 8px; }
.popup__sub { color: var(--am-text-muted); font-size: .9375rem; margin-bottom: 20px; }
.popup .composer__footer { position: sticky; bottom: 0; margin: 0 -24px; padding: 14px 24px 18px; background: var(--am-white); border-top: 1px solid var(--am-border); }
@media (max-width: 767px) {
  .popup { width: calc(100% - 16px); max-height: calc(100dvh - 16px); margin: auto; }
  .popup__card { max-height: calc(100dvh - 16px); height: calc(100dvh - 16px); }
  .popup__scroll { flex: 1; padding: 18px 18px 0; }
  .popup .composer__footer { margin: 0 -18px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
}

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 720px; margin-inline: auto; display: grid; gap: 12px; background: var(--am-white); color: var(--am-text); border: 1px solid var(--am-border); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 16px 18px; font-size: .9375rem; line-height: 1.55; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie a { color: var(--am-primary); font-weight: 500; }
.cookie__actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (min-width: 640px) { .cookie { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Barra superior, header e hero escuros (padrão do site institucional) ---------- */
.topbar { display: none; background: var(--am-accent); color: var(--am-text); font-size: .8125rem; font-weight: 500; }
.topbar__inner { display: flex; justify-content: center; gap: 24px; min-height: 32px; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar .icon { width: 14px; height: 14px; }
@media (min-width: 768px) { .topbar { display: block; } }

.site-header { background: var(--am-primary); border-bottom: 1px solid rgba(247,247,246,.08); }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(20,20,20,.25); }
.site-header .menu-toggle { color: var(--am-on-dark); border-color: rgba(247,247,246,.35); }
.site-header :focus-visible { outline-color: var(--am-accent); }
.nav { background: var(--am-primary); }
.nav__title { color: var(--am-accent); }
.nav__close { background: transparent; color: var(--am-on-dark); border-color: rgba(247,247,246,.25); }
.nav__list a { color: var(--am-on-dark); border-bottom-color: rgba(247,247,246,.12); }
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--am-accent); }
@media (min-width: 1200px) {
  .site-header .nav { background: none; }
  .site-header .nav__list a { color: var(--am-on-dark); }
  .site-header .nav__list a:hover, .site-header .nav__list a[aria-current="true"] { color: var(--am-accent); }
  .site-header .nav__list a::after { background: var(--am-accent); }
}

.hero { background: var(--am-primary); color: var(--am-on-dark); }
.hero h1 { color: var(--am-white); }
.hero .eyebrow { color: var(--am-accent); }
.hero .eyebrow::before { background: var(--am-accent); }
.hero .lead { color: rgba(247,247,246,.82); }
.hero .checklist .icon { color: var(--am-accent); }
.hero :focus-visible { outline-color: var(--am-accent); }
.hero .ph { box-shadow: 0 20px 48px rgba(0,0,0,.35); }
.hero .facts { background: rgba(247,247,246,.12); border-color: rgba(247,247,246,.12); }
.hero .facts li { background: #3A3B3B; color: rgba(247,247,246,.75); }
.hero .facts li .icon-box { background: rgba(226,162,77,.14); color: var(--am-accent); }
.hero .facts strong { color: var(--am-white); }

/* ---------- Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 450ms ease-out, transform 450ms ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
