:root {
    --brand: #4a6b3f;        /* verde-musgo */
    --brand-dark: #34502b;
    --accent: #c08a4a;       /* terra / dourado */
    --ink: #22281f;
    --muted: #6b7266;
    --soft: #f5f2ea;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(34, 40, 31, .08);
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

body { font-family: var(--font-body); color: var(--ink); background: var(--white); }
h1, h2, h3, h4, .navbar-brand { font-family: var(--font-head); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }

/* Botões */
.btn-brand { background: var(--brand); color: #fff; border: 0; padding: .7rem 1.5rem; border-radius: 50px; font-weight: 500; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); color: #fff; }
.btn-outline-brand { border: 1.5px solid var(--brand); color: var(--brand); padding: .65rem 1.5rem; border-radius: 50px; font-weight: 500; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-light { border-radius: 50px; padding: .8rem 2rem; font-weight: 500; }

/* Top bar */
.topbar { background: var(--ink); color: #d8dccf; font-size: .85rem; padding: .5rem 0; }
.topbar a { color: #d8dccf; }
.topbar a:hover { color: #fff; }
.topbar-info a { margin-right: 1.5rem; }
.topbar-info i { color: var(--accent); margin-right: .3rem; }
.topbar-social a { margin-left: .9rem; }

/* Navbar */
.site-nav { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,.06); padding: .9rem 0; }
.site-nav .navbar-brand { font-weight: 700; color: var(--brand-dark); font-size: 1.4rem; }
.site-nav .navbar-brand i { color: var(--accent); }
.site-nav .nav-link { font-weight: 500; color: var(--ink); padding: .5rem 1rem !important; }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--brand); }

/* Seções */
.section { padding: 90px 0; }
.bg-soft { background: var(--soft); }
.eyebrow { display: inline-block; color: var(--accent); text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 600; margin-bottom: .6rem; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; margin-bottom: 1rem; }
.section-head { max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); }

/* Hero */
/* Altura limitada para a barra de reserva aparecer na primeira tela */
.hero-slide { min-height: clamp(440px, calc(100vh - 230px), 720px); background-size: cover; background-position: center; position: relative; display: flex; align-items: center; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,26,18,.75), rgba(20,26,18,.25)); }
/* Texto à esquerda e botão à direita, centralizados na parte da foto acima da barra de reserva (que cobre ~80px) */
.hero-content { position: relative; color: #fff; padding: 20px 12px 100px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.hero-ctas { flex-shrink: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.hero-text p { margin-bottom: 0; }
@media (max-width: 767px) {
    .hero-content { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; max-width: 720px; }
.hero-content p { font-size: 1.15rem; max-width: 520px; margin: .75rem 0 1.5rem; opacity: .9; }
.hero .swiper-pagination { bottom: 95px !important; }
.swiper-pagination-bullet { background: #fff; opacity: .6; }
.swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }

/* Formulário de reserva */
.booking-wrap { position: relative; z-index: 5; margin-top: -80px; }
.booking-wrap-inner { margin-top: -50px; margin-bottom: 1rem; }
.booking-form { background: #fff; padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.booking-form-stack { padding: 0; box-shadow: none; }
.booking-form .form-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.booking-form .form-control, .booking-form .form-select, .contact-form .form-control { padding: .7rem .9rem; border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(74,107,63,.15); }

.search-summary { background: var(--soft); border-left: 4px solid var(--brand); padding: 1rem 1.25rem; border-radius: 8px; margin: 1.5rem 0 .5rem; font-weight: 500; }
.search-summary i { color: var(--brand); margin-right: .4rem; }

/* Sobre */
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-badge { position: absolute; bottom: -25px; right: 25px; background: var(--brand); color: #fff; padding: 1.25rem 1.5rem; border-radius: var(--radius); display: flex; gap: .8rem; align-items: center; box-shadow: var(--shadow); }
.about-badge strong { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.about-badge span { font-size: .85rem; line-height: 1.3; }
.about-features i { color: var(--brand); margin-right: .4rem; }

/* Cards de quarto */
.room-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s; }
.room-card:hover { transform: translateY(-6px); }
.room-card-img { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.room-card:hover .room-card-img img { transform: scale(1.06); }
.room-price { position: absolute; left: 1rem; bottom: 1rem; background: var(--accent); color: #fff; padding: .35rem .9rem; border-radius: 50px; font-weight: 600; }
.room-price small { font-weight: 400; opacity: .9; }
.room-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.room-card-body h3 { font-size: 1.35rem; }
.room-card-body h3 a { color: var(--ink); }
.room-card-body p { color: var(--muted); font-size: .95rem; }
.room-meta { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--muted); }
.room-meta i { color: var(--brand); margin-right: .25rem; }
.room-meta-lg { font-size: 1rem; margin-bottom: 1.25rem; }
.link-arrow { margin-top: auto; font-weight: 600; }
.link-arrow i { transition: margin .2s; }
.link-arrow:hover i { margin-left: .3rem; }
.room-total { text-align: center; margin-top: .75rem; color: var(--muted); }
.room-total strong { color: var(--brand-dark); }

/* Serviços */
.service-card { background: #fff; border: 1px solid #ece8dd; border-radius: var(--radius); padding: 2rem; height: 100%; transition: all .3s; }
.service-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.service-card i { font-size: 2.2rem; color: var(--accent); display: inline-block; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--muted); margin: 0; }

/* CTA */
.cta-band { background-size: cover; background-position: center; background-attachment: fixed; position: relative; padding: 120px 0; color: #fff; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: rgba(34,40,31,.65); }
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { max-width: 560px; margin: 1rem auto 2rem; opacity: .9; }

/* Depoimentos */
.testimonial-swiper { padding-bottom: 3rem; }
.testimonial-swiper .swiper-pagination-bullet { background: var(--brand); }
.testimonial { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); margin: 0; height: 100%; }
.testimonial .stars { color: var(--accent); margin-bottom: 1rem; }
.testimonial p { font-family: var(--font-head); font-size: 1.15rem; font-style: italic; }
.testimonial footer strong { display: block; }
.testimonial footer span { color: var(--muted); font-size: .9rem; }

/* Galeria */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid a { overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.08); }

/* Banner de páginas internas */
.page-banner { background-size: cover; background-position: center; position: relative; padding: 130px 0 120px; color: #fff; text-align: center; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(20,26,18,.6); }
.page-banner .container { position: relative; }
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.page-banner nav, .page-banner a { color: rgba(255,255,255,.85); }
.page-banner a:hover { color: #fff; }

/* Detalhe do quarto */
.room-swiper { border-radius: var(--radius); overflow: hidden; }
.room-swiper img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.room-swiper .swiper-button-prev, .room-swiper .swiper-button-next { color: #fff; }
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.amenities i { color: var(--brand); margin-right: .3rem; }
.sidebar-box { background: var(--soft); padding: 1.75rem; border-radius: var(--radius); position: sticky; top: 100px; }
.sidebar-price { font-family: var(--font-head); font-size: 2rem; color: var(--brand-dark); }
.sidebar-price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); }

/* Números */
.numbers-band { background: var(--brand); color: #fff; padding: 60px 0; }
.numbers-band strong { display: block; font-family: var(--font-head); font-size: 2.8rem; }
.numbers-band span { opacity: .85; }

/* Contato */
.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-list i { font-size: 1.4rem; color: #fff; background: var(--brand); width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; }
.contact-list strong { display: block; }
.contact-form { background: var(--soft); padding: 2rem; border-radius: var(--radius); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }
.map-card { border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.map-card iframe { width: 100%; height: 420px; border: 0; display: block; }
@media (max-width: 767px) { .map-card iframe { height: 320px; } }

/* Rodapé */
.site-footer { background: var(--ink); color: #b9bfb2; padding: 80px 0 0; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1.25rem; }
.site-footer a { color: #b9bfb2; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .55rem; }
.footer-brand { color: #fff; font-size: 1.5rem; }
.footer-brand i { color: var(--accent); }
.footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); margin-right: .4rem; }
.footer-social a:hover { background: var(--brand); }
.footer-contact i { color: var(--accent); margin-right: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.5rem 0; text-align: center; font-size: .9rem; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 6px 20px rgba(0,0,0,.2); z-index: 1000; }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }


/* Responsivo */
@media (max-width: 991px) {
    .section { padding: 70px 0; }
    .hero-slide { min-height: 480px; }
    .booking-wrap { margin-top: -60px; }
    .cta-band { background-attachment: scroll; }
}
@media (max-width: 575px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .amenities { grid-template-columns: 1fr; }
    .about-badge { right: 10px; }
    .booking-form { padding: 1.25rem; }
}

/* Ficha técnica do sítio */
.specs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.specs li { background: var(--soft); border-radius: 12px; padding: .75rem 1rem; display: flex; align-items: center; gap: .5rem; flex: 1 1 110px; }
.specs i { color: var(--brand); font-size: 1.3rem; }
.specs strong { font-family: var(--font-head); font-size: 1.4rem; line-height: 1; }
.specs span { color: var(--muted); font-size: .9rem; }
.bg-soft .specs li { background: #fff; }

.amenity-group { font-family: var(--font-body); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .8rem; }
.amenities-1col { grid-template-columns: 1fr; }
.rules { list-style: none; padding: 0; }
.rules li { margin-bottom: .5rem; color: var(--muted); }
.rules i { color: var(--brand); margin-right: .4rem; }

.booking-summary { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #e3ded1; }
.booking-summary > div { display: flex; justify-content: space-between; padding: .3rem 0; }
.booking-summary span { color: var(--muted); }
.btn-whatsapp { background: #25d366; color: #fff; border-radius: 50px; padding: .7rem 1.5rem; font-weight: 500; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }

.region-img { width: 100%; max-height: 520px; object-fit: cover; }

/* Galeria completa com filtro */
.gallery-full { grid-template-columns: repeat(4, 1fr); }
.gallery-grid a.is-hidden { display: none; }
.gallery-filter button { border: 1px solid #d9d3c3; background: #fff; color: var(--ink); border-radius: 50px; padding: .45rem 1.1rem; margin: .25rem; font-size: .9rem; }
.gallery-filter button.active, .gallery-filter button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 991px) { .gallery-full { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .gallery-full { grid-template-columns: repeat(2, 1fr); } }

/* Página de reserva */
.page-banner-sm { padding: 90px 0 80px; }
.cal-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.reserve-form { position: static; }
.reserve-summary { background: #fff; border-radius: 10px; padding: .75rem 1rem; margin-bottom: 1.25rem; }
.reserve-summary > div { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px dashed #e6e1d5; }
.reserve-summary > div:last-child { border-bottom: 0; }
.reserve-summary span { color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success-box { max-width: 640px; background: var(--soft); border-radius: var(--radius); padding: 3rem 2rem; }
.success-box > i { font-size: 3.5rem; color: var(--brand); }
#reserveSubmit:disabled { opacity: .5; }

/* Indicador de carregamento entre telas (page-loader.js) */
.page-loader { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 2000; opacity: 0; box-shadow: 0 0 8px rgba(192,138,74,.6); }
body.is-loading .page-loader { opacity: 1; width: 85%; transition: width 8s cubic-bezier(.1,.7,.2,1); }
.page-loader-overlay { position: fixed; inset: 0; z-index: 1990; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
                       background: rgba(255,255,255,.6); backdrop-filter: blur(1px); color: var(--brand-dark); font-weight: 500;
                       opacity: 0; visibility: hidden; transition: opacity .2s; }
.page-loader-overlay .spinner-border { color: var(--brand); width: 2.5rem; height: 2.5rem; }
body.is-loading-overlay .page-loader-overlay { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) {
    body.is-loading .page-loader { transition: none; }
    .page-loader-overlay .spinner-border { animation-duration: 2s; }
}

/* Calendário de disponibilidade */
.cal-loading { padding: 3rem; text-align: center; color: var(--muted); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head strong { font-size: 1.05rem; }
.cal-nav { width: 44px; height: 44px; border-radius: 8px; border: 1px solid #ddd8cb; background: #fff; font-size: 1.1rem; }
.cal-nav:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.cal-nav:disabled { opacity: .3; }
.cal-months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.cal-month h4 { text-align: center; font-size: 1.4rem; margin-bottom: 1rem; }
.cal-month h4 span { color: var(--muted); font-weight: 400; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-wd { text-align: center; font-size: .78rem; font-weight: 600; color: var(--muted); padding-bottom: .3rem; }
.cal-day { position: relative; aspect-ratio: 1 / .9; border: 1px solid #ddd8cb; border-radius: 6px; background: #fff; color: var(--ink);
           display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .95rem; line-height: 1.1; padding: 0; transition: background .15s, border-color .15s; }
.cal-day:hover:not(:disabled) { border-color: var(--brand); background: #eef3ea; }
.cal-day i { color: #c0392b; font-size: .8rem; margin-top: 2px; }
.cal-day:disabled { cursor: not-allowed; }
.cal-day, .cal-nav { touch-action: manipulation; }
.cal-day.is-past, .cal-day.is-beyond { color: #b5b2a8; background: #faf9f6; }
.cal-day.is-past i { color: #d6a29b; }
.cal-day.is-occupied:disabled { background: #fbf3f2; }
.cal-day.is-today span { font-weight: 700; text-decoration: underline; }
.cal-day.in-range { background: #dfe9d9; border-color: #c3d5b9; }
.cal-day.is-start, .cal-day.is-end, .cal-day.is-hover-end { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.cal-day.is-hover-end { opacity: .75; }
.cal-day.is-short:not(.is-hover-end) { opacity: .55; }
.cal-msg { min-height: 1.5rem; margin-top: 1rem; color: var(--brand-dark); font-weight: 500; text-align: center; }
.cal-msg.is-error { color: #c0392b; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin-top: .75rem; font-size: .85rem; color: var(--muted); }
.cal-legend .lg { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; border: 1px solid #ddd8cb; }
.cal-legend .lg-sel { background: var(--brand); border-color: var(--brand); }
.cal-legend .bi { color: #c0392b; }
@media (max-width: 767px) {
    .cal-months { grid-template-columns: 1fr; }
    .cal-card { padding: 1rem; }
}

/* Campos de data da barra de reserva (abrem o calendário em modal) */
.date-field { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: .7rem .9rem; border-radius: 10px; cursor: pointer; }
.date-field:hover { border-color: var(--brand); }
.date-field i { color: var(--brand); }
#calendarModal .modal-content { border: 0; border-radius: var(--radius); }
#calendarModal .modal-body { padding: 1.25rem 1.5rem; }
@media (max-width: 575px) { #calendarModal .modal-content { border-radius: 0; } #calendarModal .modal-body { padding: 1rem; } }
/* Entre 576 e 991px o modal-xl do Bootstrap fica com 500px; o calendário precisa da largura toda */
@media (min-width: 576px) and (max-width: 991px) { #calendarModal .modal-dialog { max-width: calc(100% - 2rem); } }

/* ---------- Vídeos: botão do topo ---------- */
.hero-play { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-weight: 600; text-decoration: none; }
.hero-play:hover { color: #fff; }
.hero-play-icon { position: relative; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--brand-dark); display: grid; place-items: center; font-size: 1.6rem; padding-left: 3px; }
.hero-play-icon::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: vs-pulse 2s ease-out infinite; }
@keyframes vs-pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- Vídeos: vitrine "Sinta o lugar" (home) ---------- */
.video-showcase { position: relative; overflow: hidden; overflow: clip; background: #1b2618; color: #fff; padding: 100px 0; margin-top: 60px; }
.vs-ambient { position: absolute; inset: -40px; z-index: 0; overflow: hidden; overflow: clip; }
.vs-ambient video { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.3); opacity: .45; transform: scale(1.1); }
.vs-ambient::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,18,.92) 0%, rgba(20,28,18,.65) 45%, rgba(20,28,18,.35) 100%); }
.vs-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 50px; padding: .35rem .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.vs-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 0 rgba(255,90,79,.7); animation: vs-live 1.6s infinite; }
@keyframes vs-live { 0% { box-shadow: 0 0 0 0 rgba(255,90,79,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,90,79,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,79,0); } }
.vs-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; line-height: 1.1; margin: 1.1rem 0 1rem; }
.vs-lead { font-size: 1.1rem; opacity: .85; max-width: 440px; }
.vs-chapters { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.75rem; max-width: 460px; }
.vs-chapter { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: .75rem .9rem; transition: background .2s, border-color .2s, transform .2s; }
.vs-chapter:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.vs-chapter.is-active { background: rgba(255,255,255,.16); border-color: var(--accent); }
.vs-chapter-play { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 1.2rem; padding-left: 2px; }
.vs-chapter-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vs-chapter-text small { opacity: .75; font-size: .82rem; }
.vs-chapter-dur { font-size: .8rem; opacity: .7; font-variant-numeric: tabular-nums; }

/* Molduras de celular, inclinadas e sobrepostas */
.vs-stage { display: flex; justify-content: center; align-items: center; min-height: 560px; }
.phone-frame { position: relative; flex: 0 0 auto; width: min(270px, 42%); aspect-ratio: 9 / 16; margin: 0; border-radius: 34px; overflow: hidden; background: #000; border: 7px solid #10160f;
               box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, filter .45s; cursor: pointer; }
.phone-frame:nth-child(1) { transform: rotate(-6deg) translateX(30px); z-index: 1; }
.phone-frame:nth-child(2) { transform: rotate(5deg) translate(-30px, 40px); z-index: 1; }
.phone-frame:not(.is-front) { filter: brightness(.75); }
.phone-frame.is-front { z-index: 2; filter: none; box-shadow: 0 40px 80px rgba(0,0,0,.65), 0 0 0 2px var(--accent); }
.phone-frame.is-front:nth-child(1) { transform: rotate(-2deg) translateX(30px) scale(1.06); }
.phone-frame.is-front:nth-child(2) { transform: rotate(2deg) translate(-30px, 20px) scale(1.06); }
.phone-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-progress { position: absolute; top: 12px; left: 14px; right: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.vs-progress span { display: block; height: 100%; width: 0; background: #fff; transition: width .25s linear; }
.vs-caption { position: absolute; left: 0; right: 0; top: 0; padding: 1.6rem 1rem 2.5rem; background: linear-gradient(rgba(0,0,0,.7), transparent); display: flex; flex-direction: column; pointer-events: none; } /* no topo: os vídeos já têm legendas embaixo */
.vs-caption strong { font-size: 1rem; }
.vs-caption small { font-size: .78rem; opacity: .85; }
.vs-controls { position: absolute; bottom: 12px; right: 12px; display: flex; gap: .45rem; }
.vs-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); font-size: 1rem; text-decoration: none; transition: background .2s, transform .2s; }
.vs-btn:hover { background: rgba(0,0,0,.7); color: #fff; transform: scale(1.08); }
.vs-btn.is-on { background: var(--accent); }

@media (max-width: 991px) {
    .video-showcase { padding: 70px 0 60px; margin-top: 40px; }
    .vs-ambient::after { background: rgba(20,28,18,.75); }
    /* Celular: carrossel horizontal, um vídeo por vez */
    .vs-stage { min-height: 0; justify-content: flex-start; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem 12% 1.5rem; margin: 0 -12px; scrollbar-width: none; }
    .vs-stage::-webkit-scrollbar { display: none; }
    .phone-frame, .phone-frame:nth-child(n), .phone-frame.is-front:nth-child(n) { width: 72%; max-width: 300px; transform: none; scroll-snap-align: center; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-play-icon::after, .vs-dot { animation: none; }
    .phone-frame, .vs-chapter { transition: none; }
}

/* ---------- Vídeos: miniaturas na galeria do sítio ---------- */
.video-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; justify-content: center; }
.video-thumb { position: relative; width: 190px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow); color: #fff; text-decoration: none; }
.video-thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-thumb:hover video { transform: scale(1.06); }
.video-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.7)); }
.video-thumb-play { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brand-dark); display: grid; place-items: center; font-size: 1.8rem; padding-left: 3px; transition: transform .2s; }
.video-thumb:hover .video-thumb-play { transform: translate(-50%, -50%) scale(1.1); }
.video-thumb-text { position: absolute; z-index: 1; left: .9rem; right: .9rem; bottom: .8rem; display: flex; flex-direction: column; }
.video-thumb-text:hover, .video-thumb:hover { color: #fff; }
.video-thumb-text small { opacity: .85; }
.video-strip-text { max-width: 280px; }
.video-strip-text h3 { font-size: 1.6rem; }
.video-strip-text p { color: var(--muted); margin: 0; }
@media (max-width: 575px) { .video-thumb { width: calc(50% - .7rem); } .video-strip-text { max-width: none; text-align: center; order: -1; } }
