@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Outfit:wght@700&display=swap');

:root {
  --bg: #050608;
  --bg-alt: #0d1016;
  --primary: #2AB77D;
  --whatsapp: #25D366;
  --text: #f5f5f7;
  --muted: #a3a7b5;
  --border: #262a33;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  /* Spacing among written content increased */
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Seletor de idiomas */
.lang-switcher {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.lang-switcher a {
  opacity: 0.7;
}

.lang-switcher a.active {
  opacity: 1;
  font-weight: 600;
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero img.hero-bg {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

/* Logo circular flutuante */
.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.tag {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
}

h1 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.subtitle {
  font-size: 0.95rem;
  max-width: 26rem;
  color: #dde1f0;
  margin-bottom: 1.2rem;
}

/* Botão WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #04120a;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.btn-whatsapp span {
  margin-left: 0.45rem;
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Conteúdo */
.content {
  padding: 4rem 1.25rem;
  /* 10% tops (vh) padding */
  background: var(--bg);
  width: 100%;
}

.block {
  margin-bottom: 4rem;
  /* Balanced with internal gap */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Perfectly even spacing between all items in a block */
}

.block .btn-whatsapp {
  align-self: center;
  /* Centered CTA feels more balanced and premium */
  width: fit-content;
}

.block p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Carrossel */
.carousel {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.8rem;
  /* Sangria para ocupar toda a largura em dispositivos móveis */
  margin-inline: -1.25rem;
  padding-inline: 1.25rem;
}

.carousel::-webkit-scrollbar {
  height: 4px;
}

.carousel::-webkit-scrollbar-track {
  background: transparent;
}

.carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.carousel-item {
  flex: 0 0 85%;
  max-width: 85%;
  scroll-snap-align: center;
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}

.carousel-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.carousel-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Nota */
.note {
  font-size: 0.8rem;
  color: var(--muted);
  /* Top margin removed in favor of block gap */
}

/* Mapa */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 1rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* Lista de Países */
.countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.country-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.country-tag:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: rgba(42, 183, 125, 0.05);
}


/* Rodapé */
footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  width: 100%;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

footer a:hover {
  filter: brightness(1.2);
  text-decoration: underline;
}

/* Tabs */
.tabs-container {
  margin-top: -5rem;
  position: relative;
  z-index: 100;
  padding-bottom: 3rem;
  max-width: 900px;
  margin-inline: auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1.25rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.tab-btn.active {
  background: var(--primary);
  color: #04120a;
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(42, 183, 125, 0.25);
}

.tab-panel {
  display: none;
  animation: tabFadeIn 0.5s ease forwards;
}

.tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2rem;
  border: 1px solid var(--border);
  margin: 0 1.25rem;
}

@media (min-width: 768px) {
  .tab-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 3rem;
    margin: 0;
  }

  .tab-grid.reverse {
    grid-template-columns: 1fr 1.2fr;
  }
}

.tab-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.tab-text p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
}

.tab-image {
  position: relative;
}

.tab-image img {
  width: 100%;
  border-radius: 1.5rem;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Desktop */
@media (min-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  .hero img.hero-bg {
    height: 75vh;
  }

  .hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding-inline: 0;
  }

  .hero-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
  }

  .content {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding-inline: 0;
  }

  .carousel {
    overflow-x: visible;
    scroll-snap-type: none;
    flex-wrap: wrap;
    gap: 1rem;
    margin-inline: 0;
    padding-inline: 0;
  }

  .carousel-item {
    flex: 1 1 calc(25% - 1rem);
    max-width: calc(25% - 1rem);
    height: 300px;
    border-radius: 1.5rem;
  }

  .carousel-item img {
    height: 100%;
  }
}
/* Reveal on Scroll Styles */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
