/* =====================================================
   Home. Mesmo layout do site publicado (jaguartrips.com),
   com a próxima saída em destaque, agenda com fotos, edições
   passadas, depoimentos reais e a chamada da Jaguar Resistência.
   ===================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 9rem 0 5rem; color: var(--sand-100); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: url("../../images/hero.webp") center 38% / cover no-repeat; animation: heroZoom 14s var(--ease) forwards; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 27, 12, .55) 0%, rgba(22, 27, 12, .15) 35%, rgba(22, 27, 12, .3) 60%, rgba(22, 27, 12, .94) 100%),
    linear-gradient(90deg, rgba(22, 27, 12, .45) 0%, rgba(22, 27, 12, 0) 60%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner { display: grid; grid-template-columns: 1.4fr .8fr; align-items: end; gap: 3rem; }
.hero-copy { max-width: 760px; }
.badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .95rem .5rem .8rem; border-radius: 999px;
  border: 1px solid rgba(232, 213, 163, .45); background: rgba(22, 27, 12, .45); backdrop-filter: blur(8px);
  font-size: .85rem; font-weight: 600; color: var(--sand-200);
}
.hero h1 { margin: 1.4rem 0 1.3rem; }
.hero .lead { max-width: 560px; color: var(--sand-200); opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-side { justify-self: end; max-width: 300px; padding: 1.2rem 1.3rem; border-radius: var(--radius); background: rgba(251, 247, 238, .08); border: 1px solid rgba(251, 247, 238, .18); backdrop-filter: blur(10px); }
.hero-side img { width: 190px; margin-bottom: .75rem; }
.hero-side p { font-size: .95rem; line-height: 1.45; color: var(--sand-200); }
.hero-side strong { color: var(--gold); }
.scroll-hint {
  position: absolute; right: 2rem; top: 50%; transform: rotate(90deg) translateX(-50%); transform-origin: right center;
  display: none; align-items: center; gap: .8rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-300); opacity: .8;
}
.scroll-hint .ic { font-size: 14px; transform: rotate(-90deg); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(-90deg) translateY(0); } 50% { transform: rotate(-90deg) translateY(4px); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--gold); color: var(--olive-950); overflow: hidden; padding: .8rem 0; border-block: 1px solid rgba(22, 27, 12, .2); }
.ticker-track { display: flex; gap: 2.2rem; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; }
.ticker i { font-style: normal; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Cards de viagem ---------- */
.trips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trip {
  display: flex; flex-direction: column; background: var(--sand-100); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 rgba(22, 27, 12, .06), var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.trip:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -22px rgba(22, 27, 12, .45); }
.trip-media { position: relative; overflow: hidden; background: var(--olive-800); }
.trip-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.trip:hover .trip-media img { transform: scale(1.04); }
.trip-tag {
  position: absolute; top: .8rem; left: .8rem; padding: .32rem .7rem; border-radius: 999px;
  background: rgba(22, 27, 12, .78); color: var(--sand-200); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px);
}
.trip-body { display: flex; flex-direction: column; gap: .85rem; padding: 1.25rem 1.3rem 1.4rem; flex: 1; }
.trip-body h3 { font-size: 1.25rem; }
.trip-body h3 small { display: block; margin-top: .3rem; font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-500); }
.trip-body p { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.checks { display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.checks li { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 600; color: var(--olive-700); background: var(--sand-200); border: 1px solid var(--sand-400); padding: .25rem .6rem; border-radius: 999px; }
.checks li::before { content: "✓"; color: var(--gold-700); font-weight: 800; }
.trip-body > .checks { margin-top: auto; }
.trip-body .btn { align-self: flex-start; margin-top: .4rem; }
.trip-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.trip-actions .btn { margin-top: 0; }

/* próxima saída: card largo com foto na lateral */
.trip-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); margin-bottom: 1.5rem; }
.trip-feature .trip-media img { height: 100%; aspect-ratio: auto; min-height: 420px; object-position: center 30%; }
.trip-feature .next-stamp { right: 1.2rem; bottom: 1.2rem; }
.trip-feature .trip-body { padding: clamp(1.6rem, 3vw, 2.4rem); gap: 1rem; }
.trip-feature .trip-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.trip-feature .trip-body > p { font-size: 1.02rem; }
.trip-feature .checks { margin-top: 0; }
.trip-date { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.trip-date .ji { font-size: 1.5rem; }
.countdown-label { font-size: .85rem !important; margin-bottom: -.4rem; }
.countdown { display: flex; gap: .6rem; }
.countdown div { min-width: 76px; padding: .7rem .6rem; border-radius: var(--radius-sm); background: var(--olive-900); text-align: center; }
.countdown strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; letter-spacing: -.03em; color: var(--sand-100); }
.countdown span { font-size: .72rem; font-weight: 600; color: var(--muted-light); }
.trip-price { display: grid; gap: .15rem; padding-top: 1rem; border-top: 1px solid rgba(22, 27, 12, .12); }
.trip-price strong { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.03em; color: var(--olive-900); }
.trip-price span { font-size: .9rem; color: var(--muted); }

