:root {
  /* --- PALETA DE CORES: NEGO DA BALA DE COCO --- */
  --primary-color: #fa0001; /* Vermelho vibrante */
  --primary-dark: #cc0000; /* Vermelho escuro para hover */

  --secondary-color: #ffc812; /* Laranja (Apetite/Energia) */
  --secondary-hover: #d4a711;

  --text-dark: #040404; /* Preto profundo */
  --text-light: #ffffff; /* Branco */
  --text-gray: #555555;

  --background-light: #faf7f7;
  --background-white: #ffffff;

  --font-family: "Montserrat", sans-serif;
  --header-height: 80px;

  /* --- FORMAS --- */
  --radius-card: 8px;
  --radius-btn: 4px; /* Retangular */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  font-family: var(--font-family);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--background-light);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

/* =========================================
   HEADER & NAVEGAÇÃO
   ========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  height: var(--header-height);
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  z-index: 1000;
  background-color: var(--background-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
}

.logo {
  height: 65px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-link:hover .logo {
  transform: scale(1.05);
}

header nav ul {
  display: flex;
  gap: 25px;
  align-items: center;
  animation: slideInFromFarRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    forwards;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

nav a:not(.whatsapp-link):hover {
  color: var(--secondary-color);
}

nav a:not(.whatsapp-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:not(.whatsapp-link):hover::after {
  width: 100%;
}

/* BOTÃO WHATSAPP NO HEADER */
.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light) !important;
  background-color: #25d366;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-link i {
  font-size: 1.3rem;
}

.whatsapp-link:hover {
  background-color: #1ebc57;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  height: 3px;
  width: 28px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: 0.4s;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

/* =========================================
   HERO SECTION (TOPO)
   ========================================= */
.hero-section {
  min-height: 90vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 5%;
  color: var(--text-light);
  position: relative;
  background-color: var(--text-dark);
  margin-top: var(--header-height);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Gradiente com as cores da marca (Preto e Laranja) sobre a imagem */
  background-image:
    linear-gradient(
      to right,
      rgba(4, 4, 4, 0.6) 0%,
      rgba(4, 4, 4, 0.3) 50%,
      rgba(255, 143, 18, 0.1) 100%
    ),
    url("background-hero.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-background-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-light);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  z-index: 2;
  margin-top: -50px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--text-light);
}

.hero-content p {
  font-size: clamp(1rem, 1vw, 1.1rem);
  margin-bottom: 35px;
  opacity: 0.95;
  font-weight: 400;
  max-width: 600px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- BOTÕES PADRÃO --- */
.btn {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 14px 35px;
  border-radius: var(--radius-btn);
  border: none;
  color: white;
  background-color: var(--primary-color);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Animação de entrada */
.hero-content > * {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content h1 {
  animation-delay: 0.2s;
}
.hero-content p {
  animation-delay: 0.4s;
}
.hero-content .btn {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   ESTILOS GERAIS DE SEÇÃO
   ========================================= */
.services-section,
.about-us-section,
.contact-section,
.purpose-section {
  padding: 80px 5%;
  margin-bottom: 0;
  text-align: center;
}

.address-section {
  padding: 80px 5%;
  margin-bottom: 0;
  text-align: center;
  background-color: var(--background-white);
}

h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  color: var(--text-gray);
  margin-bottom: 60px;
  font-size: 1.1rem;
  font-weight: 300;
}

/* =========================================
   CARDS DE SERVIÇOS (PRODUTOS)
   ========================================= */
.services-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.service-card {
  background: white;
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.card-header-color {
  height: 4px;
  background-color: var(--secondary-color); /* Laranja nos cards */
  width: 100%;
}

.service-card-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 30px;
  flex: 1;
  line-height: 1.7;
}

.btn-card {
  color: var(--text-dark);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--secondary-color);
  padding: 10px 30px;
  border-radius: var(--radius-btn);
  transition: 0.3s;
  font-size: 0.9rem;
  text-transform: uppercase;
  display: inline-block;
}

.btn-card:hover {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.highlight-card {
  border-bottom: 3px solid var(--secondary-color);
}

/* =========================================
   SOBRE NÓS
   ========================================= */
.about-us-section {
  background-color: white;
  display: flex;
  gap: 60px;
  align-items: center;
  text-align: left;
}

.about-us-content {
  flex: 1;
}

.subtitle-about {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: block;
  text-transform: uppercase;
}

.about-us-image-container {
  flex: 1;
  position: relative;
}

.about-us-image {
  width: 90%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: 2px 2px 0px var(--primary-color);
}

/* =========================================
   PROPÓSITO (Missão/Visão/Valores)
   ========================================= */
.purpose-section {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.purpose-section p {
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-dark);
}

.purpose-cards-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.purpose-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: var(--background-white);
  padding: 50px 30px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-top: 4px solid transparent;
}

.purpose-card:hover {
  transform: translateY(-5px);
  border-top: 4px solid var(--primary-color);
}

.purpose-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.purpose-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: var(--text-dark);
}
/* =========================================
   ENDEREÇO E MAPA (ATUALIZADO PARA 2 LOJAS)
   ========================================= */

/* Container que segura as duas lojas */
.locations-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* Permite quebrar linha no mobile */
  margin-bottom: 40px;
}

/* O cartão individual de cada loja */
.address-unit {
  flex: 1;
  min-width: 300px; /* Tamanho mínimo antes de quebrar linha */
  max-width: 550px;
  background: white;
  padding: 20px;
  border-radius: var(--radius-card);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.address-unit:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.store-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.address-link {
  font-size: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  display: block; /* Garante que o link ocupe a linha */
  margin-bottom: 20px;
  transition: color 0.3s;
  line-height: 1.5;
}

.address-link:hover {
  color: var(--secondary-color);
}

.address-link i {
  color: var(--primary-color);
  margin-right: 8px;
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Ajuste no container de horários para ficar centralizado abaixo */
.hours-container {
  background-color: #fff;
  padding: 25px;
  border-radius: var(--radius-card);
  margin: 0 auto; /* Centraliza */
  max-width: 500px;
  border-bottom: 4px solid var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.hours-container {
  background-color: #fff;
  padding: 25px;
  border-radius: var(--radius-card);
  margin: 30px auto 10px auto;
  max-width: 500px;
  border-bottom: 4px solid var(--primary-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.hours-container h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 1rem;
  color: var(--text-dark);
}

/* =========================================
   CONTATO
   ========================================= */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius-card);
  width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact-card i {
  color: var(--text-dark);
  margin-right: 10px;
  font-size: 1.5rem;
}

.contact-card .btn {
  width: 100%;
  padding: 12px 0;
  border-radius: 4px !important;
}

/* =========================================
   SOCIAL FLUTUANTE & FOOTER
   ========================================= */
.social-bar {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}

.social-bar a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  color: var(--text-light);
  font-size: 35px;
  text-decoration: none !important;
  border: none !important;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background-color: #25d366;
  animation: pulse 2s infinite;
}

.social-bar a:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  animation-play-state: paused;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
}

footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 20px 100px 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-links {
  margin-bottom: 25px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

/* =========================================
   ELEMENTOS DE INTERFACE
   ========================================= */
#consent-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background-color: #fff;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-card);
  padding: 15px 30px;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px solid #eee;
}

#consent-banner.hidden {
  display: none;
}

.consent-text {
  flex: 1;
  font-size: 1rem;
  color: #000000;
  line-height: 1.4;
  text-align: left;
}

.consent-text a {
  color: var(--text-dark);
  text-decoration: underline;
  font-weight: 700;
}

.consent-text a:hover {
  color: var(--text-gray);
}

#accept-consent-btn {
  background-color: #ffffff;
  color: var(--primary-color);
  border: solid 1px var(--primary-color);
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

#accept-consent-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

#back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 45px;
  height: 45px;
  background-color: var(--text-dark);
  color: white;
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* --- Páginas Jurídicas --- */
.legal-content {
  max-width: 900px;
  margin: 160px auto 100px auto;
  padding: 0 5%;
}

.legal-content h1 {
  font-size: 2rem;
  color: var(--primary-color);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--text-dark);
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  text-align: left;
}

