/* Pousada Paraíso – Passo do Lontra */
:root {
  --green-900: #0f2b21;
  --green-800: #173d2f;
  --green-700: #1f5240;
  --green-100: #e4efe7;
  --river: #2b6f86;
  --wood: #5b3a22;
  --gold: #e3b13b;
  --gold-600: #c9962a;
  --sand: #f6f1e7;
  --sand-200: #ece3d1;
  --ink: #1d2420;
  --muted: #5b655f;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 43, 33, .12);
  --wrap: 1180px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--ink);
  background: var(--sand);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: .18em; }
a:hover { color: var(--river); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.alt { background: var(--white); }
.section.dark { background: var(--green-800); color: #dfe9e3; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: .9rem;
}
.dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--muted); }
.dark .lead { color: #c6d6cc; }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 680px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px;
  font: 700 1rem/1 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--green-900); }
.btn-gold:hover { background: #f0c454; color: var(--green-900); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--green-900); }
.btn-green { background: var(--green-700); color: var(--white); }
.btn-green:hover { background: var(--green-800); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(15, 43, 33, .96);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand img { width: 108px; height: auto; margin: 6px 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  display: block; padding: .55rem .75rem; border-radius: 8px; color: #e6efe9; text-decoration: none;
  font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav li:last-child a { background: var(--gold); color: var(--green-900); margin-left: .4rem; }
.site-nav li:last-child a:hover { background: #f0c454; }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 26px; height: 2px; background: var(--white); position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -8px; } .bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0; background: var(--green-900); padding: .5rem 1.25rem 1.25rem;
    display: none; border-bottom: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: .85rem .5rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-nav li:last-child a { margin: .8rem 0 0; text-align: center; border-radius: 999px; }
}

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; text-align: center;
  color: var(--white); overflow: hidden; isolation: isolate;
}
.hero > img, .page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,30,22,.35) 0%, rgba(10,30,22,.25) 40%, rgba(10,30,22,.75) 100%);
}
.page-hero::after { background: linear-gradient(90deg, rgba(10,30,22,.85) 0%, rgba(10,30,22,.55) 55%, rgba(10,30,22,.25) 100%); }
.hero-inner { padding: 6rem 0 5rem; }
.hero-logo { width: min(320px, 70vw); margin: 0 auto 1.4rem; filter: drop-shadow(0 12px 30px rgba(0,0,0,.45)); }
.hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.4vw, 3.4rem); max-width: 860px; margin-inline: auto; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero p { font-size: 1.2rem; max-width: 640px; margin-inline: auto; color: #eef4f0; }
.hero .btn-row { justify-content: center; }

.page-hero {
  position: relative; isolation: isolate; color: var(--white); padding: clamp(5rem, 14vw, 9rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden; background: var(--green-800);
}
.page-hero h1 { color: var(--white); margin: 0; }
.page-hero p { margin: .8rem 0 0; font-size: 1.15rem; color: #e3ece6; max-width: 640px; }
.page-hero a { color: var(--gold); }

/* Launch banner */
.launch { background: var(--green-700); color: var(--white); }
.launch-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem 2.5rem; padding: 2.2rem 0; }
.launch h2 { color: var(--white); margin: 0 0 .3rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.launch p { margin: 0; color: #d9e8de; }
@media (max-width: 720px) { .launch-grid { grid-template-columns: 1fr; text-align: center; } .launch .btn-row { justify-content: center; margin-top: 0; } }

/* Feature cards */
.cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 2.5rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.alt .card { background: var(--sand); box-shadow: none; }
.card h3 { margin-bottom: .6rem; }
.card p:last-child { margin: 0; }
.card .icon { width: 44px; height: 44px; color: var(--green-700); margin-bottom: 1rem; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.tags li { background: var(--green-100); color: var(--green-800); border-radius: 999px; padding: .3rem .85rem; font-weight: 600; font-size: .9rem; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .55rem 1.2rem; }
.checks li { position: relative; padding-left: 1.7rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' d='M4 8.5l2.6 2.5L12 5'/%3E%3C/svg%3E") center/80% no-repeat;
}

/* Video */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #000; max-width: 980px; margin: 2.5rem auto 0;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video button { position: absolute; inset: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.video button:hover + img, .video:hover img { opacity: 1; }
.video .play {
  width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s;
}
.video button:hover .play { transform: scale(1.06); }
.video .play svg { width: 34px; margin-left: 6px; color: var(--green-900); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Testimonials */
.quotes { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2.5rem; }
.quote {
  margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 2rem 1.8rem 1.6rem; position: relative;
}
.quote::before { content: "“"; position: absolute; top: -.2rem; left: 1.2rem; font: 700 4.5rem/1 var(--font-display); color: var(--gold); }
.quote p { margin: 1rem 0 0; color: #e6efe9; font-size: 1.05rem; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; text-align: center; }
.numbers strong { display: block; font: 700 clamp(2.2rem, 5vw, 3.4rem)/1.1 var(--font-display); color: var(--green-700); }
.numbers span { color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .numbers { grid-template-columns: repeat(2, 1fr); } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; margin-top: 2rem; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand-200); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption { font-size: .92rem; color: var(--muted); padding: .45rem .1rem 0; }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: .5rem; } }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 18, 14, .95); color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 18, 14, .7); }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 6px; }
.lightbox-caption { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; margin: 0; color: #dfe9e3; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 52px; height: 52px;
  border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Fish */
.fish-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin-top: 2.5rem; }
.fish { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.fish img { background: #fff; width: 100%; aspect-ratio: 5 / 3; object-fit: contain; padding: 1rem 1.4rem 0; }
.fish-body { padding: 1rem 1.6rem 1.6rem; }
.fish h3 { margin-bottom: .5rem; }
.fish p { font-size: 1rem; color: #3b4540; }
.fish details { margin-top: .4rem; border-top: 1px solid var(--sand-200); padding-top: .7rem; }
.fish summary { cursor: pointer; font-weight: 700; color: var(--green-700); }
.fish details p { margin-top: .7rem; }

/* Prose pages */
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose .btn-row { margin-bottom: 1.5rem; }
.note {
  background: #fff8e4; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 1rem 1.2rem;
  margin-block: 2rem; color: #5a4614;
}
.note p:last-child { margin: 0; }

/* News */
.news { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.news details summary { cursor: pointer; font-weight: 700; color: var(--green-700); }
.news article { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.news article > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news .news-body { padding: 1.4rem 1.6rem 1.6rem; }
.news time { color: var(--gold-600); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.news h2 { font-size: 1.35rem; margin: .4rem 0 .6rem; }
.news p { margin: 0 0 .7rem; color: #3b4540; }
.news { align-items: start; }
.news article.featured { grid-column: 1 / -1; position: relative; padding-left: 360px; min-height: 300px; }
.news article.featured > img { position: absolute; top: 0; left: 0; bottom: 0; width: 360px; height: 100%; aspect-ratio: auto; object-position: top; }
@media (max-width: 720px) {
  .news article.featured { padding-left: 0; min-height: 0; }
  .news article.featured > img { position: static; width: 100%; height: auto; aspect-ratio: 16 / 10; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.info-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--green-900); }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand-200); }

.form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2.4rem); scroll-margin-top: 90px; }
.form h2 { font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form label, .form legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .35rem; color: var(--green-900); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid #cfd8d2; border-radius: 10px; background: #fbfcfb; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green-700); outline: none; box-shadow: 0 0 0 3px rgba(31,82,64,.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border: 1.5px solid #cfd8d2; border-radius: 999px; cursor: pointer; margin: 0; }
.chips input { width: auto; margin: 0; accent-color: var(--green-700); }
.chips label:has(input:checked) { border-color: var(--green-700); background: var(--green-100); }
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .95rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: .3rem; accent-color: var(--green-700); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: var(--green-100); color: var(--green-800); }
.form-status.err { display: block; background: #fde8e6; color: #8a2116; }
.form button[type="submit"] { margin-top: 1.4rem; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* CTA band */
.cta { position: relative; isolation: isolate; color: var(--white); text-align: center; overflow: hidden; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(15, 43, 33, .78); z-index: -1; }
.cta h2 { color: var(--white); }
.cta p { color: #e3ece6; max-width: 620px; margin-inline: auto; }

/* Footer */
.site-footer { background: var(--green-900); color: #b9cbc0; padding: 4rem 0 0; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 150px; margin-bottom: 1rem; }
.site-footer h2 { color: var(--white); font: 700 1rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a, .link-btn { color: #dfe9e3; text-decoration: none; }
.site-footer a:hover, .link-btn:hover { color: var(--gold); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.4rem 0 1.6rem; font-size: .9rem; color: #8ea597; }
.footer-bottom p { margin: 0; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: var(--white); }
.wa-float svg { width: 32px; height: 32px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
