/* MM Assessoria e Consultoria — estilos do site.
   Cores tiradas do logo: azul-marinho #0b1b3a e #33415c; acentos âmbar #fca83c, roxo #966cf0, turquesa #5ab4c6.
   Regra de contraste: âmbar/roxo/turquesa NÃO são usados como texto sobre fundo claro (ficam só como detalhe,
   fundo de botão com texto carvão, ou texto sobre fundo carvão). Texto de link sobre claro usa --link. */
:root {
  --ink: #0b1b3a;
  --ink-2: #3a4560;
  --gold: #b8923a;
  --amber: #d9ac3a;
  --purple: #966cf0;
  --cyan: #5ab4c6;
  --link: #6b3fd4;
  --bg: #ffffff;
  --bg-soft: #F1E9DA;
  --line: #E3D8C2;
  --font-heading: Georgia, "Times New Roman", serif; /* fontes de sistema; arquivos de fonte próprios ainda pendentes */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 104px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); color: var(--ink-2); background: var(--bg); line-height: 1.65; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
.container { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Faixa de três barras, como no logo */
.bars { display: inline-flex; gap: 5px; vertical-align: middle; }
.bars i { display: block; width: 7px; height: 22px; border-radius: 2px; }
.bars i:nth-child(1) { background: var(--purple); }
.bars i:nth-child(2) { background: var(--cyan); }
.bars i:nth-child(3) { background: var(--amber); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--ink-2); margin-bottom: .8rem; }
.eyebrow .bars i { height: 14px; width: 5px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); transition: background .15s, color .15s, transform .15s; font-size: 1rem; cursor: pointer; }
.btn-primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn-primary:hover { background: #e6bd55; border-color: #e6bd55; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.on-dark .btn-outline { color: #fff; border-color: #fff; }
.on-dark .btn-outline:hover { background: #fff; color: var(--ink); }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand img { height: 88px; width: auto; }
@media (max-width: 640px) { :root { --header-h: 84px; } .brand img { height: 68px; } }
.nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .5rem 0; font-size: .98rem; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--amber); }
.menu-btn { display: none; background: none; border: 2px solid var(--ink); border-radius: 8px; padding: .5rem .8rem; font-weight: 700; color: var(--ink); min-height: 44px; cursor: pointer; }
.header-cta { padding: .55rem 1.1rem; min-height: 44px; font-size: .95rem; }
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .header-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 1rem 1rem; }
  .nav a { display: block; padding: .9rem 0; min-height: 44px; }
}

/* Hero */
.hero { background: #0b1b3a url("img/hero.webp") right center / cover no-repeat; color: #e6ecf8; position: relative; overflow: hidden; }
.hero::after { display: none; }
.hero .container { position: relative; z-index: 1; padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 6vw, 5rem); max-width: 760px; margin-left: max(1rem, calc((100% - 1160px) / 2)); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead { font-size: 1.2rem; max-width: 62ch; }
.hero .eyebrow { color: #dbe3f3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
/* A imagem do topo (2048x768) traz o logo pequeno no canto superior esquerdo: o texto começa abaixo dele em telas largas */
@media (min-width: 900px) { .hero .container { padding-top: clamp(8.5rem, 11vw, 10.5rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); } }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,58,.55) 0%, rgba(11,27,58,.15) 55%, rgba(11,27,58,0) 100%); }
@media (max-width: 899px) { .hero::before { background: rgba(11,27,58,.62); } }
.hero-note { font-size: .9rem; color: #cfd8ea; margin-top: 1.6rem; max-width: 62ch; }

/* Seções */
section { padding-block: clamp(3rem, 7vw, 5rem); }
.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.grid { display: grid; gap: 1.2rem; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g3, .g2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; height: 100%; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.09); transform: translateY(-2px); }
.card::before { content: ""; position: absolute; left: 1.5rem; top: 0; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--purple) 0 33%, var(--cyan) 33% 66%, var(--amber) 66%); }
.card h3 { margin-top: .6rem; }
.card ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.card li { margin-bottom: .3rem; }
.card .btn { margin-top: auto; align-self: flex-start; min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--bg-soft); color: var(--ink); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .4rem; }
.situations { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (max-width: 640px) { .situations { grid-template-columns: 1fr; } }
.situations li { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: 10px; padding: 1rem 1.2rem; }

/* Etapas */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-heading); font-weight: 700; margin-bottom: .8rem; }
.steps li:nth-child(3n+1)::before { box-shadow: 0 0 0 4px var(--purple); }
.steps li:nth-child(3n+2)::before { box-shadow: 0 0 0 4px var(--cyan); }
.steps li:nth-child(3n)::before { box-shadow: 0 0 0 4px var(--amber); }

