/* ==========================================================================
   BTEC IT Solutions — comercial.btec.inf.br
   Folha de estilos única. Edite as variáveis abaixo para ajustar identidade.
   ========================================================================== */

/* ---------- 1. VARIÁVEIS ---------- */
:root {
  --btec-red: #ED3237;
  --btec-red-hover: #C9282C;
  --btec-gray: #727376;
  --btec-light-gray: #E6E7E8;

  --background-primary: #090A0D;
  --background-secondary: #111318;
  --surface: #15171D;
  --surface-elevated: #1B1E26;

  --text-primary: #F5F6F7;
  --text-secondary: #A6A8AD;

  --border: rgba(255, 255, 255, 0.09);
  --success: #2FB870;
  --warning: #E8A33D;

  --white: #FFFFFF;

  --font-heading: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-tech: "Orbitron", var(--font-heading);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.25);
  --shadow-md: 0 10px 40px rgba(0,0,0,.35);
  --shadow-red: 0 8px 30px rgba(237,50,55,.25);

  --container-w: 1240px;
  --header-h: 76px;
  --topbar-h: 38px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--background-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: clamp(15px, .3vw + 14.3px, 16px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.container { width: min(100% - 2.5rem, var(--container-w)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
:focus-visible { outline: 2px solid var(--btec-red); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 1rem; z-index: 1000;
  background: var(--btec-red); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--radius-sm); font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 30px; height: 30px; color: var(--btec-red); }

/* ---------- 3. UTILITÁRIOS ---------- */
.section { padding: clamp(3.5rem, 6vw, 7rem) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__head--light { max-width: 760px; }
.section__title { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); margin-top: .5rem; }
.section__lead { margin-top: 1rem; color: var(--text-secondary); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--btec-red);
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--btec-red); box-shadow: 0 0 0 4px rgba(237,50,55,.18); }
.eyebrow--guardian { color: #FF6B70; }
.text-accent { color: var(--btec-red); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: var(--radius-full);
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  border: 1px solid transparent; transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  min-height: 44px;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--btec-red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--btec-red-hover); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--text-primary); border-color: var(--border); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.3); }
.btn--outline { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn--outline:hover { border-color: var(--btec-red); color: var(--btec-red); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; }
.btn--link { background: none; color: var(--text-primary); padding-inline: .25rem; }
.btn--link:hover { color: var(--btec-red); }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; min-height: 40px; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--disabled { background: rgba(255,255,255,.04); color: var(--text-secondary); border: 1px dashed var(--border); cursor: not-allowed; }
.btn--disabled:hover { transform: none; }

.badge { display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: var(--radius-full); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.badge--free { background: rgba(47,184,112,.15); color: var(--success); }
.badge--maintenance { background: rgba(232,163,61,.15); color: var(--warning); }

/* ---------- 4. TOPBAR ---------- */
.topbar { background: var(--background-secondary); border-bottom: 1px solid var(--border); height: var(--topbar-h); }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__text { font-size: .8rem; color: var(--text-secondary); }
.topbar__link { font-size: .8rem; font-weight: 600; color: var(--text-primary); }
.topbar__link:hover { color: var(--btec-red); }
@media (max-width: 640px) { .topbar__text strong { display: none; } .topbar__text::after { content: "2011"; } }
@media (max-width: 420px) { .topbar { display: none; } }

/* ---------- 5. HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 200; height: var(--header-h);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease);
}
.header.is-scrolled { background: rgba(9,10,13,.82); backdrop-filter: blur(14px); border-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header__brand { display: inline-flex; align-items: center; }
.header__logo { height: 28px; width: auto; }
.header__actions { display: flex; align-items: center; gap: .75rem; }

.nav__list { display: flex; align-items: center; gap: 1.75rem; }
.nav__link { font-size: .92rem; font-weight: 500; color: var(--text-secondary); position: relative; padding: .4rem .1rem; }
.nav__link:hover { color: var(--text-primary); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--text-primary); }
.nav__link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--btec-red); border-radius: 2px; }

.nav__toggle { display: none; padding: .5rem; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.nav__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 190; }
.nav__backdrop[hidden] { display: none; }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .header__actions .btn--sm { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(86vw, 360px);
    background: var(--background-secondary); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform .28s var(--ease);
    z-index: 195; padding: calc(var(--header-h) + 1rem) 1.5rem 2rem; overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: .25rem; width: 100%; }
  .nav__link { display: block; width: 100%; padding: .9rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav::after {
    content: "Solicitar diagnóstico"; display: block; margin-top: 1.25rem; text-align: center;
    background: var(--btec-red); color: #fff; font-weight: 700; padding: .9rem; border-radius: var(--radius-full);
  }
}

/* ---------- 6. HERO ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 2.5rem) 0 5rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__grid {
  position: absolute; inset: -10%;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 40%, transparent 80%);
  opacity: .5;
}
.hero__glow {
  position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(237,50,55,.22), transparent 65%); filter: blur(10px);
}
.hero__icon3d { position: absolute; top: 8%; right: 2%; width: min(30vw, 420px); height: auto; opacity: .9; will-change: transform; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); }
.hero__subtitle { margin-top: 1.25rem; font-size: clamp(1.02rem, 1rem + .2vw, 1.2rem); color: var(--text-secondary); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; align-items: center; }
.hero__indicators { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.hero__indicators li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-secondary); }
.hero__indicators .icon { color: var(--success); }

.hero__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.status-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.3rem; display: flex; flex-direction: column; gap: .8rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.status-card:hover { transform: translateY(-4px); border-color: rgba(237,50,55,.4); }
.status-card .icon { color: var(--btec-red); }
.status-card__title { font-weight: 700; font-size: .92rem; }
.status-card__desc { color: var(--text-secondary); font-size: .8rem; margin-top: .2rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-secondary);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,6px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll { animation: none; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__icon3d { position: static; width: 160px; margin: 1.5rem auto 0; opacity: .8; }
  .hero__panel { order: 3; }
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__panel { grid-template-columns: 1fr 1fr; }
}

/* ---------- 7. FAIXA DE TECNOLOGIAS ---------- */
.tech-strip { background: var(--background-secondary); border-block: 1px solid var(--border); padding: 1.75rem 0; }
.tech-strip__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.tech-strip__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-secondary); font-weight: 700; }
.tech-strip__pause { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text-secondary); padding: .3rem .6rem; border-radius: var(--radius-full); border: 1px solid var(--border); min-height: 32px; }
.tech-strip__pause:hover { color: var(--text-primary); border-color: rgba(255,255,255,.3); }
.marquee { overflow: hidden; display: flex; }
.marquee__track { display: flex; gap: 2.5rem; padding-right: 2.5rem; white-space: nowrap; flex-shrink: 0; animation: scroll-left 38s linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__track li { font-family: var(--font-heading); font-weight: 600; color: var(--text-secondary); font-size: .95rem; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee { overflow-x: auto; } }

/* ---------- 8. VISÃO GERAL ---------- */
.overview__composition { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(160px, auto); gap: 1.25rem; }
.overview__feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column; gap: .8rem; justify-content: flex-end;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.overview__feature:hover { border-color: rgba(237,50,55,.35); transform: translateY(-3px); }
.overview__feature h3 { font-size: 1.05rem; }
.overview__feature p { color: var(--text-secondary); font-size: .9rem; }
.overview__feature--lg { grid-row: span 2; background: linear-gradient(160deg, var(--surface-elevated), var(--surface)); }
.overview__feature--lg h3 { font-size: 1.3rem; }
.overview__feature--wide { grid-column: span 2; }
@media (max-width: 900px) {
  .overview__composition { grid-template-columns: 1fr 1fr; }
  .overview__feature--lg { grid-row: span 1; grid-column: span 2; }
  .overview__feature--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .overview__composition { grid-template-columns: 1fr; }
  .overview__feature--lg, .overview__feature--wide { grid-column: span 1; }
}

/* ---------- 9. BENTO — SOLUÇÕES ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.bento__card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.9rem; display: flex; flex-direction: column; gap: .9rem;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  grid-column: span 2;
}
.bento__card:hover, .bento__card:focus-within { transform: translateY(-4px); border-color: rgba(237,50,55,.4); box-shadow: var(--shadow-md); }
.bento__card--xl { grid-column: span 4; }
.bento__card--wide { grid-column: span 2; }
.bento__card h3 { font-size: 1.15rem; }
.bento__card p { color: var(--text-secondary); font-size: .92rem; }
.bento__list { display: flex; flex-direction: column; gap: .4rem; }
.bento__list li { position: relative; padding-left: 1.1rem; font-size: .85rem; color: var(--text-secondary); }
.bento__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--btec-red); }
.bento__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .88rem; color: var(--btec-red); padding-top: .4rem; }
.bento__cta .icon { transition: transform .2s var(--ease); }
.bento__card:hover .bento__cta .icon { transform: translateX(3px); }

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card, .bento__card--wide { grid-column: span 1; }
  .bento__card--xl { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--xl, .bento__card--wide { grid-column: span 1; }
}

/* ---------- 10. GUARDIAN ---------- */
.guardian { position: relative; background: linear-gradient(180deg, #12060a, var(--background-primary) 60%); overflow: hidden; }
.guardian__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 15% 20%, rgba(237,50,55,.16), transparent 70%);
}
.guardian .container { position: relative; z-index: 1; }
.guardian__title { font-family: var(--font-tech); font-weight: 700; letter-spacing: -.005em; }
.guardian__layers { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.layer {
  flex: 1 1 120px; display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.layer__n { font-family: var(--font-tech); color: var(--btec-red); font-weight: 700; font-size: .85rem; }
.guardian__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 2.5rem; }
.guardian__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.guardian__card:hover { border-color: rgba(237,50,55,.4); transform: translateY(-3px); }
.guardian__card h3 { font-size: 1rem; margin-top: .7rem; }
.guardian__card p { font-size: .85rem; color: var(--text-secondary); margin-top: .4rem; }
.guardian__card .icon { color: var(--btec-red); }
.guardian__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; padding: 1.75rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.guardian__stats strong { display: block; font-family: var(--font-tech); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); color: #fff; }
.guardian__stats span { color: var(--text-secondary); font-size: .82rem; }
.guardian__note { font-size: .78rem; color: var(--text-secondary); margin-top: .9rem; }
.guardian__note a { color: var(--btec-red); text-decoration: underline; }
.guardian__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

@media (max-width: 900px) { .guardian__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .guardian__grid { grid-template-columns: 1fr; }
  .guardian__layers { flex-direction: column; }
  .guardian__cta .btn { width: 100%; }
}

/* ---------- 11. OUTSOURCING / PRINT PASS ---------- */
.outsourcing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.outsourcing__col {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.outsourcing__col h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; }
.outsourcing__col h3 .icon { color: var(--btec-red); }
.outsourcing__col p { color: var(--text-secondary); font-size: .92rem; }
.check-list { display: flex; flex-direction: column; gap: .65rem; }
.check-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--text-secondary); }
.check-list .icon { color: var(--success); margin-top: .15rem; }
.print-pass { border-color: rgba(237,50,55,.3); background: linear-gradient(160deg, var(--surface-elevated), var(--surface)); }
.print-pass__price { font-size: 1.05rem; }
.print-pass__price strong { font-size: 1.6rem; color: var(--btec-red); font-family: var(--font-heading); }
.print-pass__price span { color: var(--text-secondary); font-size: .85rem; }
.outsourcing__col .btn { align-self: flex-start; margin-top: auto; }

