/* ===== Visite Angra Landing — CSS v2.0 ===== */
/* Mobile-first. Hero "Angra dos Reis" em BRANCO. Modal inline para posts. */

:root {
  --primary: #11B7B9;
  --primary-dark: #0E9A9C;
  --secondary: #083D77;
  --accent: #2E8B57;
  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-dark: #1E293B;
  --text-medium: #475569;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;
  --max-width: 1200px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body.visiteangra-landing {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.va-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.va-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.va-header .va-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.va-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.va-logo-icon { font-size: 1.4rem; }

.va-desktop-nav {
  display: none;
  gap: 10px;
}

.va-desktop-nav a {
  color: var(--text-medium);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.va-desktop-nav a:hover { background: var(--primary); color: #fff; }

/* Hamburger */
.va-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.va-hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile nav overlay */
.va-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

.va-nav-overlay.active { display: block; }

.va-nav-menu {
  position: fixed;
  top: 0; right: -300px;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 999;
  padding: 80px 30px 30px;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.va-nav-menu.active { right: 0; }

.va-nav-menu ul { list-style: none; }

.va-nav-menu li { margin-bottom: 6px; }

.va-nav-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.2s;
}

.va-nav-menu a:hover { background: var(--bg); color: var(--primary); }

.va-nav-icon { font-size: 1.2rem; }

/* ===== HERO ===== */
.va-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

.va-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #083D77 0%, #0E6B8A 40%, #11B7B9 100%);
  z-index: 0;
}

.va-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.va-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 750px;
}

.va-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.va-hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.va-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.va-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

.va-btn-primary {
  background: #fff;
  color: var(--secondary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.va-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.va-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(5px);
}

.va-btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}

/* ===== CATEGORIES ===== */
.va-categories {
  padding: 30px 0;
  background: #fff;
}

.va-categories-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.va-categories-grid::-webkit-scrollbar { display: none; }

.va-cat-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  min-width: 100px;
  border: 2px solid transparent;
}

.va-cat-item:hover {
  border-color: var(--primary);
  background: #E8F9FA;
  transform: translateY(-2px);
}

.va-cat-icon { font-size: 1.8rem; }

.va-cat-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-medium);
}

/* ===== HIGHLIGHTS / DESTAQUES ===== */
.va-highlights {
  padding: 50px 0;
}

.va-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.va-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.va-section-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.va-section-link:hover { color: var(--primary-dark); }

.va-cards-scroll {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .va-cards-scroll { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .va-cards-scroll { grid-template-columns: repeat(3, 1fr); }
}

/* Card */
.va-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.va-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.va-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.va-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.va-card-date {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 6px;
  font-weight: 500;
}

.va-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.va-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ===== MODAL ===== */
.va-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}

.va-modal-overlay.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.va-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.va-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.va-modal-close:hover { background: rgba(0,0,0,0.7); }

.va-modal-content {
  padding: 0;
}

.va-modal-loading {
  padding: 60px 40px;
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
}

/* Post dentro do modal */
.va-post-header-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.va-post-body {
  padding: 30px 28px;
}

.va-post-date {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 8px;
}

.va-post-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.va-post-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.va-post-text p {
  margin-bottom: 1.2em;
}

.va-post-text img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
}

.va-post-text a {
  color: var(--primary);
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.va-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.85);
  padding: 50px 0 0;
  margin-top: 30px;
}

.va-footer-grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .va-footer-grid { grid-template-columns: 1.5fr 1fr; }
}

.va-footer-brand .va-logo {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.va-footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

.va-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.va-footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  transition: all 0.2s;
}

.va-footer-links a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.va-footer-bottom {
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .va-desktop-nav { display: flex; }
  .va-hamburger { display: none; }
  .va-hero { min-height: 80vh; }
  .va-post-title { font-size: 2rem; }
  .va-post-body { padding: 40px 36px; }
}
