:root {
  --verde: #00ff00;
  --verde-escuro: #00cc00;
  --verde-suave: rgba(0,255,0,0.12);
  --cinza-escuro: #1f2329;
  --cinza-medio: #2f353d;
  --cinza-claro: #9098a1;
  --bg-claro: #f4f5f7;
  --branco: #ffffff;
  --texto: #20242a;
  --borda: rgba(255,255,255,0.08);
  --sombra: 0 18px 45px rgba(0,0,0,0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-claro);
  color: var(--texto);
}

.topbar {
  background: #16191d;
  color: rgba(255,255,255,0.82);
  font-size: .92rem;
  padding: .65rem 0;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  transition: .2s ease;
}

.topbar a:hover {
  color: var(--verde);
}

.navbar-zarpei {
  background: rgba(31,35,41,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .85rem 0;
}

.navbar-brand img {
  max-height: 56px;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  letter-spacing: .03em;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--verde) !important;
}

.btn-zarpei {
  background: var(--verde);
  color: #111;
  border: none;
  border-radius: 999px;
  padding: .95rem 1.45rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(0,255,0,.18);
}

.btn-zarpei:hover {
  background: var(--verde-escuro);
  color: #111;
}

.btn-zarpei-outline {
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  background: transparent;
  border-radius: 999px;
  padding: .95rem 1.45rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

.hero-bg-zarpei {
  background:
    linear-gradient(180deg, rgba(31,35,41,.88) 0%, rgba(38,43,49,.88) 100%),
    url('https://www.zarpeiviagens.com/site/assets/img/header-bg.jpg') center center / cover no-repeat;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
}

.hero::before {
  width: 280px;
  height: 280px;
  background: rgba(0,255,0,.10);
  top: -80px;
  left: -40px;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: rgba(0,255,0,.08);
  right: -70px;
  bottom: -40px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: .65rem 1rem;
  background: rgba(0,255,0,.10);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  line-height: 1.04;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-slide-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 1rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--sombra);
}

.hero-slide-card .carousel-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.hero-slide-card .carousel-item img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 22px;
}

.hero-slide-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(31,35,41,.74);
  backdrop-filter: blur(8px);
}

.hero-slide-caption strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: .25rem;
}

.hero-slide-caption span {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
}

.section {
  padding: 5.5rem 0;
}

.section-dark {
  background: var(--cinza-escuro);
  color: #fff;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--cinza-claro);
  max-width: 820px;
  line-height: 1.9;
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,.75);
}

.card-zarpei,
.service-card,
.team-card,
.unit-card,
.contact-card,
.form-card,
.album-card,
.budget-image-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--sombra);
  border: 1px solid rgba(0,0,0,.04);
}

.service-grid,
.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.team-card,
.unit-card {
  padding: 1.75rem;
  height: 100%;
  transition: .25s ease;
}

.service-card:hover,
.team-card:hover,
.unit-card:hover,
.album-card:hover,
.budget-image-card:hover {
  transform: translateY(-6px);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--verde-suave);
  color: var(--verde);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card h3,
.team-card h3,
.unit-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: .7rem;
  color: var(--cinza-escuro);
}

.service-card p,
.team-card p,
.unit-card p,
.contact-card p {
  color: var(--cinza-claro);
  line-height: 1.8;
  margin-bottom: 0;
}

.timeline-intro {
  max-width: 930px;
  margin: 0 auto 2.2rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sombra);
  padding: 1.3rem 1.5rem;
  line-height: 1.9;
  color: #5f6974;
  border-left: 4px solid var(--verde);
}

.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(0,255,0,.24);
  transform: translateX(-50%);
}

.timeline li {
  position: relative;
  margin-bottom: 3rem;
  min-height: 170px;
}

.timeline-panel {
  position: relative;
  width: calc(50% - 60px);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sombra);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,.04);
}

.timeline li:nth-child(odd) .timeline-panel {
  margin-right: auto;
}

