/* =============================================
   América Hotel Jacareí — style.css
   Site 2026 v2
   Mobile First | Sem frameworks
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #2C2C2C;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #C0392B; text-decoration: none; }
a:hover { color: #A93226; }
ul, ol { list-style: none; }

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

/* --- Header / Nav Desktop --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid #C0392B;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo img {
  height: 44px;
  width: auto;
}

.desktop-nav { display: none; }

.desktop-nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #2C2C2C;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #C0392B;
  border-bottom-color: #C0392B;
}

.header-cta { display: none; }

.header-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #C0392B;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  transition: background 0.2s;
}

.header-cta a:hover { background: #A93226; color: #fff; }

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
}

.mobile-menu-overlay.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1200;
  padding: 60px 24px 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.open { right: 0; }

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #2C2C2C;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: #2C2C2C;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:hover,
.mobile-menu a.active { color: #C0392B; }

/* --- Mobile Bottom Nav --- */
.mobile-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-top: 2px solid #C0392B;
  display: flex;
  justify-content: space-around;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}

.mobile-nav-bar a,
.mobile-nav-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: #2C2C2C;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-nav-bar svg { width: 22px; height: 22px; }
.mobile-nav-bar .whatsapp-icon { color: #25D366; }

/* --- Hero --- */
.hero {
  position: relative;
  background-color: #2C2C2C;
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 700px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero .subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* --- Page Hero (subpages) --- */
.page-hero {
  background-color: #2C2C2C;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 60px 20px;
  text-align: center;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.65));
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  max-width: 700px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: #C0392B;
  color: #fff;
}
.btn-primary:hover { background: #A93226; color: #fff; }

.btn-secondary {
  background: #fff;
  color: #C0392B;
  border: 2px solid #C0392B;
}
.btn-secondary:hover { background: #C0392B; color: #fff; }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; }

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* --- Sections --- */
section {
  padding: 48px 0;
}

section:nth-child(even) {
  background: #F5F5F5;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #2C2C2C;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 32px;
}

/* --- Diferenciais / Feature Icons --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 24px 16px;
}

.feature-item svg {
  width: 40px;
  height: 40px;
  color: #C0392B;
  margin: 0 auto 12px;
}

.feature-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 13px;
  color: #666;
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- Amenities List --- */
.amenities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 16px 0;
}

.amenities li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.amenities li svg {
  width: 16px;
  height: 16px;
  color: #C0392B;
  flex-shrink: 0;
}

/* --- About / Text Sections --- */
.text-section { max-width: 800px; margin: 0 auto; }

.text-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2C2C2C;
}

.text-section p {
  font-size: 15px;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* --- Gallery --- */
.galeria {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 0;
}

.galeria-item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}

.galeria-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.galeria-item:hover img { transform: scale(1.06); }

.galeria-item figcaption {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  text-align: center;
  background: #fff;
  border-top: 2px solid #C0392B;
}

/* --- LGBTQ+ Badge (Footer) --- */
.lgbtq-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #444;
  font-size: 12px;
  color: #999;
}

.lgbtq-badge svg {
  width: 20px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* --- Map --- */
.map-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* --- CTA Section --- */
section.cta-section {
  text-align: center;
  padding: 48px 20px;
  background: #C0392B;
  color: #fff;
}

.cta-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-secondary {
  background: #fff;
  color: #C0392B;
  border-color: #fff;
}

.cta-section .btn-secondary:hover {
  background: transparent;
  color: #fff;
}

/* --- Partners List --- */
.partners-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.partners-list li {
  background: #fff;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2C2C2C;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* --- Contact Info --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-item svg {
  width: 32px;
  height: 32px;
  color: #C0392B;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: #666;
}

.contact-item a { color: #C0392B; font-weight: 600; }

/* --- Room Detail --- */
.room-detail {
  padding: 32px 0;
}

.room-specs {
  background: #F5F5F5;
  padding: 24px;
  border-radius: 10px;
  margin: 24px 0;
}

.room-specs h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.room-specs ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid #e8e8e8;
}

.room-specs ul li:last-child { border-bottom: none; }

.room-specs ul li svg {
  width: 18px;
  height: 18px;
  color: #C0392B;
  flex-shrink: 0;
}

/* --- Services List --- */
.service-block {
  margin-bottom: 40px;
}

.service-block h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2C2C2C;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-block h2 svg {
  width: 24px;
  height: 24px;
  color: #C0392B;
}

.service-block p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
  background: #2C2C2C;
  color: #ccc;
  padding: 40px 0 100px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col address {
  font-style: normal;
  line-height: 1.8;
}

.footer-col a {
  color: #ccc;
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #C0392B; }

.footer-seo {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #444;
}

.footer-seo nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-seo a {
  font-size: 12px;
  color: #888;
  padding: 4px 10px;
  background: #3a3a3a;
  border-radius: 4px;
  display: inline-block;
}

.footer-seo a:hover { color: #C0392B; }

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #888;
}

/* --- Cookie Notice --- */
#cookie-notice {
  display: none;
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
  background: #2C2C2C;
  color: #fff;
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  font-size: 14px;
  gap: 16px;
}

#cookie-notice a { color: #fff; text-decoration: underline; }

#cookie-ok {
  background: #C0392B;
  color: #fff;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

#cookie-ok:hover { background: #A93226; }

/* --- Pet Badge --- */
.pet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  margin: 12px 0;
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: #2C2C2C;
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.legal-content p {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content ul li {
  list-style: disc;
  font-size: 15px;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.6;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: #888;
}

.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #C0392B; }
.breadcrumb span { color: #aaa; margin: 0 6px; }

/* ===========================================
   RESPONSIVE — 480px+
   =========================================== */
@media (min-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-buttons { flex-direction: row; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .partners-list { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================================
   RESPONSIVE — 768px+
   =========================================== */
@media (min-width: 768px) {
  .hero { min-height: 500px; padding: 80px 20px; }
  .hero h1 { font-size: 38px; }
  .hero .subtitle { font-size: 18px; }
  .page-hero { min-height: 300px; }
  .page-hero h1 { font-size: 32px; }
  section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer { padding-bottom: 40px; }
  .map-container iframe { height: 400px; }
  .desktop-nav { display: block; }
  .header-cta { display: block; }
  .mobile-nav-bar { display: none; }
  #cookie-notice { bottom: 0; }
  .card-actions { flex-direction: row; }
}

/* ===========================================
   RESPONSIVE — 1024px+
   =========================================== */
@media (min-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .galeria { grid-template-columns: repeat(3, 1fr); }
  .card-img { height: 240px; }
  .container { padding: 0 40px; }
}
