/* Brito's Contabilidade — estilos
   Paleta: grafite, creme e dourado (do logotipo) + verde-floresta profundo como cor de apoio.
   Para trocar uma cor do site inteiro, altere as variáveis do bloco :root. */

:root {
  --ink: #16140f;            /* grafite quase preto */
  --ink-soft: #26231d;
  --forest: #0e2420;         /* verde-floresta profundo (cor de apoio) */
  --forest-2: #17382f;
  --cream: #f5f1e9;          /* fundo claro */
  --cream-deep: #ece4d3;
  --paper: #fffdf9;
  --gold: #b08a3e;
  --gold-text: #7f5b17;      /* dourado para texto sobre claro (contraste AA) */
  --gold-bright: #dcb86e;    /* dourado para texto sobre escuro */
  --champagne: #eadcb9;
  --gold-grad: linear-gradient(135deg, #b98a35 0%, #ecd493 48%, #b98a35 100%);
  --text: #2b2822;
  --muted: #5d574c;
  --line: rgba(22, 20, 15, .13);
  --line-dark: rgba(220, 184, 110, .26);
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(22, 20, 15, .4);
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1200px;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.68; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; margin: 0; letter-spacing: -.012em; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold-bright); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold-bright); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }

/* tipografia de seção */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.dark .eyebrow, .hero .eyebrow { color: var(--gold-bright); }
.section-title { font-size: clamp(2.2rem, 5vw, 3.9rem); margin-bottom: 20px; }
.section-title em { color: var(--gold-text); }
.dark .section-title em { color: var(--gold-bright); }
.section-lead { font-size: 1.14rem; color: var(--muted); max-width: 38em; }
.dark .section-lead { color: rgba(245, 241, 233, .78); }

/* ornamento inspirado no logotipo */
.orn { display: flex; align-items: center; gap: 14px; color: var(--gold); margin: 6px 0 28px; }
.orn::before, .orn::after { content: ""; height: 1px; width: 56px; background: linear-gradient(90deg, transparent, currentColor); }
.orn::after { background: linear-gradient(270deg, transparent, currentColor); }
.orn svg { width: 26px; height: 26px; flex: none; }
.orn.left { margin-left: 0; }

/* granulado sutil em seções escuras */
.dark, .hero { position: relative; isolation: isolate; }
.dark::after, .hero::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .7; pointer-events: none; z-index: -1; mix-blend-mode: screen; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 30px; border-radius: 999px; border: 1.5px solid transparent; font: 700 .9rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold-grad); background-size: 160% 100%; background-position: 0 0; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(220, 184, 110, .8); }
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 18px 36px -14px rgba(220, 184, 110, .95); }
.btn-ghost { border-color: rgba(245, 241, 233, .4); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--forest); }
.btn[hidden] { display: none; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(22, 20, 15, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); transition: background-color .3s ease; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; transition: min-height .3s ease; }
.is-scrolled .header-row { min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { width: auto; height: 80px; transition: height .3s ease; }
.is-scrolled .brand img { height: 64px; }
.brand-text { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: .03em; line-height: 1; }
.brand-text small { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .36em; text-transform: uppercase; color: var(--gold-bright); margin-top: 5px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: rgba(245, 241, 233, .84); text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .04em; padding-block: 8px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 10px 24px; font-size: .78rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--cream); min-width: 48px; min-height: 48px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 24px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(245, 241, 233, .08); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
}

