/* Audithec Thermal Pro — landing page comercial (venda de licença do software).
   Paleta e tipografia preservam o design aprovado no Claude Design
   (ver docs/handoff — chats/chat1.md). Fontes self-hosted em assets/fonts/:
   a CSP de produção (frontend/nginx.conf.template) é font-src 'self' data:,
   então o link para fonts.googleapis.com do mockup não carregaria. */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0300-036F, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0300-036F, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --atp-bg: #FFFFFF;
  --atp-bg-alt: #FFFFFF;
  --atp-navy: #10192B;
  --atp-navy-2: #1E2C49;
  --atp-orange: #E8571F;
  --atp-orange-hover: #FF6A2E;
  --atp-orange-soft: #FF7A3D;
  --atp-text: #171B24;
  --atp-text-body: #4B5160;
  --atp-text-body-2: #3A3F4A;
  --atp-muted: #6B6658;
  --atp-border: #E3DFD4;
  --atp-border-2: #D9D3C5;
  --atp-red-bg: #FBEAE8;
  --atp-red: #B3261E;
  --atp-green-bg: #E7F5EC;
  --atp-green: #1B7A43;
  --atp-amber: #B54708;
  --atp-panel-bg: #FBEFE6;
  --atp-panel-border: #F0CBB0;
}

* { box-sizing: border-box; }

