/* ═══════════════════════════════════════════════
   AVENTUREIRO PIPA — sections.css
   Hero · Passeios · CTA Banner · Por Que · Galeria
   Depoimentos · Sobre · Info Bar · FAQ · Footer
═══════════════════════════════════════════════ */

/* ─── HERO ─── */
#inicio {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #121A3B 0%, #22306B 55%, #0E1533 100%);
}
/* imagem de apoio: aparece antes do vídeo carregar e no lugar dele no celular */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/praia-amor.jpg') center/cover no-repeat;
  opacity: 0.34;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
.hero-video.ready { opacity: 0.45; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(var(--navy-rgb),0.92) 0%, rgba(var(--navy-rgb),0) 42%),
    linear-gradient(to right, rgba(var(--navy-rgb),0.95) 0%, rgba(var(--navy-rgb),0.78) 42%, rgba(var(--navy-rgb),0.28) 100%);
}

/* ─── Lancha em destaque no banner ─── */
.hero-lancha {
  position: absolute;
  right: -3%;
  bottom: 19%;
  z-index: 1;
  width: clamp(360px, 44vw, 640px);
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: translateY(36px);
  filter: drop-shadow(0 30px 46px rgba(0,0,0,0.6));
  animation: fadeUp 1s 1.05s ease forwards,
             lanchaFloat 7s 2.1s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
  padding-top: 70px;
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--accent-text);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.2vw, 74px);
  font-weight: 700;
  line-height: 1.02;
  max-width: 9ch;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(var(--navy-rgb),0.45);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s ease forwards;
}
.hero-title em,
.hero-title span { display: block; }
.hero-title em { color: var(--accent-text); font-style: italic; }
.hero-sub {
  margin-top: 20px;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 12px rgba(var(--navy-rgb),0.7);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.7s ease forwards;
}
.hero-btns {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.9s ease forwards;
}
.hero-badges {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(var(--accent-rgb),0.12);
  border-top: 1px solid rgba(var(--accent-rgb),0.28);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding: 20px 48px;
  gap: 64px;
  opacity: 0;
  animation: fadeIn 1s 1.2s ease forwards;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
}
.hero-badge-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(var(--accent-rgb),0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent-text);
  flex-shrink: 0;
}
.hero-badge strong { display: block; color: var(--white); font-weight: 700; font-size: 13px; }

/* ─── PASSEIOS ─── */
#passeios { background: var(--off-white); padding: var(--section-pad); }
.passeios-header { text-align: center; }
.passeios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.passeio-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s;
}
.passeio-card.visible { opacity: 1; transform: translateY(0); }
.passeio-card:hover { transform: translateY(-8px) !important; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.passeio-card-img { height: 220px; overflow: hidden; position: relative; }
.passeio-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.passeio-card:hover .passeio-card-img img { transform: scale(1.08); }
.passeio-card-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent-strong); color: var(--white);
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 3px;
}
.passeio-card-icon {
  position: absolute; bottom: -20px; left: 20px;
  width: 44px; height: 44px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; z-index: 2;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb),0.4);
}
.passeio-card-body { padding: 32px 24px 28px; }
.passeio-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700; margin-bottom: 8px;
}
.passeio-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.passeio-meta { display: flex; gap: 16px; margin: 16px 0; font-size: 11px; color: var(--gray); font-weight: 500; }
.passeio-meta span { display: flex; align-items: center; gap: 5px; }
.passeio-price {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--light-gray); padding-top: 16px; margin-top: 8px;
}
.passeio-price .label { font-size: 11px; color: var(--gray); }
.passeio-price .amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 700; color: var(--accent-ink);
}
.saiba-mais {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent-text); text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  transition: gap var(--trans-med);
}
.saiba-mais:hover { gap: 10px; }

