@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* ============================================================
   VARIÁVEIS
============================================================ */
:root {
  --claro-red: #E3262E;
  --claro-red-hover: #A61D19;
  --wpp-green: #25D366;
  --wpp-green-hover: #1ebe5a;
  --dark: #111111;
  --dark-mid: #1a1a2e;
  --gray-light: #F5F5F7;
  --gray-text: #444444;
  --white: #FFFFFF;
  --font: 'Roboto', system-ui, sans-serif;

  /* legado — mantido para compatibilidade com o form */
  --custom-primary: #E3262E;
}

/* ============================================================
   RESET & BASE
============================================================ */
body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--dark);
  background-color: var(--white);
  scroll-behavior: smooth;
}

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

/* ============================================================
   BOTÕES — compatibilidade legada
============================================================ */
.btn-custom-primary {
  background-color: var(--claro-red);
  border-color: var(--claro-red);
  color: #fff;
  font-weight: 600;
}
.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
  background-color: var(--claro-red-hover) !important;
  border-color: var(--claro-red-hover) !important;
  color: #fff !important;
  filter: brightness(0.9) !important;
}

/* ============================================================
   BOTÕES — LP
============================================================ */
.btn-primary-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  background-color: var(--claro-red);
  color: #fff;
  border: 2px solid var(--claro-red);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn-primary-red:hover {
  background-color: var(--claro-red-hover);
  border-color: var(--claro-red-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-wpp-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background-color: var(--wpp-green);
  color: #fff;
  border: 2px solid var(--wpp-green);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-wpp-primary:hover {
  background-color: var(--wpp-green-hover);
  border-color: var(--wpp-green-hover);
  color: #fff;
  transform: translateY(-2px);
}
.btn-wpp-primary i {
  font-size: 1.25rem;
}

/* Botões amarelos em seções com fundo escuro */
.bg-dark-section .btn-primary-red,
.bg-dark-red .btn-primary-red {
  background-color: #FFC823;
  border-color: #FFC823;
  color: #111111;
}
.bg-dark-section .btn-primary-red:hover,
.bg-dark-red .btn-primary-red:hover {
  background-color: #D4A800;
  border-color: #D4A800;
  color: #111111;
}

.btn-outline-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background-color: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-outline-cta:hover {
  background-color: var(--dark);
  color: #fff;
}

/* ============================================================
   UTILITÁRIOS
============================================================ */
.section-padded {
  padding: 88px 0;
}

.bg-white       { background-color: var(--white); }
.bg-light-gray  { background-color: var(--gray-light); }
.bg-dark-section{ background-color: #1a0303; }
.bg-dark-red    { background-color: #530B06; }
.bg-form-section{ background-color: #100101; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--dark);
}
.section-title.text-white {
  color: #fff;
}

.section-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--gray-text);
  margin-bottom: 1rem;
}
.section-text.text-white {
  color: #fff;
}
.section-text.text-white-muted {
  color: rgba(255, 255, 255, 0.75);
}

.destaque-img {
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

/* ============================================================
   HEADER & NAVBAR
============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--claro-red);
  padding: 0;
  transition: box-shadow 0.25s ease;
}
#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header-nav-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 0;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo {
  height: 50px;
  width: auto;
}

/* hamburger */
.navbar-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.toggler-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* collapse wrapper */
.navbar-collapse {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: flex-end;
}

/* nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link-item {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.nav-link-item:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.18);
}

.nav-link-item--cta {
  color: #FFC823;
  border: 2px solid #FFC823;
  font-weight: 800;
}
.nav-link-item--cta:hover {
  background-color: #FFC823;
  color: var(--dark);
}

/* active state via JS */
.nav-link-item.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.18);
}

/* wpp button */
.btn-wpp-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background-color: var(--wpp-green);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-wpp-header:hover {
  background-color: var(--wpp-green-hover);
  color: #fff;
}
.btn-wpp-header i {
  font-size: 1.05rem;
}

/* ============================================================
   HERO
============================================================ */
#hero-section {
  background-color: var(--white);
}

#heroBanners .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  min-height: 180px;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--claro-red);
  opacity: 0.5;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  margin: 0 4px;
}
.carousel-indicators .active {
  opacity: 1;
}

.hero-content {
  padding: 64px 0 72px;
  background-color: var(--white);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--claro-red);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   LISTA DE SOLUÇÕES (checkmarks)
============================================================ */
.solution-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  line-height: 1.55;
}
.solution-list li i {
  color: var(--claro-red);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ============================================================
   CARDS — DIFERENCIAIS (seção escura)
============================================================ */
.diferencial-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(227, 38, 46, 0.25);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.diferencial-card:hover {
  transform: translateY(-4px);
  background-color: rgba(227, 38, 46, 0.1);
  border-color: var(--claro-red);
}

.diferencial-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 1.25rem;
}

.diferencial-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.diferencial-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   CARDS — SOLUÇÕES (fundo cinza)
============================================================ */
.solucao-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.solucao-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.solucao-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.solucao-body {
  padding: 1.5rem;
  flex: 1;
}