/* ---------- Abertura ---------- */
.hero { background: radial-gradient(900px 560px at 82% 30%, rgba(23, 56, 47, .85) 0%, transparent 70%), radial-gradient(700px 420px at 8% 100%, rgba(176, 138, 62, .16) 0%, transparent 70%), var(--ink); color: var(--cream); overflow: hidden; }
.hero-mono { position: absolute; right: -6%; top: 50%; translate: 0 -50%; width: min(62vw, 760px); opacity: .07; z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(48px, 8vw, 112px); }
.hero h1 { font-size: clamp(3rem, 7.6vw, 6.3rem); line-height: .98; font-weight: 500; margin-bottom: 28px; letter-spacing: -.02em; }
.hero h1 em { color: var(--gold-bright); font-weight: 500; }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(245, 241, 233, .82); max-width: 30em; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: .92rem; color: rgba(245, 241, 233, .72); padding-top: 26px; border-top: 1px solid var(--line-dark); max-width: 34em; }
.hero-meta li { display: flex; align-items: center; gap: 10px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--gold-bright); flex: none; }
.hero-photo { position: relative; justify-self: end; width: min(100%, 520px); margin: 0; }
.arch { border-radius: 999px 999px 28px 28px; overflow: hidden; border: 1px solid var(--gold); padding: 12px; background: linear-gradient(180deg, rgba(220, 184, 110, .22), rgba(220, 184, 110, .03)); will-change: transform; }
.arch img { border-radius: 999px 999px 18px 18px; width: 100%; aspect-ratio: 4 / 5.3; object-fit: cover; object-position: 50% 24%; }
.hero-photo::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-top: 1px solid var(--gold-bright); border-right: 1px solid var(--gold-bright); border-radius: 0 40px 0 0; opacity: .6; }
.hero-badge { position: absolute; left: -28px; bottom: 44px; background: var(--paper); color: var(--ink); padding: 16px 24px; border-radius: 16px; box-shadow: var(--shadow); border-left: 3px solid var(--gold); }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; font-weight: 600; }
.hero-badge span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; width: min(82%, 340px); order: -1; }
  .hero-badge { left: auto; right: -10px; bottom: 22px; padding: 12px 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* faixa de serviços */
.marquee { background: var(--gold-grad); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(22, 20, 15, .25); }
.marquee-track { display: flex; width: max-content; animation: scrollx 46s linear infinite; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .04em; padding: 14px 0; white-space: nowrap; display: flex; align-items: center; }
.marquee li::after { content: "◆"; font-size: .55rem; margin-inline: 30px; opacity: .65; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Serviços ---------- */
.services { background: var(--cream); }
.services-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 72px; align-items: end; margin-bottom: 64px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px 32px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(176, 138, 62, .5); }
.service-card:hover::before { transform: scaleX(1); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.service-icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold-text); background: linear-gradient(180deg, rgba(220, 184, 110, .16), transparent); }
.service-icon svg { width: 26px; height: 26px; }
.service-num { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-text); font-weight: 600; letter-spacing: .1em; }
.service-card h3 { font-size: 1.9rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }
.service-card ul { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.service-card li { font-size: .95rem; padding: 6px 0 6px 22px; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 1.08em; width: 10px; height: 1px; background: var(--gold); }
.service-card.featured { background: linear-gradient(160deg, var(--forest-2), var(--forest) 70%); color: var(--cream); border-color: var(--forest); }
.service-card.featured .service-icon { border-color: var(--gold-bright); color: var(--gold-bright); }
.service-card.featured .service-num { color: var(--gold-bright); }
.service-card.featured p { color: rgba(245, 241, 233, .8); }
.service-card.featured ul { border-color: var(--line-dark); }
.service-card.featured li::before { background: var(--gold-bright); }
.services-foot { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 30px; }
.services-foot p { margin: 0; color: var(--muted); max-width: 44em; }
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } .services-head { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Sobre ---------- */
.about { background: var(--paper); border-block: 1px solid var(--line); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 7vw, 104px); align-items: center; }
.collage { position: relative; padding: 0 0 80px 0; max-width: 520px; }
.collage .big { border-radius: 999px 999px 24px 24px; overflow: hidden; border: 1px solid var(--gold); padding: 10px; width: 78%; }
.collage .big img { border-radius: 999px 999px 16px 16px; aspect-ratio: 3 / 4.2; object-fit: cover; width: 100%; object-position: 50% 30%; }
.collage .small { position: absolute; right: 0; bottom: 0; width: 52%; border-radius: 18px; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.collage .small img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; width: 100%; }
.collage figcaption { position: absolute; left: 0; bottom: 6px; width: 44%; }
.collage figcaption strong { font-family: var(--font-display); font-size: 1.6rem; display: block; line-height: 1.1; }
.collage figcaption span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 34px; }
.pillars li { padding: 18px 0; border-top: 1px solid var(--line); }
.pillars strong { display: block; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 2px; }
.pillars span { color: var(--muted); font-size: .97rem; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } .collage { margin-inline: auto; } .pillars { grid-template-columns: 1fr; } }

