/* AirProj — Design System · variáveis CSS geradas de tokens.json */

@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root, [data-theme="light"] {
  --verde-folha: #A5CD39;
  --verde-medio: #4EB448;
  --verde-floresta: #1D7B3F;
  --grafite-airproj: #14262B;
  --verde-tecnico: #176634;
  --grafite: #1E2A2E;
  --cinza-descritor: #5A6668;
  --cinza-arquitetonico: #D5DCDB;
  --nevoa: #E9EFEC;
  --branco-tecnico: #F5F7F6;
  --brand-primary: var(--verde-floresta);
  --on-brand-primary: #FFFFFF;
  --brand-primary-hover: var(--verde-tecnico);
  --brand-primary-pressed: #12512A;
  --brand-secondary: var(--grafite-airproj);
  --brand-accent: var(--verde-floresta);
  --text-primary: var(--grafite);
  --text-strong: var(--grafite-airproj);
  --text-secondary: var(--cinza-descritor);
  --text-link: var(--verde-tecnico);
  --text-inverse: #FFFFFF;
  --text-inverse-secondary: #9DB0B3;
  --surface-default: #FFFFFF;
  --surface-subtle: var(--branco-tecnico);
  --surface-raised: #FFFFFF;
  --surface-muted: var(--nevoa);
  --surface-inverse: var(--grafite-airproj);
  --border-subtle: var(--cinza-arquitetonico);
  --border-control: #7C8A8C;
  --border-strong: var(--grafite-airproj);
  --line-technical: #CBD5D3;
  --focus-ring: var(--verde-tecnico);
  --focus-ring-inverse: var(--verde-folha);
  --status-success: #0E7563;
  --status-success-surface: #E3F3EF;
  --status-warning: #9A5B00;
  --status-warning-surface: #FDF1DE;
  --status-danger: #B3261E;
  --status-danger-surface: #FBE7E5;
  --status-info: #1D5A8E;
  --status-info-surface: #E6F0F8;
  --status-neutral: var(--cinza-descritor);
  --status-neutral-surface: var(--nevoa);
  --chart-1: var(--grafite-airproj);
  --chart-2: var(--verde-floresta);
  --chart-3: var(--cinza-descritor);
  --chart-4: #1D5A8E;
  --chart-5: #9A5B00;
  --shadow-sm: 0 1px 2px rgba(20, 38, 43, 0.08);
  --shadow-md: 0 6px 20px rgba(20, 38, 43, 0.10);
  --shadow-lg: 0 16px 40px rgba(20, 38, 43, 0.16);
}
[data-theme="dark"] {
  --verde-folha: #A5CD39;
  --verde-medio: #4EB448;
  --verde-floresta: #1D7B3F;
  --grafite-airproj: #14262B;
  --verde-tecnico: #176634;
  --grafite: #1E2A2E;
  --cinza-descritor: #5A6668;
  --cinza-arquitetonico: #D5DCDB;
  --nevoa: #E9EFEC;
  --branco-tecnico: #F5F7F6;
  --brand-primary: var(--verde-folha);
  --on-brand-primary: var(--grafite-airproj);
  --brand-primary-hover: #BCDD63;
  --brand-primary-pressed: #93BC28;
  --brand-secondary: #E8EFEC;
  --brand-accent: var(--verde-folha);
  --text-primary: #E8EFEC;
  --text-strong: #FFFFFF;
  --text-secondary: #9DB0B3;
  --text-link: var(--verde-folha);
  --text-inverse: var(--grafite-airproj);
  --text-inverse-secondary: var(--cinza-descritor);
  --surface-default: #0E1A1E;
  --surface-subtle: #122125;
  --surface-raised: #17292E;
  --surface-muted: #1C3237;
  --surface-inverse: var(--nevoa);
  --border-subtle: #24393E;
  --border-control: #6E8589;
  --border-strong: #E8EFEC;
  --line-technical: #22363B;
  --focus-ring: var(--verde-folha);
  --focus-ring-inverse: var(--verde-tecnico);
  --status-success: #4FC9AE;
  --status-success-surface: #0F2E29;
  --status-warning: #E9A23B;
  --status-warning-surface: #33260F;
  --status-danger: #F2766B;
  --status-danger-surface: #3A1717;
  --status-info: #6FB4EE;
  --status-info-surface: #14283A;
  --status-neutral: #9DB0B3;
  --status-neutral-surface: #1C3237;
  --chart-1: #E8EFEC;
  --chart-2: var(--verde-folha);
  --chart-3: #9DB0B3;
  --chart-4: #6FB4EE;
  --chart-5: #E9A23B;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --brand-primary: var(--verde-folha);
    --on-brand-primary: var(--grafite-airproj);
    --brand-primary-hover: #BCDD63;
    --brand-primary-pressed: #93BC28;
    --brand-secondary: #E8EFEC;
    --brand-accent: var(--verde-folha);
    --text-primary: #E8EFEC;
    --text-strong: #FFFFFF;
    --text-secondary: #9DB0B3;
    --text-link: var(--verde-folha);
    --text-inverse: var(--grafite-airproj);
    --text-inverse-secondary: var(--cinza-descritor);
    --surface-default: #0E1A1E;
    --surface-subtle: #122125;
    --surface-raised: #17292E;
    --surface-muted: #1C3237;
    --surface-inverse: var(--nevoa);
    --border-subtle: #24393E;
    --border-control: #6E8589;
    --border-strong: #E8EFEC;
    --line-technical: #22363B;
    --focus-ring: var(--verde-folha);
    --focus-ring-inverse: var(--verde-tecnico);
    --status-success: #4FC9AE;
    --status-success-surface: #0F2E29;
    --status-warning: #E9A23B;
    --status-warning-surface: #33260F;
    --status-danger: #F2766B;
    --status-danger-surface: #3A1717;
    --status-info: #6FB4EE;
    --status-info-surface: #14283A;
    --status-neutral: #9DB0B3;
    --status-neutral-surface: #1C3237;
    --chart-1: #E8EFEC;
    --chart-2: var(--verde-folha);
    --chart-3: #9DB0B3;
    --chart-4: #6FB4EE;
    --chart-5: #E9A23B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  }
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --line-hairline: 0.5px;
  --line-fine: 1px;
  --line-regular: 1.5px;
  --line-strong: 2px;
  --line-heavy: 4px;
  --grid-columns: 12;
  --grid-gutter: 24px;
  --grid-margin-mobile: 16px;
  --grid-margin-tablet: 32px;
  --grid-margin-desktop: 64px;
  --container-text: 720px;
  --container-content: 1200px;
  --container-wide: 1440px;
  --header-height: 76px;
  --control-sm: 32px;
  --control-md: 44px;
  --control-lg: 52px;
  --target-min: 24px;
  --icon-sm: 16px;
  --icon-md: 24px;
  --icon-lg: 32px;
  --logo-min-digital: 40px;
  --state-hover-overlay: 0.06;
  --state-pressed-overlay: 0.12;
  --state-disabled-opacity: 0.45;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.display-xl { font-family: var(--font-display); font-size: 56px; line-height: 62px; font-weight: 800; letter-spacing: -0.02em; }
.display-lg { font-family: var(--font-display); font-size: 44px; line-height: 50px; font-weight: 700; letter-spacing: -0.015em; }
.heading-xl { font-family: var(--font-display); font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.01em; }
.heading-lg { font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 700; }
.heading-md { font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; }
.heading-sm { font-family: var(--font-display); font-size: 17px; line-height: 24px; font-weight: 600; }
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 30px; font-weight: 400; }
.body-md { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 600; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 18px; font-weight: 400; }
.overline { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.data-md { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 400; font-variant-numeric: tabular-nums; }
.data-sm { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 400; font-variant-numeric: tabular-nums; }
.data-label { font-family: var(--font-mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }

/* AirProj — componentes (CSS puro, prefixo ap-). Depende das variáveis de tokens.css. */

/* ---------- base ---------- */
body { margin: 0; background: var(--surface-default); color: var(--text-primary); font-family: var(--font-sans); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
.ap-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(.ap-btn, .ap-link, .ap-input, .ap-select, .ap-textarea, .ap-check input, .ap-nav a):focus-visible { outline: var(--line-strong) solid var(--focus-ring); outline-offset: 2px; }
.ap-inverse :where(.ap-btn, .ap-link, .ap-nav a, .ap-input):focus-visible { outline-color: var(--focus-ring-inverse); }

/* ---------- grafismos ---------- */
.ap-blueprint { background-color: var(--surface-subtle); background-image: linear-gradient(var(--line-technical) var(--line-hairline), transparent var(--line-hairline)), linear-gradient(90deg, var(--line-technical) var(--line-hairline), transparent var(--line-hairline)); background-size: var(--space-5) var(--space-5); }
.ap-brandbar { display: block; height: var(--line-heavy); width: var(--space-8); background: var(--verde-folha); }
.ap-overline { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-accent); }
.ap-coord { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-secondary); letter-spacing: 0.04em; }

/* ---------- botão ---------- */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control-md); padding: 0 var(--space-5); border: var(--line-fine) solid transparent; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; white-space: nowrap; }
.ap-btn svg { width: var(--icon-sm); height: var(--icon-sm); flex: none; }
.ap-btn--primary { background: var(--brand-primary); color: var(--on-brand-primary); }
.ap-btn--primary:hover { background: var(--brand-primary-hover); }
.ap-btn--primary:active { background: var(--brand-primary-pressed); }
.ap-btn--secondary { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }
.ap-btn--secondary:hover { background: var(--surface-muted); }
.ap-btn--ghost { background: transparent; color: var(--text-link); padding: 0 var(--space-3); }
.ap-btn--ghost:hover { background: var(--surface-muted); }
.ap-btn--flow { background: var(--verde-folha); color: var(--grafite-airproj); }
.ap-btn--flow:hover { background: #BCDD63; }
.ap-btn--on-dark { background: transparent; color: #FFFFFF; border-color: #9DB0B3; }
.ap-btn--on-dark:hover { background: rgba(255, 255, 255, 0.08); border-color: #FFFFFF; }
.ap-btn--sm { min-height: var(--control-sm); padding: 0 var(--space-4); font-size: 13px; }
.ap-btn--lg { min-height: var(--control-lg); padding: 0 var(--space-6); font-size: 15px; }
.ap-btn[disabled], .ap-btn[aria-disabled="true"] { opacity: var(--state-disabled-opacity); cursor: not-allowed; }
.ap-btn.is-loading { pointer-events: none; }
.ap-btn.is-loading::before { content: ""; width: 14px; height: 14px; border-radius: var(--radius-pill); border: 2px solid currentColor; border-right-color: transparent; animation: ap-spin 800ms linear infinite; }
@keyframes ap-spin { to { transform: rotate(360deg); } }

/* ---------- link ---------- */
.ap-link { color: var(--text-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 500; }
.ap-link:hover { text-decoration-thickness: 2px; }
.ap-link--arrow { text-decoration: none; display: inline-flex; gap: var(--space-2); align-items: center; border-bottom: var(--line-fine) solid currentColor; padding-bottom: 2px; }
.ap-link--arrow::after { content: "→"; transition: transform 150ms ease; }
.ap-link--arrow:hover::after { transform: translateX(3px); }

/* ---------- etiqueta ---------- */
.ap-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px var(--space-2); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; background: var(--status-neutral-surface); color: var(--text-primary); }
.ap-tag--accent { background: transparent; color: var(--brand-accent); border: var(--line-fine) solid currentColor; }
.ap-tag--illustrative { background: transparent; color: var(--text-secondary); border: var(--line-fine) dashed var(--border-control); }
.ap-tag--success { background: var(--status-success-surface); color: var(--status-success); }
.ap-tag--warning { background: var(--status-warning-surface); color: var(--status-warning); }
.ap-tag--danger { background: var(--status-danger-surface); color: var(--status-danger); }
.ap-tag .dot { width: 6px; height: 6px; border-radius: var(--radius-pill); background: currentColor; }

/* ---------- cabeçalho de seção ---------- */
.ap-section-head { max-width: var(--container-text); display: grid; gap: var(--space-3); }
.ap-section-head h2 { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-strong); }
.ap-section-head p { margin: 0; font-size: 18px; line-height: 30px; color: var(--text-secondary); }

/* ---------- cabeçalho do site ---------- */
.ap-header { display: flex; align-items: center; gap: var(--space-6); height: var(--header-height); padding: 0 var(--space-6); background: var(--surface-default); border-bottom: var(--line-fine) solid var(--border-subtle); }
.ap-header__logo { display: flex; align-items: center; height: 48px; flex: none; }
.ap-header__logo img { height: 48px; width: auto; display: block; }
.ap-logo-neg { display: none !important; }
[data-theme="dark"] .ap-logo-pos { display: none !important; }
[data-theme="dark"] .ap-logo-neg { display: block !important; }
.ap-nav { display: flex; gap: var(--space-1); margin-left: auto; }
.ap-nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: var(--control-md); padding: 0 var(--space-3); font-size: 14px; font-weight: 600; color: var(--text-primary); text-decoration: none; border-radius: var(--radius-sm); }
.ap-nav a:hover { color: var(--text-strong); background: var(--surface-muted); }
.ap-nav a[aria-current="page"] { color: var(--text-strong); box-shadow: inset 0 -2px 0 var(--brand-accent); border-radius: 0; }
.ap-header__menu { display: none; margin-left: auto; }
@media (max-width: 860px) { .ap-header .ap-nav, .ap-header .ap-header__cta { display: none; } .ap-header__menu { display: inline-flex; } .ap-header { padding: 0 var(--space-4); } }

/* ---------- rodapé ---------- */
.ap-footer { background: var(--grafite-airproj); color: #FFFFFF; padding: var(--space-8) var(--space-6) var(--space-6); }
.ap-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-6); }
.ap-footer h4 { margin: 0 0 var(--space-3); font-size: 12px; line-height: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--verde-folha); font-weight: 600; }
.ap-footer a { display: block; color: #FFFFFF; text-decoration: none; font-size: 14px; line-height: 28px; }
.ap-footer a:hover { text-decoration: underline; }
.ap-footer a:focus-visible { outline: 2px solid var(--verde-folha); outline-offset: 2px; }
.ap-footer p { margin: var(--space-4) 0 0; font-size: 14px; line-height: 20px; color: #9DB0B3; max-width: 34ch; }
.ap-footer__base { margin-top: var(--space-7); padding-top: var(--space-4); border-top: var(--line-fine) solid #2C4247; display: flex; justify-content: space-between; gap: var(--space-4); font-family: var(--font-mono); font-size: 12px; color: #9DB0B3; flex-wrap: wrap; }
@media (max-width: 760px) { .ap-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- cartão de serviço ---------- */
.ap-service { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); background: var(--surface-raised); border: var(--line-fine) solid var(--border-subtle); border-radius: var(--radius-md); }
.ap-service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.ap-service__icon { width: var(--icon-lg); height: var(--icon-lg); color: var(--text-strong); }
.ap-service__num { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); }
.ap-service h3 { margin: var(--space-2) 0 0; font-family: var(--font-display); font-size: 19px; line-height: 26px; font-weight: 700; color: var(--text-strong); }
.ap-service p { margin: 0; font-size: 15px; line-height: 22px; color: var(--text-secondary); }
.ap-service:hover { border-color: var(--border-control); }

/* ---------- cartão de projeto ---------- */
.ap-project { display: grid; background: var(--surface-raised); border: var(--line-fine) solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; color: inherit; text-decoration: none; }
.ap-project__media { position: relative; aspect-ratio: 16 / 10; background: var(--grafite-airproj); overflow: hidden; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.ap-project__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-project__media .ap-tag { position: absolute; left: var(--space-3); top: var(--space-3); background: rgba(20, 38, 43, 0.85); color: #FFFFFF; border: var(--line-fine) dashed #9DB0B3; }
.ap-project__body { padding: var(--space-4) var(--space-5) var(--space-5); display: grid; gap: var(--space-2); }
.ap-project h3 { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 25px; font-weight: 700; color: var(--text-strong); }
.ap-project__meta { display: flex; gap: var(--space-4); font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-secondary); border-top: var(--line-fine) solid var(--border-subtle); padding-top: var(--space-3); margin-top: var(--space-2); }

/* ---------- bloco de indicadores ---------- */
.ap-params { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: var(--line-strong) solid var(--border-strong); }
.ap-param { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-right: var(--line-fine) solid var(--border-subtle); display: grid; gap: var(--space-1); }
.ap-param + .ap-param { padding-left: var(--space-4); }
.ap-param:last-child { border-right: 0; }
.ap-param__label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); }
.ap-param__value { font-family: var(--font-display); font-size: 34px; line-height: 40px; font-weight: 700; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.ap-param__value small { font-family: var(--font-mono); font-size: 14px; font-weight: 400; color: var(--text-secondary); margin-left: 4px; }

/* ---------- formulário ---------- */
.ap-field { display: grid; gap: 6px; }
.ap-field > label, .ap-field__label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-primary); }
.ap-field__hint { font-size: 12px; line-height: 16px; color: var(--text-secondary); }
.ap-input, .ap-select, .ap-textarea { width: 100%; box-sizing: border-box; min-height: var(--control-md); padding: 0 var(--space-3); font-family: var(--font-sans); font-size: 15px; color: var(--text-primary); background: var(--surface-default); border: var(--line-fine) solid var(--border-control); border-radius: var(--radius-sm); }
.ap-textarea { padding: var(--space-3); min-height: 104px; resize: vertical; line-height: 22px; }
.ap-input::placeholder, .ap-textarea::placeholder { color: var(--text-secondary); }
.ap-input:hover, .ap-select:hover, .ap-textarea:hover { border-color: var(--text-secondary); }
.ap-input:focus-visible, .ap-select:focus-visible, .ap-textarea:focus-visible { border-color: var(--focus-ring); }
.ap-field.is-error .ap-input, .ap-field.is-error .ap-textarea, .ap-field.is-error .ap-select { border-color: var(--status-danger); border-width: var(--line-strong); }
.ap-field.is-error .ap-field__hint { color: var(--status-danger); }
.ap-field.is-success .ap-field__hint { color: var(--status-success); }
.ap-field.is-error .ap-field__hint::before { content: "✕ "; }
.ap-field.is-success .ap-field__hint::before { content: "✓ "; }
.ap-input[disabled] { background: var(--surface-muted); opacity: 0.8; cursor: not-allowed; }
.ap-check { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 14px; line-height: 20px; }
.ap-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand-primary); }

