/* =========================================================
   SITE BOMBEIROS — Projeto de Combate a Incêndio e Pânico
   ========================================================= */

:root {
  --red-900: #4a0000;
  --red-800: #6e0202;
  --red-700: #8f0606;
  --red-600: #b30c0c;
  --red-500: #d7140f;
  --orange: #ff6a1a;
  --yellow: #ffd23f;
  --dark-900: #121011;
  --dark-800: #1c1a1b;
  --dark-700: #262324;
  --black: #0b0a0a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .74);
  --whats: #1fae4b;

  --font-title: "Bebas Neue", "Oswald", "Arial Narrow", "DejaVu Sans Condensed", Impact, sans-serif;
  --font-body: "Barlow", Arial, Helvetica, sans-serif;

  --top-h: 54px;        /* faixa preta de contatos */
  --nav-h: 82px;        /* menu */
  --nav-h-s: 66px;      /* menu depois de rolar */
  --hdr: calc(var(--top-h) + var(--nav-h));
  --hdr-s: var(--nav-h-s);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--dark-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 40px); }

/* Bebas Neue só tem maiúsculas: garante o mesmo visual se a fonte não carregar */
.btn, .hero__title, .hero__sub, .risk__title, .risk__lead, .benefit h3,
.section__title, .card h3, .step h3, .faq__item summary, .contact__title { text-transform: uppercase; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-title);
  font-size: 1.35rem; letter-spacing: .06em;
  padding: 14px 30px 12px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 22px; height: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--red-700); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn--light:hover { background: var(--yellow); color: var(--dark-900); }