.legal-content p,
.legal-content li {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.alert-box {
  background-color: #fff3cd;
  color: #856404;
  padding: 20px;
  border-left: 5px solid #ffeeba;
  margin: 30px 0;
  border-radius: 5px;
}

.legal-box {
  background-color: #e2e3e5;
  padding: 20px;
  border-left: 5px solid #d6d8db;
  margin: 30px 0;
  border-radius: 5px;
}

/* =========================================
   ANIMAÇÕES (Slide e Fade)
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideInFromFarRight {
  from {
    opacity: 0;
    transform: translateX(100vw);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .logo {
    height: 60px;
  }

  header nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--text-dark);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
    border-top: 3px solid var(--primary-color);
  }

  header.open {
    background-color: var(--background-white);
  }
  header.open nav {
    right: 0;
  }

  header nav ul {
    margin-top: 30px;
    flex-direction: column;
    gap: 35px;
    padding: 20px 15px;
  }

  header nav a {
    padding: 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
  }

  nav a {
    color: var(--primary-color);
    font-size: 0.9rem;
    gap: 30px;
  }

  header.open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  header.open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  header.open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-section {
    justify-content: center;
    text-align: center;
  }

  .hero-section::before {
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image:
      linear-gradient(
        to bottom,
        rgba(4, 4, 4, 0.3) 0%,
        rgba(4, 4, 4, 0.2) 50%,
        rgba(255, 143, 18, 0.1) 100%
      ),
      url("background-hero-mobile.png");
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-content {
    margin-top: 10px;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .about-us-section {
    flex-direction: column-reverse;
  }

  .about-us-image {
    width: 100%;
    height: auto;
    box-shadow: 5px 5px 0px var(--primary-color);
  }

  #consent-banner {
    flex-direction: column;
  }
  .consent-text {
    text-align: center;
  }
}