/* ---------- alerta ---------- */
.ap-alert { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: var(--line-fine) solid currentColor; font-size: 14px; line-height: 20px; }
.ap-alert svg { width: 20px; height: 20px; }
.ap-alert strong { display: block; font-weight: 600; }
.ap-alert p { margin: 0; color: var(--text-primary); }
.ap-alert--info { background: var(--status-info-surface); color: var(--status-info); }
.ap-alert--success { background: var(--status-success-surface); color: var(--status-success); }
.ap-alert--warning { background: var(--status-warning-surface); color: var(--status-warning); }
.ap-alert--danger { background: var(--status-danger-surface); color: var(--status-danger); }

/* ---------- carregamento ---------- */
.ap-progress { height: 3px; background: var(--surface-muted); overflow: hidden; position: relative; }
.ap-progress::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 32%; background: var(--brand-accent); animation: ap-flow 1.4s ease-in-out infinite; }
@keyframes ap-flow { from { left: -32%; } to { left: 100%; } }
.ap-skeleton { background: var(--surface-muted); border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.ap-skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); animation: ap-flow 1.6s linear infinite; width: 50%; }
@media (prefers-reduced-motion: reduce) { .ap-progress::after, .ap-skeleton::after, .ap-btn.is-loading::before { animation: none; } }