.solucao-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.solucao-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #444;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   SEÇÃO — NOSSAS LOJAS
============================================================ */
.loja-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--white);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.loja-item i {
  color: var(--claro-red);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.loja-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

/* ============================================================
   SEÇÃO DE FORMULÁRIO
============================================================ */
#contact-section .section-title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
}

.form-wrapper {
  background-color: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  background-color: #0d0101;
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem 3.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 64px;
  width: auto;
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.375rem;
  font-size: 0.9rem;
}

.footer-info p,
.footer-contact p {
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.65;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact a:hover {
  color: var(--claro-red);
}
.footer-contact i {
  margin-right: 0.4rem;
  color: var(--claro-red);
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
============================================================ */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  background-color: var(--wpp-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wpp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* ============================================================
   RESPONSIVIDADE
============================================================ */

/* ── TABLET (≤ 991px) ── */
@media (max-width: 991px) {
  .section-padded {
    padding: 56px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .header-logo {
    height: 42px;
  }

  /* navbar mobile */
  .navbar-toggler {
    display: flex;
  }
  .header-nav-full {
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 0;
  }
  .navbar-collapse {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex-basis: 100%;
    width: 100%;
    order: 10;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    margin-top: 8px;
  }
  .navbar-collapse.show {
    display: flex;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-bottom: 0;
  }
  .nav-link-item {
    padding: 0.75rem 0.75rem;
    font-size: 0.9375rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-link-item--cta {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFC823;
    font-weight: 800;
  }
  .nav-link-item--cta:hover {
    background-color: rgba(255, 200, 35, 0.15);
    color: #FFC823;
  }
  .btn-wpp-header {
    justify-content: center;
    width: 100%;
    margin-top: 12px;
  }
}

/* ── MOBILE (≤ 767px) ── */
@media (max-width: 767px) {
  .section-padded {
    padding: 48px 0;
  }

  /* Header */
  .header-logo {
    height: 36px;
  }
  .btn-wpp-header span {
    display: none;
  }

  /* Hero */
  .hero-content {
    padding: 36px 0 44px;
  }
  #heroBanners .carousel-item img {
    max-height: 200px;
    min-height: 130px;
    object-position: center top;
  }
  .hero-eyebrow {
    font-size: 0.75rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas a {
    text-align: center;
  }

  /* Botões — full-width em mobile */
  .btn-primary-red,
  .btn-wpp-primary,
  .btn-outline-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Imagens de destaque */
  .destaque-img {
    max-width: 100%;
    margin-bottom: 0;
  }

  /* Cards diferenciais */
  .diferencial-card {
    padding: 1.5rem 1.25rem;
  }

  /* Cards soluções */
  .solucao-img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* Formulário */
  .form-wrapper {
    padding: 2rem 1.25rem;
    border-radius: 12px;
  }

  /* Footer */
  .footer-logo {
    height: 50px;
  }
  .footer-contact a,
  .footer-contact p {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .footer-info p,
  .footer-contact p {
    font-size: 0.875rem;
    line-height: 1.75;
  }
}

/* ── SMALL MOBILE (≤ 575px) ── */
@media (max-width: 575px) {
  .section-padded {
    padding: 40px 0;
  }

  /* Header */
  .header-logo {
    height: 32px;
  }

  /* Hero */
  .hero-content {
    padding: 28px 0 36px;
  }
  #heroBanners .carousel-item img {
    max-height: 160px;
    min-height: 100px;
  }
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  /* Títulos e textos */
  .section-title {
    font-size: 1.375rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  .section-text {
    font-size: 0.9375rem;
    line-height: 1.75;
  }

  /* Botões */
  .btn-primary-red {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
  }
  .btn-wpp-primary {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
  }

  /* Lista de soluções */
  .solution-list li {
    font-size: 0.9rem;
  }

  /* Cards diferenciais */
  .diferencial-card {
    padding: 1.25rem 1rem;
  }
  .diferencial-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }
  .diferencial-title {
    font-size: 0.9375rem;
  }
  .diferencial-text {
    font-size: 0.8125rem;
  }

  /* Cards soluções */
  .solucao-img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .solucao-body {
    padding: 1.125rem;
  }
  .solucao-title {
    font-size: 0.9375rem;
  }
  .solucao-text {
    font-size: 0.8125rem;
  }

  /* Contact / Formulário */
  #contact-section .section-title {
    font-size: 1.25rem;
  }
  .form-wrapper {
    padding: 1.5rem 1rem;
    border-radius: 10px;
  }

  /* Footer */
  #site-footer {
    padding: 40px 0 24px;
  }
  .footer-grid {
    gap: 1.25rem;
  }
  .footer-logo {
    height: 44px;
  }
  .footer-brand {
    font-size: 0.85rem;
  }
  .footer-info p,
  .footer-contact p {
    font-size: 0.8125rem;
  }
  .footer-bottom p {
    font-size: 0.75rem;
  }

  /* Botão flutuante WhatsApp */
  .wpp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
}