/* ---------- Missão, visão e valores ---------- */
.mvv { background: radial-gradient(800px 500px at 100% 0%, var(--forest-2) 0%, transparent 70%), var(--forest); color: var(--cream); overflow: hidden; }
.mvv-head { max-width: 44rem; margin-bottom: 56px; }
.mvv-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-bottom: 22px; }
.mvv-card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(30px, 4.4vw, 52px); background: rgba(255, 255, 255, .025); position: relative; overflow: hidden; }
.mvv-card::before { content: "“"; position: absolute; right: 26px; top: -18px; font-family: var(--font-display); font-size: 9rem; line-height: 1; color: var(--gold); opacity: .22; }
.mvv-card h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 18px; font-weight: 700; }
.mvv-card p { font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.28; margin: 0; font-weight: 500; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; background: rgba(0, 0, 0, .12); }
.values li { padding: 30px 24px 32px; border-right: 1px solid var(--line-dark); transition: background-color .3s ease; }
.values li:hover { background: rgba(220, 184, 110, .07); }
.values li:last-child { border-right: 0; }
.values .v-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-bright); letter-spacing: .1em; }
.values h4 { font-size: 1.55rem; margin: 12px 0 8px; }
.values p { margin: 0; font-size: .94rem; color: rgba(245, 241, 233, .72); }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, 1fr); } .values li { border-bottom: 1px solid var(--line-dark); } .values li:nth-child(2n) { border-right: 0; } .values li:last-child { grid-column: 1 / -1; border-bottom: 0; } }
@media (max-width: 760px) { .mvv-top { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } .values li { border-right: 0; } }

/* ---------- Notícias ---------- */
.news { background: var(--cream-deep); }
.news-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 48px; margin-bottom: 52px; }
.news-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; }
.news-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card.lead { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 18px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
.news-card.lead .news-meta { color: var(--gold-bright); }
.tag { background: var(--gold-grad); color: var(--ink); padding: 5px 12px; border-radius: 999px; letter-spacing: .1em; }
.news-card h3 { font-size: 1.65rem; margin-bottom: 14px; }
.news-card.lead h3 { font-size: 2.1rem; }
.news-card p { color: var(--muted); font-size: .99rem; }
.news-card.lead p { color: rgba(245, 241, 233, .8); }
.news-card ul { margin: 0 0 18px; }
.news-card li { padding: 5px 0 5px 20px; position: relative; font-size: .96rem; }
.news-card li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 1px; background: var(--gold-bright); }
.news-link { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--gold-text); display: inline-flex; gap: 8px; align-items: center; border-top: 1px solid var(--line); }
.news-card.lead .news-link { color: var(--gold-bright); border-color: var(--line-dark); }
.news-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-note { margin-top: 30px; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.news-note p { margin: 0; max-width: 48em; }
@media (max-width: 980px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Como solicitar ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; position: relative; }
.step { padding: 8px 36px 8px 0; position: relative; }
.step + .step { padding-left: 36px; border-left: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-size: 5rem; line-height: .9; font-weight: 500; font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.75rem; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }
.steps-cta { margin-top: 52px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 36px; } .step, .step + .step { padding: 0; border: 0; } .step + .step { padding-top: 36px; border-top: 1px solid var(--line); } }

