/* ====================================================================
   PALETAS DE CORES MELHORADAS - LIGHTHOUSE
   Focado em contraste adequado e acessibilidade
   ==================================================================== */
/* --- PALETA PADRÃO (Navy-Gold) - MELHORADA --- */
[data-theme="default"] {
  --bg: #fafafa;
  --bg-alt: #ffffff;
  --text: #1a1a1a;
  --accent: #b8860b;
  --accent-alt: #996f00;
  --header-bg: rgba(15, 25, 45, 0.95);
  --header-text: #ffffff;
  --card-bg: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  --footer-bg: linear-gradient(135deg, #0f192d 0%, #2c3e50 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #25d366, #128c7e);
}

/* --- PALETA DARK-ELEGANT - MELHORADA --- */
[data-theme="dark"] {
  --bg: #121212;
  --bg-alt: #1e1e1e;
  --text: #ffffff;
  --accent: #ffa500;
  --accent-alt: #ff8c00;
  --header-bg: rgba(0, 0, 0, 0.9);
  --header-text: #ffffff;
  --card-bg: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%);
  --footer-bg: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #25d366, #1e7e34);
}

/* --- PALETA LIGHT-NATURAL - MELHORADA --- */
[data-theme="light"] {
  --bg: #f5f0e8;
  --bg-alt: #ffffff;
  --text: #2c1810;
  --accent: #8b4513;
  --accent-alt: #654321;
  --header-bg: rgba(245, 240, 232, 0.97);
  --header-text: #2c1810;
  --card-bg: linear-gradient(135deg, #fff 0%, #faf6f1 100%);
  --footer-bg: linear-gradient(135deg, #2c1810 0%, #1a0e08 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #66bb6a, #388e3c);
}

/* --- PALETA SUNSET COVE - MELHORADA --- */
[data-theme="sunset_cove"] {
  --bg: #fdf2e9;
  --bg-alt: #ffffff;
  --text: #3d1a00;
  --accent: #d2691e;
  --accent-alt: #a0522d;
  --header-bg: rgba(253, 242, 233, 0.95);
  --header-text: #3d1a00;
  --card-bg: linear-gradient(135deg, #fffaf7 0%, #fff5ee 100%);
  --footer-bg: linear-gradient(135deg, #3d1a00 0%, #2f1400 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #d2691e, #a0522d);
}

/* --- PALETA OCEANIC MINERAL - MELHORADA --- */
[data-theme="oceanic_mineral"] {
  --bg: #f0f9ff;
  --bg-alt: #ffffff;
  --text: #0c2340;
  --accent: #1e40af;
  --accent-alt: #1e3a8a;
  --header-bg: rgba(240, 249, 255, 0.95);
  --header-text: #0c2340;
  --card-bg: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  --footer-bg: linear-gradient(135deg, #0c2340 0%, #1e3a8a 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #1e40af, #1e3a8a);
}

/* --- PALETA FOREST AMBER - MELHORADA --- */
[data-theme="forest_amber"] {
  --bg: #f5f7f1;
  --bg-alt: #ffffff;
  --text: #1a3319;
  --accent: #ff8c00;
  --accent-alt: #ff7f00;
  --header-bg: rgba(245, 247, 241, 0.95);
  --header-text: #1a3319;
  --card-bg: linear-gradient(135deg, #f8faf3 0%, #f0f5e6 100%);
  --footer-bg: linear-gradient(135deg, #1a3319 0%, #0f1a0e 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #ff8c00, #ff7f00);
}

/* --- PALETA ROYAL BERRY - MELHORADA --- */
[data-theme="royal_berry"] {
  --bg: #fcf2f7;
  --bg-alt: #ffffff;
  --text: #2d0a1f;
  --accent: #c21e56;
  --accent-alt: #a01645;
  --header-bg: rgba(252, 242, 247, 0.95);
  --header-text: #2d0a1f;
  --card-bg: linear-gradient(135deg, #fdf7fa 0%, #fceff5 100%);
  --footer-bg: linear-gradient(135deg, #2d0a1f 0%, #1f0715 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #c21e56, #a01645);
}

/* --- PALETA MIDNIGHT SAPPHIRE - MELHORADA --- */
[data-theme="midnight_sapphire"] {
  --bg: #1a1a2e;
  --bg-alt: #16213e;
  --text: #ffffff;
  --accent: #1e90ff;
  --accent-alt: #4169e1;
  --header-bg: rgba(26, 26, 46, 0.95);
  --header-text: #ffffff;
  --card-bg: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
  --footer-bg: linear-gradient(135deg, #001f3f 0%, #000000 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #1e90ff, #4169e1);
}

/* --- PALETA LAVENDER MIST - MELHORADA --- */
[data-theme="lavender_mist"] {
  --bg: #f8f5ff;
  --bg-alt: #ffffff;
  --text: #2d1b3d;
  --accent: #6a4c93;
  --accent-alt: #553c7b;
  --header-bg: rgba(248, 245, 255, 0.95);
  --header-text: #2d1b3d;
  --card-bg: linear-gradient(135deg, #fdfaff 0%, #f5f0ff 100%);
  --footer-bg: linear-gradient(135deg, #2d1b3d 0%, #1f1229 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #6a4c93, #553c7b);
}

/* --- PALETA GOLDEN HOUR - MELHORADA --- */
[data-theme="golden_hour"] {
  --bg: #fffaf0;
  --bg-alt: #ffffff;
  --text: #3d2914;
  --accent: #b8860b;
  --accent-alt: #996f00;
  --header-bg: rgba(255, 250, 240, 0.95);
  --header-text: #3d2914;
  --card-bg: linear-gradient(135deg, #fffefb 0%, #fff8e1 100%);
  --footer-bg: linear-gradient(135deg, #3d2914 0%, #2f1f0f 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #b8860b, #996f00);
}

/* --- PALETA EMERALD FOREST (Nova) --- */
[data-theme="emerald_forest"] {
  --bg: #f0f7f4;
  --bg-alt: #ffffff;
  --text: #2e4035;
  --accent: #2ecc71;
  --accent-alt: #27ae60;
  --header-bg: rgba(240, 247, 244, 0.95);
  --header-text: #2e4035;
  --card-bg: linear-gradient(135deg, #f8fcfa 0%, #ecf5f0 100%);
  --footer-bg: linear-gradient(135deg, #2e4035 0%, #1a251f 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #2ecc71, #27ae60);
}

/* --- PALETA STORMY SEA (Nova) --- */
[data-theme="stormy_sea"] {
  --bg: #f4f6f8;
  --bg-alt: #ffffff;
  --text: #2d3748;
  --accent: #4a90e2;
  --accent-alt: #1c5fa6;
  --header-bg: rgba(244, 246, 248, 0.95);
  --header-text: #2d3748;
  --card-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --footer-bg: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #4a90e2, #1c5fa6);
}

/* --- PALETA CRIMSON SUNSET (Nova) --- */
[data-theme="crimson_sunset"] {
  --bg: #fff5f5;
  --bg-alt: #ffffff;
  --text: #7b243d;
  --accent: #e74c3c;
  --accent-alt: #c0392b;
  --header-bg: rgba(255, 245, 245, 0.95);
  --header-text: #7b243d;
  --card-bg: linear-gradient(135deg, #fffafa 0%, #fff0f0 100%);
  --footer-bg: linear-gradient(135deg, #7b243d 0%, #4c1b2a 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* --- PALETA: ARCTIC BLUE --- */
[data-theme="arctic_blue"] {
  --bg: #f0f8ff;
  --bg-alt: #ffffff;
  --text: #003366;
  --accent: #0077cc;
  --accent-alt: #005599;
  --header-bg: rgba(240, 248, 255, 0.97);
  --header-text: #003366;
  --card-bg: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  --footer-bg: linear-gradient(135deg, #003366 0%, #001a33 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #0077cc, #005599);
}

/* --- PALETA: COPPER MINT --- */
[data-theme="copper_mint"] {
  --bg: #f0fdf4;
  --bg-alt: #ffffff;
  --text: #14532d;
  --accent: #d97706;
  --accent-alt: #b45309;
  --header-bg: rgba(240, 253, 244, 0.97);
  --header-text: #14532d;
  --card-bg: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  --footer-bg: linear-gradient(135deg, #14532d 0%, #0f3a21 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #d97706, #b45309);
}

/* --- PALETA: SLATE ORANGE --- */
[data-theme="slate_orange"] {
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --text: #1e293b;
  --accent: #ea580c;
  --accent-alt: #c2410c;
  --header-bg: rgba(248, 250, 252, 0.97);
  --header-text: #1e293b;
  --card-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --footer-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #ea580c, #c2410c);
}

/* --- PALETA: BURGUNDY CREAM --- */
[data-theme="burgundy_cream"] {
  --bg: #fefce8;
  --bg-alt: #ffffff;
  --text: #7c2d12;
  --accent: #dc2626;
  --accent-alt: #b91c1c;
  --header-bg: rgba(254, 252, 232, 0.97);
  --header-text: #7c2d12;
  --card-bg: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
  --footer-bg: linear-gradient(135deg, #7c2d12 0%, #5a1e0c 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* --- PALETA: DEEP TEAL --- */
[data-theme="deep_teal"] {
  --bg: #f0fdfa;
  --bg-alt: #ffffff;
  --text: #134e4a;
  --accent: #0d9488;
  --accent-alt: #0f766e;
  --header-bg: rgba(240, 253, 250, 0.97);
  --header-text: #134e4a;
  --card-bg: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  --footer-bg: linear-gradient(135deg, #134e4a 0%, #0f3e3a 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #0d9488, #0f766e);
}

/* --- PALETA: CHARCOAL GOLD --- */
[data-theme="charcoal_gold"] {
  --bg: #fffbeb;
  --bg-alt: #ffffff;
  --text: #1c1917;
  --accent: #f59e0b;
  --accent-alt: #d97706;
  --header-bg: rgba(255, 251, 235, 0.97);
  --header-text: #1c1917;
  --card-bg: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
  --footer-bg: linear-gradient(135deg, #1c1917 0%, #0c0a09 100%);
  --footer-text: #ffffff;
  --btn-whatsapp: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ====================================================================
   RESET E ESTILOS BASE
   ==================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background 0.4s, color 0.4s;
}

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

/* Container principal para controlar overflow */
.main-container {
  width: 100%;
  overflow-x: hidden;
}

/* ====================================================================
   HEADER
   ==================================================================== */
header {
  position: fixed;
  top: 0;
  width: 100vw;
  left: 0;
  background: var(--header-bg);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background 0.4s;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 3%;
  max-width: 1600px;
  margin: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  filter: brightness(1.2);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--header-text);
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: 0.3s;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.special-links {
  display: flex;
  gap: 0.8rem;
  margin-left: 0.8rem;
}

.special-links a {
  color: var(--header-text);
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  transition: 0.3s;
  white-space: nowrap;
}

.special-links a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent);
  margin: 3px 0;
  transition: 0.3s;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ====================================================================
   DROPDOWN MENU DE PREFERÊNCIAS
   ==================================================================== */
.dropdown-menu {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: 0.3s;
}

.dropdown-trigger:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 400px;
  background: var(--bg-alt);
  border: 2px solid var(--accent);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  margin-top: 10px;
  backdrop-filter: blur(10px);
}

.dropdown-menu.active .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.preferences-panel {
  padding: 1.5rem;
}

.preferences-panel h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-align: center;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.5rem;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Scrollbar personalizada */
.palette-grid::-webkit-scrollbar {
  width: 6px;
}

.palette-grid::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 3px;
}

.palette-grid::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.palette-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg);
}

.palette-option:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.palette-option.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: var(--bg);
}

.palette-option.active .palette-name {
  color: var(--bg);
  font-weight: bold;
}

.palette-preview {
  display: flex;
  gap: 2px;
  border-radius: 6px;
  overflow: hidden;
}

.palette-preview span {
  width: 16px;
  height: 16px;
  display: block;
}

.palette-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
}

.preference-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  border-top: 1px solid var(--accent);
  padding-top: 1rem;
  flex-wrap: wrap;
}

.save-btn, .reset-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.save-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: var(--bg);
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.reset-btn {
  background: #6c757d;
  color: white;
}

.reset-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

/* ====================================================================
   POPUP PARA SALVAR TEMA
   ==================================================================== */
.theme-save-popup .popup-content {
  padding: 2rem;
  text-align: center;
}

.theme-save-popup h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.theme-save-popup p {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.popup-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.save-theme-btn, .continue-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.save-theme-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: var(--bg);
}

.save-theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.continue-btn {
  background: #6c757d;
  color: white;
}

.continue-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

/* Responsive para popup */
@media (max-width: 768px) {
  .theme-save-popup {
    margin: 0 20px;
    min-width: auto !important;
  }
  .popup-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
  .save-theme-btn, .continue-btn {
    width: 100%;
  }
}

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  height: 100vh;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(rgba(15, 25, 45, 0.4), rgba(41, 98, 155, 0.3)), url('images/farol.png') center/cover fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1.5s ease;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-button {
  display: inline-block;
  padding: 12px 20px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: var(--bg) !important;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.4s;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem !important;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.5);
  background: rgba(255, 255, 255, 0.1) !important;
}

/* ====================================================================
   SECTIONS - ESTRUTURA CORRIGIDA PARA FUNCIONAR COM <section class="section about">
   ==================================================================== */
.section {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--text);
  position: relative;
  font-weight: 300;
  letter-spacing: 2px;
}

.section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
}

/* ====================================================================
   ABOUT - AJUSTADO PARA FUNCIONAR COM <section class="section about">
   ==================================================================== */
.section.about {
  background: var(--footer-bg);
  color: var(--footer-text);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 100px 5%;
  max-width: none;
}

.section.about h2 {
  color: var(--footer-text);
}

.section.about .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.2rem;
  line-height: 2;
}

.about-text h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 300;
}

/* ====================================================================
   PRODUCTS - AJUSTADO PARA FUNCIONAR COM <section class="section products">
   ==================================================================== */
.section.products {
  background: var(--bg);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 100px 5%;
  max-width: none;
}

.section.products .product-carousel {
  position: relative;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  border-radius: 20px;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
}

.product-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 2rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: 0.4s;
  border: 1px solid rgba(201, 169, 110, 0.1);
}

.product-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.product-image {
  width: 180px;
  height: 320px;
  margin: 0 auto 2rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 15px;
}

.product-card h3 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 400;
}

.product-card p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.product-benefits {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.benefit-tag {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.carousel-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: var(--bg);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(201, 169, 110, 0.3);
}

.carousel-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.5);
}

/* ====================================================================
   PARALLAX
   ==================================================================== */
.parallax-section {
  height: 60vh;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(rgba(15, 25, 45, 0.6), rgba(44, 62, 80, 0.4)), url('images/geral.jpeg') center/cover fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.parallax-content {
  max-width: 800px;
  padding: 0 2rem;
}

.parallax-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: 300;
}

/* ====================================================================
   FOOTER
   ==================================================================== */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
}

/* ====================================================================
   FOOTER MELHORADO + ESTILOS ADICIONAIS
   ==================================================================== */

/* Melhorias nos links do footer */
.footer-section a {
  color: var(--footer-text);
  line-height: 1.8;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-section a:hover i {
  transform: scale(1.1);
  color: var(--accent) !important;
}

/* Estilo para o horário de atendimento */
.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.schedule-item div p {
  margin: 0.2rem 0;
  line-height: 1.4;
}

.schedule-item strong {
  color: var(--accent);
  font-weight: 600;
}

/* Links sociais melhorados - TODOS IGUAIS - FORÇADO + ALINHAMENTO CORRIGIDO */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: flex-start;
  align-items: center;
}

.social-link {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt)) !important;
  color: var(--bg) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none !important;
  position: relative;
}

.social-link i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt)) !important;
}

.social-link:hover i {
  transform: translate(-50%, -50%) scale(1.05);
}

/* FORÇAR WhatsApp igual aos outros */
.social-link[href*="whatsapp"],
.social-link[href*="wa.me"],
.social-link.whatsapp,
a[title*="WhatsApp"].social-link {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt)) !important;
  border: none !important;
  color: var(--bg) !important;
}

.social-link[href*="whatsapp"]:hover,
.social-link[href*="wa.me"]:hover,
.social-link.whatsapp:hover,
a[title*="WhatsApp"].social-link:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt)) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  border: none !important;
}

