/* ==========================================================================
   CONECTEC — Design System
   Certificação Digital · Autoridade + Confiança + Clareza
   Paleta real da marca: azul #0A67A8 · navy #1D2945 · verde #00A859
   ========================================================================== */

/* ----- 1. TOKENS ---------------------------------------------------------- */
:root {
  /* Brand */
  --blue: #0a67a8;
  --blue-600: #0a67a8;
  --blue-700: #08567f;
  --blue-800: #064564;
  --blue-100: #e7f1f9;
  --blue-50: #f0f7fc;
  --navy: #1d2945;
  --navy-700: #16203a;
  --green: #00a859;
  --green-600: #019a52;
  --green-100: #e3f6ec;
  --wa: #25d366;
  --wa-dark: #1eb04f;

  /* Neutrals */
  --ink: #1d2945;          /* headings */
  --body: #475660;         /* body text */
  --muted: #767679;        /* auxiliary */
  --line: #e4e9ef;         /* borders */
  --line-soft: #eef2f6;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;       /* blue-tinted alt section */
  --bg-navy: #1d2945;
  --white: #ffffff;

  /* Accent for badges (single, restrained) */
  --amber: #f59e0b;

  /* Typography */
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2rem, 1.2rem + 3.4vw, 3.4rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 1.9vw, 2.35rem);
  --fs-h3: clamp(1.18rem, 1rem + 0.7vw, 1.5rem);
  --fs-lead: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.78rem;

  /* Spacing & rhythm */
  --space-section: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --container: 1180px;
  --container-narrow: 880px;
  --gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);

  /* Radii */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Shadows — cool, blue-tinted (premium, not harsh black) */
  --sh-1: 0 1px 2px rgba(16, 42, 67, 0.06), 0 2px 8px rgba(16, 42, 67, 0.05);
  --sh-2: 0 4px 12px rgba(16, 42, 67, 0.08), 0 10px 28px rgba(16, 42, 67, 0.07);
  --sh-3: 0 12px 28px rgba(16, 42, 67, 0.12), 0 22px 60px rgba(16, 42, 67, 0.12);
  --sh-blue: 0 10px 24px rgba(10, 103, 168, 0.28);
  --sh-green: 0 10px 24px rgba(0, 168, 89, 0.28);

  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 240ms var(--ease);
}