/* ---------- Cartilha ---------- */
.cartilha { background: linear-gradient(180deg, var(--cream), var(--cream-deep)); }
.cartilha-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 88px); align-items: center; background: var(--ink); color: var(--cream); border-radius: 32px; padding: clamp(32px, 5.4vw, 72px); box-shadow: var(--shadow); position: relative; overflow: hidden; isolation: isolate; }
.cartilha-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 56, 47, .9), transparent 70%); z-index: -1; }
.book { aspect-ratio: 3 / 4; max-width: 310px; width: 100%; margin-inline: auto; border-radius: 6px 16px 16px 6px; background: linear-gradient(150deg, var(--forest-2), var(--forest)); color: var(--cream); padding: 30px 28px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: -10px 0 0 -4px var(--ink-soft), 0 36px 60px -20px rgba(0, 0, 0, .75); transform: rotate(-3deg); border-left: 7px solid var(--gold); position: relative; overflow: hidden; transition: transform .5s ease; }
.cartilha-card:hover .book { transform: rotate(0deg) scale(1.02); }
.book::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line-dark); border-radius: 4px 10px 10px 4px; pointer-events: none; }
.book small { font-size: .6rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-bright); }
.book strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; font-weight: 500; display: block; }
.book strong em { color: var(--gold-bright); }
.book span { font-size: .78rem; letter-spacing: .1em; color: rgba(245, 241, 233, .7); }
.book img { width: 48px; }
.cartilha-card h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin-bottom: 18px; }
.cartilha-card .lead { color: rgba(245, 241, 233, .8); margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips li { border: 1px solid var(--line-dark); color: var(--champagne); border-radius: 999px; padding: 6px 15px; font-size: .86rem; }
.cartilha-note { font-size: .88rem; color: rgba(245, 241, 233, .6); margin: 20px 0 0; }
@media (max-width: 860px) { .cartilha-card { grid-template-columns: 1fr; } .book { max-width: 230px; } }

/* ---------- Perguntas frequentes ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; position: relative; transition: color .2s; }
.faq-list summary:hover { color: var(--gold-text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-family: var(--font-body); font-weight: 300; font-size: 2rem; color: var(--gold-text); transition: rotate .3s ease; }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details > div { padding: 0 0 26px; color: var(--muted); max-width: 40em; }
.faq-list details > div p:last-child { margin-bottom: 0; }
.faq-list ul { list-style: none; }
.faq-list ul li { padding: 3px 0 3px 22px; position: relative; }
.faq-list ul li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 1px; background: var(--gold); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Formulário ---------- */
.contact { background: radial-gradient(900px 560px at 0% 100%, var(--forest-2) 0%, transparent 70%), var(--ink); color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 20px; }
.contact-info { margin-top: 40px; display: grid; gap: 20px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; color: rgba(245, 241, 233, .85); }
.contact-info .ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; flex: none; color: var(--gold-bright); }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); font-weight: 700; }
.contact-info a { text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.contact-info a:hover { color: var(--gold-bright); }
.form-card { background: var(--paper); color: var(--text); border-radius: 28px; padding: clamp(26px, 4.4vw, 52px); box-shadow: 0 50px 90px -34px rgba(0, 0, 0, .7); border-top: 3px solid var(--gold); }
.form-card h3 { font-size: 2.2rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .98rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
label, .label { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 7px; color: var(--ink); letter-spacing: .02em; }
label .opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; min-height: 52px; padding: 12px 15px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #d3cab8; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #a39a85; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 4px rgba(176, 138, 62, .24); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #a32222; }
.error-msg { color: #a32222; font-size: .86rem; margin-top: 6px; display: none; font-weight: 500; }
.field.invalid .error-msg { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--gold-text); flex: none; }
.consent a { color: var(--gold-text); font-weight: 600; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 26px; }
.form-actions .btn { width: 100%; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f1e3; color: #20431a; border: 1px solid #b6d3ab; }
.form-status.warn { background: #fbf1da; color: #5b4310; border: 1px solid #e3cd96; }
.form-status.err { background: #f8e4e4; color: #6d1818; border: 1px solid #e3b4b4; }
.form-status a { color: inherit; font-weight: 700; }
.form-status .btn-wa { display: flex; width: 100%; justify-content: center; margin: 14px 0 10px; color: #fff; }
.form-status small { display: block; font-size: .85rem; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.site-footer { background: #0d0c09; color: rgba(245, 241, 233, .75); padding-block: 72px 36px; font-size: .95rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(245, 241, 233, .1); }
.footer-grid h2 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 18px; font-weight: 700; }
.footer-brand img { width: 124px; margin-bottom: 16px; }
.footer-brand p { max-width: 24em; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; color: var(--champagne); font-style: italic; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-grid li { margin-bottom: 9px; }
.legal { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; font-size: .84rem; color: rgba(245, 241, 233, .55); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 96px; } }

/* ---------- WhatsApp flutuante e barra fixa do celular ---------- */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1f8f4d; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); text-decoration: none; }
.float-wa[hidden] { display: none; }
.float-wa svg { width: 28px; height: 28px; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; position: fixed; inset: auto 0 0 0; z-index: 80; background: rgba(22, 20, 15, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .35s ease; }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { width: 100%; min-height: 50px; }
  .float-wa { bottom: 84px; }
}

/* ---------- Página de privacidade ---------- */
.doc { padding-block: 64px 96px; max-width: 760px; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 14px; }
.doc h2 { font-size: 1.8rem; margin: 42px 0 10px; }
.doc li { margin-bottom: 8px; padding-left: 22px; position: relative; }
.doc li::before { content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 1px; background: var(--gold); }
.doc .draft { background: #fbf1da; border: 1px solid #e3cd96; color: #5b4310; padding: 14px 18px; border-radius: 12px; font-size: .95rem; }

/* ---------- Animações suaves ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal[data-delay="2"] { transition-delay: .24s; }
.js .reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .service-card:hover, .news-card:hover { transform: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track ul[aria-hidden="true"] { display: none; }
  .progress { display: none; }
}

@media print { .site-header, .float-wa, .form-card, .mobile-bar, .progress { display: none; } body { background: #fff; } }

/* ---------- Ícones de redes (Instagram e WhatsApp) ---------- */
.social { display: inline-flex; align-items: center; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--gold-bright); display: inline-grid; place-items: center; text-decoration: none; background: rgba(255, 255, 255, .03); transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--gold-grad); color: var(--ink); border-color: transparent; transform: translateY(-2px); }
.icon-btn.wa:hover { background: #1f8f4d; color: #fff; }
.icon-btn[hidden] { display: none; }
.nav .social { gap: 8px; }
.nav .icon-btn { width: 42px; height: 42px; }
.nav .icon-btn svg { width: 19px; height: 19px; }
.contact-info .social.big .icon-btn { width: 56px; height: 56px; }
.contact-info .social.big .icon-btn svg { width: 26px; height: 26px; }
.hero-actions .social { margin-left: 4px; }
.footer-grid .social { margin-top: 4px; }
.footer-grid .icon-btn:hover { color: var(--ink); }
@media (max-width: 980px) { .nav .social { padding: 18px 0 0; } }
@media (max-width: 880px) { .hero-actions .social { flex: 1 1 100%; justify-content: center; margin: 4px 0 0; } }

/* garante que elementos com o atributo hidden realmente fiquem escondidos */
[hidden] { display: none !important; }

/* ---------- Faixa de destaques na abertura ---------- */
.hero-teasers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); margin-top: clamp(-40px, -3vw, -8px); }
.hero-teasers li + li { border-left: 1px solid var(--line-dark); }
.hero-teasers a { display: block; padding: 22px 26px 26px; text-decoration: none; position: relative; transition: background-color .3s ease; }
.hero-teasers a:hover { background: rgba(220, 184, 110, .08); }
.hero-teasers small { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); font-weight: 700; margin-bottom: 8px; }
.hero-teasers span { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: var(--cream); display: block; padding-right: 26px; }
.hero-teasers a::after { content: "→"; position: absolute; right: 22px; bottom: 24px; color: var(--gold-bright); transition: transform .3s ease; }
.hero-teasers a:hover::after { transform: translateX(5px); }
@media (max-width: 760px) { .hero-teasers { grid-template-columns: 1fr; margin-top: 0; } .hero-teasers li + li { border-left: 0; border-top: 1px solid var(--line-dark); } .hero-teasers a { padding: 18px 4px 20px; } }

/* ---------- Notícias: mais de três itens ---------- */
.news-grid.many { grid-template-columns: 1.25fr 1fr 1fr; }
.news-grid.many .news-card.lead { grid-row: span 2; }
@media (max-width: 980px) { .news-grid.many { grid-template-columns: 1fr; } .news-grid.many .news-card.lead { grid-row: auto; } }

/* ---------- Aviso de cookies (só aparece se houver medição configurada) ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 760px; margin-inline: auto; background: var(--ink); color: var(--cream); border: 1px solid var(--line-dark); border-radius: 20px; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.cookie-banner p { margin: 0; font-size: .9rem; flex: 1 1 320px; color: rgba(245, 241, 233, .85); }
.cookie-banner a { color: var(--gold-bright); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { min-height: 46px; padding: 10px 24px; font-size: .78rem; }
@media (max-width: 760px) { .cookie-banner { bottom: 76px; } .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }

/* ---------- Logo maior no celular ---------- */
@media (max-width: 980px) { .header-row { min-height: 88px; } .brand img { height: 66px; } .is-scrolled .header-row { min-height: 72px; } .is-scrolled .brand img { height: 54px; } }

/* ---------- Mapa do Brasil ---------- */
.brasil { background: radial-gradient(900px 600px at 85% 50%, var(--forest-2) 0%, transparent 70%), var(--forest); color: var(--cream); overflow: hidden; }
.brasil-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.brasil-fatos { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 8px 0 34px; padding: 22px 0; border-block: 1px solid var(--line-dark); }
.brasil-fatos li { display: flex; flex-direction: column; }
.brasil-fatos strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 600; color: var(--gold-bright); }
.brasil-fatos span { font-size: .88rem; color: rgba(245, 241, 233, .75); margin-top: 6px; max-width: 14em; }
.brasil-figura { margin: 0; justify-self: center; width: 100%; max-width: 640px; }
.brasil-figura figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 241, 233, .75); text-align: center; }
.brasil-map { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
/* estados não atendidos: só o contorno, apagados */
.brasil-map .uf { fill: rgba(245, 241, 233, .025); stroke: rgba(220, 184, 110, .22); stroke-width: .6; stroke-linejoin: round; transition: fill .3s ease; }
/* estados atendidos */
.brasil-map .uf.ativo { fill: rgba(220, 184, 110, .16); stroke: rgba(220, 184, 110, .7); stroke-width: .75; }
.brasil-map .uf.ativo:hover { fill: rgba(220, 184, 110, .32); }
.brasil-map .sede-uf, .brasil-map .sede-uf:hover { fill: rgba(220, 184, 110, .36); stroke: var(--gold-bright); stroke-width: 1; }
.brasil-map .brilho { mix-blend-mode: screen; transform-box: fill-box; transform-origin: center; animation: respira 4.5s ease-in-out infinite; }
@keyframes respira { 50% { opacity: .55; transform: scale(.9); } }
.brasil-map .guias line { stroke: rgba(220, 184, 110, .65); stroke-width: .6; }
.brasil-map .guias circle { fill: var(--gold-bright); }
.brasil-map .emblemas { pointer-events: none; }
@media (max-width: 880px) { .brasil-grid { grid-template-columns: 1fr; } .brasil-figura { max-width: 560px; } }

/* ---------- Imposto de Renda ---------- */
.ir { background: var(--cream-deep); }
.ir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.ir-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 14px; }
.ir-note { font-size: .92rem; color: var(--muted); margin: 0; }
.btn-wa { background: #1f8f4d; color: #fff; }
.btn-wa:hover { background: #17753e; }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }
.ir-card { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.ir-card h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 8px; font-weight: 700; }
.ir-list li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.ir-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ir-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-bright); line-height: 1; min-width: 36px; }
.ir-list strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; margin-bottom: 4px; font-weight: 600; }
.ir-list span:not(.ir-num) { font-size: .95rem; color: rgba(245, 241, 233, .75); }
.ir-docs { margin-top: 56px; padding: 30px 0 0; border-top: 1px solid var(--line); }
.ir-docs h3 { font-size: 1.7rem; margin-bottom: 16px; }
.ir .chips li { color: var(--gold-text); border-color: rgba(127, 91, 23, .4); background: rgba(255, 253, 249, .6); }
.ir-docs p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 880px) { .ir-grid { grid-template-columns: 1fr; } .ir-actions .btn { flex: 1 1 100%; } }