body.atp {
  margin: 0;
  background: var(--atp-bg);
  font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  color: var(--atp-text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.atp h1, .atp h2, .atp h3 { font-family: 'Space Grotesk', -apple-system, 'Segoe UI', sans-serif; }
/* :where() por propósito — especificidade zero, então qualquer classe de
   botão declarada abaixo (mesma especificidade 0,1,0) vence pela ordem do
   arquivo, sem precisar enumerar cada variante de botão-como-link. */
.atp :where(a) { color: var(--atp-orange); text-decoration: none; }
.atp :where(a:hover) { color: #8F3208; }
.atp ::selection { background: var(--atp-orange); color: #fff; }
.atp input, .atp select, .atp button, .atp textarea { font-family: 'IBM Plex Sans', sans-serif; }
.atp input::placeholder { color: #9A958A; }

@keyframes atpIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes atpFade { from { opacity: 0; } to { opacity: 1; } }

.atp-wrap { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }
.atp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.atp-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────── */
.atp-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--atp-border);
}
.atp-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.atp-brand { display: flex; align-items: center; gap: 11px; color: inherit; }
.atp-brand img { display: block; height: 40px; width: auto; flex: none; }
.atp-brand-name { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: var(--atp-text); }
.atp-brand-sub { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--atp-muted); font-weight: 600; }
.atp-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.atp-nav-link { font-size: 14px; color: #2E323D; font-weight: 500; }
.atp-nav-cta { background: var(--atp-navy); color: #fff; padding: 11px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.atp-nav-cta:hover { background: var(--atp-navy-2); color: #fff; }

/* ── Buttons ────────────────────────────────────────── */
.atp-btn { display: inline-block; text-align: center; font-weight: 700; border-radius: 8px; cursor: pointer; user-select: none; border: none; font-family: inherit; }
.atp-btn-orange { background: var(--atp-orange); color: var(--atp-navy); }
.atp-btn-orange:hover { background: var(--atp-orange-hover); color: var(--atp-navy); }
.atp-btn-navy { background: var(--atp-navy); color: #fff; }
.atp-btn-navy:hover { background: var(--atp-navy-2); color: #fff; }
.atp-btn-outline { background: #FFFFFF; color: var(--atp-navy); border: 1px solid var(--atp-border); }
.atp-btn-outline:hover { border-color: var(--atp-navy); }

/* ── Hero ───────────────────────────────────────────── */
.atp-hero { background: #FFFFFF; color: var(--atp-text); border-bottom: 1px solid var(--atp-border); }
.atp-hero-grid {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(52px,6vw,96px) 24px clamp(48px,5vw,80px);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
  gap: clamp(32px,4vw,56px); align-items: center;
}
.atp-eyebrow { font-size: 11.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--atp-amber); font-weight: 700; margin-bottom: 18px; }
.atp-h1 { font-size: clamp(31px,4.3vw,48px); line-height: 1.07; font-weight: 700; margin: 0 0 20px; letter-spacing: -.015em; }
.atp-h1 .dot { color: var(--atp-orange); }
.atp-hero-lead { font-size: clamp(15px,1.4vw,17px); line-height: 1.6; color: var(--atp-text-body); max-width: 520px; margin: 0 0 32px; }
.atp-hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.atp-cta-primary { padding: 14px 26px; font-size: 15px; box-shadow: 0 8px 22px rgba(232,87,31,.26); }
.atp-cta-link { color: var(--atp-navy); font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--atp-border-2); padding-bottom: 2px; }
.atp-cta-link:hover { border-color: var(--atp-orange); color: var(--atp-navy); }

.atp-hero-card { min-width: 0; background: var(--atp-bg); border-radius: 14px; padding: clamp(20px,2.2vw,26px); color: var(--atp-text); border: 1px solid var(--atp-border); box-shadow: 0 18px 44px rgba(16,25,43,.10); }
.atp-hero-card-label { font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: var(--atp-muted); font-weight: 700; margin-bottom: 14px; }
.atp-hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.atp-hero-stat { border-radius: 8px; padding: 10px; min-width: 0; min-height: 124px; display: flex; flex-direction: column; justify-content: center; }
.atp-hero-stat-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.atp-hero-stat-val { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; margin-top: 3px; padding: 0 10px; word-break: break-word; }
.atp-hero-summary { background: var(--atp-navy); border-radius: 8px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.atp-hero-summary-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #AEB6C6; font-weight: 700; }
.atp-hero-summary-val { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: #fff; margin-top: 3px; }
.atp-hero-ring { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--atp-orange); display: flex; align-items: center; justify-content: center; color: var(--atp-orange); font-weight: 700; font-size: 13px; flex: none; }

/* ── Generic section ────────────────────────────────── */
.atp-section { max-width: 1180px; margin: 0 auto; padding: clamp(56px,6vw,88px) 24px clamp(28px,3vw,40px); }
.atp-section-alt { background: var(--atp-bg-alt); border-top: 1px solid var(--atp-border); border-bottom: 1px solid var(--atp-border); padding: clamp(56px,6vw,80px) 0; }
.atp-kicker { font-size: 11.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--atp-amber); font-weight: 700; margin-bottom: 14px; }
.atp-h2 { font-size: clamp(24px,3vw,32px); font-weight: 700; margin: 0 0 16px; line-height: 1.18; letter-spacing: -.015em; }
.atp-lead { font-size: clamp(15px,1.3vw,16px); line-height: 1.6; color: var(--atp-text-body); margin: 0; }

.atp-problem-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 24px; }
.atp-problem-card { border-left: 3px solid var(--atp-orange); padding: 4px 0 4px 18px; min-width: 0; }
.atp-problem-title { font-size: 13.5px; font-weight: 700; color: var(--atp-navy); margin-bottom: 7px; }
.atp-problem-text { font-size: 13.5px; line-height: 1.55; color: var(--atp-text-body); margin: 0; }

/* ── Produtos (como funciona) ───────────────────────── */
.atp-products { max-width: 1180px; margin: 0 auto; padding: 0 24px clamp(60px,6vw,96px); }
.atp-products-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(265px,1fr)); gap: 24px; }
.atp-product-card { background: #fff; border: 1px solid var(--atp-border); border-radius: 14px; padding: 28px; min-width: 0; }
.atp-product-card.dark { background: var(--atp-navy); color: var(--atp-bg); border: none; }
.atp-product-tag { font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: var(--atp-muted); font-weight: 700; margin-bottom: 10px; }
.atp-product-card.dark .atp-product-tag { color: var(--atp-orange-soft); }
.atp-product-title { font-size: 19px; font-weight: 700; margin: 0 0 10px; line-height: 1.25; }
.atp-product-card.dark .atp-product-title { color: #fff; }
.atp-product-text { font-size: 14px; line-height: 1.6; color: var(--atp-text-body); margin: 0 0 12px; }
.atp-product-card.dark .atp-product-text { color: #C9CBD6; }
.atp-product-note { font-size: 12.5px; line-height: 1.55; color: var(--atp-muted); margin: 0; }

/* ── Casos ──────────────────────────────────────────── */
.atp-cases-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(265px,1fr)); gap: 24px; }
.atp-case-card { background: #fff; border-radius: 14px; padding: 26px; min-width: 0; }
.atp-case-label { font-size: 13px; color: var(--atp-text-body); margin-bottom: 7px; line-height: 1.5; }
.atp-case-value { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px,2.8vw,30px); font-weight: 700; color: var(--atp-navy); margin-bottom: 6px; line-height: 1.05; }
.atp-case-value span { font-size: 15px; font-weight: 500; color: var(--atp-muted); }
.atp-case-sub { font-size: 13px; color: var(--atp-text-body); }
.atp-case-flag { font-size: 11.5px; font-weight: 700; color: var(--atp-red); background: var(--atp-red-bg); display: inline-block; padding: 4px 9px; border-radius: 6px; margin-top: 10px; }
.atp-cases-note { font-size: 12.5px; color: var(--atp-text-body); margin-top: 18px; line-height: 1.6; max-width: 860px; }

/* ── Planos ─────────────────────────────────────────── */
.atp-plans-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(28px,3vw,44px); flex-wrap: wrap; gap: 20px; }
.atp-toggle { display: flex; background: var(--atp-bg-alt); border: 1px solid var(--atp-border); border-radius: 999px; padding: 4px; }
.atp-toggle-opt { padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; user-select: none; background: transparent; color: var(--atp-text-body); border: none; font-family: inherit; }
.atp-toggle-opt.active { background: var(--atp-navy); color: var(--atp-bg); }
.atp-plans-sub { font-size: 13.5px; color: var(--atp-text-body); margin: 0 0 32px; line-height: 1.6; max-width: 760px; }

.atp-plans-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.atp-plan-card { background: #fff; border: 1px solid var(--atp-border); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; min-width: 0; }
.atp-plan-card.featured { border: 2px solid var(--atp-navy); }
.atp-plan-card.dark { background: var(--atp-navy); color: var(--atp-bg); border: none; position: relative; }
.atp-plan-tag { font-size: 12px; color: var(--atp-muted); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.atp-plan-card.dark .atp-plan-tag { color: var(--atp-orange-soft); }
.atp-plan-audience { font-size: 14px; color: var(--atp-text-body); margin: 6px 0 22px; }
.atp-plan-card.dark .atp-plan-audience { color: #C9CBD6; }
.atp-plan-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; flex-wrap: wrap; }
.atp-plan-price { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px,3.4vw,38px); font-weight: 700; line-height: 1; }
.atp-plan-price-unit { font-size: 13px; color: var(--atp-muted); }
.atp-plan-card.dark .atp-plan-price-unit { color: #AEB6C6; }
.atp-plan-quota { font-size: 12.5px; color: var(--atp-muted); margin-bottom: 24px; }
.atp-plan-card.dark .atp-plan-quota { color: #AEB6C6; }
.atp-plan-rule { height: 1px; background: var(--atp-border); margin-bottom: 20px; }
.atp-plan-card.dark .atp-plan-rule { background: #2A3348; }
.atp-plan-items { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: #2E323D; margin-bottom: 28px; flex-grow: 1; line-height: 1.45; }
.atp-plan-card.dark .atp-plan-items { color: #E4E6ED; }
.atp-plan-items .muted { color: #7A7566; }
.atp-plan-cta { padding: 13px; border-radius: 8px; font-weight: 700; font-size: 14px; }

.atp-avulso-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 16px; }
.atp-avulso-card { background: var(--atp-bg); border: 1px dashed #C9C2AE; border-radius: 14px; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; min-width: 0; }
.atp-avulso-kicker { font-size: 11px; color: var(--atp-muted); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 5px; }
.atp-avulso-title { font-size: 15px; font-weight: 700; color: var(--atp-navy); }
.atp-avulso-sub { font-size: 13px; color: var(--atp-text-body); margin-top: 3px; }
.atp-avulso-price { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: var(--atp-navy); text-align: right; }
.atp-avulso-price span { font-size: 13px; font-weight: 500; color: var(--atp-muted); }
.atp-avulso-note { font-size: 12.5px; color: var(--atp-text-body); margin-top: 2px; text-align: right; }

.atp-instr-panel { margin-top: 28px; background: var(--atp-panel-bg); border: 1px solid var(--atp-panel-border); border-radius: 14px; padding: clamp(22px,2.4vw,30px); display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: clamp(22px,2.6vw,36px); }
.atp-instr-title { font-size: clamp(18px,1.9vw,21px); font-weight: 700; margin: 0 0 12px; line-height: 1.25; color: var(--atp-text); }
.atp-instr-text { font-size: 14px; line-height: 1.62; color: var(--atp-text-body-2); margin: 0; }
.atp-instr-box { background: #fff; border-radius: 11px; padding: 18px 20px; }
.atp-instr-box-title { font-size: 13.5px; font-weight: 700; color: var(--atp-navy); margin-bottom: 6px; }
.atp-instr-box-text { font-size: 13.5px; line-height: 1.6; color: var(--atp-text-body-2); margin: 0; }
.atp-instr-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.atp-instr-actions .atp-btn { flex: 1; min-width: 150px; padding: 12px 16px; font-size: 14px; border-radius: 9px; }
.atp-btn-ghost { background: transparent; border: 1.5px solid #D9B79B; color: #8F3208; }
.atp-btn-ghost:hover { background: rgba(232,87,31,.08); color: #8F3208; }

.atp-plans-legal { font-size: 12.5px; color: var(--atp-text-body); margin-top: 24px; line-height: 1.7; }

/* ── FAQ ────────────────────────────────────────────── */
.atp-faq-item { border-bottom: 1px solid #DDD6C6; padding: 19px 0; cursor: pointer; }
.atp-faq-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; background: none; border: none; width: 100%; text-align: left; padding: 0; cursor: pointer; font-family: inherit; }
.atp-faq-q { font-size: clamp(15.5px,1.6vw,18px); font-weight: 600; margin: 0; line-height: 1.35; color: var(--atp-text); }
.atp-faq-sign { font-size: 20px; color: #8F3208; line-height: 1.1; flex: none; font-weight: 500; }
.atp-faq-a { font-size: 14.5px; line-height: 1.7; color: var(--atp-text-body-2); margin: 12px 0 0; max-width: 740px; display: none; }
.atp-faq-item.open .atp-faq-a { display: block; }
.atp-faq-foot { font-size: 14px; line-height: 1.7; color: var(--atp-text-body-2); margin: 26px 0 0; }

/* ── Vendas ─────────────────────────────────────────── */
.atp-sales-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: clamp(28px,3.4vw,48px); align-items: start; }
.atp-sales-cta { display: inline-block; padding: 15px 26px; border-radius: 9px; font-size: 15.5px; box-shadow: 0 8px 22px rgba(232,87,31,.24); margin-bottom: 26px; }
.atp-sales-contact { border-top: 1px solid var(--atp-border); padding-top: 24px; }
.atp-sales-contact h3 { font-size: 18px; font-weight: 700; margin: 0 0 7px; line-height: 1.25; }
.atp-sales-contact p { font-size: 14px; line-height: 1.6; color: var(--atp-text-body-2); margin: 0 0 16px; }
.atp-whatsapp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 9px; font-weight: 700; font-size: 15px; }

.atp-sales-panel { min-width: 0; background: #fff; border: 1px solid var(--atp-border); border-radius: 16px; padding: clamp(22px,2.4vw,30px); }
.atp-form-title { font-size: clamp(19px,2vw,22px); font-weight: 700; margin: 0 0 8px; line-height: 1.2; }
.atp-form-sub { font-size: 13.5px; line-height: 1.55; color: var(--atp-text-body); margin: 0 0 20px; }
.atp-form-fields { display: flex; flex-direction: column; gap: 11px; }
.atp-field label, .atp-field-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--atp-text-body); margin-bottom: 5px; }
.atp-input, .atp-select { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1.5px solid var(--atp-border-2); border-radius: 8px; background: #FBFAF7; font-size: 14.5px; color: var(--atp-text); outline: none; }
.atp-input:focus, .atp-select:focus { border-color: var(--atp-orange); }
.atp-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B5160' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 30px; }
.atp-field-row2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(135px,1fr)); gap: 11px; }
.atp-form-submit { padding: 14px; border-radius: 9px; text-align: center; font-weight: 700; font-size: 15px; margin-top: 4px; width: 100%; }
.atp-form-error { font-size: 12.5px; color: var(--atp-red); background: var(--atp-red-bg); border-radius: 7px; padding: 9px 11px; line-height: 1.45; }
.atp-form-note { font-size: 11.5px; line-height: 1.5; color: var(--atp-muted); margin: 2px 0 0; }
.atp-form-success { display: flex; flex-direction: column; gap: 12px; padding: 12px 0; }
.atp-check-circle { width: 46px; height: 46px; border-radius: 50%; background: var(--atp-green-bg); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--atp-green); font-weight: 700; }
.atp-form-success h3 { font-size: 21px; font-weight: 700; margin: 0; line-height: 1.25; }
.atp-form-success p { font-size: 14.5px; line-height: 1.6; color: var(--atp-text-body-2); margin: 0; }
.atp-form-success .fine { font-size: 13px; color: var(--atp-text-body); }

[hidden] { display: none !important; }

/* ── Footer ─────────────────────────────────────────── */
.atp-footer { background: var(--atp-navy); color: #AEB6C6; padding: clamp(40px,4.5vw,52px) 0 32px; margin-top: auto; }
.atp-footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 30px; padding-bottom: 26px; border-bottom: 1px solid #2A3348; }
.atp-footer-logo { display: block; height: 44px; width: auto; max-width: 100%; margin-bottom: 15px; }
.atp-footer-org { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff; font-size: 14.5px; margin-bottom: 5px; line-height: 1.35; }
.atp-footer-product { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--atp-orange-soft); font-weight: 700; margin-bottom: 9px; }
.atp-footer-addr { font-size: 12.5px; line-height: 1.65; }
.atp-footer-addr a { color: #DDE0E8; }
.atp-footer-col-title { font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: var(--atp-orange-soft); font-weight: 700; margin-bottom: 12px; }
.atp-footer-contact { font-size: 13.5px; line-height: 1.9; }
.atp-footer-contact a { color: #DDE0E8; }
.atp-footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }

/* ── Popup ──────────────────────────────────────────── */
.atp-popup-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(16,25,43,.72); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: atpFade .22s ease-out; }
.atp-popup { width: 100%; max-width: 640px; max-height: 92vh; overflow: auto; background: var(--atp-bg); border-radius: 18px; box-shadow: 0 34px 90px rgba(0,0,0,.5); animation: atpIn .3s cubic-bezier(.2,.8,.25,1); position: relative; }
.atp-popup-close { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: rgba(16,25,43,.08); display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--atp-text-body); cursor: pointer; z-index: 2; line-height: 1; user-select: none; border: none; }
.atp-popup-close:hover { background: rgba(16,25,43,.16); }
.atp-popup-sent { padding: 44px 34px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.atp-popup-body { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); }
.atp-popup-aside { background: var(--atp-navy); padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; }
.atp-ebook-cover { width: 124px; background: var(--atp-bg); border-radius: 4px; padding: 16px 14px; box-shadow: 6px 6px 0 var(--atp-orange); display: flex; flex-direction: column; gap: 9px; }
.atp-ebook-cover-kicker { font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--atp-amber); font-weight: 700; }
.atp-ebook-cover-title { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; line-height: 1.15; color: var(--atp-navy); }
.atp-ebook-cover-rule { height: 2px; background: var(--atp-orange); width: 52px; }
.atp-ebook-cover-sub { font-size: 9px; line-height: 1.45; color: var(--atp-text-body); }
.atp-ebook-cover-tag { font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: var(--atp-muted); font-weight: 700; margin-top: 2px; }
.atp-popup-aside-text { font-size: 12.5px; line-height: 1.6; color: #AEB6C6; }
.atp-popup-main { padding: 30px 28px; min-width: 0; }
.atp-popup-kicker { font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--atp-amber); font-weight: 700; margin-bottom: 8px; margin-right: 44px; }
.atp-popup-title { font-size: clamp(19px,2vw,23px); font-weight: 700; margin: 0 0 9px; line-height: 1.2; letter-spacing: -.01em; }
.atp-popup-text { font-size: 13.5px; line-height: 1.55; color: var(--atp-text-body); margin: 0 0 18px; }
.atp-popup-fields { display: flex; flex-direction: column; gap: 10px; }
.atp-popup-fields .atp-input { background: #fff; }
.atp-popup-dismiss { font-size: 12.5px; color: var(--atp-muted); text-align: center; cursor: pointer; padding: 4px; user-select: none; text-decoration: underline; background: none; border: none; font-family: inherit; }

@media (max-width: 640px) {
  .atp-header-inner { gap: 12px; }
  .atp-nav { gap: 14px; }
}