/* ----- 2. RESET / BASE ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--blue-700); }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.tabular { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----- 3. LAYOUT ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 0.6rem + 2vw, 2rem); }
.section { padding-block: var(--space-section); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--bg-navy); color: #c9d2e3; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.85rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
.section-title { font-size: var(--fs-h2); }
.section-lead { font-size: var(--fs-lead); color: var(--body); margin-top: 0.9rem; }

/* ----- 4. BUTTONS --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10,103,168,0.36); }
.btn--whatsapp { background: var(--wa); color: #06351a; box-shadow: var(--sh-green); }
.btn--whatsapp:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue-700); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--light { background: rgba(255,255,255,0.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4); }
.btn--light:hover { background: #fff; color: var(--blue); }

/* ----- 5. HEADER ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.site-header.is-stuck { box-shadow: var(--sh-1); border-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { height: 48px; width: auto; }
.brand:hover { color: inherit; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-phone {
  display: none; align-items: center; gap: 0.55rem;
  font-weight: 700; color: var(--navy); font-size: 0.95rem;
}
.header-phone small { display: block; font-size: 0.66rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.header-phone .ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--blue-100); color: var(--blue); flex: none; }
.header-phone .ico svg { width: 18px; height: 18px; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.95rem; border-radius: var(--r-pill);
  background: var(--navy); color: #fff; font-weight: 700; font-size: 0.85rem;
  transition: background var(--t), transform var(--t);
}
.menu-toggle:hover { background: var(--navy-700); transform: translateY(-1px); }
.menu-toggle .bars { width: 18px; height: 14px; position: relative; flex: none; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-toggle .label-close { display: none; }
body.is-locked .menu-toggle .label-open { display: none; }
body.is-locked .menu-toggle .label-close { display: inline; }

/* ----- 6. DRAWER / SIDEBAR ------------------------------------------------ */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop {
  position: absolute; inset: 0; background: rgba(16, 24, 41, 0.55);
  opacity: 0; transition: opacity var(--t); backdrop-filter: blur(2px);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(380px, 88vw); background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 300ms var(--ease);
  box-shadow: -20px 0 60px rgba(16,24,41,0.25); overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__top img { height: 34px; }
.drawer__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--bg-alt); color: var(--navy); transition: background var(--t); }
.drawer__close:hover { background: var(--line); }
.drawer__nav { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.15rem; }
.drawer__link {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 0.9rem; border-radius: var(--r-sm);
  color: var(--navy); font-weight: 600; font-size: 1.02rem;
  transition: background var(--t), color var(--t), padding var(--t);
}
.drawer__link svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.drawer__link:hover { background: var(--blue-50); color: var(--blue); padding-left: 1.15rem; }
.drawer__link.is-active { background: var(--blue-100); color: var(--blue); }
.drawer__divider { height: 1px; background: var(--line); margin: 0.9rem 0; }
.drawer__cta { padding: 0 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.drawer__meta { margin-top: auto; padding: 1.3rem 1.5rem; background: var(--bg-alt); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.drawer__meta a { font-weight: 700; }
.drawer__social { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.drawer__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r-pill); background: #fff; box-shadow: var(--sh-1); color: var(--navy); }
.drawer__social a:hover { color: var(--blue); transform: translateY(-2px); }

/* ----- 7. HERO ------------------------------------------------------------ */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero__carousel { position: relative; }
.hero__track { position: relative; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 600ms var(--ease);
  display: grid; place-items: center;
}
.slide.is-active { position: relative; opacity: 1; visibility: visible; }
.slide__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(2rem, 1rem + 4vw, 4rem);
  padding-block: clamp(2.8rem, 1.5rem + 5vw, 5rem);
  width: 100%;
}
.hero__content { max-width: 600px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green-100); color: var(--green-600);
  padding: 0.42rem 0.85rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 700; margin-bottom: 1.1rem;
}
.hero__badge .stars { color: #f5a623; letter-spacing: 1px; }
.hero__title { font-size: var(--fs-hero); color: var(--navy); }
.hero__title .hl { color: var(--blue); }
.hero__text { font-size: var(--fs-lead); margin-top: 1.1rem; max-width: 33em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; margin-top: 1.8rem; }
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.hero__trust svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* Hero visual (composed, premium — not a stock banner) */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero__visual::before {
  content: ""; position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--blue-100), transparent 62%);
  z-index: 0;
}
.hero__cert-card {
  position: relative; z-index: 1; width: min(360px, 80%);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3);
  padding: 1.5rem; border: 1px solid var(--line-soft);
  transform: rotate(-2deg);
}
.hero__cert-card .seal { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.hero__cert-card .seal .ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); flex: none; }
.hero__cert-card .seal .ring svg { width: 24px; height: 24px; }
.hero__cert-card .seal b { display: block; color: var(--navy); }
.hero__cert-card .seal span { font-size: var(--fs-xs); color: var(--muted); }
.hero__cert-card .line { height: 9px; border-radius: 5px; background: var(--bg-alt); margin: 0.55rem 0; }
.hero__cert-card .line.short { width: 55%; }
.hero__cert-card .sign { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; }
.hero__cert-card .sign small { font-size: var(--fs-xs); color: var(--muted); }
.hero__cert-card .sign .ok { color: var(--green-600); font-weight: 700; display: inline-flex; align-items: center; gap: 0.3rem; font-size: var(--fs-sm); }
.hero__float-chip {
  position: absolute; z-index: 2; background: #fff; box-shadow: var(--sh-2);
  border-radius: var(--r); padding: 0.7rem 0.95rem; display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-sm); font-weight: 700; color: var(--navy);
}
.hero__float-chip svg { width: 20px; height: 20px; flex: none; }
.hero__float-chip.tl { top: 6%; left: -4%; }
.hero__float-chip.tl svg { color: var(--blue); }
.hero__float-chip.br { bottom: 8%; right: -2%; }
.hero__float-chip.br svg { color: var(--green); }