/* ---------- carimbo de prancha ---------- */
.ap-titleblock { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; border: var(--line-strong) solid var(--border-strong); background: var(--surface-default); color: var(--text-primary); }
.ap-titleblock > div { padding: 6px var(--space-2); border-right: var(--line-fine) solid var(--border-strong); border-bottom: var(--line-fine) solid var(--border-strong); min-height: 34px; }
.ap-titleblock > div:nth-child(4), .ap-titleblock > div:nth-child(7), .ap-titleblock > div:nth-child(11) { border-right: 0; }
.ap-titleblock > div:nth-child(n+8), .ap-titleblock > .brand { border-bottom: 0; }
.ap-titleblock > .brand { border-bottom: var(--line-fine) solid var(--border-strong); }
.ap-titleblock .k { display: block; font-family: var(--font-mono); font-size: 9px; line-height: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); }
.ap-titleblock .v { display: block; font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-strong); }
.ap-titleblock .brand { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.ap-titleblock .big { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 800; color: var(--text-strong); }

/* ---------- tabela técnica ---------- */
.ap-spec { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.ap-spec caption { text-align: left; caption-side: top; padding-bottom: var(--space-2); font-size: 12px; color: var(--text-secondary); }
.ap-spec th { text-align: left; font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--text-secondary); background: var(--surface-muted); padding: var(--space-2) var(--space-3); border-bottom: var(--line-fine) solid var(--border-strong); }
.ap-spec td { padding: var(--space-2) var(--space-3); border-bottom: var(--line-fine) solid var(--border-subtle); color: var(--text-primary); }
.ap-spec td.n, .ap-spec th.n { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ap-spec tbody tr:hover td { background: var(--surface-subtle); }

/* =====================================================================
   AirProj — site.css (sobre tokens.css + components.css do Design System)
   ===================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-size: 16px; line-height: 26px; overflow-x: clip; }
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--grid-margin-mobile), var(--container-content)); margin-inline: auto; }
@media (min-width: 640px) { .wrap { width: min(100% - 2 * var(--grid-margin-tablet), var(--container-content)); } }
@media (min-width: 1024px) { .wrap { width: min(100% - 2 * var(--grid-margin-desktop), var(--container-content)); } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface-default); color: var(--text-strong); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
#conteudo { outline: none; }

/* superfícies escuras: redefine tokens localmente para os componentes funcionarem por cima */
.story, .sec--dark, .ap-footer {
  --text-strong: #FFFFFF; --text-primary: #E8EFEC; --text-secondary: #9DB0B3; --text-link: #A5CD39;
  --brand-accent: #A5CD39; --surface-raised: #17292E; --surface-muted: #1C3237; --surface-default: #14262B;
  --border-subtle: #2C4247; --border-strong: #E8EFEC; --border-control: #6E8589; --focus-ring: #A5CD39;
  color: var(--text-primary);
}

/* ============================== cabeçalho ============================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: var(--space-5);
  height: var(--header-height); padding: 0 var(--space-6); transition: background-color .25s ease, box-shadow .25s ease, color .25s ease; }
.site-header[data-state="over-story"] { color: #fff; background: linear-gradient(180deg, rgba(14, 26, 30, .72), rgba(14, 26, 30, 0)); }
.site-header[data-state="solid"] { color: var(--text-strong); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--border-subtle); }
.site-header__logo { display: flex; flex: none; }
.site-header__logo img { height: 46px; width: auto; }
.site-header .logo-pos { display: none; }
.site-header[data-state="solid"] .logo-pos { display: block; }
.site-header[data-state="solid"] .logo-neg { display: none; }
.site-nav { display: flex; gap: var(--space-1); margin-left: auto; }
.site-nav a { color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: var(--radius-sm); white-space: nowrap; }
.site-nav a:hover { background: rgba(127, 140, 140, .14); }
.site-nav a:focus-visible, .site-header__logo:focus-visible { outline: 2px solid var(--verde-folha); outline-offset: 2px; }
.site-header[data-state="solid"] .site-nav a:focus-visible { outline-color: var(--focus-ring); }
.site-header[data-state="over-story"] .site-header__cta { background: var(--verde-folha); color: var(--grafite-airproj); }
.site-header__menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: var(--radius-sm); background: transparent; color: inherit; cursor: pointer; position: relative; }
.site-header__menu span[aria-hidden] { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
@media (max-width: 1080px) {
  .site-header { padding: 0 var(--space-4); height: 64px; }
  .site-header__logo img { height: 40px; }
  .site-header__menu { display: block; }
  .site-header__cta { display: none; }
  .site-nav { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; padding: var(--space-3) var(--space-4) var(--space-5);
    background: var(--grafite-airproj); color: #fff; display: none; box-shadow: var(--shadow-md); }
  .site-nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid #2C4247; border-radius: 0; }
  .site-header.is-open .site-nav { display: flex; }
}

/* ============================== história (scroll story) ============================== */
.story { position: relative; background: var(--grafite-airproj); }
.story__stage { display: none; }
.story__canvas, .story__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.story__canvas { opacity: 0; transition: opacity .4s ease; }
.story--ready .story__canvas { opacity: 1; }
.story__poster { transition: opacity .4s ease; }
.story--ready .story__poster { opacity: 0; }
.story__canvas { z-index: 1; }
.story__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 26, 30, .86) 0%, rgba(14, 26, 30, .55) 34%, rgba(14, 26, 30, 0) 62%),
              linear-gradient(0deg, rgba(14, 26, 30, .78) 0%, rgba(14, 26, 30, 0) 42%); }

