/*
 * Estilos do site público (único arquivo de CSS do site).
 *
 * ORGANIZAÇÃO
 *   1. Variáveis de cor, fonte e arredondamento (:root) e temas visuais
 *   2. Base (tipografia, links, acessibilidade)
 *   3. Componentes, na ordem em que aparecem nas páginas: botões, cabeçalho,
 *      topo (hero), seções, cartões de serviço, etapas, diferenciais, galeria,
 *      página do serviço, documentos/contato, depoimentos, chamada final, rodapé
 *
 * RESPONSIVIDADE (do celular dobrável de 280px a monitores de 2560px)
 *   - Grades com auto-fit/minmax: o número de colunas se ajusta sozinho à largura.
 *   - Tamanhos de fonte e espaçamentos com clamp(): crescem e diminuem com a tela.
 *   - Pontos de quebra: 1240px (menu vira botão ☰), 960px, 900px, 760px e 640px (celular).
 *   - Áreas de toque de no mínimo 32px e textos de no mínimo 12px.
 *
 * Para mudar uma cor do site inteiro, altere a variável no :root (tema padrão)
 * ou no bloco do tema escolhido. Evite cores fixas fora das variáveis.
 */
/* Tema padrão "Noturno": azul-noite com âmbar (cores da marca) */
:root {
  --night: #0D0F2E;
  --night-2: #15184A;
  --line-dark: #262A66;
  --line-dark-2: #2C3075;
  --brand: #3E4095;
  --brand-soft: #7378C8;
  --on-dark: #FFFFFF;
  --on-dark-2: #CDD0EE;
  --on-dark-3: #A9ADDC;
  --accent: #F2A33A;
  --accent-ink: #A3560B;
  --ink: #15184A;
  --ink-2: #4E5274;
  --soft: #F3F3FA;
  --line: #E3E4F0;
  --ok: #3FD18A;
  --night-rgb: 13 15 46;          /* mesma cor de --night, em RGB, para transparências */
  --accent-hover: #F6B65C;
  --tint: #DADCF5;
  --tint-2: #B9BCEB;
  --muted-strong: #5A5E85;
  --ink-prose: #2E3158;
  --surface: #FFFFFF;
  --radius: 20px;
  --radius-sm: 12px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ==========================================================================
   TEMAS VISUAIS
   O tema é escolhido no painel (Aparência) e aplicado como <html data-theme="...">.
   Cada tema só redefine as variáveis de cor acima; o layout é o mesmo.
   Todas as combinações de texto e fundo foram conferidas para contraste mínimo
   de 4,5:1 (WCAG AA). Para criar um tema novo, copie um bloco, troque as cores
   e cadastre o nome em site_themes() no arquivo inc/bootstrap.php.
   ========================================================================== */
/* Céu Aberto: azul com amarelo */
html[data-theme="ceu"] {
  --night: #0A2540;
  --night-2: #0F3358;
  --line-dark: #1C4A78;
  --line-dark-2: #245A8F;
  --brand: #1565C0;
  --brand-soft: #5E9BDB;
  --on-dark-2: #CFE2F7;
  --on-dark-3: #A6C8EC;
  --accent: #FFC233;
  --accent-hover: #FFD166;
  --accent-ink: #8A5A00;
  --ink: #0A2540;
  --ink-2: #3F5873;
  --soft: #EEF5FC;
  --line: #DCE7F3;
  --tint: #D3E5F8;
  --tint-2: #A9CBEF;
  --muted-strong: #4D6582;
  --ink-prose: #1F3A57;
  --night-rgb: 10 37 64;
}
/* Grafite: grafite com laranja */
html[data-theme="hangar"] {
  --night: #17191E;
  --night-2: #22252C;
  --line-dark: #33373F;
  --line-dark-2: #3D424B;
  --brand: #3A4250;
  --brand-soft: #8A93A3;
  --on-dark-2: #D6D9DE;
  --on-dark-3: #AEB4BE;
  --accent: #FF6B1A;
  --accent-hover: #FF8A47;
  --accent-ink: #B23E00;
  --ink: #17191E;
  --ink-2: #4F5562;
  --soft: #F2F3F5;
  --line: #E1E3E7;
  --tint: #E0E2E6;
  --tint-2: #C3C7CF;
  --muted-strong: #5B616D;
  --ink-prose: #2C3038;
  --night-rgb: 23 25 30;
  --radius: 10px;
  --radius-sm: 6px;
}
/* Natureza: verde com dourado */
html[data-theme="cerrado"] {
  --night: #13261C;
  --night-2: #1B3427;
  --line-dark: #2A4A38;
  --line-dark-2: #325744;
  --brand: #2F6B4F;
  --brand-soft: #7FB397;
  --on-dark-2: #D4E6DA;
  --on-dark-3: #AACDB7;
  --accent: #E3B341;
  --accent-hover: #EBC468;
  --accent-ink: #7F5A00;
  --ink: #13261C;
  --ink-2: #455C4F;
  --soft: #F1F6F2;
  --line: #DFE9E2;
  --tint: #D5E8DC;
  --tint-2: #AFD3BC;
  --muted-strong: #526A5C;
  --ink-prose: #24382C;
  --night-rgb: 19 38 28;
}
/* Clássico: vinho com dourado */
html[data-theme="classico"] {
  --night: #2A0D14;
  --night-2: #3A1420;
  --line-dark: #55202F;
  --line-dark-2: #652838;
  --brand: #8C1C2B;
  --brand-soft: #C77A86;
  --on-dark-2: #F0D9DD;
  --on-dark-3: #DDB3BA;
  --accent: #D9B45A;
  --accent-hover: #E3C47D;
  --accent-ink: #7A5A10;
  --ink: #2A0D14;
  --ink-2: #5E4248;
  --soft: #FAF5F1;
  --line: #EDE3DE;
  --tint: #F1DCE0;
  --tint-2: #E2B9C0;
  --muted-strong: #6E525A;
  --ink-prose: #3E2329;
  --night-rgb: 42 13 20;
}
/* Alto contraste: preto, azul e amarelo, para leitura facilitada */
html[data-theme="contraste"] {
  --night: #000000;
  --night-2: #111111;
  --line-dark: #444444;
  --line-dark-2: #555555;
  --brand: #0033B3;
  --brand-soft: #8FA8FF;
  --on-dark-2: #FFFFFF;
  --on-dark-3: #E6E6E6;
  --accent: #FFD400;
  --accent-hover: #FFE24D;
  --accent-ink: #6B4E00;
  --ink: #000000;
  --ink-2: #2B2B2B;
  --soft: #F2F2F2;
  --line: #BDBDBD;
  --tint: #DDE5FF;
  --tint-2: #B8C7FF;
  --muted-strong: #3D3D3D;
  --ink-prose: #111111;
  --night-rgb: 0 0 0;
  --ok: #00C853;
}
/* Marinho e dourado: azul-marinho com dourado (sóbrio, comum em escritórios e consultorias) */
html[data-theme="marinho"] {
  --night: #141938;
  --night-2: #1C2249;
  --line-dark: #2B3366;
  --line-dark-2: #343D75;
  --brand: #2A3163;
  --brand-soft: #9097CC;
  --on-dark-2: #D8DBEF;
  --on-dark-3: #B0B5DC;
  --accent: #C9AA6C;
  --accent-hover: #D8BF8B;
  --accent-ink: #7A5A1C;
  --ink: #161B3D;
  --ink-2: #4B5174;
  --soft: #F6F4EF;
  --line: #E6E2D8;
  --tint: #ECE3CD;
  --tint-2: #D9C9A0;
  --muted-strong: #585C7C;
  --ink-prose: #2B3056;
  --night-rgb: 20 25 56;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--surface); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
/* Títulos e textos longos quebram a linha em vez de vazar da caixa (vale para qualquer fonte) */
h1, h2, h3, h4, p, li, dd, dt, strong, a, span { overflow-wrap: break-word; }
h1, h2, h3 { hyphens: manual; }
a { color: var(--brand); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.mono, .mono-label { font-family: var(--mono); }
.mono-label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.mono-label.accent { color: var(--accent); }
.mono-label.accent-dark { color: var(--accent-ink); }
.muted { color: var(--ink-2); }
.icon { flex-shrink: 0; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease; font-family: var(--body); }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--night); }
.btn-accent:hover { background: var(--accent-hover); color: var(--night); }
.btn-dark { background: var(--night); color: #FFFFFF; }
.btn-dark:hover { background: var(--brand); color: #FFFFFF; }
.btn-ghost { border-color: var(--brand-soft); color: #FFFFFF; background: rgb(var(--night-rgb) / 0.25); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-outline-dark { border: 2px solid var(--night); color: var(--night); background: transparent; }
.btn-outline-dark:hover { background: var(--night); color: #FFFFFF; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--accent-ink); min-height: 44px; }
.link-arrow:hover { color: var(--ink); }
.link-arrow.light, .section-dark .link-arrow { color: var(--accent); }
.link-arrow.light:hover, .section-dark .link-arrow:hover { color: #FFFFFF; }

/* Cabeçalho */
.site-header { position: relative; z-index: 20; background: var(--night); }
.site-header.is-overlay { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
/* Altura da logo: definida no painel (variáveis --logo-h e --logo-h-m, impressas no <head>) */
.brand { flex: 0 0 auto; }
.brand img { height: var(--logo-h, 84px); width: auto; transition: height .2s ease; }
/* Posição "centralizada": logo no meio e menu numa linha abaixo (só no computador) */
@media (min-width: 1241px) {
  .site-header.is-centered .header-row { flex-direction: column; justify-content: center; gap: 14px; padding-bottom: 14px; }
  .site-header.is-centered .main-nav { width: 100%; justify-content: center; flex-wrap: wrap; gap: 14px 28px; }
  .is-centered ~ main { --header-extra: 64px; }
  /* Logo grande (acima de 110px) à esquerda: o menu passa para uma linha abaixo dela */
  .site-header.logo-large .header-row { flex-wrap: wrap; row-gap: 12px; padding-bottom: 14px; }
  .site-header.logo-large .main-nav { width: 100%; justify-content: space-between; }
  .logo-large ~ main { --header-extra: 64px; }
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; }
.main-nav ul a { color: var(--on-dark-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: #FFFFFF; border-bottom-color: var(--accent); }
.nav-actions { display: flex; gap: 10px; }
.nav-actions .btn, .main-nav ul a { white-space: nowrap; }
.nav-toggle { display: none; background: transparent; border: 1.5px solid var(--brand-soft); color: #FFFFFF; border-radius: 12px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .when-open { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: inline-flex; }
.nav-toggle[aria-expanded="true"] .when-closed { display: none; }

/* Menu recolhido (botão ☰) abaixo de 1240px */
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 20px; padding: 16px 24px 28px; background: var(--night); border-top: 1px solid var(--line-dark); box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35); }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .main-nav ul a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--line-dark); }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; }
}

/* Hero da página inicial */
.hero { position: relative; background: var(--night); color: #FFFFFF; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgb(var(--night-rgb) / 0.95) 0%, rgb(var(--night-rgb) / 0.8) 42%, rgb(var(--night-rgb) / 0.25) 100%), linear-gradient(0deg, rgb(var(--night-rgb) / 0.92) 0%, rgb(var(--night-rgb) / 0) 38%), linear-gradient(180deg, rgb(var(--night-rgb) / 0.7) 0%, rgb(var(--night-rgb) / 0) 22%); }
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); opacity: 0.8; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 56px; padding-top: calc(var(--logo-h, 84px) + 120px + var(--header-extra, 0px)); padding-bottom: 72px; }
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-weight: 900; font-stretch: 112%; font-size: clamp(44px, 7vw, 86px); line-height: 0.95; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--on-dark-2); max-width: 600px; margin: 0; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--brand-soft); border-radius: 999px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-2); background: rgb(var(--night-rgb) / 0.5); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }


.instruments { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); background: rgb(var(--night-rgb) / 0.85); }
.instruments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.instrument { padding: 24px 20px; border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 6px; }
.instrument:first-child { border-left: 0; padding-left: 0; }
.instrument .mono-label { color: var(--on-dark-3); }
.instrument strong { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; }

/* Hero das páginas internas */
.page-hero { position: relative; background: var(--night); color: #FFFFFF; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--night-rgb) / 0.95) 0%, rgb(var(--night-rgb) / 0.6) 60%, rgb(var(--night-rgb) / 0.3) 100%); }
.page-hero-inner { position: relative; z-index: 1; padding-top: calc(var(--logo-h, 84px) + 110px + var(--header-extra, 0px)); padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; max-width: 880px; margin-left: 0; }
@media (min-width: 1240px) { .page-hero-inner { margin-left: calc((100% - 1240px) / 2); } }
.page-hero h1 { font-weight: 900; font-stretch: 110%; font-size: clamp(38px, 5.5vw, 66px); letter-spacing: -0.02em; }
.page-hero.is-404 { min-height: 70vh; display: flex; align-items: center; }
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--on-dark-3); }
.crumbs a { color: var(--on-dark-2); display: inline-flex; align-items: center; min-height: 32px; }

/* Seções */
.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--night); color: #FFFFFF; }
.section-head { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-head > div { max-width: 700px; display: flex; flex-direction: column; gap: 14px; }
.section-head h2, .h2 { font-weight: 900; font-stretch: 110%; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.02em; }
.section-head p { color: var(--ink-2); max-width: 400px; margin: 0; font-size: 17px; }
.section-dark .section-head p { color: var(--on-dark-2); }
.h3 { font-size: 24px; font-weight: 800; margin: 36px 0 16px; }
.kicker { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.kicker-light { color: var(--accent); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split .h2 { margin: 14px 0 24px; }
.split-media { align-items: center; }

/* Cartões de serviço */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.course-card { border-radius: var(--radius); overflow: hidden; background: var(--night); color: #FFFFFF; transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px rgb(var(--night-rgb) / 0.25); }
.course-card-link { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; color: inherit; text-decoration: none; height: 100%; }
.course-card-link:hover { color: inherit; }
.course-card img { position: absolute; top: 0; left: 0; width: 100%; height: 60%; object-fit: cover; }
.course-code { position: absolute; z-index: 2; top: 18px; left: 18px; font-family: var(--mono); font-weight: 700; font-size: 13px; background: rgb(var(--night-rgb) / 0.75); border-radius: 8px; padding: 6px 10px; }
.course-card-body { position: relative; padding: 110px 28px 28px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(to top, var(--night) 62%, rgb(var(--night-rgb) / 0)); flex-grow: 0; }
.course-card h3 { font-size: 27px; font-weight: 800; }
.course-card p { color: var(--on-dark-2); font-size: 15px; margin: 0; }
.course-more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 15px; padding-top: 14px; border-top: 1px solid var(--line-dark-2); }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--night); background: var(--accent); border-radius: 999px; padding: 5px 12px; }
.help-strip { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; background: var(--accent); color: var(--night); border-radius: var(--radius); padding: 28px 32px; }
.help-strip div { flex: 1 1 280px; }
.help-strip strong { font-family: var(--display); font-size: 24px; font-weight: 900; }
.help-strip p { margin: 4px 0 0; }

/* Como funciona (etapas) */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 24px; position: relative; }
.route::before { content: ""; position: absolute; left: 42px; right: 42px; top: 42px; border-top: 2px dashed var(--ink); }
.route li { position: relative; display: flex; flex-direction: column; gap: 14px; }
.waypoint { width: 84px; height: 84px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 18px; line-height: 1.1; }
.waypoint small { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.route h3 { font-size: 22px; font-weight: 800; }
.route p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .route::before { display: none; } }