/* Estilo especial para o link do WhatsApp no footer */
.footer-section a[href*="wa.me"] {
  background: rgba(37, 211, 102, 0.1);
  padding: 0.5rem 0.8rem;
  border-radius: 25px;
  border: 1px solid #25d366;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.footer-section a[href*="wa.me"]:hover {
  background: rgba(37, 211, 102, 0.2);
  transform: translateX(0) scale(1.02);
}

/* Footer bottom melhorado */
.footer-bottom {
  text-align: center;
  padding: 3rem 5% 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.9rem;
}

.footer-bottom i {
  color: var(--accent);
}

/* Melhoria no espaçamento dos parágrafos do footer */
.footer-section p {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.footer-section p:last-child {
  margin-bottom: 0;
}

/* ====================================================================
   BOTÃO WHATSAPP FLUTUANTE MELHORADO
   ==================================================================== */
#whatsappFloat, .whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white !important;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: whatsappPulse 3s ease-in-out infinite;
}

#whatsappFloat i, .whatsapp-float i {
  font-size: 28px;
  transition: transform 0.2s ease;
}

#whatsappFloat svg {
  width: 28px;
  height: 28px;
  fill: white;
  transition: transform 0.2s ease;
}

#whatsappFloat:hover, .whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

#whatsappFloat:hover svg, #whatsappFloat:hover i, .whatsapp-float:hover i {
  transform: scale(1.05);
}

