* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
}

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 40px;
  background: white;
  border-bottom: 4px solid #244c73;
  position: relative;
}

.nav-left {
  justify-self: end;
  display: flex;
  gap: 15px;
  font-size: 24px;
}

.nav-right {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
  font-size: 24px;
}

.logo { text-align: center; }

.logo img {
  width: 290px;
  display: block;
  margin: 0 auto;
}

.logo h2 {
  font-size: 25px;
  color: #244c73;
}

.header a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding: 10px;
  display: inline-flex;
  align-items: center;
}

.header a:hover { color: #244c73; }

.header a.login-btn {
  margin-left: auto;
  border: 1px solid #244c73;
  border-radius: 3px;
  padding: 4px 12px;
  transition: 0.3s;
}

.header a.login-btn:hover {
  background: #244c73;
  color: white !important;
}

/* ─── HAMBURGER ──────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #244c73;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── MOBILE MENU ────────────────────────────────────── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 2px solid #244c73;
  padding: 20px;
  gap: 5px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 10px;
  border-radius: 6px;
  transition: 0.2s;
}

.mobile-menu a:hover {
  background: #f0f4fa;
  color: #244c73;
}

.mobile-menu .login-btn {
  margin-top: 10px;
  border: 1px solid #244c73;
  border-radius: 3px;
  text-align: center;
  padding: 10px;
  color: #244c73 !important;
}

.mobile-menu .login-btn:hover {
  background: #244c73 !important;
  color: white !important;
}

/* ─── BREAKPOINTS HEADER ─────────────────────────────── */
@media (max-width: 1200px) {
  .nav-left, .nav-right { font-size: 18px; gap: 8px; }
  .logo img { width: 220px; }
  .logo h2  { font-size: 20px; }
}

@media (max-width: 900px) {
  .nav-left, .nav-right { font-size: 14px; gap: 4px; }
  .logo img { width: 160px; }
  .logo h2  { font-size: 16px; }
  .header   { padding: 15px 20px; }
}

@media (max-width: 700px) {
  .header { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .nav-left, .nav-right { display: none; }
  .logo { grid-column: 1; }
  .logo img { width: 130px; }
  .logo h2  { font-size: 13px; }
  .hamburger { display: flex; grid-column: 2; }
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  height: 50vh;
  width: 100%;
  background: url('../../assets/paulistinhanoite.png') center/cover no-repeat;
  position: relative;
}

.hero h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  color: #244c73;
  font-size: 23px;
  background: rgba(255,255,255,0.7);
  padding: 20px;
  max-width: 670px;
  width: 90%;
  text-align: center;
  animation: aparecer 1.2s ease forwards;
}

@keyframes aparecer {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 700px) {
  .hero h1 { font-size: 16px; padding: 14px; }
}

/* ─── ALOJAMENTO ─────────────────────────────────────── */
.alojamento {
  padding: 60px 80px;
}

.alojamento-hero {
  text-align: center;
  margin-bottom: 60px;
}

.alojamento-hero h1 {
  font-size: 42px;
  color: #244c73;
  margin-bottom: 20px;
}

.alojamento-hero p {
  font-size: 18px;
  color: #444;
  max-width: 900px;
  margin: 10px auto;
  line-height: 1.6;
}

.alojamento-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.card-alojamento {
  background: white;
  width: 520px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card-alojamento:hover { transform: translateY(-5px); }

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

.info-alojamento { padding: 20px; }

.info-alojamento h2 {
  font-size: 26px;
  color: #244c73;
  margin-bottom: 10px;
}

.info-alojamento p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .alojamento { padding: 40px 30px; }
  .alojamento-hero h1 { font-size: 30px; }
  .alojamento-hero p  { font-size: 16px; }
  .card-alojamento { width: 100%; }
  .card-alojamento img { height: auto; }
}

@media (max-width: 600px) {
  .alojamento { padding: 30px 16px; }
  .alojamento-hero h1 { font-size: 24px; }
  .info-alojamento h2 { font-size: 20px; }
}

/* ─── FOOTER ─────────────────────────────────────────── */
.linha-mapa {
  width: 100%;
  height: 6px;
  background: #5fa8d3;
}

.mapa iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

.footer {
  background: white;
  padding: 40px 80px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo img { width: 450px; }

.footer h1 { font-size: 28px; color: #244c73; margin-bottom: 10px; }
.footer p  { font-size: 18px; margin-bottom: 8px; color: #222; }
.footer a  { color: #25D366; text-decoration: none; font-weight: bold; }
.footer a:hover { color: #1ebe5d; }

@media (max-width: 900px) {
  .footer { padding: 40px 30px; }
  .footer-container { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
  .footer-logo img { width: 200px; }
  .footer h1 { font-size: 20px; }
  .footer p  { font-size: 15px; }
}

/* ─── COPYRIGHT ──────────────────────────────────────── */
.copyright {
  background: linear-gradient(90deg, #244c73 0%, #4f86c6 40%, #ffffff 100%);
  padding: 20px 80px;
}

.copyright-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright-logo img { width: 120px; }

.copyright-texto {
  flex: 1;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 600px) {
  .copyright { padding: 20px; background: #244c73; }
  .copyright-container { flex-direction: column; gap: 10px; text-align: center; }
  .copyright-texto { color: white; }
}