/* ======================================================
   VARIÁVEIS GLOBAIS
====================================================== */
:root {
  --preto: #0B0B0B;
  --branco: #FFFFFF;
  --amarelo: #FFC400;
  --cinza: #666666;
}

/* ======================================================
   BASE GLOBAL
====================================================== */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--branco);
  color: var(--preto);
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

section {
  padding: 80px 8%;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}

h2 {
  margin-bottom: 30px;
}

/* ======================================================
   HEADER / NAVBAR
====================================================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.header.scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.logo .fast {
  color: var(--amarelo);
}

.logo .escova {
  color: var(--preto);
}

.logo small {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: -4px;
}

.nav a {
  margin-left: 24px;
  color: var(--preto);
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--amarelo);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Menu Mobile */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
}

/* ======================================================
   HERO
====================================================== */
#hero {
  height: 90vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  
  position: relative;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0B0B0B;
}

#hero {
  background: linear-gradient(
    180deg,
    #000 0%,
    #111 100%
  );
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  max-width: 500px;
  animation: heroFade 1.2s ease forwards;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary {
  display: inline-block;
  background: var(--amarelo);
  color: var(--preto);
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 20px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,196,0,0.4);
}

/* ======================================================
   SERVIÇOS
====================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-info {
  padding: 20px;
  text-align: center;
}

/* ======================================================
   VOUCHER – ESTILO PRODUTO / CARTÃO PRESENTE
====================================================== */

.voucher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.voucher-card {
  position: relative;
  padding: 32px 28px 36px;
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    #ffffff 65%,
    rgba(255, 196, 0, 0.18)
  );
  box-shadow:
    0 10px 30px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255,196,0,0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

/* detalhe decorativo (efeito cartão) */
.voucher-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -40%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255,196,0,0.25),
    transparent 70%
  );
  transform: rotate(25deg);
}

/* hover desktop */
.voucher-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.12),
    inset 0 0 0 1px rgba(255,196,0,0.25);
}

.voucher-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--preto);
}

.voucher-card p {
  font-size: 15px;
  color: var(--cinza);
  line-height: 1.6;
  margin-bottom: 26px;
}

/* botão como CTA de produto */
.voucher-card button {
  width: 100%;
  padding: 14px 0;
  border-radius: 30px;
  border: none;
  background: var(--amarelo);
  color: var(--preto);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* microinteração */
.voucher-card button:hover {
  background: #ffcf33;
  transform: scale(1.02);
}

/* toque mobile */
.voucher-card button:active {
  transform: scale(0.98);
}


/* ======================================================
   MODAL – ESTRUTURA (NÃO MEXER)
====================================================== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* Modal ativo */
.modal.active {
  display: flex;
}

/* ======================================================
   MODAL – CONTAINER
====================================================== */

.modal-content {
  background: var(--branco);
  padding: 32px 28px;
  border-radius: 22px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  animation: modalUp 0.4s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

@keyframes modalUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ======================================================
   MODAL – TÍTULO E FECHAR
====================================================== */

.modal-content h3 {
  margin-bottom: 22px;
  font-size: 22px;
  color: var(--preto);
}

.modal-content .close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s ease;
}

.modal-content .close:hover {
  color: var(--preto);
}

/* ======================================================
   MODAL – FORMULÁRIO
====================================================== */

.modal-content input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 1px solid #e0e0e0;
  font-size: 15px;
  text-align: center;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.modal-content input::placeholder {
  text-align: center;
  color: #aaa;
}

.modal-content input:focus {
  outline: none;
  border-color: var(--amarelo);
  box-shadow: 0 0 0 2px rgba(255,196,0,0.25);
}

/* ======================================================
   MODAL – BOTÃO (PRETO PREMIUM)
====================================================== */

.modal-content button {
  width: 100%;
  padding: 14px 0;
  border-radius: 30px;
  border: none;
  background: var(--preto);
  color: var(--branco);
  font-weight: 600;
  font-size: 15px;
  margin-top: 6px;
  transition: transform 0.2s ease, background 0.3s ease;
}

.modal-content button:hover {
  background: #000;
  transform: scale(1.02);
}

.modal-content button:active {
  transform: scale(0.98);
}


/* ======================================================
   MAPA
====================================================== */
#mapa iframe {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  border: none;
}

/* ======================================================
   SCROLL REVEAL
====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   WHATSAPP FLUTUANTE
====================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ======================================================
   RESPONSIVO
====================================================== */
@media (max-width: 900px) {
  section {
    padding: 60px 6%;
  }

  #hero {
    text-align: center;
    justify-content: center;
  }

  .services-grid,
  .voucher-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    background: white;
    width: 220px;
    height: calc(100vh - 70px);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    z-index: 999;
  }

  .nav a {
    margin: 15px 0;
  }

  .nav.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }
}
/* Microinterações globais */
a, button {
  transition: all 0.25s ease;
}