.btn--ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--red { background: var(--red-500); color: #fff; box-shadow: 0 10px 30px rgba(215,20,15,.35); }
.btn--red:hover { background: var(--orange); }
.btn--sm { font-size: 1.2rem; padding: 10px 24px 8px; }
.btn--block { width: 100%; }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.header { position: fixed; inset: 0 0 auto; z-index: 50; }

/* faixa preta */
.topbar { background: var(--black); border-bottom: 1px solid rgba(255,255,255,.06); position: relative; z-index: 3; transition: margin-top .35s var(--ease); }
.topbar__inner { height: var(--top-h); display: flex; justify-content: center; align-items: center; gap: 44px; }
.topbar__item { display: inline-flex; align-items: center; gap: 9px; font-size: 1.08rem; font-weight: 600; letter-spacing: .02em; transition: color .2s; }
.topbar__item svg { width: 21px; height: 21px; color: var(--orange); }
.topbar__item:hover { color: var(--yellow); }
.topbar__whats { background: var(--whats); padding: 6px 18px; border-radius: 8px; }
.topbar__whats svg { color: #fff; }
.topbar__whats:hover { color: #fff; filter: brightness(1.12); }

/* menu */
.nav { transition: background .35s, box-shadow .35s; }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; transition: height .35s var(--ease); }
.brand img { height: 54px; width: auto; transition: height .35s var(--ease); filter: drop-shadow(0 3px 10px rgba(0,0,0,.35)); }

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a:not(.btn) { font-weight: 600; font-size: .98rem; letter-spacing: .03em; position: relative; padding: 4px 0; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }

/* depois de rolar */
.header.is-scrolled .topbar { margin-top: calc(var(--top-h) * -1 - 1px); }
.header.is-scrolled .nav { background: rgba(18,16,17,.94); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.header.is-scrolled .nav__inner { height: var(--nav-h-s); }
.header.is-scrolled .brand img { height: 42px; }

/* =========================================================
   SEÇÕES EM TELA CHEIA
   ========================================================= */
.screen {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--hdr-s) + 24px) 0 96px;
  overflow: hidden;
}
.screen > .container { position: relative; z-index: 2; }

.scroll-btn {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  opacity: .85; z-index: 4;
}
.scroll-btn svg { width: 46px; height: 46px; padding: 10px; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; animation: bounce 2s infinite; }
.scroll-btn:hover { opacity: 1; }
.scroll-btn:hover svg { background: rgba(255,255,255,.15); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  --fig-h: min(calc(100svh - var(--top-h) - 70px), 1100px);
  --fig-w: calc(var(--fig-h) * 1.777);
  position: relative;
  height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden;
  /* mesmo degradê do fundo da foto, para a imagem "sumir" nas bordas */
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(60,0,0,.35) 100%),
    linear-gradient(90deg, #560101 0%, #640202 30%, #880306 55%, #bf080e 75%, #ee4f1a 100%);
}

.hero__figure {
  position: absolute; right: 0; bottom: 0;
  height: var(--fig-h); width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%), linear-gradient(to bottom, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 24%), linear-gradient(to bottom, transparent 0, #000 16%);
          mask-composite: intersect;
  animation: figIn 1.1s var(--ease) both;
}
@keyframes figIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* texto encostado no bombeiro */
.hero__text {
  position: absolute; z-index: 2;
  top: var(--hdr); bottom: 90px;
  --gut: calc((100% - min(1200px, 100% - 40px)) / 2);
  left: var(--gut);
  width: min(780px, calc(100% - var(--gut) - var(--fig-w) * .34 - 30px));
  display: flex; flex-direction: column; justify-content: center;
}
.hero__title { font-family: var(--font-title); line-height: .86; text-shadow: 0 6px 30px rgba(0,0,0,.28); }
.hero__title-big { display: block; font-size: clamp(3.6rem, min(8.4vw, 13svh), 8.8rem); }
.hero__title-mid { display: block; font-size: clamp(2.6rem, min(5.8vw, 9svh), 6rem); }
.hero__sub { margin-top: 22px; font-family: var(--font-title); font-size: clamp(1.25rem, 2.2vw, 2.05rem); letter-spacing: .07em; line-height: 1.12; }
.hero__sub strong { font-weight: 400; color: var(--yellow); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.hero__badges { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.hero__brasao { width: clamp(84px, 11svh, 112px); height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
.hero__flag { height: clamp(58px, 7.6svh, 78px); width: auto; border-radius: 4px; box-shadow: 0 8px 18px rgba(0,0,0,.35); }

/* aparece rápido ao carregar */
.fade-in { animation: fadeUp .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* =========================================================
   2. RISCO / BENEFÍCIOS
   ========================================================= */
.risk { background: var(--dark-800); }
.risk__photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  background: url("../img/bombeiro-incendio.jpg") 60% 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 25%, #000 55%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 25%, #000 55%);
}
.risk__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--red-700) 0%, rgba(143,6,6,.6) 9%, rgba(28,26,27,0) 30%),
    linear-gradient(0deg, rgba(28,26,27,.85) 0%, rgba(28,26,27,0) 25%);
}
.risk__head { max-width: 780px; }
.risk__title { font-family: var(--font-title); font-size: clamp(3rem, 7.5vw, 6.6rem); line-height: .9; }
.risk__title span { display: block; font-size: .5em; margin-top: 8px; }
.risk__lead { margin-top: 14px; font-family: var(--font-title); font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: .06em; color: var(--yellow); }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 5svh, 48px); }
.benefit {
  padding: 24px 26px 26px;
  background: rgba(20,18,19,.55);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.benefit:hover { transform: translateY(-4px); border-color: rgba(255,106,26,.6); background: rgba(255,106,26,.1); }
.benefit__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--red-600)); margin-bottom: 14px; }
.benefit__icon svg { width: 24px; height: 24px; color: #fff; }
.benefit h3 { font-family: var(--font-title); font-size: 1.55rem; letter-spacing: .04em; line-height: 1; margin-bottom: 8px; }
.benefit p { font-size: .95rem; color: var(--muted); }

/* =========================================================
   TÍTULOS DE SEÇÃO
   ========================================================= */
.section { position: relative; padding: 150px 0 120px; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { font-weight: 700; font-size: .88rem; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.section__title { font-family: var(--font-title); font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: .95; }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

/* versão grande (Serviços / Como funciona) */
.section__head--big { max-width: 1100px; margin-bottom: clamp(30px, 5svh, 56px); }
.section__head--big .kicker { font-size: clamp(1rem, 1.4vw, 1.3rem); letter-spacing: .32em; margin-bottom: 4px; }
.section__head--big .section__title {
  font-size: clamp(4rem, min(11vw, 14svh), 9.5rem); line-height: .88;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.section__head--big .section__lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); margin-top: 14px; }

/* =========================================================
   3. SERVIÇOS
   ========================================================= */
.services {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(215,20,15,.18), transparent 55%),
    linear-gradient(180deg, var(--dark-800), var(--dark-900));
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  position: relative; padding: 26px 26px 28px;
  text-align: center;
  background: var(--dark-700); border-radius: var(--radius);
  border-top: 4px solid var(--red-500);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--red-600), var(--orange)); opacity: 0; transition: opacity .35s; }