.timeline li:nth-child(even) .timeline-panel {
  margin-left: auto;
}

.timeline-image {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 110px;
  height: 110px;
  transform: translateX(-50%);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--sombra);
  z-index: 2;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-panel h4 {
  color: var(--verde-escuro);
  font-weight: 800;
  margin-bottom: .45rem;
}

.timeline-panel h6 {
  font-size: .96rem;
  line-height: 1.8;
  color: var(--cinza-claro);
  margin: 0;
  font-weight: 500;
}

.album-card {
  background: linear-gradient(135deg, var(--cinza-escuro), var(--cinza-medio));
  color: #fff;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.06);
}

.album-gallery .img-thumbnail {
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: .2s ease;
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.album-gallery .img-thumbnail:hover {
  transform: scale(1.03);
}

.team-group {
  margin-top: 2.4rem;
}

.team-city {
  color: var(--verde);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid rgba(0,255,0,.12);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

.team-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cinza-escuro);
  color: #fff;
  text-decoration: none;
}

.status-off {
  display: inline-block;
  margin-top: 1rem;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(220,53,69,.12);
  color: #b02a37;
  font-size: .88rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-card,
.form-card {
  padding: 2rem;
  height: 100%;
}

.contact-dark-card {
  background: linear-gradient(135deg, #1f2329, #2f353d);
  border: 1px solid rgba(255,255,255,.06);
  color: #fff;
}

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

.budget-text {
  color: rgba(255,255,255,.78) !important;
}

.budget-list-text {
  color: rgba(255,255,255,.82);
}

.budget-image-card {
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.budget-image-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.form-label {
  font-weight: 700;
  color: var(--cinza-escuro);
  margin-bottom: .45rem;
}

.form-control,
.form-select {
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: none !important;
  padding: .95rem 1rem;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.unit-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.unit-list li {
  display: flex;
  gap: 12px;
  margin-bottom: .95rem;
  color: var(--cinza-claro);
  line-height: 1.75;
}

.unit-list i {
  color: var(--verde);
  margin-top: 5px;
}

.footer {
  background: #16191d;
  color: rgba(255,255,255,.82);
  padding: 3rem 0 2rem;
}

.footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer p,
.footer a,
.footer li {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.09);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 2rem;
  padding-top: 1.4rem;
  font-size: .92rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(34,197,94,.28);
  font-size: 1.55rem;
  z-index: 1050;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-box {
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,.18);
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(0,0,0,.06);
}

.cookie-box p {
  margin: 0;
  color: #5f6974;
  line-height: 1.8;
}

.cookie-box a {
  color: var(--verde-escuro);
  font-weight: 700;
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 1rem;
}

.btn-cookie-secondary {
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: #20242a;
  border-radius: 999px;
  padding: .8rem 1.2rem;
  font-weight: 700;
}

.album-modal-content {
  border-radius: 24px;
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding-top: 8.2rem;
  }

  .hero-slide-card .carousel-item img {
    height: 360px;
  }

  .service-grid,
  .unit-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .timeline::before {
    left: 28px;
    transform: none;
  }

  .timeline-image {
    left: 28px;
    transform: none;
    width: 78px;
    height: 78px;
  }

  .timeline-panel {
    width: calc(100% - 120px);
    margin-left: 110px !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .service-grid,
  .unit-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-zarpei,
  .btn-zarpei-outline {
    width: 100%;
    text-align: center;
  }

  .hero-slide-card .carousel-item img {
    height: 280px;
  }

  .timeline-panel {
    width: calc(100% - 95px);
    margin-left: 90px !important;
    padding: 1.2rem;
  }

  .timeline-image {
    width: 64px;
    height: 64px;
    left: 18px;
  }

  .timeline::before {
    left: 20px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn-zarpei,
  .cookie-actions .btn-cookie-secondary {
    width: 100%;
  }
}