/* ========================================
   VYON — Estilos Customizados
   Tours Virtuais 360° | São Luís — MA
   ======================================== */

/* --- Reset e Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #111111;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Variáveis de cor --- */
:root {
  --black: #111111;
  --dark-black: #0A0A0A;
  --gold: #D4AF37;
  --gold-light: #E4C457;
  --white: #FFFFFF;
  --gray: #888888;
  --gray-dark: #333333;
  --gray-card: #1A1A1A;
}

/* --- Tipografia --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

p, span, a, li, input, textarea, button {
  font-family: 'Montserrat', sans-serif;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: background-color 0.4s ease, padding 0.3s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 2rem;
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.1);
}

.nav-logo {
  height: 32px;
  width: auto;
}

.nav-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--gold);
}

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

.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  width: 100%;
}

/* --- Botões --- */
.btn-ghost {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background-color: var(--gold);
  color: var(--black);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-solid {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1.5px solid var(--gold);
  color: var(--black);
  background-color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-solid:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-nav {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 12px;
  color: var(--white);
  line-height: 1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gold);
  font-weight: 400;
  margin-top: 1.25rem;
  letter-spacing: 1px;
  max-width: 600px;
}

.hero-line {
  width: 80px;
  height: 1px;
  background-color: var(--gold);
  margin: 2rem auto;
}

.hero-image-placeholder {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 50%, #1A1A1A 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons .btn-ghost,
.hero-buttons .btn-solid {
  min-width: 200px;
  text-align: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  color: var(--gold);
  opacity: 0.6;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* --- Hero fade-in animation --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
.fade-in-delay-4 { animation-delay: 0.8s; }
.fade-in-delay-5 { animation-delay: 1.0s; }

/* --- Seções --- */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--gold);
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
}

.section-subtitle {
  color: var(--gray);
  text-align: center;
  font-size: 1rem;
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Cards --- */
.card {
  background-color: var(--black);
  border: 1px solid #222222;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.05);
  transform: translateY(-4px);
}

.card-icon {
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.card-title {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Timeline --- */
.timeline-step {
  text-align: center;
  position: relative;
  flex: 1;
}

.timeline-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.timeline-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-text {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* Linha conectora horizontal — desktop */
.timeline-connector {
  position: relative;
}

.timeline-connector::after {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 1px;
  background-color: var(--gold);
  opacity: 0.3;
}

.timeline-connector:last-child::after {
  display: none;
}

/* Linha conectora vertical — mobile */
@media (max-width: 768px) {
  .timeline-connector::after {
    top: auto;
    left: 50%;
    bottom: -1rem;
    width: 1px;
    height: 2rem;
    transform: translateX(-50%);
  }
}

/* --- Plano cards --- */
.plan-card {
  background-color: var(--black);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card .plan-list {
  flex: 1;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.08);
}

.plan-card.featured {
  border: 2px solid var(--gold);
}

.plan-card:not(.featured) {
  border: 1px solid var(--gray-dark);
}

.plan-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid #333;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.plan-badge {
  display: inline-block;
  background-color: var(--gold);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.plan-list li {
  color: var(--gray);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.plan-list li .check {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* --- Portfólio placeholder cards --- */
.portfolio-placeholder {
  background-color: var(--gray-card);
  border: 1px solid #222222;
  border-radius: 12px;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.portfolio-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(212, 175, 55, 0);
  transition: background 0.3s ease;
}

.portfolio-placeholder:hover::before {
  background: rgba(212, 175, 55, 0.05);
}

.portfolio-placeholder:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

/* --- CTA Final --- */
.cta-section {
  text-align: center;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.cta-subtitle {
  color: var(--gray);
  font-size: 1rem;
  margin-top: 1rem;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-link {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-social {
  color: var(--gray);
  transition: color 0.3s ease;
}

.footer-social:hover {
  color: var(--gold);
}

/* --- Client Cards --- */
.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background-color: #1A1A1A;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  transition: all 0.3s ease;
}

.client-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.client-card-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #333;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.client-card:hover .client-card-img {
  border-color: var(--gold);
}

.client-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-card-name {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}

.footer-instagram-btn {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-instagram-btn:hover {
  opacity: 0.8;
}

.footer-instagram-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  flex-shrink: 0;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
  letter-spacing: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-desktop {
    display: none;
  }
}

/* --- Tour Cards (Portfolio & Nossos Tours) ---
   Visual rendering é 100% inline no HTML.
   Esta classe só provê o efeito de hover (lift). */
.portfolio-tour-card {
  display: block;
  width: 100%;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.portfolio-tour-card:hover .ptc-inner {
  border-color: rgba(212, 175, 55, 0.45) !important;
}

.portfolio-tour-card:hover .ptc-play {
  background: rgba(212, 175, 55, 0.85) !important;
}

/* --- Utility --- */
.gold-text { color: var(--gold); }
.gray-text { color: var(--gray); }
.bg-black { background-color: var(--black); }
.bg-dark { background-color: var(--dark-black); }

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* --- Selection --- */
::selection {
  background-color: var(--gold);
  color: var(--black);
}
