/* ==========================================================================
   Segurança Total Seabra — Landing Page
   Tokens extraídos direto da logo real: Preto #1c1c1c · Vermelho #e23037 ·
   Branco #f7f5f2 (a logo também usa branco como cor estrutural, não só o
   preto/vermelho da fachada). Amarelo de segurança usado só na fita zebrada
   (.tape) — único lugar onde faz sentido (é literalmente a cor de fita de
   sinalização), removido de todo o resto (não é mais um "detalhe solto").
   Display: Anton · Rótulo: Barlow Condensed · Corpo: Inter
   Assinatura: galeria de fotos reais da loja (carrossel com scroll-snap) +
   fita zebrada com frases de segurança + cards de produto com foto real.
   ========================================================================== */

:root {
  --ink: #1c1c1c;
  --ink-alt: #242322;
  --panel: #2a2827;
  --line: #423f3d;
  --red: #e23037;
  --red-ink: #c62430;
  --red-deep: #7a1418;
  --white: #f7f5f2;
  --white-dim: #d8d5cf;
  --yellow: #f5c518;
  --steel: #a89f96;
  --good: #4c9a5b;

  --font-display: "Anton", sans-serif;
  --font-label: "Barlow Condensed", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 3px;
  --radius-lg: 8px;
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  /* Compensa o cabeçalho fixo (sticky): sem isso, o topo de cada seção fica
     escondido atrás dele ao clicar num link do menu — é o que causava a
     sensação de "não vejo a seção" no celular. */
  scroll-padding-top: 88px;
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--ink);
  background-image: radial-gradient(ellipse at 15% -10%, rgba(226, 48, 55, 0.16), transparent 45%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0;
  color: var(--white);
}

.accent {
  color: var(--red);
  -webkit-text-stroke: 1px var(--white);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  color: var(--red);
}

a.link:hover {
  text-decoration: underline;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--red);
}

.section--light .eyebrow {
  /* --red puro fica com contraste fraco (~4.1:1) em texto pequeno sobre
     branco — --red-ink é a mesma cor da marca, escurecida só o suficiente
     pra passar no contraste mínimo de acessibilidade (~5.2:1). */
  color: var(--red-ink);
}

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: #f04046;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-small {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
  margin-top: 18px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
  transition: background 0.25s var(--ease), padding 0.25s var(--ease), border-color 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(28, 28, 28, 0.94);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 32px;
  height: 32px;
}

.brand__word {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.brand__word em {
  font-style: normal;
  color: var(--red);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  font-weight: 600;
}

.nav__links a:hover {
  color: var(--red);
}

/* Indica qual seção está visível no momento — sem isso não dá pra saber
   "onde você está" na página, principalmente depois de navegar pelo celular. */
.nav__links a.is-active,
.mobile-nav a.is-active {
  color: var(--red);
  position: relative;
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--red);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--ink-alt);
  border-bottom: 1px solid var(--line);
  padding: 8px 24px 20px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a:not(.btn) {
  padding: 12px 0;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 12px;
}

@media (max-width: 860px) {
  .nav__links,
  .nav .btn-small {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
}

/* ---- Hero ---- */
.hero {
  padding: 60px 0 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}

.hero__content h1 {
  font-size: clamp(40px, 5.6vw, 66px);
  margin-top: 14px;
}

.hero .lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--steel);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  color: var(--good);
}

.trust-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(76, 154, 91, 0.25);
}

.hero-note {
  display: block;
  margin-top: 14px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
  color: var(--steel);
}

/* Etiqueta de EPI — o painel do hero é a própria etiqueta de inspeção */
.hero__panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px 16px 16px 4px;
  padding: 30px 26px 26px 42px;
  transform: rotate(-2deg);
}

.tag__tag {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}

.checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.checklist svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--red);
}

@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__panel {
    transform: none;
  }
}

/* ---- Fita zebrada (marquee de frases) ---- */
.tape {
  overflow: hidden;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow),
    var(--yellow) 22px,
    var(--ink) 22px,
    var(--ink) 44px
  );
  padding: 3px 0;
}

.tape__track {
  display: flex;
  width: max-content;
  background: var(--ink);
  animation: tape-scroll 32s linear infinite;
}

.tape__track span {
  display: block;
  white-space: nowrap;
  padding: 11px 0;
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--yellow);
}