@media (max-width: 820px) { .outsourcing__grid { grid-template-columns: 1fr; } }

/* ---------- 12. PERFIS DE CLIENTES ---------- */
.profiles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.profiles__segments { display: flex; flex-wrap: wrap; gap: .6rem; align-content: flex-start; }
.chip { padding: .6rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--surface); font-size: .85rem; color: var(--text-secondary); }
.profiles__problems { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.profiles__problems h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.problems__list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .8rem; }
.problems__list li { position: relative; padding-left: 1rem; font-size: .87rem; color: var(--text-secondary); }
.problems__list li::before { content: "—"; position: absolute; left: 0; color: var(--btec-red); }

@media (max-width: 900px) { .profiles__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .problems__list { grid-template-columns: 1fr; } }

/* ---------- 13. PROCESSO / TIMELINE ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 6%; right: 6%; height: 1px; background: var(--border); }
.timeline__step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.timeline__n { display: inline-block; font-family: var(--font-tech); color: var(--btec-red); font-weight: 700; margin-bottom: .8rem; }
.timeline__step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.timeline__step p { font-size: .87rem; color: var(--text-secondary); }

@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; counter-reset: none; }
  .timeline::before { top: 0; bottom: 0; left: 28px; right: auto; width: 1px; height: auto; }
}

/* ---------- 14. FERRAMENTAS ---------- */
.tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tool-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem; transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.tool-card:hover, .tool-card:focus-within { transform: translateY(-4px); border-color: rgba(237,50,55,.4); }
.tool-card__head { display: flex; align-items: center; justify-content: space-between; }
.tool-card h3 { font-size: 1.05rem; }
.tool-card p { font-size: .87rem; color: var(--text-secondary); }
.tool-card__list { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .25rem; }
.tool-card__list li { position: relative; padding-left: 1.1rem; font-size: .82rem; color: var(--text-secondary); }
.tool-card__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--btec-red); }
.tool-card .btn { margin-top: auto; }
.tool-card--maintenance { opacity: .82; }

