*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #0a0f1a;
  --bg-card: #111827;
  --bg-elevated: #162033;
  --accent: #d62828;
  --accent-glow: rgba(214, 40, 40, 0.35);
  --accent-soft: #e63946;
  --navy: #1b2a4a;
  --gold: #f5c518;
  --text: #f5f5f5;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

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

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
  max-width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: transform var(--transition);
  background: transparent;
}

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

.logo-img--footer {
  height: 64px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav-cta {
  background: var(--accent);
  color: var(--text) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-instagram {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 6.5rem 0 2rem;
  gap: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(27, 42, 74, 0.8), transparent),
    radial-gradient(ellipse 60% 40% at 50% 0%, var(--accent-glow), transparent),
    var(--bg-dark);
  z-index: 0;
}

.hero-logo {
  width: min(280px, 70vw);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  background: transparent;
  filter: drop-shadow(0 8px 24px rgba(214, 40, 40, 0.25));
  animation: fadeUp 0.8s ease both;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease both;
  overflow-wrap: break-word;
  word-break: break-word;
}

.highlight {
  color: var(--accent);
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-scroll {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 0.8s 0.5s ease both;
  padding-bottom: 0.5rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
}

.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 6rem 0;
  scroll-margin-top: 5.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-title.centered {
  text-align: center;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  max-width: 100%;
}

.photo-zoom {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.photo-zoom img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.5);
  background: var(--bg-card);
  filter: drop-shadow(0 8px 24px rgba(214, 40, 40, 0.2));
  transition: transform var(--transition);
}

.about-photo:hover,
.photo-strip .photo-zoom:hover {
  transform: scale(1.015);
}

.about-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-text p strong {
  color: var(--text);
  font-weight: 600;
}

/* Experience */
.experience {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.experience-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.photo-strip .photo-zoom {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}

.photo-strip .photo-zoom:hover {
  border-color: rgba(214, 40, 40, 0.45);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 40, 40, 0.35);
}

.feature-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Orders */
.orders-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.order-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.25);
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.order-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 40, 40, 0.45);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.order-card-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.order-card-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.order-card-action {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-soft);
}

.order-card--ifood:hover {
  border-color: rgba(234, 29, 44, 0.55);
}

.order-card--99:hover {
  border-color: rgba(245, 197, 24, 0.55);
}

.instagram-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color var(--transition), transform var(--transition);
}

.instagram-cta:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.instagram-cta .icon-instagram {
  width: 1.25rem;
  height: 1.25rem;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-address {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.6;
}

.footer-address strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.15rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 3rem 1.5rem;
  background: rgba(6, 9, 16, 0.92);
  backdrop-filter: blur(8px);
  touch-action: pan-x;
  overscroll-behavior: none;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  overflow: hidden;
  touch-action: pan-x;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  touch-action: pan-x;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
  transition: transform 0.22s ease;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--accent);
}

body.lightbox-open {
  overflow: hidden;
  touch-action: none;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-inline: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-elevated);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    border-left: 1px solid var(--border);
    transition: transform var(--transition);
    transform: translateX(100%);
    z-index: 100;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
    z-index: 101;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 5.5rem 0 2.5rem;
    gap: 1.5rem;
  }

  .photo-strip,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .photo-strip .photo-zoom {
    height: 200px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-inline: 0.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-inline: 0.25rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .about-photo {
    width: min(100%, 420px);
  }

  .logo-img {
    height: 44px;
  }

  .logo-img--footer {
    height: 56px;
  }

  .hero-scroll {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .lightbox {
    padding: 4rem 0.75rem 1rem;
  }

  .lightbox-nav {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.5rem;
  }

  .lightbox-prev {
    left: 0.35rem;
  }

  .lightbox-next {
    right: 0.35rem;
  }
}

/* Política de privacidade */
.legal-page {
  padding-top: 8rem;
}

.legal-card {
  width: min(760px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 2.25rem;
}

.legal-card .hero-badge {
  margin-bottom: 0.4rem;
}

.legal-updated {
  color: var(--text-muted);
  margin: -0.5rem 0 1.5rem;
}

.legal-card h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
}

.legal-card p + p {
  margin-top: 0.7rem;
}

.legal-card ul {
  margin: 0.5rem 0 0.2rem 1.2rem;
}

.legal-card li {
  margin-bottom: 0.35rem;
}

.legal-card a {
  color: var(--gold);
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: 6.5rem;
  }

  .legal-card {
    padding: 1.35rem 1.1rem 1.75rem;
  }
}