@keyframes tape-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---- Galeria da loja (carrossel — assinatura visual, no lugar da faixa corrida) ---- */
.gallery {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-alt);
  padding: 28px 0;
}

.gallery__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.gallery__controls {
  display: flex;
  gap: 10px;
}

.gallery__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.gallery__btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.gallery__btn svg {
  width: 18px;
  height: 18px;
}

.gallery__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 24px 14px;
  margin: 0 -24px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__slide {
  position: relative;
  flex: none;
  width: 260px;
  height: 320px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(28, 28, 28, 0.92), transparent);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 13px;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.gallery__dot.is-active {
  background: var(--red);
  transform: scale(1.3);
}

@media (max-width: 620px) {
  .gallery__head .eyebrow {
    font-size: 12px;
  }
  .gallery__slide {
    width: 210px;
    height: 260px;
  }
}

/* ---- Seções ---- */
.section {
  padding: 84px 0;
}

.section--alt {
  background: var(--ink-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--light {
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--light h2,
.section--light h3,
.section--light h4 {
  color: var(--ink);
}

.section--light .section-head p {
  color: #5c574f;
}

.section-head {
  max-width: 620px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-top: 12px;
}

.section-head p {
  margin-top: 14px;
  color: var(--steel);
  font-size: 16.5px;
}

/* ---- Produtos: cards com foto real ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--panel);
  border: 1px solid var(--line);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(28, 28, 28, 0.95) 10%, rgba(28, 28, 28, 0.15) 80%, transparent);
}

.product-card__label span {
  display: block;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--white-dim);
}

.product-card__label h3 {
  font-size: 21px;
  margin-top: 4px;
}

.product-card__icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.55);
  backdrop-filter: blur(3px);
  color: var(--white);
}

.product-card__icon svg {
  width: 18px;
  height: 18px;
}

.product-card__tab {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 3px;
}

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

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

/* ---- Palavras-chave (chips) ---- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.chip {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  padding: 9px 16px;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
}

/* ---- Como funciona ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  border-left: 3px solid var(--red);
  padding-left: 18px;
}

.step__num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--red);
  display: block;
}

.step h3 {
  font-size: 18px;
  text-transform: none;
  margin-top: 8px;
}

.step p {
  margin-top: 8px;
  color: var(--steel);
  font-size: 15px;
}

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

/* ---- Sobre + avaliações (seção clara, hospeda a logo real em cores) ---- */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about__logo {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  border: 1px solid #e4e0d8;
}

.about__text p {
  font-size: 16.5px;
  color: #423e37;
  line-height: 1.7;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.rating-row__stars {
  color: var(--red-ink);
  font-size: 18px;
  letter-spacing: 2px;
}

.rating-row__text {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13.5px;
  color: #5c574f;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.review-card {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: var(--radius);
  padding: 16px 18px;
}

.review-card__stars {
  color: var(--red-ink);
  font-size: 13px;
  letter-spacing: 1px;
}

.review-card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: #423e37;
}

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

/* ---- Localização ---- */
.location__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.info-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  gap: 14px;
}

.info-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--red);
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-item h4 {
  margin: 0;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--steel);
}

.info-item p {
  margin-top: 4px;
  font-size: 16px;
}

.hours-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}

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

/* ---- CTA final ---- */
.cta-final {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--ink) 0%, var(--red-deep) 140%);
  border-top: 1px solid var(--line);
}

.cta-final h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-top: 8px;
}

.cta-final p {
  margin: 16px auto 0;
  max-width: 44ch;
  color: var(--white);
  opacity: 0.85;
}

.cta-final .btn {
  margin-top: 28px;
}

/* ---- Footer ---- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand__mark {
  width: 30px;
  height: 30px;
}

.footer-brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fine {
  font-size: 13px;
  color: var(--steel);
}

.socials--footer {
  display: flex;
  gap: 16px;
}

.socials--footer a {
  color: var(--steel);
}

.socials--footer a:hover {
  color: var(--red);
}

.socials--footer svg {
  width: 20px;
  height: 20px;
}

/* ---- WhatsApp flutuante ---- */
.float-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 50;
  transition: transform 0.18s var(--ease);
}

.float-wa:hover {
  transform: scale(1.06);
}

.float-wa svg {
  width: 26px;
  height: 26px;
}

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal {
  transition-delay: 0.05s;
}