@media (max-width: 980px) { .tools__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .tools__grid { grid-template-columns: 1fr; } }

/* ---------- 15. PROPÓSITO ---------- */
.purpose { background: var(--background-secondary); }
.purpose__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.purpose__values { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.purpose__value {
  display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: .88rem; font-weight: 600;
}
.purpose__value .icon { color: var(--btec-red); }

@media (max-width: 860px) { .purpose__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .purpose__values { grid-template-columns: 1fr; } }

/* ---------- 16. FAQ ---------- */
.faq__list { display: flex; flex-direction: column; gap: .75rem; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0; overflow: hidden; }
.faq__item summary {
  cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; font-size: .98rem;
  display: flex; align-items: center; justify-content: space-between; list-style: none; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex-shrink: 0; width: 20px; height: 20px;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--text-secondary); transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item p { padding: 0 1.4rem 1.3rem; color: var(--text-secondary); font-size: .92rem; }
.faq__item p a { color: var(--btec-red); text-decoration: underline; }

/* ---------- 17. CONTATO ---------- */
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; }
.contact__info { display: flex; flex-direction: column; gap: .8rem; }
.contact__item {
  display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left;
  padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: border-color .2s var(--ease), transform .2s var(--ease); min-height: 44px;
}
a.contact__item:hover, button.contact__item:hover { border-color: rgba(237,50,55,.4); transform: translateY(-2px); }
.contact__item .icon { color: var(--btec-red); }
.contact__item div { display: flex; flex-direction: column; gap: .1rem; }
.contact__item span { font-size: .75rem; color: var(--text-secondary); }
.contact__item strong { font-size: .92rem; }
.contact__copy-icon { margin-left: auto; color: var(--text-secondary); }
.contact__copy-feedback { min-height: 1.2em; font-size: .82rem; color: var(--success); font-weight: 600; }