/* modo estático (sem JS, movimento reduzido ou aparelho limitado): capítulos em sequência */
.chapter { position: relative; min-height: 88svh; display: flex; overflow: hidden; }
.chapter__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 30, .88), rgba(14, 26, 30, .35) 60%, rgba(14, 26, 30, .1)), linear-gradient(0deg, rgba(14, 26, 30, .7), transparent 50%); }
.chapter--transition { display: none; }
.chapter__copy { position: relative; z-index: 1; align-self: flex-end; width: min(100% - 32px, 620px); margin: 0 0 clamp(48px, 10svh, 112px) clamp(16px, 6vw, 96px); }
.chapter--baixo .chapter__copy { width: min(100% - 32px, 980px); }
.chapter .ap-overline { color: var(--verde-folha); }
.chapter__title { margin: 14px 0 16px; font: 800 clamp(34px, 5.2vw, 64px)/1.05 var(--font-display); letter-spacing: -.02em; color: #fff; }
.chapter--baixo .chapter__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
.chapter__text { margin: 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: #D3DDDB; max-width: 52ch; }
.chapter__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chapter__points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.chapter__points li { display: grid; gap: 6px; padding-top: 14px; border-top: 2px solid rgba(255, 255, 255, .25); transition: border-color .3s ease, opacity .3s ease; }
.chapter__points .num { font: 500 12px/16px var(--font-mono); color: var(--verde-folha); }
.chapter__points strong { font: 700 clamp(18px, 1.8vw, 22px)/1.25 var(--font-display); color: #fff; }
.chapter__points li > span:last-child { font-size: 15px; line-height: 1.55; color: #C9D4D2; }
.story--pinned .chapter__points li { opacity: .5; }
.story--pinned .chapter__points li.is-on { opacity: 1; border-color: var(--verde-folha); }
.story__ui { display: none; }

/* modo fixo (animação por scroll) */
.story--pinned { height: calc((var(--story-vh) + 1) * 100svh); }
.story--pinned .story__stage,
.story--pinned .story__chapters,
.story--pinned .story__ui { display: block; position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story--pinned .story__chapters, .story--pinned .story__ui { margin-top: -100svh; }
.story--pinned .chapter { position: absolute; inset: 0; min-height: 0; opacity: 0; transform: translateY(var(--shift, 0)); will-change: opacity, transform; }
.story--pinned .chapter__still, .story--pinned .chapter::after { display: none; }
.story--pinned .chapter[aria-hidden] { pointer-events: none; }
.story--pinned .story__ui { pointer-events: none; }
.story__skip { pointer-events: auto; position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(20px, 4svh, 40px); z-index: 3;
  color: #fff; font: 600 13px/1 var(--font-sans); text-decoration: none; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--radius-sm); background: rgba(14, 26, 30, .4); backdrop-filter: blur(6px); }
.story__skip:hover { border-color: #fff; }
.story__skip:focus-visible { outline: 2px solid var(--verde-folha); outline-offset: 2px; }
.story__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.story__progress span { display: block; height: 100%; background: var(--verde-folha); transform-origin: left; transform: scaleX(0); }

@media (max-width: 760px) {
  .story__shade { background: linear-gradient(0deg, rgba(14, 26, 30, .94) 0%, rgba(14, 26, 30, .7) 42%, rgba(14, 26, 30, 0) 72%), linear-gradient(180deg, rgba(14, 26, 30, .55), transparent 22%); }
  .chapter__copy { margin: 0 16px 88px; width: auto; }
  .chapter__points { grid-template-columns: 1fr; gap: 10px; }
  .story--pinned .chapter__points li:not(.is-on) { display: none; }
  .chapter__actions .ap-btn { flex: 1 1 auto; }
  .story__skip { right: 50%; transform: translateX(50%); bottom: 18px; }
}

/* ============================== seções ============================== */
.sec { padding: clamp(72px, 10vw, 128px) 0; background: var(--surface-default); }
.sec--subtle { background: var(--surface-subtle); }
.sec--dark { background: var(--grafite-airproj); }
.sec .ap-section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.sec .ap-section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.18; font-weight: 800; }
.note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0 0; font-size: 13px; line-height: 20px; color: var(--text-secondary); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ap-service__icon .ico { width: 32px; height: 32px; color: var(--text-strong); }

/* para quem */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--border-strong); }
.audience__item { padding: 24px 24px 8px 0; display: grid; align-content: start; gap: 10px; }
.audience__item + .audience__item { padding-left: 24px; border-left: 1px solid var(--border-subtle); }
.audience__num { font: 500 12px var(--font-mono); color: var(--text-secondary); }
.audience__item h3 { margin: 0; font: 700 20px/1.3 var(--font-display); color: var(--text-strong); }
.audience__pain { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.audience__gain { margin: 4px 0 0; font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--text-primary); display: flex; gap: 10px; }
.audience__arrow { flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--brand-accent); position: relative; }
.audience__arrow::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand-accent); }

/* problema */
.problem { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.problem .ap-section-head { margin-bottom: 24px; }
.problem__close { margin: 0 0 28px; color: var(--text-secondary); font-size: 17px; line-height: 1.6; max-width: 44ch; }
.problem__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-subtle); }
.problem__list li { padding: 20px 0 20px 40px; border-bottom: 1px solid var(--border-subtle); position: relative; font-size: 17px; line-height: 1.5; color: #fff; }
.problem__list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--verde-folha); border-right-color: transparent; transform: rotate(45deg); }

