/* ==========================================================================
   ROSE HOSPEDAGEM - Estilos Customizados (Mobile-First / Otimizado / Vanilla)
   ========================================================================== */

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

@media (prefers-reduced-motion: reduce) { 
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } 
}

:root {
  --primary-navy: #1e3a8a; --primary-hover: #172554;
  --accent-red: #e11d48; --accent-amber: #d97706; --accent-teal: #0d9488;
  --bg-cream: #faf8f5; --bg-card: #ffffff;
  --text-main: #1e293b; --text-muted: #64748b; --border-color: #e2e8f0;
  --header-height: 72px; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05); --shadow-md: 0 8px 24px rgba(0,0,0,0.08); --shadow-lg: 0 16px 32px rgba(0,0,0,0.12);
  --transition-fast: 0.2s ease; --transition-normal: 0.3s ease;
}

html { scroll-behavior: smooth; font-family: system-ui, -apple-system, sans-serif; font-size: 16px; color: var(--text-main); background-color: var(--bg-cream); line-height: 1.6; }
body { overflow-x: hidden; padding-bottom: 70px; }
@media (min-width: 992px) { body { padding-bottom: 0; } }

.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--primary-navy); color: #fff; padding: 0.75rem 1.25rem; z-index: 1000; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; transition: top var(--transition-fast); }
.skip-link:focus { top: 1rem; outline: 3px solid var(--accent-amber); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3, h4 { color: var(--primary-navy); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p { margin-bottom: 1rem; } p:last-child { margin-bottom: 0; }

.section-tag { display: inline-block; padding: 0.25rem 0.85rem; background-color: rgba(30, 58, 138, 0.08); color: var(--primary-navy); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 50px; margin-bottom: 0.75rem; }
.text-center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all var(--transition-fast); text-align: center; }
.btn-primary { background-color: var(--primary-navy); color: #ffffff; }
.btn-primary:hover, .btn-primary:focus-visible { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-whatsapp { background-color: #25d366; color: #ffffff; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background-color: #1da851; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-airbnb { background-color: #ff385c; color: #ffffff; }
.btn-airbnb:hover, .btn-airbnb:focus-visible { background-color: #dd1144; transform: translateY(-2px); }
.btn-outline { border-color: var(--primary-navy); color: var(--primary-navy); background-color: transparent; }
.btn-outline:hover, .btn-outline:focus-visible { background-color: var(--primary-navy); color: #ffffff; }
.btn-block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; height: var(--header-height); background-color: rgba(250, 248, 245, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-color); z-index: 900; display: flex; align-items: center; }
.header-container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo-text { font-size: 1.35rem; font-weight: 800; color: var(--primary-navy); text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.5rem; }
.logo-text svg { width: 28px; height: 28px; }
.nav-desktop { display: none; }
.menu-toggle { display: flex; flex-direction: column; justify-content: space-around; width: 44px; height: 44px; padding: 10px; background: transparent; border: none; cursor: pointer; border-radius: var(--radius-sm); }
.menu-toggle span { width: 100%; height: 2.5px; background-color: var(--primary-navy); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-mobile { position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background-color: var(--bg-cream); padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; transform: translateX(100%); transition: transform var(--transition-normal); z-index: 899; overflow-y: auto; }
.nav-mobile.is-open { transform: translateX(0); }
.nav-mobile-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.nav-mobile-link { font-size: 1.15rem; font-weight: 600; color: var(--text-main); text-decoration: none; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); display: block; }
.mobile-submenu { list-style: none; padding-left: 1rem; margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-submenu a { font-size: 1rem; color: var(--text-muted); text-decoration: none; display: block; padding: 0.25rem 0; }

@media (min-width: 992px) {
  .menu-toggle { display: none; } .nav-mobile { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 1.75rem; }
  .nav-list { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
  .nav-link { font-size: 0.95rem; font-weight: 600; color: var(--text-main); text-decoration: none; transition: color var(--transition-fast); padding: 0.5rem 0; }
  .nav-link:hover { color: var(--primary-navy); }
  .has-dropdown { position: relative; }
  .dropdown-btn { background: none; border: none; font-size: 0.95rem; font-weight: 600; color: var(--text-main); cursor: pointer; display: flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0; }
  .dropdown-btn::after { content: "\EA4E"; font-family: "remixicon"; font-size: 1rem; transition: transform var(--transition-fast); font-weight:normal; }
  .has-dropdown.is-active .dropdown-btn::after { transform: rotate(180deg); }
  .dropdown-menu { position: absolute; top: 100%; left: 0; width: 240px; background-color: var(--bg-card); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); border: 1px solid var(--border-color); padding: 0.5rem 0; list-style: none; display: none; z-index: 910; }
  .has-dropdown.is-active .dropdown-menu { display: block; }
  .dropdown-item a { display: block; padding: 0.6rem 1.25rem; color: var(--text-main); text-decoration: none; font-size: 0.9rem; transition: background-color var(--transition-fast); }
  .dropdown-item a:hover { background-color: rgba(30, 58, 138, 0.05); color: var(--primary-navy); }
}

/* Hero - Home */
.hero { padding: 3rem 0 2.5rem; background: linear-gradient(180deg, #faf8f5 0%, #f1efe9 100%); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1px; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .hero { padding: 4.5rem 0 3.5rem; } .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-muted); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-card-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background-color: #e2e8f0; aspect-ratio: 4/3; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge-float { position: absolute; bottom: 1.25rem; left: 1.25rem; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(6px); padding: 0.75rem 1.25rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 0.75rem; }
.hero-badge-float strong { display: block; color: var(--primary-navy); font-size: 0.95rem; }
.hero-badge-float span { font-size: 0.8rem; color: var(--text-muted); }

/* Hero - Inner Pages (CORRIGIDO PARA LEITURA E CONTRASTE) */
.hero-inner { position: relative; width: 100%; padding: 6rem 0; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-inner-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6)); z-index: 1; }
.hero-inner-content { position: relative; z-index: 2; max-width: 800px; padding: 0 1.25rem; }
.hero-inner-content h1 { color: #ffffff; margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero-inner-content p { font-size: 1.15rem; color: #e2e8f0; margin-bottom: 0; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

/* Faixa Marquee Otimizada */
.feature-ribbon-dark { background: #0f172a; color: #f8fafc; padding: 1.25rem 0; overflow: hidden; position: relative; display: flex; align-items: center; border-bottom: 4px solid var(--accent-red); }
.marquee-container { display: flex; width: max-content; animation: marquee 25s linear infinite; }
.marquee-container:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ribbon-item { display: flex; align-items: center; gap: 0.6rem; margin: 0 2rem; font-size: 1rem; font-weight: 600; white-space: nowrap; }
.ribbon-icon { color: var(--accent-amber); font-size: 1.25rem; flex-shrink: 0; }

.section { padding: 4rem 0; }
.section-alt { background-color: #f3f0ea; }
.section-header { margin-bottom: 3rem; }
.section-header.text-center { max-width: 700px; margin-left: auto; margin-right: auto; }

/* Sobre - Efeito Stack Giratório (Mais rápido) */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-stack-container {
  position: relative;
  width: 100%;
  height: 420px; /* Base height mobile */
  perspective: 1200px;
  transform-style: preserve-3d;
  margin-top: 1.5rem;
}
@media (min-width: 992px) {
  .about-stack-container { height: 350px; }
}

.about-stack-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  animation: stackAnim 15s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-stack-container:hover .about-stack-card {
  animation-play-state: paused;
}

.about-stack-card:nth-child(1) { animation-delay: 0s; }
.about-stack-card:nth-child(2) { animation-delay: 3s; }
.about-stack-card:nth-child(3) { animation-delay: 6s; }
.about-stack-card:nth-child(4) { animation-delay: 9s; }
.about-stack-card:nth-child(5) { animation-delay: 12s; }

@keyframes stackAnim {
  0%, 15% { transform: translate3d(0, 0, 0) rotateX(0deg); opacity: 1; pointer-events: auto; }
  20%, 35% { transform: translate3d(0, 25px, -60px) rotateX(-2deg); opacity: 0.8; pointer-events: none; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
  40%, 55% { transform: translate3d(0, 50px, -120px) rotateX(-4deg); opacity: 0.4; pointer-events: none; box-shadow: 0 5px 10px rgba(0,0,0,0.02); }
  60%, 75% { transform: translate3d(0, 75px, -180px) rotateX(-6deg); opacity: 0; pointer-events: none; }
  80%, 95% { transform: translate3d(0, -40px, 60px) rotateX(10deg); opacity: 0; pointer-events: none; }
  100% { transform: translate3d(0, 0, 0) rotateX(0deg); opacity: 1; pointer-events: auto; }
}

/* Inner Page Details Grid */
.details-split-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start;}
@media (min-width: 992px) { .details-split-grid { grid-template-columns: 1fr 1.3fr; } }
.details-box { background: var(--bg-card); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.details-box h3 { font-size: 1.25rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.details-list { list-style: none; font-size: 0.95rem; color: var(--text-muted); }
.details-list li { margin-bottom: 0.75rem; display: flex; gap: 0.5rem; }
.details-list li i { color: var(--primary-navy); flex-shrink: 0; margin-top: 0.15rem; }

/* Vídeos Mobile Vertical Grid */
.videos-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .videos-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { position: relative; width: 100%; padding-top: 177.77%; /* 16:9 Aspect Ratio Inverted (9:16) */ background-color: #1e293b; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); }
.video-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.3s; }
.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.play-overlay i { font-size: 4rem; color: #ffffff; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); transition: transform 0.3s ease; }
.video-card:hover img { opacity: 1; }
.video-card:hover .play-overlay i { transform: scale(1.15); }


/* Avaliações */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--bg-card); padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--accent-amber); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text { color: var(--text-muted); font-style: italic; margin-bottom: 1.25rem; font-size: 0.95rem; }
.review-author { font-weight: 700; color: var(--primary-navy); font-size: 0.9rem; }

/* Kitnets (Carrossel e Grid Home) */
.kitnets-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 992px) { .kitnets-grid { grid-template-columns: 1fr 1fr; } }
.kitnet-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-md); display: flex; flex-direction: column; transition: transform var(--transition-normal); height: 100%; }
.kitnet-card:hover { transform: translateY(-4px); }

.carousel-wrapper { position: relative; height: 280px; width: 100%; overflow: hidden; background-color: #cbd5e1; }
/* Carousel Interno com Altura Maior (Responsivo) */
.carousel-wrapper.inner-carousel { height: 350px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .carousel-wrapper.inner-carousel { height: 450px; } }
@media (min-width: 1200px) { .carousel-wrapper.inner-carousel { height: 550px; } }

.carousel-track { display: flex; height: 100%; width: 100%; transition: transform 0.4s ease-in-out; }
.carousel-track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; cursor: pointer; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; z-index: 10; font-size: 1.5rem; transition: background 0.2s; opacity: 0; }
.carousel-wrapper:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: rgba(0,0,0,0.8); }
.carousel-btn.prev { left: 0.75rem; }
.carousel-btn.next { right: 0.75rem; }

.badge-tag { absolute; top: 1rem; right: 1rem; background-color: rgba(30, 58, 138, 0.9); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 50px; z-index: 5; }
.badge-tag.eco { background-color: rgba(13, 148, 136, 0.9); }

.kitnet-body { padding: 1.75rem; display: flex; flex-direction: column; flex-grow: 1; }
.kitnet-title { margin-bottom: 0.5rem; }
.kitnet-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.kitnet-meta-item { display: flex; align-items: center; gap: 0.35rem; }
.amenities-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
.amenities-list li { display: flex; align-items: center; gap: 0.4rem; color: var(--text-main); }
.amenities-list li::before { content: "\EB7B"; font-family: "remixicon"; color: var(--accent-amber); font-weight: bold; }
.kitnet-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.details-expandable { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border-color); display: none; }
.details-expandable.is-open { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* Vantagens com Efeito Hover em Linha (5 colunas no Desktop) */
.differentials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
@media (min-width: 1200px) {
  .differentials-grid { grid-template-columns: repeat(5, 1fr); }
}
.diff-card { background: var(--bg-card); padding: 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: transform var(--transition-normal), box-shadow var(--transition-normal); display: flex; flex-direction: column; align-items: center; text-align: center; }
.diff-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-navy); }
.diff-icon { width: 44px; height: 44px; background-color: rgba(30, 58, 138, 0.08); color: var(--primary-navy); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.5rem; transition: background var(--transition-fast), color var(--transition-fast); flex-shrink: 0; }
.diff-card:hover .diff-icon { background-color: var(--primary-navy); color: #fff; }
.diff-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.diff-card p { font-size: 0.85rem; color: var(--text-muted); }
.disclaimer-note { margin-top: 2rem; font-size: 0.85rem; color: var(--text-muted); text-align: center; font-style: italic; }

/* Praias (Flip Cards) */
.beaches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.beach-flip-container { perspective: 1000px; height: 320px; cursor: pointer; }
.beach-flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1); transform-style: preserve-3d; }
.beach-flip-container:hover .beach-flip-inner { transform: rotateY(180deg); }
.beach-front, .beach-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.beach-front { background: var(--bg-card); border: 1px solid var(--border-color); padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.beach-front.featured { border: 2px solid var(--primary-navy); }
.beach-front i.main-icon { font-size: 3rem; color: var(--primary-navy); margin-bottom: 1rem; }
.beach-back { transform: rotateY(180deg); position: relative; }
.beach-back img { width: 100%; height: 100%; object-fit: cover; }
.beach-back-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff; padding: 1.5rem; text-align: center; font-weight: bold; }
.beach-tag { display: inline-block; background-color: var(--accent-amber); color: #fff; font-size: 0.75rem; font-weight: bold; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.75rem; text-transform: uppercase; align-self: center; }

/* Estabelecimentos / Localização */
.establishment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.establishment-card { background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: transform var(--transition-normal); display: flex; flex-direction: column; }
.establishment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.establishment-card img { width: 100%; height: 160px; object-fit: cover; }
.establishment-card-body { padding: 1.25rem; text-align: center; flex-grow: 1; display: flex; align-items: center; justify-content: center;}
.establishment-card-body h4 { font-size: 1.05rem; color: var(--primary-navy); margin-bottom: 0; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

.location-content { background: var(--bg-card); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }

/* Outros Componentes */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 1.25rem 1.5rem; background: none; border: none; font-size: 1.05rem; font-weight: 600; color: var(--primary-navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-icon { font-size: 1.25rem; transition: transform var(--transition-fast); }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.25rem 1.5rem; font-size: 0.95rem; color: var(--text-muted); display: none; }
.faq-item.is-open .faq-answer { display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info-card { background: var(--bg-card); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.contact-form { background: var(--bg-card); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 576px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit; color: var(--text-main); background-color: #f8fafc; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-navy); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15); background-color: #ffffff; }

/* Floating WhatsApp Pulse */
.floating-whatsapp { position: fixed; bottom: 80px; right: 1.25rem; width: 56px; height: 56px; background-color: #25d366; color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 850; text-decoration: none; }
@media (min-width: 992px) { .floating-whatsapp { bottom: 2rem; right: 2rem; } }
.pulse-anim { animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Lightbox Modal */
.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.95); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }
.lightbox-img { max-width: 90%; max-height: 90vh; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 2.5rem; background: none; border: none; cursor: pointer; padding: 10px; z-index: 2010; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 3rem; background: rgba(0,0,0,0.3); border: none; cursor: pointer; padding: 10px; border-radius: 50%; transition: background 0.2s; z-index: 2010; display: flex; align-items: center; justify-content: center;}
.lightbox-nav:hover { background: rgba(0,0,0,0.8); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Footer */
.footer { background-color: #0f172a; color: #94a3b8; padding: 4rem 0 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; margin-bottom: 3rem; }
.footer h3, .footer h4 { color: #ffffff; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color var(--transition-fast); display: flex; align-items: center; gap: 0.5rem;}
.footer-links a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 2rem; text-align: center; font-size: 0.85rem; display: flex; flex-direction: column; gap: 1rem; align-items: center;}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-disclaimer { font-size: 0.8rem; color: #64748b; margin-top: 0.5rem; text-align: left;}

/* SEÇÃO DE VÍDEOS DO YOUTUBE */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.video-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 9 / 16;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 14px;
  background: #000;
}

.video-card iframe {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit;
}

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

/* Celulares */
@media (max-width: 600px) {
  .videos-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

/* ==================================================
   CORREÇÃO DO HERO PARA DESKTOP E MOBILE
================================================== */

/* Impede que textos e imagens ultrapassem o container */
.hero,
.hero * {
  box-sizing: border-box;
}

.hero {
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: 48px;
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-subtitle {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-card-img {
  display: block;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
}

.hero-card-img > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-badge-float {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
}

.hero-badge-float div {
  display: flex;
  flex-direction: column;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* TABLETS E CELULARES */
@media (max-width: 768px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .hero .container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-content {
    width: 100%;
    text-align: left;
  }

  .hero-content .section-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }

  .hero-content h1 {
    margin-top: 16px;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .hero-subtitle {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
  }

  .hero-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    text-align: center;
    white-space: normal;
  }

  .hero-card-img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    margin: 0;
    border-radius: 18px;
  }

  .hero-card-img > img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .hero-badge-float {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 12px 14px;
  }

  .hero-badge-float strong,
  .hero-badge-float span {
    white-space: normal;
  }
}

/* CELULARES PEQUENOS */
@media (max-width: 400px) {
  .hero .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .section-tag {
    font-size: 0.78rem;
  }

  .hero-badge-float {
    position: static;
    margin-top: 0;
    border-radius: 0 0 18px 18px;
  }

  .hero-card-img > img {
    border-radius: 18px 18px 0 0;
  }
}