.contact__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: .45rem; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-row--2 > div { display: flex; flex-direction: column; gap: .45rem; }
.form-row label { font-size: .85rem; font-weight: 600; color: var(--text-secondary); }
.form-row input, .form-row select, .form-row textarea {
  background: var(--background-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .8rem .9rem; color: var(--text-primary); min-height: 44px;
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--btec-red); }
.form-row input:invalid:not(:placeholder-shown) { border-color: var(--warning); }
.form-row--checkbox { flex-direction: row; align-items: flex-start; gap: .7rem; }
.form-row--checkbox input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--btec-red); }
.form-row--checkbox label { font-size: .82rem; color: var(--text-secondary); font-weight: 400; }
.form-row--checkbox a { color: var(--btec-red); text-decoration: underline; }
.form-note { font-size: .78rem; color: var(--text-secondary); }
.form-error { font-size: .85rem; color: var(--btec-red); font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .3rem; }

@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-row--2 { grid-template-columns: 1fr; }
  .contact__form { padding: 1.4rem; }
  .form-actions .btn { width: 100%; }
}

/* ---------- 18. RODAPÉ ---------- */
.footer { background: var(--background-secondary); border-top: 1px solid var(--border); padding: 4rem 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer__brand p { color: var(--text-secondary); font-size: .88rem; margin-top: 1rem; max-width: 32ch; }
.footer__legal { margin-top: .8rem !important; font-size: .78rem !important; }
.footer__col h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary); margin-bottom: 1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer__col a { font-size: .88rem; color: var(--text-primary); }
.footer__col a:hover { color: var(--btec-red); }
.footer__col li { font-size: .88rem; color: var(--text-secondary); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .8rem; color: var(--text-secondary); }
.footer__legal-links { display: flex; gap: 1.25rem; }
.footer__legal-links a:hover { color: var(--btec-red); }

@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- 19. WHATSAPP FAB / CTA MOBILE ---------- */
.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%; background: var(--success);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: var(--shadow-md); transition: transform .2s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab .icon { width: 28px; height: 28px; }

.mobile-cta { display: none; }
@media (max-width: 720px) {
  .whatsapp-fab { bottom: 5.5rem; }
  .mobile-cta {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
    padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(9,10,13,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--border);
  }
  body { padding-bottom: 0; }
}

/* ---------- 20. NAV OPEN LOCK ---------- */
body.nav-open { overflow: hidden; }

/* ---------- 21. CONTENT-VISIBILITY (performance) ---------- */
.guardian, .tools, .contact { content-visibility: auto; contain-intrinsic-size: 1200px; }
