/* ========================================
   Andreia Salaro — Core Styles (Light Theme)
   ======================================== */
@import url('variables.css');
@import url('reset.css');
@import url('animations.css');

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Section ---- */
.section {
  padding: var(--section-padding);
}

/* ---- Typography ---- */
.title-primary {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.title-secondary {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 3rem;
}

.text-small {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-dark);
  font-weight: 500;
}

.text-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-secondary {
  color: var(--text-secondary);
}

.subtitle-cursive {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--primary-dark);
}

/* ---- Grid ---- */
.grid {
  display: grid;
  gap: 1.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(138, 99, 91, 0.2);
}
.btn-primary:hover {
  background: #7A574F;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(138, 99, 91, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-color);
}
.btn-outline:hover {
  background: var(--surface-soft);
  border-color: var(--primary-dark);
}

/* ---- Cards ---- */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* ---- Utility ---- */
.desktop-only { display: none; }
.mobile-only { display: block; }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

@media (min-width: 769px) {
  .desktop-only { display: block; }
  .mobile-only { display: none !important; }
}

/* ---- Floating WhatsApp ---- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease;
  color: #fff;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* ---- Lightbox ---- */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(33, 29, 28, 0.9);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.lightbox-modal.active { display: flex; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 2;
}
.lightbox-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