/* ---------- Diferenciais ---------- */
.diff { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.diff-item { padding: 0 1.5rem; border-left: 1px solid rgba(251, 247, 238, .15); }
.diff-item:first-child { border-left: 0; padding-left: 0; }
.diff-ico { display: grid; font-size: 2.4rem; color: var(--gold); margin-bottom: 1.1rem; }
.diff-item h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.diff-item p { color: var(--muted-light); font-size: .95rem; }

/* ---------- Experiência ---------- */
.exp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.exp-media { position: relative; }
.exp-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius); box-shadow: var(--shadow); }
.exp-note { position: absolute; right: -1.2rem; bottom: 2rem; max-width: 250px; display: grid; gap: .3rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--olive-900); color: var(--sand-100); box-shadow: var(--shadow); transform: rotate(-2deg); }
.exp-note strong { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.05rem; line-height: 1.25; letter-spacing: -.01em; }
.exp-note > span:last-child { font-size: .8rem; color: var(--muted-light); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list li > .ji { width: 46px; height: 46px; font-size: 46px; border-radius: 12px; color: var(--gold-700); background: var(--sand-300); }
.feature-list li > .ji::before { width: 52%; height: 52%; }
.feature-list h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: .2rem; }
.feature-list p { color: var(--muted); font-size: .92rem; line-height: 1.45; text-wrap: balance; }

/* ---------- Edições passadas ---------- */
.past-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 30%); gap: 1.3rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .2rem 1.6rem; scrollbar-width: thin; scrollbar-color: var(--olive-700) transparent; }
.past { scroll-snap-align: start; }
.past > a { display: contents; }
.past .trip-body p { text-wrap: balance; }
.track-hint { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--olive-600); }

/* ---------- Passos ---------- */
.steps { padding-bottom: clamp(3rem, 6vw, 5rem); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps-grid::before { content: ""; position: absolute; left: 4%; right: 4%; top: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 213, 163, .35) 15%, rgba(232, 213, 163, .35) 85%, transparent); }
.steps-grid li { position: relative; text-align: center; padding-top: 3.6rem; }
.step-n { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--olive-900); border: 1.5px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.steps-grid h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.steps-grid p { color: var(--muted-light); font-size: .95rem; text-wrap: balance; }

/* ---------- Depoimentos (faixa infinita) ---------- */
section.testi { padding-top: clamp(3rem, 6vw, 5rem); }
section.testi::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, rgba(212, 152, 14, .12), transparent 70%); }
.testi-marquee { overflow: hidden; padding-block: .5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.testi-track { display: flex; width: max-content; animation: testiLoop 60s linear infinite; }
.testi-marquee:hover .testi-track { animation-play-state: paused; }
@keyframes testiLoop { to { transform: translateX(-50%); } }
.testi-card { flex: none; width: min(380px, 82vw); margin-right: 1.3rem; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem 1.6rem 1.4rem; border-radius: var(--radius); background: rgba(251, 247, 238, .05); border: 1px solid rgba(232, 213, 163, .16); transition: border-color .4s, transform .5s var(--ease), background .4s; }
.testi-card:hover { border-color: rgba(212, 152, 14, .5); background: rgba(251, 247, 238, .07); transform: translateY(-4px); }
.testi-card blockquote { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.02rem; line-height: 1.45; color: var(--sand-100); flex: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid rgba(232, 213, 163, .14); }
.testi-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.testi-card figcaption strong { display: block; font-size: .95rem; }
.testi-card figcaption span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-copy p { color: var(--olive-700); margin-top: 1rem; font-size: 1.05rem; }
.pull { text-wrap: balance; margin: 1.4rem 0; padding: .3rem 0 .3rem 1.3rem; border-left: 3px solid var(--gold); font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.2rem; line-height: 1.35; letter-spacing: -.01em; color: var(--olive-900); }
.stats { display: flex; gap: 2.5rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(22, 27, 12, .15); }
.stats strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; line-height: 1; letter-spacing: -.03em; color: var(--olive-900); }
.stats strong i { font-style: normal; color: var(--gold); font-size: .5em; vertical-align: .35em; margin-left: .1em; }
.stats span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-600); }
.about-media { position: relative; height: 560px; }
.about-media .ph { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.ph-1 { width: 62%; height: 78%; left: 0; top: 0; transform: rotate(-2.5deg); }
.ph-2 { width: 52%; height: 66%; right: 0; bottom: 0; transform: rotate(3deg); border: 6px solid var(--sand-100); }
.stamp { position: absolute; left: 52%; top: 8%; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--gold); color: var(--olive-950); border: 3px dashed var(--olive-900); font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: .95rem; line-height: 1.1; letter-spacing: -.01em; transform: rotate(12deg); box-shadow: var(--shadow); }

