/* Shared CSS extracted from all HTML files - preserving exact order and specificity */

:root {
  --cor1: #B98B2F;
  --cor2: #F1A041;
  --cor3: #ED4B32;
  --cor4: #4191E1;
  --cor5: #30D5C8;
  --cor6: #F0DBC7;
  --cor7: #B89A82;
  --cor8: #785A3D;
  --cor9: #60362E;
  --cor10: #30211D;
  --cor11: #2E2F3E;
}

/* Body */
body {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cor10);
  margin:0;
  padding:0;
}

/* Espaço para barra inferior no mobile */
@media (max-width: 768px){
  body { padding-bottom: 70px; }
}

/* Menu principal degradê */
header {
  background: linear-gradient(to right, rgba(120,90,61,0.8), rgba(120,90,61,0.6));
}

/* Links menus */
.menu-link {
  position: relative;
  color: white;
  font-weight: 600;
  padding-bottom: 0.25rem;
  transition: color 0.3s;
}
.menu-link::after {
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:4px;
  background-color: var(--cor2);
  border-radius:2px;
  transition: width 0.3s;
}
.menu-link.active, .menu-link:hover {
  color: var(--cor2);
}
.menu-link.active::after, .menu-link:hover::after {
  width:100%;
}

/* Social icons hover */
.social-icon {
  transition: color 0.3s, transform 0.3s;
}
.social-icon:hover {
  color: var(--cor2);
  transform: scale(1.2);
}

/* Hero */
.hero {
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(to bottom, var(--cor2), #F1B570);
}
.hero h1 { font-family: 'Great Vibes', cursive; font-size: 4.5em; }
.hero p { font-size: 2em; }

/* Card styles */
.card {
  border: 2px solid var(--cor10);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.card:hover { transform: translateY(-5px) scale(1.03); box-shadow:0 8px 20px rgba(0,0,0,0.18); }
.card .text-lg { font-size:22px; }

.transition-gradient {
  height: 32px;
  background: linear-gradient(to bottom, var(--cor2), #F1B570 80%, rgba(241,181,112,0) 100%);
}

/* === HISTÓRIA (linha do tempo) === */
.hero-gradient {
  background: linear-gradient(to bottom, #F1A041, #F1B570);
}
.timeline {
  position: relative;
  margin-left: 1rem;
  padding-left: 2rem;
  border-left: 3px solid #F1A041;
}
.timeline::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  width: 18px;
  height: 18px;
  background-color: #F1A041;
  border-radius: 50%;
  border: 3px solid #B98B2F;
}
.timeline-event {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
}
/* imagem mock responsiva controlada por classes utilitárias */
.mock-image {
  background-color: #E3CBA8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 1.1em;
  color: #30211D;
  text-align: center;
  padding: 1rem;
}
.italiano {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5em;
  color: #B98B2F;
  display: block;
  margin-top: 0.5rem;
}

/* Mobile tweaks timeline */
@media (max-width: 768px) {
  .timeline { border: none; padding-left: 0; }
}

/* Barra inferior mobile (animação) */
@keyframes fadeUp { from { opacity:0; transform: translateY(20px);} to {opacity:1; transform: translateY(0);} }
nav.fixed.bottom-0 { animation: fadeUp 0.6s ease-out; }

/* Menu mobile drop-down (entrada) */
.mobile-menu-enter { transform: translateY(-100%); opacity: 0; }
.mobile-menu-enter-active { transform: translateY(0); opacity: 1; transition: all .45s ease; }
.mobile-menu-leave { transform: translateY(0); opacity: 1; }
.mobile-menu-leave-active { transform: translateY(-100%); opacity: 0; transition: all .35s ease; }

/* === BOTÃO FIXO WHATSAPP === */
#whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 60;
  text-decoration: none;
}

.whatsapp-icon {
  background-color: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2.5s infinite;
}

/* Animação suave de pulsação */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Hover (desktop) */
#whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Mobile */
@media (max-width: 768px) {
  #whatsapp-float {
    bottom: 85px; /* acima da barra inferior */
    left: 15px;
  }
  .whatsapp-icon {
    width: 60px;
    height: 60px;
  }
  .whatsapp-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* Settings Panel Styles */
.settings-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: rgba(48, 33, 29, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: right 0.3s ease;
  padding: 20px;
  color: white;
  border-left: 2px solid var(--cor2);
}

.settings-panel.open {
  right: 0;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 15px;
}

.settings-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--cor2);
}

.settings-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

.settings-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.settings-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.settings-label {
  font-size: 0.9rem;
  color: #ccc;
}

.settings-input {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #555;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
}

.settings-input:focus {
  outline: none;
  border-color: var(--cor2);
  box-shadow: 0 0 0 2px rgba(185, 139, 47, 0.3);
}

.settings-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.settings-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

.settings-btn.primary {
  background: var(--cor2);
  color: var(--cor10);
}

.settings-btn.secondary {
  background: transparent;
  color: white;
  border: 1px solid #555;
}

.settings-btn:hover {
  opacity: 0.9;
}

.settings-footer {
  margin-top: auto;
  font-size: 0.8rem;
  color: #888;
  text-align: center;
}

/* Settings Gear Icon */
.settings-gear {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(48, 33, 29, 0.8);
  border: 2px solid var(--cor2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cor2);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 50;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.settings-gear:hover {
  background: var(--cor2);
  color: var(--cor10);
  transform: rotate(15deg);
}

/* Mobile adjustments for settings */
@media (max-width: 768px) {
  .settings-panel {
    width: 100vw;
    right: -100vw;
  }
  
  .settings-panel.open {
    right: 0;
  }
  
  .settings-gear {
    top: 80px; /* below header */
  }
}

/* === BOTÃO FIXO WHATSAPP === */
#whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 60;
  text-decoration: none;
}

.whatsapp-icon {
  background-color: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2.5s infinite;
}

/* Animação suave de pulsação */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Hover (desktop) */
#whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Mobile */
@media (max-width: 768px) {
  #whatsapp-float {
    bottom: 85px; /* acima da barra inferior */
    left: 15px;
  }
  .whatsapp-icon {
    width: 60px;
    height: 60px;
  }
  .whatsapp-icon svg {
    width: 28px;
    height: 28px;
  }
}