/* ---------- Página de Imposto de Renda ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.who-grid li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.who-grid li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.who-grid strong { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; margin-bottom: 6px; font-weight: 600; }
.who-grid span { color: var(--muted); font-size: .97rem; }
.values.four { grid-template-columns: repeat(4, 1fr); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.four .step { padding-right: 24px; }
.steps.four .step + .step { padding-left: 24px; }
@media (max-width: 980px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
  .who-grid li, .who-grid li:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .who-grid li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .values.four { grid-template-columns: repeat(2, 1fr); }
  .values.four li:last-child { grid-column: auto; border-bottom: 0; }
  .values.four li:nth-child(3) { border-bottom: 0; }
  .steps.four { grid-template-columns: 1fr 1fr; gap: 36px 0; }
}
@media (max-width: 640px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-grid li, .who-grid li:nth-child(2n) { padding: 22px 0; border-left: 0; }
  .values.four { grid-template-columns: 1fr; }
  .values.four li { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .values.four li:last-child { border-bottom: 0; }
  .steps.four { grid-template-columns: 1fr; }
  .steps.four .step, .steps.four .step + .step { padding: 0; border: 0; }
  .steps.four .step + .step { padding-top: 28px; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) { .news-grid[style] { grid-template-columns: 1fr !important; } }

/* ---------- Seletor "Qual é o seu momento?" ---------- */
.momento { background: var(--cream); padding-block: clamp(56px, 7vw, 96px); }
.momento-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 36px 0 16px; }
.momento-tabs [role="tab"] { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 600 1rem/1.25 var(--font-body); cursor: pointer; transition: transform .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.momento-tabs [role="tab"]:hover { transform: translateY(-3px); border-color: rgba(176, 138, 62, .6); }
.momento-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: var(--shadow); }
.m-ico { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; flex: none; color: var(--gold-text); }
.m-ico svg { width: 22px; height: 22px; }
[aria-selected="true"] .m-ico { color: var(--gold-bright); border-color: var(--gold-bright); }
.momento-painel { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; background: linear-gradient(160deg, var(--forest-2), var(--forest) 75%); color: var(--cream); border-radius: 28px; padding: clamp(28px, 4.4vw, 56px); overflow: hidden; position: relative; }
.momento-painel:focus-visible { outline-offset: 5px; }
.momento-painel.troca .painel-texto { animation: entra .5s ease both; }
@keyframes entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.painel-texto h3 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 12px; }
.painel-texto > p { color: rgba(245, 241, 233, .82); max-width: 34em; }
.painel-texto ul { margin: 20px 0 28px; }
.painel-texto li { padding: 7px 0 7px 26px; position: relative; }
.painel-texto li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--gold-bright); }
.painel-acoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.painel-mais { color: var(--gold-bright); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-dark); padding-bottom: 2px; }
.painel-visual { display: grid; place-items: center; }
.painel-visual span { font-family: var(--font-display); font-style: italic; font-size: clamp(8rem, 18vw, 15rem); line-height: .8; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
@media (max-width: 980px) { .momento-tabs { grid-template-columns: 1fr 1fr; } .momento-painel { grid-template-columns: 1fr; } .painel-visual { display: none; } }
@media (max-width: 520px) { .momento-tabs { grid-template-columns: 1fr; gap: 8px; } .momento-tabs [role="tab"] { padding: 14px 16px; } }

/* ---------- Faixa de foto ---------- */
.faixa-foto { position: relative; min-height: clamp(380px, 44vw, 560px); display: grid; align-items: center; overflow: hidden; background: var(--ink); isolation: isolate; }
.faixa-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: -2; }
.faixa-foto::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 36, 32, .94) 0%, rgba(14, 36, 32, .78) 45%, rgba(14, 36, 32, .15) 100%); z-index: -1; }
.faixa-conteudo { padding-block: 56px; }
.faixa-conteudo blockquote { margin: 0; max-width: 560px; color: var(--cream); }
.faixa-conteudo blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 6rem; line-height: .6; color: var(--gold-bright); }
.faixa-conteudo p { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.15; font-style: italic; font-weight: 500; margin: 0 0 22px; }
.faixa-conteudo footer { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); font-weight: 700; }
@media (max-width: 760px) { .faixa-foto::before { background: linear-gradient(180deg, rgba(14, 36, 32, .55), rgba(14, 36, 32, .92)); } .faixa-foto > img { object-position: 50% 30%; } }

