/* ==========================================
   EDU TURISMO — Custom Styles
   Complementa TailwindCSS v4 (CDN)
   ========================================== */

/* --- Google Fonts import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --navy-darkest: #060e1e;
  --navy-dark: #0a1628;
  --navy: #0d1b3e;
  --navy-light: #162550;
  --gold: #c9a84c;
  --gold-light: #d4b95e;
  --gold-dark: #b08f3a;
  --white: #ffffff;
  --gray-light: #f2f2f2;
  --gray-text: #888888;
  --whatsapp-green: #25d366;
  --font-main: 'Montserrat', sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--white);
  background-color: var(--navy-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }
.animate-delay-7 { transition-delay: 0.7s; }
.animate-delay-8 { transition-delay: 0.8s; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy-dark);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-logo svg {
  width: 40px;
  height: 40px;
}

.navbar-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.navbar-logo .logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

.navbar-logo .logo-tagline {
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--gold);
}

.navbar-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.navbar-nav .dropdown {
  position: relative;
  cursor: pointer;
}

.navbar-nav .dropdown-icon {
  font-size: 0.6rem;
  margin-left: 4px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-cta-nav {
  padding: 0.55rem 1.4rem;
  border: 2px solid var(--gold);
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-cta-nav:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.whatsapp-nav {
  width: 40px;
  height: 40px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-nav:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-nav svg {
  width: 22px;
  height: 22px;
  fill: white;
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  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(6px, -6px);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 30, 0.95);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 1;
}

.mobile-nav-overlay a {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s ease;
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active {
  color: var(--gold);
}

/* --- Hero Section --- */
.hero {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  padding: 4rem 3rem 4rem 5rem;
  z-index: 2;
  max-width: 55%;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  animation: slideInLeft 0.8s ease-out;
}

.hero-title .highlight {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 480px;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.btn-primary {
  padding: 0.8rem 1.8rem;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: 25px;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
  padding: 0.8rem 1.8rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
}

.hero-image {
  flex: 1;
  position: relative;
  height: calc(100vh - 72px);
  max-width: 45%;
  animation: fadeIn 1s ease-out 0.3s both;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to left, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
}

.hero-badges {
  display: flex;
  gap: 2rem;
  animation: slideInLeft 0.8s ease-out 0.6s both;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* --- Services Section --- */
.services {
  background: var(--white);
  padding: 5rem 3rem;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 55px;
  height: 55px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.5;
}

.service-card h3 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.service-card p {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray-text);
  line-height: 1.5;
}

/* --- Destinations Section --- */
.destinations {
  background: var(--gray-light);
  padding: 4rem 3rem 5rem;
}

.destinations-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 2.5rem;
}

.destinations-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}

.destination-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.destination-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover img {
  transform: scale(1.08);
}

.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.destination-overlay h3 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.destination-overlay p {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 3rem;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gold);
  max-width: 280px;
  flex-shrink: 0;
}

.cta-description {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 260px;
}

.btn-cta-main {
  padding: 0.85rem 2rem;
  border: 2px solid var(--gold);
  border-radius: 25px;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cta-main:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-shrink: 0;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
}

.cta-contact-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-contact-item .contact-label {
  font-weight: 700;
  color: var(--white);
}

.cta-contact-item .contact-detail {
  font-weight: 400;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Footer --- */
.footer {
  background: var(--navy-darkest);
  padding: 2.5rem 3rem;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo svg {
  width: 30px;
  height: 30px;
}

.footer-logo .footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo .footer-logo-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer-logo .footer-logo-tagline {
  font-size: 0.45rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-cadastur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.footer-cadastur .cadastur-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
}

.footer-cadastur .cadastur-text {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-cadastur .cadastur-cnpj {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-social-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social-icons {
  display: flex;
  gap: 0.8rem;
}

.footer-social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.footer-social-icons a svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

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

.footer-grupo-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grupo-tagline {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.footer-links a {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: right;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
  .navbar-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    padding: 3rem 2rem;
    order: 2;
  }

  .hero-image {
    max-width: 100%;
    height: 300px;
    order: 1;
  }

  .hero-image img {
    mask-image: linear-gradient(to top, transparent 0%, black 30%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-badges {
    flex-wrap: wrap;
    gap: 1rem;
  }

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

  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .cta-title {
    max-width: 100%;
  }

  .cta-contacts {
    flex-direction: row;
    gap: 2rem;
  }

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

  .footer-links {
    align-items: center;
  }

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

/* Mobile */
@media (max-width: 640px) {
  .navbar {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-badges {
    flex-direction: column;
    gap: 0.6rem;
  }

  .services {
    padding: 3rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .destinations {
    padding: 3rem 1.5rem;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .cta-section {
    padding: 2.5rem 1.5rem;
  }

  .cta-title {
    font-size: 1.3rem;
  }

  .cta-contacts {
    flex-direction: column;
    align-items: center;
  }

  .footer {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}