/* setores */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector { background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.sector img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sector__body { padding: 18px 20px 22px; }
.sector h3 { margin: 0 0 6px; font: 700 18px/1.3 var(--font-display); color: var(--text-strong); }
.sector p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-secondary); }

/* entregas */
.deliver { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.deliver__item { display: grid; gap: 8px; align-content: start; }
.deliver__visual { aspect-ratio: 5 / 3; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background-color: var(--surface-subtle);
  background-image: linear-gradient(var(--line-technical) .5px, transparent .5px), linear-gradient(90deg, var(--line-technical) .5px, transparent .5px); background-size: 16px 16px;
  color: var(--text-strong); padding: 10px; margin-bottom: 8px; }
.deliver__visual svg { width: 100%; height: 100%; display: block; }
.deliver__item h3 { margin: 0; font: 700 18px/1.3 var(--font-display); color: var(--text-strong); }
.deliver__item p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-secondary); }

/* metodologia */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.steps li { border-top: 2px solid var(--verde-folha); padding-top: 14px; }
.steps__num { font: 500 12px var(--font-mono); color: var(--verde-folha); }
.steps h3 { margin: 12px 0 8px; font: 700 18px/1.3 var(--font-display); color: #fff; }
.steps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }

/* responsável técnico */
.resp { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.resp .ap-section-head { margin: 0; }
.resp__card { display: flex; gap: 20px; align-items: center; background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 24px; }
.resp__photo { flex: none; width: 88px; height: 88px; border-radius: 50%; background: var(--surface-muted); display: grid; place-items: center; color: var(--text-secondary); }
.resp__photo .ico { width: 36px; height: 36px; }
.resp__card strong { display: block; font: 700 18px/1.3 var(--font-display); color: var(--text-strong); }
.resp__reg { font: 13px var(--font-mono); color: var(--text-secondary); }
.resp__card .note { margin-top: 10px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 2px solid var(--border-strong); }
.faq details { border-bottom: 1px solid var(--border-subtle); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 17px/1.4 var(--font-sans); color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--brand-accent); border-bottom: 2px solid var(--brand-accent); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.faq details p { margin: 0 0 20px; color: var(--text-secondary); font-size: 16px; line-height: 1.65; max-width: 62ch; }

/* contato */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .ap-section-head { margin-bottom: 24px; }
.contact__offer { font-weight: 600; color: var(--text-strong); }
.contact__alt { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact__alt li { display: grid; gap: 2px; font-size: 17px; }
.contact__k { font: 500 11px/14px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: clamp(20px, 3vw, 32px); }
.contact__form .full { grid-column: 1 / -1; }
.contact__submit { display: grid; gap: 12px; justify-items: start; }
.contact__demo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; font-size: 13px; line-height: 20px; color: var(--text-secondary); }
.contact__status { margin: 0; font-size: 14px; line-height: 22px; font-weight: 600; }
.contact__status:empty { display: none; }
.contact__status a { color: inherit; text-decoration: underline; }
.contact__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact__status.is-error { color: var(--status-danger); }
.contact__status.is-success { color: var(--status-success); }
.contact__status.is-demo { color: var(--status-warning); }

/* rodapé + barra fixa */
.ap-footer img { height: 52px; width: auto; }
.ap-footer__muted { display: block; color: #9DB0B3; font-size: 14px; line-height: 28px; }
.sticky-cta { position: fixed; z-index: 40; right: 20px; bottom: 20px; display: flex; gap: 10px; }
.sticky-cta[hidden] { display: none; }
@media (min-width: 761px) { .sticky-cta:not(:has(a + a)) { display: none; } }
.sticky-cta .ap-btn { box-shadow: var(--shadow-md); }

/* ============================== responsivo ============================== */
@media (max-width: 1080px) {
  .audience { grid-template-columns: 1fr 1fr; }
  .audience__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .sectors, .deliver { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
}
@media (max-width: 760px) {
  .grid3, .audience, .sectors, .deliver, .problem, .resp, .faq, .contact, .contact__form { grid-template-columns: 1fr; }
  .audience__item, .audience__item + .audience__item { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--border-subtle); }
  .steps { grid-template-columns: 1fr 1fr; }
  .sticky-cta { left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -1px 0 var(--border-subtle); }
  .sticky-cta .ap-btn { flex: 1; box-shadow: none; }
  .ap-footer { padding-bottom: 96px; }
}