/* ---------- O mês da sua empresa ---------- */
.mes { background: var(--paper); border-block: 1px solid var(--line); }
.mes-linha { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; position: relative; }
.mes-linha::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(176, 138, 62, .25)); }
.mes-linha li { position: relative; padding: 38px 22px 0 0; }
.mes-linha li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); transition: background-color .3s ease, transform .3s ease; }
.mes-linha li:hover::before { background: var(--gold); transform: scale(1.25); }
.mes-linha .dia { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); margin-bottom: 10px; }
.mes-linha h3 { font-size: 1.5rem; margin-bottom: 8px; }
.mes-linha p { color: var(--muted); font-size: .95rem; margin: 0; }
.mes-nota { margin: 40px 0 0; font-size: .9rem; color: var(--muted); max-width: 52em; }
@media (max-width: 980px) {
  .mes-linha { grid-template-columns: 1fr; margin-top: 40px; }
  .mes-linha::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(176, 138, 62, .25)); }
  .mes-linha li { padding: 0 0 30px 40px; }
  .mes-linha li::before { top: 2px; }
}

/* ---------- Serviços: no celular passam de lado ---------- */
.service-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0), rgba(220, 184, 110, .17), transparent 62%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.service-card:hover::after { opacity: 1; }
@media (max-width: 640px) {
  .service-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .service-grid::-webkit-scrollbar { display: none; }
  .service-card { flex: 0 0 82%; scroll-snap-align: center; }
  .service-card.reveal, .js .service-card.reveal { opacity: 1; transform: none; }
  .services-head + .service-grid::before { content: ""; }
}