button:hover {
  filter: brightness(1.05);
}

/* Cards ganham leve resposta */
.service-card,
.voucher-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover,
.voucher-card:hover {
  transform: translateY(-6px);
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.015em;
}

p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}
#hero {
  min-height: 100vh;
}

.hero-content p {
  font-size: 18px;
  margin-top: 12px;
  color: rgba(255,255,255,0.85);
}

.btn-primary {
  box-shadow: 0 12px 30px rgba(255,196,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
}
.voucher-card {
  backdrop-filter: blur(4px);
}

.voucher-card h3 {
  letter-spacing: -0.01em;
}

.voucher-card p {
  font-size: 15px;
}
@media (max-width: 600px) {
  .hero-content {
    padding: 0 10px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  section {
    padding: 60px 5%;
  }
}

/* ===============================
   LOCALIZAÇÃO
================================ */
.location-section {
  background: #f8f8f8;
  text-align: center;
}

.location-address {
  margin-bottom: 30px;
  color: #555;
}

.map-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.map-card iframe {
  width: 100%;
  height: 360px;
  border: none;
}

/* ===============================
   FOOTER PREMIUM
================================ */
.footer {
  background: var(--preto);
  color: #ccc;
  padding: 40px 8%;
  text-align: center;
}

.footer-content strong {
  display: block;
  color: var(--branco);
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-content p {
  margin-bottom: 8px;
  color: #aaa;
}

.footer-content a {
  color: var(--amarelo);
  text-decoration: none;
  font-weight: 500;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 3000; /* MUITO IMPORTANTE */
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Corrigir underline/linha no ícone do WhatsApp */
.whatsapp-float {
  text-decoration: none !important;
}

.whatsapp-float i {
  text-decoration: none !important;
  line-height: 1;
  display: block;
}

/* Centralização premium de títulos e textos */
#servicos h2,
#voucher h2 {
  text-align: center;
}

#voucher > p {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
}

/* Centralizar título e texto do voucher */
#voucher h2,
#voucher p {
  text-align: center;
}

/* Centralizar título e texto dentro dos cards de voucher */
.voucher-card h3,
.voucher-card p {
  text-align: center;
}

:root {
  --header-height: 70px;
}

@media (min-width: 1024px) {
  :root {
    --header-height: 90px;
  }

  /* HERO CONTAINER */
  #hero {
    margin-top: var(--header-height);

    display: grid;
    grid-template-columns: 35% 65%;
    align-items: center;

    min-height: calc(100vh - var(--header-height));
    padding: 0 8%;

    background: var(--branco) !important;
  }

  /* TEXTO + BOTÃO (LADO ESQUERDO) */


  .hero-content h1 {
    margin-top: 0;
    text-align: left;
  }

  .hero-content p {
    margin-top: 12px;
    margin-bottom: 24px;
    text-align: left;
  }

  /* IMAGEM (LADO DIREITO) */
.hero-media {
  grid-column: 2;
  justify-self: center;

  width: 100%;
  max-width: 600px;

  max-height: calc(100vh - 160px); /* 🔥 ISSO RESOLVE */
  aspect-ratio: 4 / 3;

  border-radius: 36px;
  overflow: hidden;

  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}


  /* IMAGEM INTERNA */
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


  /* DESATIVA OVERLAY ANTIGO */
  .hero-overlay {
    display: none !important;
  }
}

/* ===============================
   BOTÕES DO HERO
================================ */

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

/* Botão secundário (localização) */
.btn-outline {
  background: transparent;
  color: var(--preto);
  border: 2px solid var(--preto);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--preto);
  color: var(--branco);
}

/* Mobile */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   HERO – MOBILE (SOBRESCREVE HERO ANTIGO)
========================================= */
@media (max-width: 900px) {

  #hero {
    position: relative;
    height: auto;
    min-height: unset;

    padding: calc(var(--header-height) + 40px) 6% 60px;
    background: var(--branco);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  /* REMOVE FUNDO ESCURO E OVERLAY */
  .hero-overlay {
    display: none !important;
  }

  /* IMAGEM DEIXA DE SER FUNDO */
  .hero-media {
    position: relative;
    inset: unset;

    width: 100%;
    max-width: 100%;
    height: auto;

    aspect-ratio: 4 / 5;
    border-radius: 28px;
    overflow: hidden;

    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* TEXTO LEGÍVEL */
  .hero-content {
    max-width: 100%;
    text-align: center;
    color: var(--preto);
  }

  .hero-content h1 {
    color: var(--preto);
  }

  .hero-content p {
    color: #555;
  }

  /* BOTÕES ORGANIZADOS */
  .hero-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}