/* ─── CTA BANNER ─── */
.cta-banner { background: var(--navy); padding: var(--section-pad); position: relative; overflow: hidden; }
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/pipa-aerea.jpg') center/cover no-repeat;
  opacity: 0.22; transform: scale(1.05);
}
.cta-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px,4vw,56px); color: var(--white); font-weight: 700; line-height: 1.1;
}
.cta-banner h2 em { color: var(--accent-text); font-style: italic; }
.cta-banner p { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 12px; }

/* ─── POR QUE ─── */
#sobre { background: var(--white); padding: var(--section-pad); }
.porque-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 56px; }
.porque-item {
  text-align: center; padding: 40px 24px;
  border: 1px solid var(--light-gray); border-radius: 8px;
  transition: all 0.4s ease;
  opacity: 0; transform: translateY(30px);
}
.porque-item.visible { opacity: 1; transform: translateY(0); }
.porque-item:hover { border-color: var(--accent); box-shadow: 0 12px 40px rgba(var(--accent-rgb),0.1); transform: translateY(-6px) !important; }
.porque-icon {
  width: 64px; height: 64px; border: 2px solid var(--accent); border-radius: 50%;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--accent-text);
  transition: background var(--trans-med), color var(--trans-med);
}
.porque-item:hover .porque-icon { background: var(--accent); color: var(--white); }
.porque-item h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.porque-item p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ─── GALERIA ─── */
#galeria { background: var(--navy); padding: 96px 0; }
#galeria .container { padding: 0 48px; }
.galeria-header { text-align: center; }
.galeria-grid {
  display: grid; grid-template-columns: repeat(6,1fr);
  grid-template-rows: 200px 200px;
  gap: 8px; margin-top: 48px;
  max-width: 1300px; margin: 48px auto 0; padding: 0 48px;
}
.galeria-item { overflow: hidden; border-radius: 4px; cursor: pointer; position: relative; }
.galeria-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galeria-item:nth-child(4) { grid-column: span 2; }
.galeria-item:nth-child(7) { grid-column: span 2; }
.galeria-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.85) saturate(0.9);
}
.galeria-item:hover img { transform: scale(1.1); filter: brightness(1) saturate(1.1); }
.galeria-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(var(--navy-rgb),0.5));
  opacity: 0; transition: opacity 0.4s;
}
.galeria-item:hover::after { opacity: 1; }

/* ─── DEPOIMENTOS ─── */
#depoimentos { background: var(--off-white); padding: var(--section-pad); overflow: hidden; }
.depo-header { text-align: center; }
.depo-slider { position: relative; margin-top: 56px; overflow: hidden; }
.depo-track {
  display: flex; gap: 28px;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.depo-card {
  min-width: calc(33.333% - 19px);
  background: var(--white); border-radius: 8px;
  padding: 36px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  flex-shrink: 0;
  border-top: 3px solid transparent;
  transition: border-color var(--trans-med);
}
.depo-card:hover { border-color: var(--accent); }
.depo-stars { color: var(--accent-text); font-size: 18px; margin-bottom: 20px; letter-spacing: 2px; }
.depo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; line-height: 1.7; color: var(--text-dark);
  font-style: italic; margin-bottom: 24px;
}
.depo-author { display: flex; align-items: center; gap: 14px; }
.depo-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--white); font-weight: 700; flex-shrink: 0;
}
.depo-author-info strong { display: block; font-size: 14px; font-weight: 700; }
.depo-author-info span { font-size: 12px; color: var(--gray); }
.depo-controls { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.depo-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--accent); background: transparent;
  color: var(--accent-text); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans-med);
}
.depo-btn:hover { background: var(--accent-strong); color: var(--white); }

/* ─── SOBRE SECTION ─── */
.sobre-section { background: var(--navy); padding: var(--section-pad); }
.sobre-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sobre-img-wrap { position: relative; border-radius: 8px; overflow: hidden; height: 460px; }
.sobre-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sobre-img-wrap::before {
  content: '';
  position: absolute; top: -16px; left: -16px;
  width: 60%; height: 60%;
  border: 2px solid var(--accent); border-radius: 8px; z-index: -1;
}
.sobre-content p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.sobre-stats { display: flex; gap: 40px; margin: 40px 0; }
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 700; color: var(--accent-text); line-height: 1;
}
.stat span { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 2px; text-transform: uppercase; }