.card > * { position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.card:hover::before { opacity: 1; }
.card:hover p { color: #fff; }
.card__num {
  display: block;
  font-family: var(--font-title); font-size: clamp(3.8rem, min(5.6vw, 8.5svh), 5.4rem); line-height: .95;
  background: linear-gradient(180deg, #ff8a3d 0%, var(--red-500) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: filter .3s;
}
.card:hover .card__num { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.card h3 { font-family: var(--font-title); font-size: 1.8rem; letter-spacing: .03em; line-height: 1; margin: 6px 0 10px; }
.card p { color: var(--muted); font-size: 1rem; transition: color .3s; }

/* =========================================================
   4. COMO FUNCIONA (números em chamas)
   ========================================================= */
.steps-sec { background: linear-gradient(180deg, var(--dark-900) 0%, #3d0505 8%, var(--red-800) 22%, var(--red-600) 62%, var(--red-700) 84%, #5c0505 100%); }
.steps-sec .kicker { color: var(--yellow); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; position: relative; padding-top: 70px; }
.steps::before {
  content: ""; position: absolute; top: calc(70px + 60px); left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 10px, transparent 10px 20px);
}
.step { text-align: center; position: relative; z-index: 1; }
.step h3 { font-family: var(--font-title); font-size: clamp(1.9rem, 2.6vw, 2.5rem); letter-spacing: .04em; line-height: 1; }
.step p { margin-top: 10px; color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; }

.step__n {
  position: relative; display: grid; place-items: center;
  width: 120px; height: 120px; margin: 0 auto 26px; border-radius: 50%;
  background: #fff; color: var(--red-700);
  font-family: var(--font-title); font-size: 4.4rem; line-height: 1; padding-top: 6px;
  box-shadow: 0 0 0 8px rgba(255,255,255,.15), 0 14px 34px rgba(0,0,0,.3);
}
.step__n::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  animation: ring 2.4s ease-out infinite;
}
.step:nth-child(2) .step__n::after { animation-delay: .6s; }
.step:nth-child(3) .step__n::after { animation-delay: 1.2s; }
.step:nth-child(4) .step__n::after { animation-delay: 1.8s; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }

/* =========================================================
   5. QUEM PRECISA (lista)
   ========================================================= */
.who { background: linear-gradient(180deg, #5c0505 0%, #2e0a0a 22%, var(--dark-900) 50%, var(--dark-900) 80%, var(--dark-800) 100%); }
.who__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: center; }
.who__text p:not(.kicker) { margin: 18px 0 30px; color: var(--muted); font-size: 1.1rem; }
.who__list { columns: 2; column-gap: 44px; }
.who__list li {
  break-inside: avoid;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 1.15rem; font-weight: 600;
  transition: color .2s, padding-left .25s var(--ease);
}
.who__list li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 0 0 4px rgba(215,20,15,.18);
}
.who__list li:hover { color: var(--yellow); padding-left: 10px; }

/* =========================================================
   6. FAQ
   ========================================================= */
.faq { background: var(--dark-800); }
.faq__list { display: grid; gap: 14px; }
.faq__item { background: var(--dark-700); border-radius: var(--radius); border-left: 4px solid var(--red-500); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font-family: var(--font-title); font-size: 1.6rem; letter-spacing: .03em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.8rem; color: var(--orange); transition: transform .3s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); }

/* =========================================================
   7. CONTATO
   ========================================================= */
.contact { overflow: hidden; }
.contact__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(74,0,0,.97) 0%, rgba(143,6,6,.92) 50%, rgba(143,6,6,.8) 100%),
    url("../img/hero-bombeiro.jpg") center / cover no-repeat;
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.contact__title { font-family: var(--font-title); font-size: clamp(3.6rem, 7.4vw, 7.4rem); line-height: .86; }
.contact__title span { display: block; color: var(--yellow); font-size: .6em; margin-top: 10px; }
.contact__text > p { margin: 24px 0 34px; color: rgba(255,255,255,.9); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.45; max-width: 520px; }
.contact__list { display: grid; gap: 18px; }
.contact__list a { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 700; transition: color .2s, transform .25s var(--ease); }
.contact__list a:hover { color: var(--yellow); transform: translateX(6px); }
.contact__ico { width: 58px; height: 58px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.3); }
.contact__ico--whats { background: var(--whats); border-color: var(--whats); }
.contact__ico svg { width: 28px; height: 28px; }

.form { background: #fff; color: var(--dark-900); padding: 32px; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.35); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .85rem; letter-spacing: .03em; color: #444; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 500; font-size: 1rem; color: var(--dark-900);
  padding: 12px 14px; border: 1.5px solid #ddd; border-radius: 10px; background: #fafafa;
  width: 100%; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red-500); background: #fff; box-shadow: 0 0 0 4px rgba(215,20,15,.12); }
.form input.is-invalid { border-color: var(--red-500); }
.form__error { color: var(--red-600); font-weight: 600; font-size: .92rem; }
.form__error:empty { display: none; }

/* ---------- Rodapé ---------- */
.footer { background: var(--black); padding: 46px 0; border-top: 3px solid var(--red-600); }
.footer__inner { display: grid; gap: 14px; justify-items: center; text-align: center; }
.footer__logo { height: 50px; width: auto; }
.footer__info { color: var(--muted); font-size: .95rem; }
.footer__copy { color: rgba(255,255,255,.45); font-size: .85rem; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whats); color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .25s var(--ease);
}
.whats-float svg { width: 34px; height: 34px; }
.whats-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whats); animation: pulse 2s infinite; }
.whats-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Animação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .benefits, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 70px; }
  .steps::before { display: none; }
  .who__inner, .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .risk__photo { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 60%, transparent 100%); opacity: .7; }
}

