/* Pousada Só Alegria — estilos (réplica visual do site original) */
:root {
  --brown: #a47d5b;
  --brown-d: #9a6d46;
  --grey: #605e5e;
  --ink: #2f2e2e;
  --bg: #f4f4f4;
  --cream: #fff9e9;
  --pink: #f5e9e2;
  --sky: #e4e4f4;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--grey);
  font-family: 'Heebo', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: #116dff; padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; }

.container { position: relative; width: 980px; max-width: 100%; margin: 0 auto; }

/* ---------- Cabeçalho ---------- */
.site-header { position: absolute; z-index: 60; top: 0; left: 0; right: 0; height: 160px; font-family: 'Raleway', sans-serif; }
.site-header .container { height: 100%; }
.logo { position: absolute; left: 0; top: 17px; width: 202px; }
.logo img { width: 202px; height: auto; }
.lang { position: absolute; left: 296px; top: 35px; display: flex; gap: 10px; }
.lang a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 2px; transition: background .2s; }
.lang a:hover { background: rgba(120, 120, 120, .35); }
.lang a[aria-current='true'] { background: rgba(110, 110, 110, .55); }
.lang img { width: 16px; height: 16px; }
.btn-reserve { position: absolute; right: 0; top: 39px; border: 1.5px solid #fff; color: #fff; font-size: 16px; line-height: 1; padding: 8px 12px 9px; transition: background .2s, color .2s; }
.btn-reserve:hover { background: #fff; color: var(--brown-d); }
.nav { position: absolute; right: -2px; top: 94px; display: flex; gap: 11px; }
.nav a { color: #f4f4f4; font-size: 16px; line-height: 24px; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: #fff; text-shadow: 0 0 1px #fff; }
.nav a[aria-current='page'] { color: #c9c9c9; }
.nav-toggle { display: none; }
.nav .nav-reserve { display: none; }

/* ---------- Banner ---------- */
.banner { position: relative; height: 629px; background: #5d93c9 center / cover no-repeat; }
.banner--home { height: 619px; background-position: center 40%; }
.page-top { position: relative; z-index: 2; margin-top: -216px; }
.title-card { width: 332px; height: 123px; margin-left: 1.5px; padding: 0 26px 19px; background: #fff; display: flex; align-items: flex-end; }
.title-card h1 { font: 700 30px/1.2 'Heebo', sans-serif; color: var(--brown); }
.box { margin: 14px 0 0 1px; background: #fff; padding: 43px 28px 40px; }
.box h2, .lead { font: 400 21px/1.4 'Raleway', sans-serif; color: var(--brown); }

/* ---------- Texto ---------- */
.txt { font-size: 15px; font-weight: 300; line-height: 1.45; text-align: justify; color: var(--brown); }
.txt strong, .txt b { font-weight: 700; }
.txt p + p { margin-top: 1.3em; }
.rule { display: block; width: 35px; height: 2px; background: var(--brown-d); margin-bottom: 22px; }
.cols { display: grid; grid-template-columns: 290px 290px 240px; gap: 46px; margin-top: 38px; }
.cols .photo img { width: 240px; height: 387px; object-fit: cover; }
.cols .txt--bold { font-size: 16px; font-weight: 700; }

/* ---------- Faixas ---------- */
.band { padding: 32px 0 60px; }
.band--cream { background: var(--cream); }
.band--gray { background: var(--bg); }
.band--brown { background: var(--brown); }
.band-title { font: 700 30px/1.2 'Heebo', sans-serif; color: var(--brown); padding: 0 0 0 28px; margin-bottom: 38px; }
.inner { width: 980px; max-width: 100%; margin: 0 auto; padding: 0 16px 0 28px; }
.inner--wide { padding: 0 16px; }

/* ---------- Grades de fotos ---------- */
.grid-portrait { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.grid-portrait a { display: block; aspect-ratio: var(--ratio, 309 / 549); overflow: hidden; background: var(--bg); }
.grid-sq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 98px 0 0; }
.grid-sq a { display: block; aspect-ratio: 1; overflow: hidden; background: #e8e8e8; }
.grid-portrait img, .grid-sq img, .room-col img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.grid-portrait a:hover img, .grid-sq a:hover img, .room-col a:hover img { transform: scale(1.04); }
.gallery-section { background: var(--bg); padding-bottom: 60px; margin-top: -76px; position: relative; z-index: 1; }

/* ---------- Sobre: destaques ---------- */
.feature-band { padding: 88px 0 92px; }
.features { display: flex; justify-content: center; gap: 74px; }
.feature { width: 240px; height: 265px; background: var(--pink); padding: 25px 21px; text-align: center; border: 1px solid rgba(255, 255, 255, .5); }
.feature img { width: 64px; height: 80px; margin: 0 auto; }
.feature h3 { font: 400 23px/1.2 'Jost', 'Futura', sans-serif; color: #282626; margin: 3px 0 20px; }
.feature p { font: 300 14px/1.45 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #282626; text-align: justify; text-align-last: left; }
.feature p + p { margin-top: 2px; }

/* ---------- Sobre: vídeos ---------- */
.videos { background: var(--sky); padding: 52px 0 68px; }
.videos .band-title { padding-left: 0; width: 945px; max-width: 100%; margin: 0 auto 34px; padding: 0 0 0 17px; }
.vgrid { width: 945px; max-width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vgrid video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }

/* ---------- Sobre: conquistas ---------- */
.awards { background: var(--cream); padding: 46px 0 70px; }
.awards .band-title { padding-left: 35px; margin-bottom: 36px; }
.award-grid { width: 880px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 220px); row-gap: 22px; justify-content: center; }
.award { text-align: center; font-family: 'Raleway', sans-serif; padding: 0 8px; }
.award img { width: 111px; height: 106px; object-fit: contain; margin: 0 auto 5px; }
.award h3 { font: 700 18px/1.4 'Raleway', sans-serif; color: var(--ink); }
.award p { font: 400 14px/1.4 'Raleway', sans-serif; color: var(--brown-d); }

/* ---------- Apartamentos ---------- */
.room { padding: 32px 0 54px; }
.room--cream { background: var(--cream); }
.room--gray { background: var(--bg); }
.room-in { width: 980px; max-width: 100%; margin: 0 auto; padding: 0 0 0 34px; }
.room-in h2 { font: 700 30px/1.2 'Heebo', sans-serif; color: var(--brown); margin-bottom: 33px; }
.room-grid { display: grid; grid-template-columns: 568px 316px; gap: 28px; align-items: start; }
.room-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; align-items: start; }
.room-col { display: grid; gap: 5px; }
.room-col a { display: block; overflow: hidden; }
.room-text h3 { font: 400 21px/1.4 'Raleway', sans-serif; color: var(--brown); }
.room-text .txt { margin-top: 32px; }

/* ---------- São Miguel do Gostoso ---------- */
.sgm-box { padding-bottom: 36px; }
.sgm-box .txt { font-size: 16px; font-weight: 700; color: var(--grey); line-height: 1.4; }
.marquee { position: relative; overflow: hidden; height: 60px; margin-top: -2px; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; font: 800 30px/60px 'Heebo', sans-serif; color: var(--brown); white-space: nowrap; }
.marquee-track span { padding-right: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.passeios { position: relative; background: var(--cream); padding-bottom: 40px; }
.passeios::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 130px; background: var(--bg); clip-path: path('M0 0 L1440 0 L1440 8 C 820 15, 380 100, 0 100 Z'); }
.marquee, .passeios .container { position: relative; z-index: 1; }
.marquee svg { width: 28px; height: 28px; margin: 16px 0 0 0; }
.passeios h2 { font: 700 26px/1.2 'Heebo', sans-serif; color: var(--brown-d); margin: 18px 0 38px 32px; }
.passeios-wrap { background: var(--cream); padding: 0 0 30px; margin-top: 0; }
.services { display: grid; grid-template-columns: 481px 1fr; padding-left: 62px; row-gap: 4px; }
.services li { font: italic 700 18px/1.7 'Raleway', sans-serif; color: var(--brown-d); list-style: disc; margin-left: 20px; }
.services li::marker { font-size: 14px; }

/* ---------- Contato ---------- */
.contact-box { padding-bottom: 50px; }
.contact-top { margin-top: 38px; }
.contact-top p { font-size: 16px; font-weight: 300; line-height: 1.4; text-align: justify; color: var(--grey); max-width: 725px; }
.contact-grid { display: grid; grid-template-columns: 285px 1fr; gap: 0; margin-top: 55px; }
.contact-info h2 { font: 600 30px/1.2 'Heebo', sans-serif; color: var(--brown-d); margin-bottom: 20px; }
.contact-info p { font-size: 16px; font-weight: 300; line-height: 1.4; color: var(--grey); }
.contact-info p + p { margin-top: 20px; }
.contact-info a { color: var(--grey); }
.contact-info b { font-weight: 700; }
.contact-form { max-width: 641px; padding: 0 0 0 11px; display: grid; gap: 7px; }
.contact-form input, .contact-form textarea { width: 100%; border: 2px solid var(--brown-d); border-radius: 0; background: #fff; color: var(--ink); font: 400 14px/1.3 'Heebo', sans-serif; padding: 7px 12px; height: 37px; }
.contact-form textarea { height: 126px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6b6a6a; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(154, 109, 70, .35); outline-offset: 1px; }
.contact-form button { justify-self: end; width: 121px; height: 37px; border: 0; background: var(--brown); color: #fff; font: 400 16px 'Raleway', sans-serif; cursor: pointer; transition: opacity .2s; }
.contact-form button:hover { opacity: .88; }
.form-ok { display: none; color: var(--brown-d); font: 400 16px 'Raleway', sans-serif; justify-self: end; }
.map h2 { font: 400 21px/1.4 'Raleway', sans-serif; color: var(--brown); margin: 46px 0 14px; }
.map-link { margin-top: 10px; font: 400 15px 'Raleway', sans-serif; }
.map-link a { color: var(--brown-d); text-decoration: underline; }
.map iframe { width: 100%; height: 300px; border: 0; }

/* ---------- Home ---------- */
.booking { background: #fff; height: 137px; display: flex; align-items: center; justify-content: center; }
.omn-form { display: flex; gap: 12px; align-items: flex-end; font-family: Arial, sans-serif; }
.omn-form .field { display: flex; flex-direction: column; font-size: 14px; color: #000; }
.omn-form input, .omn-form select { width: 100%; padding: 6px 8px; font: 13px Arial, sans-serif; border: 1px solid #ccc; border-radius: 4px; background: #fff; color: #000; height: 32px; }
.omn-form button { padding: 8px 16px; font: 14px Arial, sans-serif; border: 0; border-radius: 4px; background: #a67c52; color: #fff; cursor: pointer; height: 32px; }
.omn-form button:hover { opacity: .9; }

.welcome { position: relative; min-height: 944px; background: #c9a77a center / cover no-repeat; color: #fff; padding-top: 76px; }
.welcome h2 { font: 400 21px/1.4 'Raleway', sans-serif; text-align: center; color: #fff; }
.welcome h2::after { content: ''; display: block; width: 35px; height: 2px; background: #fff; margin: 15px auto 0; }
.welcome-text { width: 552px; max-width: 92%; margin: 30px auto 0; font-size: 16px; line-height: 1.35; text-align: justify; font-weight: 300; text-shadow: 0 0 5px rgba(0, 0, 0, .3); }
.welcome-text strong { font-weight: 700; }
.cards { width: 1035px; max-width: 100%; margin: 62px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; align-items: stretch; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: 123px 123px 0 0; padding: 55px 30px 28px; text-align: center; color: var(--grey); }
.card h3 { font: 600 21px/1.3 'Heebo', sans-serif; color: var(--brown-d); }
.card p { font-size: 15px; font-weight: 300; line-height: 1.45; text-align: justify; margin-top: 28px; color: var(--grey); }
.card p strong { font-weight: 700; }
.card .rule { margin: auto auto 22px; background: var(--brown-d); padding-top: 0; }
.card p + .rule { margin-top: 28px; }
.card .more { font: 400 16px 'Raleway', sans-serif; color: var(--brown-d); }
.card .more:hover { text-decoration: underline; }
.welcome::after { content: ''; display: block; height: 290px; }

/* ---------- Rodapé ---------- */
.foot-strip { position: relative; height: 147px; background: #eee center / cover no-repeat; }
.foot-strip::before { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .86); }
.foot-strip .container { height: 100%; }
.foot-block { position: absolute; top: 34px; }
.foot-block::before { content: ''; display: block; width: 35px; height: 2px; background: var(--brown-d); margin-bottom: 14px; }
.foot-a { left: 28px; }
.foot-b { left: 362px; }
.foot-c { left: 680px; }
.foot-block .l1 { font: 400 18px/1.35 'Heebo', sans-serif; color: var(--brown); }
.foot-block .l2 { font: 700 18px/1.35 'Heebo', sans-serif; color: var(--grey); }
.foot-b .l1 { font-family: 'Raleway', sans-serif; margin-bottom: 4px; }
.social { display: flex; gap: 15px; margin-top: 8px; }
.social img { width: 27px; height: 27px; }
.social a { opacity: 1; transition: opacity .2s; }
.social a:hover { opacity: .75; }
.seals { display: flex; gap: 16px; align-items: flex-start; margin-top: -2px; }
.seals img { height: auto; }
.seals .s1 { width: 82px; }
.seals .s2 { width: 82px; }
.foot-bar { background: var(--brown); height: 134px; text-align: center; color: #fff; padding-top: 25px; font: 400 14px/1.4 'Raleway', sans-serif; }
.foot-bar img { width: 63px; height: 46px; margin: 0 auto 19px; }
.foot-bar a { text-decoration: underline; }

.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 72px; height: 73px; transition: transform .2s; }
.whatsapp:hover { transform: scale(1.06); }
.whatsapp img { width: 72px; height: 73px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .9); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; padding: 16px; opacity: .85; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .container, .inner, .room-in { padding-left: 16px; padding-right: 16px; }
  .site-header { height: 100px; }
  .site-header .container { padding: 0; }
  .logo { left: 12px; top: 8px; width: 130px; }
  .logo img { width: 130px; }
  .lang { left: auto; right: 74px; top: 22px; }
  .btn-reserve { display: none; }
  .nav-toggle { display: block; position: absolute; right: 12px; top: 16px; width: 48px; height: 44px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .7); border-radius: 3px; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; }
  .nav-toggle span { top: 21px; }
  .nav-toggle span::before { left: 0; right: 0; top: -7px; }
  .nav-toggle span::after { left: 0; right: 0; top: 7px; }
  .nav { display: none; position: fixed; inset: 0; z-index: 70; background: rgba(120, 90, 60, .96); flex-direction: column; justify-content: center; align-items: center; gap: 20px; right: 0; top: 0; }
  .nav.open { display: flex; }
  .nav a { font-size: 22px; }
  .nav-close { display: block; }
  body.nav-open .nav-toggle { position: fixed; z-index: 90; }
  .banner, .banner--home { height: 420px; }
  .page-top { margin-top: -150px; }
  .title-card { width: 260px; height: 100px; margin-left: 0; }
  .title-card h1 { font-size: 26px; }
  .box { margin-left: 0; padding: 30px 20px 30px; }
  .cols { grid-template-columns: 1fr; gap: 24px; }
  .cols .photo img { width: 100%; max-width: 340px; height: auto; }
  .nav .nav-reserve { display: block; margin-top: 10px; border: 1.5px solid #fff; padding: 10px 26px; }
  body.nav-open .nav-toggle span { background: transparent; }
  body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
  .omn-form { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 420px; gap: 10px 12px; }
  .omn-form button { grid-column: 1 / -1; height: 40px; }
  .foot-bar { padding: 25px 16px 0; height: auto; min-height: 134px; padding-bottom: 20px; }
  .videos .band-title { padding: 0 16px; }
  .band-title { padding-left: 16px; }
  .features { flex-direction: column; align-items: center; gap: 24px; }
  .feature-band { padding: 50px 0; }
  .award-grid { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .awards .band-title { padding-left: 16px; }
  .vgrid, .videos .band-title { width: 100%; padding-left: 8px; padding-right: 8px; }
  .vgrid { grid-template-columns: 1fr; }
  .grid-portrait { gap: 4px; }
  .room-grid { grid-template-columns: 1fr; gap: 20px; }
  .room-in { padding: 0 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .contact-top { margin-top: 0; }
  .contact-form { padding-left: 0; }
  .services { grid-template-columns: 1fr; padding-left: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); width: 100%; margin-top: 60px; padding: 0 16px; }
  .welcome { min-height: 0; padding-top: 50px; }
  .welcome::after { height: 80px; }
  .booking { height: auto; padding: 24px 12px; }
  .foot-strip { height: auto; padding: 28px 0; }
  .foot-strip .container { height: auto; display: grid; gap: 26px; padding: 0 28px; }
  .foot-block { position: static; }
  .passeios::before { clip-path: path('M0 0 L720 0 L720 6 C 380 10, 180 60, 0 60 Z'); }
}
@media (min-width: 700px) and (max-width: 1020px) {
  .cols { grid-template-columns: 1fr 1fr; }
  .cols .photo { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .banner, .banner--home { height: 320px; }
  .page-top { margin-top: -110px; }
  .cards { grid-template-columns: 1fr; max-width: 360px; }
  .card { border-radius: 100px 100px 0 0; }
  .grid-portrait, .grid-sq { grid-template-columns: repeat(2, 1fr); }
  .grid-sq { padding-top: 40px; }
  .award-grid { grid-template-columns: 1fr; }
  .marquee-track { font-size: 24px; }
  .lang { top: 14px; right: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