/* ---------- Jaguar Resistência ---------- */
.res-sec { padding-bottom: 0; }
.res-band { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem 3rem; align-items: center; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius); background: var(--olive-800); color: var(--sand-100); position: relative; overflow: hidden; isolation: isolate; }
.res-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../../images/brand/padrao-onca.webp") center / 240px repeat; opacity: .1; }
.res-band > .ji { font-size: 5.5rem; color: var(--gold); }
.res-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.res-band p { margin-top: .6rem; color: var(--muted-light); max-width: 56ch; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid rgba(22, 27, 12, .14); }
.faq summary { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; color: var(--olive-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { text-wrap: balance; }
.faq summary .n { font-family: var(--font-display); font-weight: 800; color: var(--gold-700); font-size: .9rem; min-width: 2ch; }
.faq-ico { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1rem; color: var(--olive-800); border: 1.5px solid var(--olive-800); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] .faq-ico { transform: rotate(45deg); background: var(--olive-800); color: var(--sand-100); }
.faq-a { padding: 0 0 1.3rem calc(2ch + 1rem); color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 62ch; }
.faq details[open] .faq-a { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(6rem, 12vw, 9rem) 0; text-align: center; color: var(--sand-100); overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; background: url("../../images/cta.webp") center 40% / cover no-repeat; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 50%, rgba(22, 27, 12, .55), rgba(22, 27, 12, .92)); }
.cta-inner { max-width: 720px; display: grid; justify-items: center; gap: 1.1rem; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta p { font-size: 1.15rem; color: var(--sand-200); }
.cta .btn { margin-top: .6rem; }
.cta small { font-size: .82rem; color: var(--muted-light); }

/* ---------- Atrasos do reveal ---------- */
.trips-grid .reveal:nth-child(2), .feature-list .reveal:nth-child(2n), .diff-grid .reveal:nth-child(2), .steps-grid .reveal:nth-child(2) { transition-delay: .12s; }
.trips-grid .reveal:nth-child(3), .diff-grid .reveal:nth-child(3), .steps-grid .reveal:nth-child(3) { transition-delay: .24s; }
.steps-grid .reveal:nth-child(4) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .testi-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .testi-track { padding-inline: 1.25rem; animation: none; }
  .testi-card[aria-hidden="true"] { display: none; }
  .ticker-track { animation: none; }
}

/* =====================================================
   Responsivo
   ===================================================== */
@media (min-width: 1100px) { .scroll-hint { display: flex; } }
@media (min-width: 961px) and (max-width: 1100px) { .feature-list { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
  .hero { padding: 8rem 0 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-side { justify-self: start; }
  .trip-feature { grid-template-columns: 1fr; }
  .trip-feature .trip-media img { min-height: 0; aspect-ratio: 4 / 3; }
  .trips-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .diff-item { padding: 0; border-left: 0; border-top: 1px solid rgba(251, 247, 238, .15); padding-top: 1.4rem; }
  .diff-item:first-child { border-top: 0; padding-top: 0; }
  .exp-grid, .about-grid { grid-template-columns: 1fr; }
  .exp-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .exp-note { right: 0; }
  .about-media { height: 460px; max-width: 520px; width: 100%; margin-inline: auto; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .past-track { grid-auto-columns: minmax(260px, 45%); }
  .res-band { grid-template-columns: 1fr; }
  .res-band > .ji { font-size: 4rem; }
}

@media (max-width: 640px) {
  .hero { padding: 7rem 0 3.5rem; min-height: 92svh; }
  .hero-cta .btn { width: 100%; white-space: normal; line-height: 1.25; text-align: center; }
  .hero-side { max-width: none; width: 100%; }
  .trips-grid { grid-template-columns: 1fr; }
  .trip-body .btn { align-self: stretch; }
  .trip-actions { flex-direction: column; }
  .trip-feature .trip-body { padding: 1.3rem 1.3rem 1.5rem; }
  .countdown div { min-width: 0; flex: 1; }
  .feature-list { grid-template-columns: 1fr; }
  .past-track { grid-auto-columns: 82%; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .stats strong { font-size: 2rem; }
  .stats span { display: block; margin-top: .35rem; font-size: .7rem; line-height: 1.3; }
  .about-media { height: 380px; }
  .ph-1 { left: 3%; width: 60%; }
  .ph-2 { right: 3%; width: 50%; }
  .stamp { width: 96px; height: 96px; font-size: .85rem; }
  .res-band { padding: 1.8rem 1.4rem; }
  .res-band .btn, .cta .btn { width: 100%; white-space: normal; line-height: 1.25; }
  .cta .btn { padding-inline: 1rem; font-size: .95rem; }
  .cta h2 { font-size: min(2.2rem, 7.6vw); }
}

@media (max-width: 400px) { .hero h1 { font-size: min(2.2rem, 9.4vw); } }

@media (max-width: 370px) {
  .badge { font-size: .76rem; gap: .45rem; }
  .hero-cta .btn { padding-inline: 1rem; font-size: .92rem; }
}

/* ---------- Mobile centralizado ---------- */
@media (max-width: 640px) {
  .hero-copy, .hero-side { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-side img { margin-inline: auto; }
  .diff-item { text-align: center; }
  .diff-ico { margin-inline: auto; }
  .exp-copy, .about-copy { text-align: center; }
  .feature-list li { text-align: left; }
  .pull { border-left: 0; padding: 0; }
  .stats { text-align: center; }
  .res-band { text-align: center; justify-items: center; }
  .res-band p { margin-inline: auto; }
}