/* Carousel controls */
.carousel-dots { display: flex; gap: 0.5rem; justify-content: center; padding-bottom: 1.6rem; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: all var(--t); }
.carousel-dots button.is-active { width: 30px; border-radius: 6px; background: var(--blue); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--sh-2);
  display: grid; place-items: center; color: var(--navy); transition: all var(--t);
}
.carousel-arrow:hover { background: var(--blue); color: #fff; }
.carousel-arrow.prev { left: -6px; }
.carousel-arrow.next { right: -6px; }
.carousel-arrow svg { width: 20px; height: 20px; }

/* ----- 7b. HERO BANNER (real image) --------------------------------------- */
.hero-banner { background: #071a38; }
.hero-banner__slide { display: block; line-height: 0; position: relative; }
.hero-banner__slide img { width: 100%; height: auto; display: block; }
.hero-banner__slide:focus-visible { outline-offset: -4px; }
.hero-cta-strip { background: var(--navy); color: #cdd6e6; }
.hero-cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem 2rem; padding-block: 0.95rem; flex-wrap: wrap; }
.hero-cta-strip__trust { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; }
.hero-cta-strip__trust li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: #d4dcea; }
.hero-cta-strip__trust svg { width: 18px; height: 18px; color: #3ddc84; flex: none; }
.hero-cta-strip__btns { display: flex; gap: 0.7rem; flex-wrap: wrap; }
@media (max-width: 620px) {
  .hero-cta-strip__inner { flex-direction: column; align-items: stretch; }
  .hero-cta-strip__btns { width: 100%; }
  .hero-cta-strip__btns .btn { flex: 1; }
}

/* ----- 8. STATS / AUTHORITY BAND ------------------------------------------ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-2);
}
.stat { background: #fff; padding: clamp(1.4rem, 1rem + 1.6vw, 2.2rem) 1rem; text-align: center; }
.stat__num { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.stat__num .suffix { color: var(--green); }
.stat__label { font-size: var(--fs-sm); color: var(--body); margin-top: 0.5rem; font-weight: 600; }

/* ----- 9. FEATURE ICONS (4 interaction blocks) --------------------------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.4rem; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.feature__icon {
  width: 56px; height: 56px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue); margin-bottom: 1.1rem;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature--wa .feature__icon { background: var(--green-100); color: var(--green-600); }
.feature__title { font-size: 1.06rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.feature__text { font-size: var(--fs-sm); color: var(--body); flex: 1; }
.feature__link { margin-top: 0.9rem; font-weight: 700; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 0.35rem; }
.feature__link svg { width: 16px; height: 16px; transition: transform var(--t); }
.feature:hover .feature__link svg { transform: translateX(3px); }

/* ----- 10. PRODUCT CARDS -------------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.products--catalog { grid-template-columns: repeat(3, 1fr); }
.product-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--blue-100); }
.product-card.is-featured { border-color: var(--blue); box-shadow: var(--sh-2); }
.product-card__badge {
  position: absolute; top: -12px; left: 1.5rem;
  background: var(--blue); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  padding: 0.35rem 0.8rem; border-radius: var(--r-pill); letter-spacing: 0.03em;
  box-shadow: var(--sh-blue); display: inline-flex; align-items: center; gap: 0.35rem;
}
.product-card__badge svg { width: 13px; height: 13px; }
.product-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product-card__media { width: 76px; height: 76px; object-fit: contain; flex: none; }
.product-card__icon { width: 66px; height: 66px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--blue-100); color: var(--blue); flex: none; }
.product-card__icon svg { width: 34px; height: 34px; }
.tag {
  display: inline-flex; align-items: center; gap: 0.3rem; align-self: flex-start;
  font-size: var(--fs-xs); font-weight: 700; padding: 0.25rem 0.6rem; border-radius: var(--r-pill);
  background: var(--bg-alt); color: var(--navy);
}
.tag--pf { background: var(--blue-100); color: var(--blue); }
.tag--pj { background: #ede9fe; color: #6d28d9; }
.tag--mei { background: #fff4e0; color: #b45309; }
.tag--nuvem { background: var(--green-100); color: var(--green-600); }
.product-card__name { font-size: 1.18rem; font-weight: 800; color: var(--navy); margin-top: 1rem; }
.product-card__desc { font-size: var(--fs-sm); color: var(--body); margin-top: 0.55rem; }
.product-card__attrs { display: flex; flex-direction: column; gap: 0.4rem; margin: 1.1rem 0; }
.product-card__attrs li { display: flex; align-items: center; gap: 0.55rem; font-size: var(--fs-sm); color: var(--body); }
.product-card__attrs svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.product-card__price { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.price__from { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.price__main { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.price__main small { font-size: 0.5em; font-weight: 700; color: var(--muted); }
.price__detail { font-size: var(--fs-xs); color: var(--body); margin-top: 0.45rem; }
.price__detail b { color: var(--navy); }
.price__soon { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.product-card__cta { margin-top: 1.2rem; }

/* ----- 11. EDU BLOCK + APP GRID ------------------------------------------- */
.edu { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.app-chip {
  display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.15rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  font-weight: 600; color: var(--navy); font-size: 0.95rem;
  transition: transform var(--t), box-shadow var(--t);
}
.app-chip:hover { transform: translateY(-3px); box-shadow: var(--sh-1); }
.app-chip .ico { width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--blue-100); color: var(--blue); flex: none; }
.app-chip .ico svg { width: 22px; height: 22px; }

/* ----- 12. STEPS ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 1.6rem 1.6rem; }
.step__num {
  position: absolute; top: -22px; left: 1.6rem; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 1.25rem; display: grid; place-items: center;
  box-shadow: var(--sh-blue);
}
.step__title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.step__text { font-size: var(--fs-sm); color: var(--body); }
.steps--line .step:not(:last-child)::after {
  content: ""; position: absolute; top: 0; right: -webkit-calc(-1 * var(--gap) / 2);
  right: calc(-1 * var(--gap) / 2);
}

/* ----- 13. COMPARATOR ----------------------------------------------------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.compare-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem 1.5rem; }
.compare-card.is-highlight { border-color: var(--blue); box-shadow: var(--sh-2); }
.compare-card h3 { font-size: 1.3rem; color: var(--blue); }
.compare-card .sub { font-size: var(--fs-sm); color: var(--muted); margin-top: 0.2rem; margin-bottom: 1.1rem; }
.compare-card ul { display: flex; flex-direction: column; gap: 0.7rem; }
.compare-card li { display: flex; gap: 0.6rem; font-size: var(--fs-sm); color: var(--body); }
.compare-card li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.compare-card li svg.yes { color: var(--green); }
.compare-card li svg.no { color: #cbd2da; }

/* ----- 14. FAQ ACCORDION -------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow var(--t), border-color var(--t); }
.faq-item.is-open { box-shadow: var(--sh-2); border-color: var(--blue-100); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; text-align: left; font-weight: 700; color: var(--navy); font-size: 1.04rem;
}
.faq-item__q .chev { width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; transition: transform var(--t), background var(--t); }
.faq-item__q .chev svg { width: 18px; height: 18px; }
.faq-item.is-open .faq-item__q .chev { transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 300ms var(--ease); }
.faq-item__a-inner { padding: 0 1.4rem 1.3rem; color: var(--body); font-size: 0.97rem; }

/* ----- 15. CTA BAND ------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-800) 100%);
  color: #fff; border-radius: var(--r-lg); padding: clamp(2.4rem, 1.5rem + 4vw, 4rem);
  text-align: center;
}
.cta-band::before { content: ""; position: absolute; top: -40%; right: -10%; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.cta-band::after { content: ""; position: absolute; bottom: -50%; left: -8%; width: 300px; height: 300px; border-radius: 50%; background: rgba(0,168,89,0.18); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); }
.cta-band p { color: rgba(255,255,255,0.88); font-size: var(--fs-lead); margin-top: 0.8rem; max-width: 40em; margin-inline: auto; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.8rem; }

/* Social row */
.social-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.social-row a {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.3rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-weight: 700; color: var(--navy); transition: all var(--t);
}
.social-row a:hover { transform: translateY(-3px); box-shadow: var(--sh-2); color: var(--blue); }
.social-row svg { width: 22px; height: 22px; }

/* ----- 16. FOOTER --------------------------------------------------------- */
.site-footer { background: var(--bg-navy); color: #aeb8cc; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.6rem, 1rem + 2vw, 3rem); }
.footer__brand img { height: 40px; margin-bottom: 1.1rem; }
.footer__brand p { font-size: var(--fs-sm); max-width: 32ch; }
.footer__brand .badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.footer__brand .badges span { font-size: var(--fs-xs); font-weight: 700; padding: 0.3rem 0.7rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.08); color: #dbe2ef; }
.footer__col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.1rem; letter-spacing: 0.02em; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col a, .footer__col li { color: #aeb8cc; font-size: var(--fs-sm); }
.footer__col a:hover { color: #fff; }
.unit { font-size: var(--fs-sm); line-height: 1.7; }
.unit + .unit { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.unit b { color: #fff; display: block; margin-bottom: 0.2rem; }
.unit a { color: #aeb8cc; }
.unit a:hover { color: #fff; }
.payments { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.pay-chip { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.03em; padding: 0.32rem 0.5rem; border-radius: 5px; background: #fff; color: var(--navy); text-transform: uppercase; }
.pay-chip.pix { background: var(--green); color: #fff; }
.payments img { height: 28px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; box-shadow: var(--sh-1); }
.callout .payments img { box-shadow: inset 0 0 0 1px var(--line); }
.footer__bottom {
  margin-top: clamp(2.2rem, 1.5rem + 2vw, 3.2rem); border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: #8b96ac;
}
.footer__bottom .made { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ----- 17. WHATSAPP FLOAT ------------------------------------------------- */
.wa-float { position: fixed; right: clamp(1rem, 0.5rem + 1vw, 1.6rem); bottom: clamp(1rem, 0.5rem + 1vw, 1.6rem); z-index: 70; display: flex; align-items: center; gap: 0.7rem; flex-direction: row-reverse; }
.wa-float__btn {
  position: relative; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.5); transition: transform var(--t);
}
.wa-float__btn svg { width: 34px; height: 34px; }
.wa-float__btn:hover { transform: scale(1.08); color: #fff; }
.wa-float__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.55); animation: wa-pulse 2.4s var(--ease) infinite;
}
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.wa-float__bubble {
  background: #fff; color: var(--navy); border-radius: var(--r); box-shadow: var(--sh-2);
  padding: 0.7rem 1rem; font-size: var(--fs-sm); font-weight: 600; max-width: 230px; line-height: 1.4;
  position: relative; transform-origin: right center;
  animation: bubble-in 600ms var(--ease) 1.4s both, bubble-bob 3s ease-in-out 2.2s infinite;
}
.wa-float__bubble b { color: var(--green-600); }
.wa-float__bubble::after { content: ""; position: absolute; right: -7px; top: 50%; transform: translateY(-50%); border: 7px solid transparent; border-left-color: #fff; }
.wa-float__bubble .x { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; display: grid; place-items: center; box-shadow: var(--sh-1); }
@keyframes bubble-in { from { opacity: 0; transform: scale(0.6) translateX(10px); } to { opacity: 1; transform: scale(1) translateX(0); } }
@keyframes bubble-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.wa-float.bubble-hidden .wa-float__bubble { display: none; }

/* ----- 18. PAGE HEADER (interior pages) ----------------------------------- */
.page-hero { background: var(--bg-alt); padding-block: clamp(2.6rem, 1.8rem + 4vw, 4.5rem); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 0.5rem; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0.9rem; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); color: var(--navy); }
.page-hero p { font-size: var(--fs-lead); margin-top: 0.9rem; max-width: 56ch; }

/* Filter toolbar (catalog) */
.toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 2rem; }
.toolbar .seg { display: inline-flex; background: var(--bg-alt); border-radius: var(--r-pill); padding: 0.3rem; border: 1px solid var(--line); }
.toolbar .seg button { padding: 0.55rem 1.1rem; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); color: var(--body); transition: all var(--t); }
.toolbar .seg button.is-active { background: var(--blue); color: #fff; box-shadow: var(--sh-1); }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; }
.contact-card h3 { color: var(--blue); font-size: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.contact-card h3 svg { width: 22px; height: 22px; }
.contact-list { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.95rem; }
.contact-list li { display: flex; gap: 0.8rem; font-size: var(--fs-sm); color: var(--body); }
.contact-list .ico { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--blue-100); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list b { display: block; color: var(--navy); }
.map-embed { border: 0; width: 100%; height: 280px; border-radius: var(--r); margin-top: 1.2rem; filter: saturate(0.9); }
.form { display: grid; gap: 1rem; }
.form label { font-size: var(--fs-sm); font-weight: 700; color: var(--navy); display: block; margin-bottom: 0.35rem; }
.form input, .form textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color var(--t), box-shadow var(--t);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.form textarea { min-height: 130px; resize: vertical; }

/* Requirements / checklist */
.checklist { display: flex; flex-direction: column; gap: 0.9rem; }
.checklist li { display: flex; gap: 0.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; }
.checklist .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; flex: none; }
.checklist .ico svg { width: 18px; height: 18px; }
.callout { display: flex; gap: 0.9rem; background: var(--blue-50); border: 1px solid var(--blue-100); border-left: 4px solid var(--blue); border-radius: var(--r); padding: 1.2rem 1.4rem; color: var(--navy); }
.callout svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
.callout.warn { background: #fff8ec; border-color: #fde4b0; border-left-color: var(--amber); }
.callout.warn svg { color: var(--amber); }

/* Values / pillars */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.pillar { display: flex; gap: 1rem; }
.pillar .ico { width: 50px; height: 50px; border-radius: var(--r-sm); background: var(--green-100); color: var(--green-600); display: grid; place-items: center; flex: none; }
.pillar .ico svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 0.35rem; }
.pillar p { font-size: var(--fs-sm); }

/* ----- 19. REVEAL / MOTION ------------------------------------------------ */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }

/* ----- 20. RESPONSIVE ----------------------------------------------------- */
@media (min-width: 768px) { .header-phone { display: flex; } }

@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .edu { grid-template-columns: 1fr; }
  .edu__visual { order: -1; }
}

@media (max-width: 860px) {
  .slide__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__content { max-width: 640px; }
  .carousel-arrow { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .products, .products--catalog { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .steps, .compare { grid-template-columns: 1fr; }
  .step__num { left: 1.4rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 540px) {
  :root { --header-h: 64px; }
  .features { grid-template-columns: 1fr; }
  .pillars, .app-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .wa-float__bubble { display: none; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band .btns .btn { width: auto; }
  .hero__cta, .cta-band .btns { width: 100%; }
}

/* ----- 21. REDUCED MOTION ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .slide { transition: none; }
}

/* ----- 22b. CONTENT IMAGES + PF BAND (imagens reais) ---------------------- */
.media-frame { border-radius: var(--r-lg); box-shadow: var(--sh-2); width: 100%; height: auto; display: block; border: 1px solid var(--line-soft); }
.edu__visual .media-frame { aspect-ratio: 16 / 11; object-fit: cover; }

/* Tópicos com ícones (Quem Somos — spec PDF) */
.topic-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }
.topic { display: flex; align-items: center; gap: .65rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: .7rem 1.25rem; font-weight: 700; color: var(--navy); font-size: .95rem; box-shadow: var(--sh-1); }
.topic svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.topic svg.star { color: #f5a623; }

/* Hero banner CARROSSEL (4 slides) */
.hero-banner__track { position: relative; }
.hero-banner .slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity 600ms var(--ease); }
.hero-banner .slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-banner .carousel-arrow.prev { left: 14px; }
.hero-banner .carousel-arrow.next { right: 14px; }
.hero-banner .carousel-dots { position: absolute; left: 0; right: 0; bottom: 12px; padding: 0; margin: 0; z-index: 4; }
@media (max-width: 600px) { .hero-banner .carousel-arrow { display: none; } .hero-banner .carousel-dots { bottom: 8px; } }

/* PF promo band (banner-2 real) */
.pf-band { position: relative; background: #0a1b3a; overflow: hidden; }
.pf-band__img { width: 100%; height: clamp(250px, 30vw, 430px); object-fit: cover; object-position: 72% center; display: block; }
.pf-band__overlay { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(10,20,45,.93) 0%, rgba(10,20,45,.6) 42%, rgba(10,20,45,0) 68%); }
.pf-band__in { padding: 0 clamp(1.2rem, 5vw, 5rem); max-width: 660px; }
.pf-band__in .eyebrow { color: #7fc4ff; }
.pf-band__in .eyebrow::before { background: var(--green); }
.pf-band__in h2 { color: #fff; font-size: clamp(1.35rem, 1rem + 2.2vw, 2.3rem); }
.pf-band__in h2 .hl { color: #5ab0ff; }
.pf-band__in p { color: #cdd9ec; margin-top: .6rem; font-size: var(--fs-lead); }
.pf-band__in .btns { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
@media (max-width: 600px) {
  .pf-band__overlay { background: linear-gradient(90deg, rgba(10,20,45,.95) 0%, rgba(10,20,45,.82) 58%, rgba(10,20,45,.55) 100%); }
  .pf-band__in p { display: none; }
}

/* ----- 23. RESPONSIVE QA FIXES (audit 2026-06-22) ------------------------- */
@media print { html.js .reveal { opacity: 1 !important; transform: none !important; } }

/* Touch targets >=44px */
.menu-toggle { min-height: 44px; }
.drawer__close { width: 44px; height: 44px; }
.wa-float__bubble .x { width: 28px; height: 28px; }

/* Hero banner: reserva a caixa certa por breakpoint (mata CLS no LCP) */
.hero-banner__slide img { aspect-ratio: 2000 / 667; }
@media (max-width: 600px) { .hero-banner__slide img { aspect-ratio: 864 / 1080; } }

/* Tokens longos (e-mails) nunca cortam */
.contact-list li, .contact-list li > span { min-width: 0; }
.contact-list li > span, .contact-list a { overflow-wrap: anywhere; }

/* Contraste do rodapé inferior -> AA */
.footer__bottom { color: #9aa6bd; }

/* Tablet 601-960: features/stats em 2 colunas (sem 4-col apertado) */
@media (min-width: 601px) and (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
/* Tablet 601-860: produtos/passos/comparador confortaveis (sem 1-col solto) */
@media (min-width: 601px) and (max-width: 860px) {
  .products, .products--catalog { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .compare { max-width: 560px; margin-inline: auto; }
}

/* Mobile <=600 */
@media (max-width: 600px) {
  .pf-band__img { height: auto; min-height: 300px; }
  .steps { row-gap: 2.6rem; }
  /* Filtro de certificados: pilula unica -> chips que quebram (corrige overflow/clip) */
  .toolbar .seg { flex-wrap: wrap; justify-content: center; max-width: 100%; background: transparent; border: 0; padding: 0; gap: .5rem; }
  .toolbar .seg button { background: var(--bg-alt); border: 1px solid var(--line); min-height: 44px; }
  .toolbar .seg button.is-active { border-color: var(--blue); }
}

/* Telas pequenas <=480: botoes de label longo full-width + wrap (sem corte) */
@media (max-width: 480px) {
  .cta-band .btns { flex-direction: column; }
  .cta-band .btns .btn { width: 100%; white-space: normal; text-align: center; }
  .contact-card { padding: 1.4rem 1.25rem; }
}

/* ----- 22. PRINT ---------------------------------------------------------- */
@media print {
  .site-header, .drawer, .wa-float, .carousel-arrow, .carousel-dots, .cta-band { display: none !important; }
  body { color: #000; }
}