@media (max-width: 900px) {
  :root { --top-h: 46px; --nav-h: 70px; --nav-h-s: 60px; }
  .topbar__mail { display: none; }
  .topbar__inner { gap: 22px; }
  .topbar__item { font-size: .98rem; }
  .brand img { height: 44px; }

  .nav__toggle { display: block; position: relative; z-index: 2; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(18,16,17,.97);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__menu a:not(.btn) { font-family: var(--font-title); font-size: 2.2rem; font-weight: 400; }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* hero no celular: bombeiro ao fundo, texto por cima */
  .hero { height: auto; min-height: 100svh; display: flex; align-items: center; }
  .hero__figure { height: 82%; right: -38%; opacity: .9; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(86,1,1,.15) 0%, rgba(86,1,1,.55) 45%, rgba(60,0,0,.92) 100%); }
  .hero__text { position: relative; inset: auto; width: calc(100% - 32px); margin: 0 auto; padding: calc(var(--hdr) + 30px) 0 110px; }
  .hero__title-big { font-size: clamp(3.4rem, 15vw, 6rem); }
  .hero__title-mid { font-size: clamp(2.4rem, 10vw, 4rem); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .topbar__item { font-size: .9rem; }
  .topbar__whats { padding: 5px 12px; }
  .benefits, .cards, .steps { grid-template-columns: 1fr; }
  .who__list { columns: 1; }
  .section { padding: 90px 0; }
  .screen { padding-top: calc(var(--hdr-s) + 20px); }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .scroll-btn span { display: none; }
  .whats-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .contact__ico { width: 48px; height: 48px; }
}