/* ─── INFO BAR ─── */
.info-bar { background: var(--navy-mid); padding: 0 48px; }
.info-bar-inner {
  max-width: var(--container-max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.info-item {
  padding: 32px 24px;
  display: flex; align-items: center; gap: 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.info-item:last-child { border-right: none; }
.info-item:first-child { background: rgba(var(--accent-rgb),0.08); }
.info-icon { font-size: 24px; color: var(--accent-text); flex-shrink: 0; }
.info-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--white); }
.info-text span { font-size: 11px; color: rgba(255,255,255,0.5); }

/* ─── FAQ ─── */
#contato { background: var(--white); padding: var(--section-pad); }
.faq-header { text-align: center; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  transition: color var(--trans-med); user-select: none;
}
.faq-question:hover { color: var(--accent-text); }
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent-text); flex-shrink: 0;
  transition: all var(--trans-med); font-weight: 300;
}
.faq-item.open .faq-toggle { background: var(--accent-strong); color: var(--white); border-color: var(--accent-strong); transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  font-size: 13px; color: var(--text-light); line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }

/* ─── FOOTER ─── */
footer { background: var(--navy); padding: 72px 48px 0; border-top: 1px solid rgba(var(--accent-rgb),0.15); }
.footer-inner {
  max-width: var(--container-max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 64px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 16px; max-width: 220px; }
.footer-col h5 { font-size: 10px; letter-spacing: 3px; font-weight: 700; text-transform: uppercase; color: var(--accent-text); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a, .footer-col ul li { font-size: 13px; color: rgba(255,255,255,0.55); transition: color var(--trans-med); }
.footer-col ul a:hover { color: var(--accent-text); }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 15px;
  transition: all var(--trans-med);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent-text); background: rgba(var(--accent-rgb),0.1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.3);
  max-width: var(--container-max); margin: 0 auto;
}

/* ─── RESPONSIVO ─── */
@media (max-width: 1024px) {
  .hero-lancha { width: min(72vw, 540px); right: -7%; bottom: 22%; opacity: 0; }
  .passeios-grid { grid-template-columns: 1fr 1fr; }
  .porque-grid { grid-template-columns: 1fr 1fr; }
  .sobre-inner { grid-template-columns: 1fr; }
  .sobre-img-wrap { height: 300px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-badges { gap: 24px; flex-wrap: wrap; padding: 16px 24px; }
  .galeria-grid { grid-template-columns: repeat(3,1fr); grid-template-rows: auto; }
  .galeria-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .galeria-item:nth-child(4),
  .galeria-item:nth-child(7) { grid-column: span 1; }
  .faq-grid { grid-template-columns: 1fr; }
  .info-bar-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  #inicio { height: auto; min-height: 100svh; padding-bottom: 200px; }
  .hero-content { padding: 0 20px; padding-top: 96px; }
  .hero-badges { display: none; }
  .hero-video { display: none; }
  .hero-bg::before { opacity: 0.42; }
  .hero-overlay {
    background:
      linear-gradient(to top, rgba(var(--navy-rgb),0.96) 12%, rgba(var(--navy-rgb),0.25) 60%),
      linear-gradient(to bottom, rgba(var(--navy-rgb),0.9) 0%, rgba(var(--navy-rgb),0.55) 45%);
  }
  .hero-lancha { width: 106%; right: -3%; bottom: 12px; }
  .passeios-grid { grid-template-columns: 1fr; }
  .porque-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .info-bar-inner { grid-template-columns: 1fr; }
  .sobre-stats { gap: 20px; flex-wrap: wrap; }
  .depo-card { min-width: 85vw; }
  .cta-banner-inner { flex-direction: column; }
}