/* Animação para links com ícones */
@keyframes iconBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.footer-section a:hover i {
  animation: iconBounce 0.5s ease;
}

/* ====================================================================
   ANIMAÇÕES
   ==================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }
  100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  
  .logo-text {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
  }
  
  .logo img {
    height: 35px;
  }
  
  .nav-container {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--header-bg);
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    transition: right 0.3s;
    overflow-y: auto;
  }
  .nav-container.active {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: center;
  }
  .special-links {
    flex-direction: column;
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .section.about .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .product-slide {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  /* Ajustar espaçamento dos botões em mobile */
  .nav-links {
    padding-bottom: 2rem;
  }
  /* Ajustar dropdown em mobile */
  .dropdown-content {
    position: fixed;
    top: 70px;
    left: 5%;
    right: 5%;
    width: auto;
    min-width: auto;
    max-height: 80vh;
    overflow-y: auto;
  }
  .palette-grid {
    grid-template-columns: 1fr;
    max-height: 200px;
  }
  .preference-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  .save-btn, .reset-btn {
    width: 100%;
  }
  /* Ajustar dropdown trigger para mobile */
  .dropdown-trigger {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  /* Resetar posicionamento de seções em mobile */
  .section.about, .section.products, .parallax-section, footer, .hero {
    position: static;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  /* Melhorias responsivas para o footer */
  .footer-section a {
    font-size: 0.9rem;
  }
  
  .schedule-item {
    flex-direction: column;
    gap: 4px;
  }
  
  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  #whatsappFloat, .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }
  
  #whatsappFloat i, .whatsapp-float i {
    font-size: 25px;
  }
  
  #whatsappFloat svg {
    width: 25px;
    height: 25px;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}