/* Simuladores e frota (blocos de mídia reaproveitáveis) */

@media (max-width: 760px) {
}
.note { margin-top: 20px; color: var(--ink-2); font-size: 14px; }

/* Diferenciais e perguntas frequentes */
.checklist { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line-dark); }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.checklist .icon { color: var(--ok); margin-top: 2px; }
.checklist strong { display: block; font-size: 17px; }
.checklist span { color: var(--on-dark-2); font-size: 15px; }
.section-dark .mono-label { color: var(--on-dark-3); margin-bottom: 12px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--night-2); border: 1px solid var(--line-dark-2); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--on-dark-2); font-size: 15px; padding-bottom: 20px; }

/* Estrutura */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mosaic img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }
.mosaic img.tall { grid-row: span 2; height: 416px; }
.tiles { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tiles li { background: #FFFFFF; border-radius: 14px; padding: 16px 18px; font-weight: 600; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature { background: #FFFFFF; border-radius: var(--radius); overflow: hidden; }
.feature img { width: 100%; height: 200px; object-fit: cover; }
.feature div { padding: 22px; }
.feature h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 15px; }
.timeline-card, .aside-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.section-soft .aside-card { background: #FFFFFF; }
.timeline-card strong { font-family: var(--display); font-size: 48px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.aside-card h3 { font-size: 26px; font-weight: 900; }
.aside-card dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.aside-card dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.aside-card dd { margin: 2px 0 0; font-weight: 600; }

/* Página do serviço */
.course-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.prose { flex: 999 1 520px; min-width: 0; font-size: 17px; }
.prose p { color: var(--ink-prose); }
.course-aside { flex: 1 1 320px; position: sticky; top: 24px; }
@media (max-width: 900px) { .course-aside { position: static; } }
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; }
.topic-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.topic-list .icon { color: var(--accent-ink); margin-top: 4px; }
.topic-list.light li { color: var(--on-dark-2); font-size: 15px; }
.topic-list.light .icon { color: var(--ok); }
.plain-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Documentos e contato */
.doc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.doc-list a { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; min-height: 64px; }
.doc-list a:hover { border-color: var(--brand); background: var(--soft); }
.doc-list span { flex: 1; }
.doc-list small { font-family: var(--mono); color: var(--ink-2); }
.doc-list .icon { color: var(--brand); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 6vw, 32px); min-width: 0; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.contact-card:hover { transform: translateY(-3px); color: var(--ink); border-color: var(--brand); }
.contact-card .icon { color: var(--brand); }
.contact-card strong { font-family: var(--display); font-size: 30px; font-weight: 900; line-height: 1.1; }
.contact-card strong.small { font-size: 19px; font-family: var(--body); font-weight: 700; line-height: 1.4; word-break: break-word; }
.contact-card > span:last-child { color: var(--ink-2); font-size: 14px; }
.contact-card.is-primary { background: var(--night); color: #FFFFFF; border-color: var(--night); }
.contact-card.is-primary .icon { color: var(--ok); }
.contact-card.is-primary .mono-label, .contact-card.is-primary > span:last-child { color: var(--on-dark-2); }

/* Depoimentos */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; color: var(--ink-2); font-size: 16px; }
.quote figcaption { display: flex; gap: 14px; align-items: center; }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote figcaption small { display: block; color: var(--accent-ink); font-family: var(--mono); font-size: 13px; }

/* CTA */
.cta-band { position: relative; background: var(--accent); overflow: hidden; color: var(--night); }
.cta-route { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; }
.cta-inner { position: relative; padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; justify-content: space-between; }
.cta-inner > div:first-child { flex: 1 1 460px; min-width: 0; } /* min-width 0: a coluna pode encolher e a palavra longa quebra, em vez de vazar */
.cta-band h2 { font-weight: 900; font-stretch: 112%; font-size: clamp(32px, 5.5vw, 64px); line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-band p { font-size: 17px; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }

/* Rodapé */
.site-footer { background: var(--night); color: var(--on-dark-2); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 40px; }
.footer-brand img { width: var(--logo-foot, 230px); max-width: 100%; height: auto; margin-bottom: 14px; }
/* Logo em destaque na página inicial (opcional, ativada no painel) */
.hero-logo { width: var(--logo-hero, 260px); max-width: 80%; height: auto; }
.footer-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 500; margin-bottom: 12px; }
.site-footer address { font-style: normal; margin-bottom: 8px; }
.site-footer a { color: var(--on-dark-2); overflow-wrap: anywhere; }
/* Links do rodapé com área de toque confortável no celular (mín. 32px de altura) */
.footer-list a, .footer-map { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer a:hover { color: #FFFFFF; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 44px; height: 44px; border: 1px solid var(--line-dark-2); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; }
.footer-bottom .mono { color: var(--on-dark-3); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.wa-float:hover { color: #FFFFFF; transform: scale(1.05); }

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; } /* só as laterais: não zera o espaçamento de cima/baixo dos blocos */
  .section { padding: 72px 0; }
  .hero-inner { padding-top: 140px; gap: 36px; }
  .page-hero-inner { padding-top: 140px; padding-bottom: 56px; }
  .instrument { padding: 18px 12px; }
  .instrument:nth-child(odd) { border-left: 0; padding-left: 0; }
  .instruments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .instrument strong { font-size: 30px; }
  .mosaic img.tall { height: 300px; }
  .mosaic img { height: 142px; }
  .tiles { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
}
.site-header.menu-open { background: var(--night); }
.section-tight { padding: 40px 0 0; }
.compliance { margin: 0; padding: 16px 20px; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 8px; color: var(--ink-2); font-size: 15px; }
.aside-note { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.footer-cert { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--on-dark-3); }
.tag-free { background: var(--tint); }
.section-map { padding: 0 0 72px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; background: var(--soft); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 640px) { .map-frame iframe { height: 320px; } }


.btn-row-site { display: flex; flex-wrap: wrap; gap: 12px; }

/* Faixa de logos de clientes (página inicial) */
.section-tight-b { padding-bottom: 40px; }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); gap: 16px; }
.logo-wall li { display: flex; }
.logo-wall li > a, .logo-wall li > img { flex: 1; }
.logo-wall a { display: flex; align-items: center; justify-content: center; min-height: 96px; border-radius: var(--radius-sm); }
.logo-wall img { display: block; margin: auto; max-width: 78%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter .2s ease, opacity .2s ease; }
.logo-wall li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); min-height: 96px; align-items: center; justify-content: center; padding: 12px; }
.logo-wall li:hover img, .logo-wall a:focus-visible img { filter: none; opacity: 1; }
@media (hover: none) { .logo-wall img { filter: none; opacity: 1; } }

/* Missão, visão e valores (página Sobre nós) */
.mvv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.mvv-card { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 4vw, 32px); }
.mvv-card .icon { color: var(--accent-ink); }
.mvv-card h3 { font-size: 22px; margin: 12px 0 8px; }
.mvv-card p, .mvv-card li { color: var(--ink-2); font-size: 16px; }