/* ---------- Celular: página mais compacta, blocos que passam de lado ---------- */
@media (max-width: 640px) {
  .section { padding-block: 52px; }
  .hero-grid { padding-block: 28px 36px; gap: 22px; }
  .hero-photo { width: min(62%, 240px); }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.2rem); margin-bottom: 18px; }
  .hero-actions { margin-bottom: 24px; }
  .section-title { margin-bottom: 14px; }
  .services-head, .news-head { margin-bottom: 28px; }
  .mvv-head { margin-bottom: 28px; }
  .step-num { font-size: 3.4rem; }
  .ir-list li { padding: 14px 0; }
  .ir-docs { margin-top: 32px; }
  .site-footer { padding-block: 44px 100px; }
  .footer-grid { gap: 26px; padding-bottom: 28px; }

  .news-grid, .news-grid.many, .news-grid[style] { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .news-grid::-webkit-scrollbar, .values::-webkit-scrollbar { display: none; }
  .news-grid .news-card, .news-grid.many .news-card.lead { flex: 0 0 86%; scroll-snap-align: center; grid-row: auto; }
  .js .news-grid .reveal, .js .values.reveal { opacity: 1; transform: none; }

  .values, .values.four { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; border: 0; background: none; border-radius: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .values li, .values.four li { flex: 0 0 74%; scroll-snap-align: center; border: 1px solid var(--line-dark) !important; border-radius: 18px; background: rgba(0, 0, 0, .14); }
  .values li:last-child, .values.four li:last-child { grid-column: auto; }
  .mvv-card { padding: 26px 22px; }
  .mvv-card p { font-size: 1.35rem; }
}

/* ---------- Celular: mais enxuto ainda ---------- */
@media (max-width: 640px) {
  .about .pillars { display: none; }
  .ir .ir-docs { display: none; }
  .ir-list span:not(.ir-num) { display: none; }
  .footer-grid > div:nth-child(3) { display: none; }
  .momento-tabs { grid-template-columns: 1fr 1fr !important; gap: 8px; margin: 26px 0 12px; }
  .momento-tabs [role="tab"] { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; font-size: .92rem; }
  .cartilha .book { max-width: 150px; }
  .cartilha-card { padding: 26px 22px; gap: 22px; }
  .mes-linha li { padding-bottom: 20px; }
  .faq-list summary { padding-block: 18px; font-size: 1.3rem; }
}