/* Quem somos */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.team { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.team li { background: var(--ink); color: #eaf0fb; border-radius: 12px; padding: 1.1rem 1.3rem; border-left: 6px solid var(--amber); }
.team li:nth-child(2) { border-left-color: var(--cyan); }
.team li:nth-child(3) { border-left-color: var(--purple); }
.team strong { display: block; color: #fff; font-size: 1.05rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 1rem 1.2rem; min-height: 48px; list-style-position: inside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .ans { padding: 1rem 1.2rem 0; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.contact-card h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.contact-card a { word-break: break-word; }
.safe { margin-top: 1.4rem; font-size: .95rem; }

/* Rodapé */
.site-footer { background: var(--ink); color: #dbe3f3; padding-block: 3rem 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1.1rem; color: #fff; font-family: var(--font-body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.legal { border-top: 1px solid #2c3f66; margin-top: 2rem; padding-top: 1.4rem; font-size: .88rem; color: #c3cfe6; }

/* Botão flutuante de WhatsApp */
.float-wa { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; border: 2px solid var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,.25); text-decoration: none; }
.float-wa svg { width: 28px; height: 28px; }
@media (min-width: 961px) { .float-wa { width: 64px; height: 64px; right: 2rem; bottom: 2rem; } }

/* Página de privacidade */
.doc { max-width: 780px; padding-block: 3rem; }
.doc h2 { font-size: 1.4rem; margin-top: 2rem; }

/* ===== Refinamento: acolhedor, elegante e sofisticado (bege e branco, azul-marinho em um bloco) ===== */
body { line-height: 1.7; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.site-header { border-bottom: 1px solid var(--gold); }
.eyebrow { letter-spacing: .16em; font-size: .74rem; color: var(--ink-2); }
.eyebrow .bars { display: none; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section-head h2::after { content: ""; display: block; width: 52px; height: 2px; background: var(--gold); margin-top: .9rem; }
.btn { border-radius: 8px; letter-spacing: .01em; }
.btn-primary { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-outline { border-color: var(--ink); }
.card { border-radius: 8px; border: 1px solid var(--line); box-shadow: none; padding: 1.7rem; }
.card:hover { box-shadow: 0 14px 30px rgba(11,27,58,.10); transform: translateY(-3px); }
.card::before { width: 100%; left: 0; height: 2px; border-radius: 0; background: var(--gold); }
.tag { background: transparent; border: 1px solid var(--gold); color: var(--ink-2); font-weight: 600; letter-spacing: .08em; }
.situations li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px; }
.steps li { background: #fff; border-radius: 8px; }
.steps li::before, .steps li:nth-child(n)::before { box-shadow: none; background: transparent; color: var(--gold); border: 1px solid var(--gold); font-size: 1.15rem; }
.faq details { border-radius: 8px; background: #fff; }
.faq summary { font-family: var(--font-heading); font-size: 1.08rem; }
.contact-card { border-radius: 8px; background: #fff; }
.contact-cta { margin: 1.6rem 0 0; }
.hero-id { margin: 1.4rem 0 0; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #cdbb92; }
.hero-note { margin-top: .8rem; }
.hero h1 em { color: #e6c26a; }
.hero .btn-primary { background: #d9ac3a; border-color: #d9ac3a; }
/* faixa azul-marinho no meio da página */
.dark { background: var(--ink); color: #dbe3f3; }
.dark .section-head h2 { color: #fff; }
.dark .eyebrow { color: #cdbb92; }
.dark .eyebrow::before { background: #cdbb92; }
.dark .steps li { background: #12294f; border-color: #25407a; color: #dbe3f3; }
.dark .steps li h3 { color: #fff; }
.dark .steps li::before { color: #e6c26a; border-color: #e6c26a; }
.site-footer { background: #07142e; border-top: 2px solid var(--gold); }
.team li { border-left-color: var(--gold); }
/* botão flutuante em cápsula com texto */
.float-wa { width: auto; height: 52px; padding: 0 1.1rem 0 .9rem; border-radius: 999px; gap: .5rem; grid-auto-flow: column; align-items: center; font-weight: 700; font-size: .95rem; }
.float-wa svg { width: 24px; height: 24px; }
@media (min-width: 961px) { .float-wa { width: auto; height: 56px; } }

.about-text p { max-width: 68ch; }
.about-text .pull { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 1.1rem; margin: 1.6rem 0; }
.about-text .about-note { font-size: .92rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 1rem; }

.foto-perfil { margin: 0 0 1.6rem; max-width: 360px; }
.foto-perfil img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 36%; border-radius: 8px; outline: 1px solid var(--gold); outline-offset: 8px; box-shadow: 0 18px 40px rgba(11,27,58,.18); }
.foto-perfil figcaption { margin-top: 1.1rem; font-size: .9rem; color: var(--ink-2); letter-spacing: .02em; }
@media (max-width: 860px) { .foto-perfil { max-width: 300px; } }

.fonte { margin-top: 1.6rem; font-size: .88rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 1rem; max-width: 80ch; }
#erros-comuns .card::before { height: 2px; }

/* Quem somos: parágrafos empilhados, um abaixo do outro, alinhados (justificados) e com o mesmo espaçamento */
.about { align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 1.1rem; }
.about-text > p { margin: 0; max-width: none; text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.about-text > .eyebrow, .about-text > h2 { text-align: left; margin-bottom: 0; }
.about-text > h2 { margin-bottom: .4rem; }
.about-text .pull { text-align: left; margin: .4rem 0; }
.about-text .about-note { text-align: justify; }
@media (max-width: 640px) { .about-text > p { text-align: left; hyphens: manual; } }

/* Consentimento de cookies (só aparece quando há ID de medição configurado) */
.link-btn { background: none; border: 0; padding: .4rem 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; text-align: left; }
.link-btn[hidden] { display: none; }
.site-footer .link-btn { color: #fff; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; color: var(--ink); border-top: 3px solid var(--gold); box-shadow: 0 -10px 30px rgba(11,27,58,.2); padding: 1.1rem max(1rem, calc((100% - 1160px) / 2)); display: grid; gap: .8rem; grid-template-columns: 1fr auto; align-items: center; }
.cookie-banner h2 { font-size: 1.05rem; margin: 0 0 .3rem; }
.cookie-banner h2::after { display: none; }
.cookie-banner p { margin: 0; font-size: .95rem; max-width: 75ch; }
.cookie-acoes { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-acoes .btn { min-width: 120px; }
.cookie-aberto .float-wa { display: none; }
@media (max-width: 700px) { .cookie-banner { grid-template-columns: 1fr; } .cookie-acoes .btn { flex: 1; } }

.cookie-banner fieldset { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem; margin: 0; display: grid; gap: .5rem; }
.cookie-banner fieldset[hidden] { display: none; }
.cookie-banner legend { font-weight: 700; padding: 0 .4rem; }
.cookie-banner label { display: flex; gap: .6rem; align-items: center; min-height: 44px; }
.cookie-banner input[type=checkbox] { width: 22px; height: 22px; }
