/* =============================================
   The Family's Sorocaba - Landing Page Styles
   Neon/Industrial Theme
   ============================================= */

/* --- Reset & Variables --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #0a0a0a;
  --bg-secondary: #111111;
  --bg-surface: #1a1a1a;
  --bg-elevated: #222222;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --neon-red: #ff1744;
  --neon-blue: #00e5ff;
  --neon-purple: #d500f9;
  --neon-yellow: #ffea00;
  --neon-pink: #ff4081;
  --gold: #ffd700;
  --gold-dark: #b8960c;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 23, 68, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-red);
  transition: width var(--transition);
  box-shadow: 0 0 8px var(--neon-red);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/images/interior.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.75) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--neon-red);
  border: 1px solid var(--neon-red);
  padding: 8px 24px;
  margin-bottom: 24px;
  animation: neonPulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 23, 68, 0.3), inset 0 0 10px rgba(255, 23, 68, 0.1);
}

.hero-title {
  margin-bottom: 8px;
}

.title-the {
  display: block;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-secondary);
  letter-spacing: 4px;
}

.title-family {
  display: block;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  text-shadow:
    0 0 7px rgba(255, 215, 0, 0.6),
    0 0 15px rgba(255, 215, 0, 0.4),
    0 0 30px rgba(255, 215, 0, 0.2);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.hero-location {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-bottom: 40px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--gold);
  padding: 16px 40px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-cta:hover {
  background: #ffe44d;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

.btn-arrow {
  font-size: 1.2rem;
  animation: bounceDown 1.5s ease-in-out infinite;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--neon-red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* --- Sections General --- */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.neon-text {
  color: var(--neon-red);
  text-shadow:
    0 0 7px rgba(255, 23, 68, 0.6),
    0 0 15px rgba(255, 23, 68, 0.3);
}

.neon-text-gold {
  color: var(--gold);
  text-shadow:
    0 0 7px rgba(255, 215, 0, 0.6),
    0 0 15px rgba(255, 215, 0, 0.3);
}

.neon-divider {
  width: 60px;
  height: 3px;
  background: var(--neon-red);
  margin: 0 auto;
  box-shadow: 0 0 10px var(--neon-red), 0 0 20px rgba(255, 23, 68, 0.3);
}

.neon-divider.gold {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold), 0 0 20px rgba(255, 215, 0, 0.3);
}

.section-subtitle {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 1.05rem;
}

/* --- Sobre Section --- */
.sobre {
  background: var(--bg-secondary);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.sobre-intro {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.sobre-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.sobre-text strong {
  color: var(--gold);
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 23, 68, 0.3);
  box-shadow:
    0 0 20px rgba(255, 23, 68, 0.15),
    0 0 40px rgba(0, 229, 255, 0.05);
}

.image-frame img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

/* --- Cardapio Section --- */
.cardapio {
  background: var(--bg-dark);
}

.cardapio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.food-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.food-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 23, 68, 0.1);
  border-color: rgba(255, 23, 68, 0.2);
}

.food-card-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

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

.food-card:hover .food-card-image img {
  transform: scale(1.05);
}

.food-card-content {
  padding: 24px;
}

.food-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
}

.food-card-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Experiencia Section --- */
.experiencia {
  background: var(--bg-secondary);
  padding: 60px 0;
  border-top: 1px solid rgba(255, 23, 68, 0.1);
  border-bottom: 1px solid rgba(255, 23, 68, 0.1);
}

.exp-content {
  text-align: center;
}

.exp-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-icon {
  font-size: 2.5rem;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-secondary);
}

.exp-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- Voucher Section --- */
.voucher-section {
  background: var(--bg-dark);
  padding: 100px 0;
}

.voucher-container {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow:
    0 0 30px rgba(255, 215, 0, 0.08),
    0 0 60px rgba(255, 23, 68, 0.05);
  position: relative;
}

.voucher-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--neon-red), var(--neon-purple), var(--neon-blue), var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}

.voucher-header {
  text-align: center;
  margin-bottom: 32px;
}

.voucher-subtitle {
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
}

.voucher-subtitle strong {
  color: var(--gold);
}

/* --- Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
}

.form-group input.error {
  border-color: var(--neon-red);
  box-shadow: 0 0 10px rgba(255, 23, 68, 0.15);
}

.form-error {
  display: block;
  color: var(--neon-red);
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 18px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  margin-top: 8px;
}

.btn-submit:hover {
  background: #ffe44d;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 10, 10, 0.3);
  border-top-color: var(--bg-dark);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

/* --- Voucher Success --- */
.voucher-success {
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-dark);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.voucher-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 24px;
}

.voucher-ticket {
  background: var(--bg-elevated);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.ticket-header {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ticket-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  margin-bottom: 16px;
}

.ticket-code {
  font-family: 'Courier New', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-primary);
  background: var(--bg-dark);
  padding: 12px 20px;
  border-radius: var(--radius);
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.ticket-footer {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.success-instructions {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.success-instructions strong {
  color: var(--gold);
}

.success-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Localizacao Section --- */
.localizacao {
  background: var(--bg-secondary);
}

.local-grid {
  max-width: 600px;
  margin: 0 auto;
}

.local-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.local-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.local-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.local-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.local-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.local-detail {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.social-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-blue);
  transition: color var(--transition);
}

.social-link:hover {
  color: var(--neon-pink);
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  text-align: center;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-title-the {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  margin-right: 4px;
}

.footer-title-family {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-tagline {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 8px;
}

/* --- Mobile CTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--bg-dark);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
  z-index: 900;
  transition: all var(--transition);
}

.mobile-cta:hover {
  box-shadow: 0 4px 30px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

/* --- Animations --- */
@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 23, 68, 0.3), inset 0 0 10px rgba(255, 23, 68, 0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.5), inset 0 0 15px rgba(255, 23, 68, 0.2);
  }
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes scrollPulse {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
  100% { opacity: 1; transform: scaleY(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

.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 --- */

/* Mobile: show toggle, hide links */
@media (max-width: 767px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 23, 68, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .title-family {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 5px;
  }

  .hero-badge {
    font-size: 0.7rem;
    letter-spacing: 4px;
    padding: 6px 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .voucher-container {
    padding: 32px 20px;
  }

  .ticket-code {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .ticket-value {
    font-size: 2rem;
  }

  .mobile-cta {
    display: block;
  }

  .mobile-cta.hidden {
    display: none;
  }

  .btn-cta {
    font-size: 0.95rem;
    padding: 14px 28px;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .cardapio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-frame img {
    height: 400px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .cardapio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .title-family {
    font-size: 6rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 10px;
  }

  .section {
    padding: 100px 0;
  }

  .section-title {
    font-size: 3rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
