/* ==========================================================================
   Alles Blau — Viagens e Experiências — stylesheet
   ========================================================================== */

:root {
  --teal: #64a1c1;
  --teal-dark: #275d8c;
  --light-blue: #90c8d8;
  --bg-light: #fafafa;
  --bg-alt: #f1f4f4;
  --ink: #1c2b2d;
  --ink-soft: #4a5a5c;
  --white: #ffffff;
  --font-title: "Roboto", sans-serif;
  --font-body: "Roboto", sans-serif;
  --container: 1180px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--teal {
  background: var(--teal);
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin: 0 0 56px;
}

.section-head.center {
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--teal-dark);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  background: var(--white);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

.btn--dark-outline {
  border-color: var(--teal-dark);
  color: var(--teal-dark);
}

.btn--dark-outline:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* -------------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  padding: 14px 0;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: block;
  height: 42px;
  transition: height var(--transition);
}

.nav.is-scrolled .nav__logo {
  height: 34px;
}

.nav__logo img {
  height: 100%;
  width: auto;
}

.nav__logo .logo-colored {
  display: none;
}

.nav.is-scrolled .nav__logo .logo-white {
  display: none;
}

.nav.is-scrolled .nav__logo .logo-colored {
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  transition: color var(--transition);
}

.nav.is-scrolled .nav__links a {
  color: var(--ink);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width var(--transition);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__social a {
  color: var(--white);
  transition: color var(--transition), transform var(--transition);
}

.nav.is-scrolled .nav__social a {
  color: var(--ink);
}

.nav__social a:hover {
  color: var(--teal);
  transform: translateY(-2px);
}

.nav__social svg {
  width: 19px;
  height: 19px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.nav.is-scrolled .nav__toggle svg {
  color: var(--ink);
}

/* On interior pages without a video hero, force the scrolled (light) nav state from the start */
.nav--solid:not(.is-scrolled) .nav__links a,
.nav--solid:not(.is-scrolled) .nav__social a,
.nav--solid:not(.is-scrolled) .nav__toggle svg {
  color: var(--ink);
}

.nav--solid:not(.is-scrolled) {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  padding: 14px 0;
}

.nav--solid:not(.is-scrolled) .nav__logo .logo-white {
  display: none;
}

.nav--solid:not(.is-scrolled) .nav__logo .logo-colored {
  display: block;
}

.nav--solid:not(.is-scrolled) .nav__logo {
  height: 34px;
}

/* -------------------------------------------------------------------------
   Hero — video (home)
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 34, 36, 0.55) 0%, rgba(20, 34, 36, 0.35) 45%, rgba(20, 34, 36, 0.65) 100%);
}

.hero__media .hero-photo {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--white);
}

.hero__content p {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  opacity: 0.85;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__scroll span.line {
  width: 1px;
  height: 34px;
  background: currentColor;
  display: block;
  animation: scrollpulse 2s ease-in-out infinite;
}

@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}


/* -------------------------------------------------------------------------
   Hero — photo (interior pages)
   ------------------------------------------------------------------------- */

.hero--photo {
  min-height: 72vh;
}

.hero--photo .hero__media img {
  object-position: center;
}

.hero--photo.pos-bottom .hero__media img {
  object-position: center bottom;
}

.hero--photo.pos-top .hero__media img {
  object-position: center top;
}

.hero--photo .hero__content {
  align-self: flex-end;
  padding-bottom: 80px;
}

.hero--photo.hero--align-end {
  align-items: flex-end;
}

.breadcrumb {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

/* -------------------------------------------------------------------------
   Reveal animation
   ------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.6s; }

/* -------------------------------------------------------------------------
   Quem somos (home)
   ------------------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about__mark {
  display: flex;
  justify-content: center;
}

.about__mark img {
  width: 100%;
  max-width: 260px;
}

.about__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}

.about__text p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about__text p:last-of-type {
  margin-bottom: 0;
}

.about__signature {
  margin-top: 28px;
  font-family: var(--font-title);
  font-style: italic;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about__mark img {
    max-width: 120px;
  }
}

/* -------------------------------------------------------------------------
   Product cards (home)
   ------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  isolation: isolate;
}

.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  z-index: -2;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 34, 36, 0.05) 0%, rgba(20, 34, 36, 0.85) 100%);
  z-index: -1;
  transition: background var(--transition);
}

.card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  color: var(--white);
}

.card__tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.card__title {
  font-size: 1.4rem;
  color: var(--white);
}

.card__text {
  margin-top: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
}

.card__more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.card:hover .card__img {
  transform: scale(1.08);
}

.card:hover .card__text {
  max-height: 120px;
  opacity: 1;
}

.card:hover .card__more svg {
  transform: translateX(6px);
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    aspect-ratio: 4 / 3;
  }
}

/* -------------------------------------------------------------------------
   Contact strip
   ------------------------------------------------------------------------- */

.contact-strip {
  text-align: center;
}

.contact-strip blockquote {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.4;
}

.contact-strip .cta-group {
  justify-content: center;
  margin-top: 40px;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 28px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand img {
  height: 40px;
  margin-bottom: 18px;
}

.footer__brand p {
  max-width: 320px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--teal);
}

.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition);
}

.footer__social a:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.footer__social svg {
  width: 17px;
  height: 17px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 700px) {
  .footer__top {
    flex-direction: column;
  }
}

/* -------------------------------------------------------------------------
   Generic page intro block (interior pages)
   ------------------------------------------------------------------------- */

.page-intro {
  max-width: 760px;
}

.page-intro p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

/* Highlight quotes strip */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.quote-card {
  padding: 8px 0;
}

.quote-card p {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.quote-card::before {
  content: "\201C";
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

@media (max-width: 760px) {
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Services / features list */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 4px 24px rgba(20, 34, 36, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(20, 34, 36, 0.1);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Profile / audience cards (lazer) */

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.profile-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 40px;
  border-left: 4px solid var(--teal);
}

.profile-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.profile-card p {
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

/* Types grid (comemoracoes) */

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.type-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(20, 34, 36, 0.05);
}

.type-card .icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  color: var(--teal-dark);
}

.type-card h3 {
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .type-grid {
    grid-template-columns: 1fr;
  }
}

/* Process steps */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 54px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.6s ease;
}

.gallery a {
  overflow: hidden;
  border-radius: 14px;
  display: block;
}

.gallery a:hover img {
  transform: scale(1.06);
}

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Split layout (corporativo) */

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

.split img {
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.split-list {
  list-style: none;
  margin-top: 24px;
}

.split-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--ink-soft);
}

.split-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--teal-dark);
  margin-top: 3px;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split .split-img {
    order: -1;
  }
}

/* Service type list (corporativo) */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(20, 34, 36, 0.05);
}

.service-item .num {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--teal);
}

.service-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA section (interior pages) */

.cta-block {
  text-align: center;
}

.cta-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
}

.cta-block p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-inline: auto;
}

.cta-block .cta-group {
  justify-content: center;
  margin-top: 32px;
}

/* -------------------------------------------------------------------------
   Mobile nav
   ------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  }

  .nav__links a {
    color: var(--ink) !important;
    font-size: 1.1rem;
  }

  .nav__links.is-open {
    transform: translateX(0);
  }

  .nav__social {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 34, 36, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition);
  }

  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }
}
