:root {
  --navy: #0b3552;
  --navy-2: #174f70;
  --green: #526a37;
  --green-2: #708454;
  --cream: #f3f2eb;
  --paper: #fcfcfa;
  --ink: #172834;
  --muted: #66737b;
  --white: #ffffff;
  --line: rgba(11, 53, 82, 0.13);
  --shadow: 0 24px 70px rgba(12, 43, 60, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 108px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(11,53,82,.08);
  box-shadow: 0 8px 30px rgba(12,43,60,.05);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 1 420px; min-width: 0; }
.brand-icon { width: 112px; height: 76px; object-fit: contain; flex: 0 0 auto; }
.brand-name { font-family: "Playfair Display", Georgia, serif; font-size: clamp(28px, 2.5vw, 42px); line-height: 1; color: var(--navy); white-space: nowrap; letter-spacing: -.035em; }
.brand-name em { color: var(--green); font-weight: 500; font-style: normal; font-size: .75em; }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 600; }
.main-nav a { position: relative; white-space: nowrap; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--green); transition: right .2s ease; }
.main-nav a:hover::after { right: 0; }
.nav-cta { border: 1px solid var(--green); color: var(--green); padding: 10px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--green); color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: .2s ease; }

.hero { min-height: calc(100svh - 100px); height: 800px; position: relative; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0 0 0 34%; background-image: url("hero-casa-da-represa.webp"); background-size: cover; background-position: center 52%; }
.hero::before { content: ""; position: absolute; inset: 0 66% 0 0; background: linear-gradient(145deg, #08283d, #0b3552 70%, #173f43); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,26,40,.98) 0%, rgba(4,26,40,.94) 28%, rgba(4,26,40,.72) 43%, rgba(4,26,40,.10) 72%), linear-gradient(180deg, rgba(7,27,38,.02) 40%, rgba(7,27,38,.35) 100%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 98px; max-width: 840px; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.dark { color: var(--green); }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.025em; }
h1 { font-size: clamp(52px, 6.6vw, 88px); max-width: 900px; text-shadow: 0 5px 22px rgba(0,0,0,.16); }
h1 em { font-weight: 500; color: #d9dfbd; }
h2 { font-size: clamp(40px, 5vw, 66px); color: var(--navy); }
h3 { margin: 0; }
.hero-text { max-width: 690px; margin: 28px 0 0; font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-photo-note { margin: 18px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.button { min-height: 52px; padding: 14px 23px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: var(--white); }
.hero .button-primary { background: var(--white); color: var(--navy); }
.button-ghost { border-color: rgba(255,255,255,.65); color: var(--white); backdrop-filter: blur(7px); background: rgba(255,255,255,.08); }
.button-light { background: var(--white); color: var(--navy); }
.button-full { width: 100%; border: 0; }
.scroll-cue { position: absolute; z-index: 3; right: max(20px, calc((100vw - var(--container))/2)); bottom: 45px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue i { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 13px; width: 7px; height: 7px; border-right: 1px solid white; border-bottom: 1px solid white; transform: translateX(-50%) rotate(45deg); }

.facts { background: var(--navy); color: var(--white); padding: 31px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts-grid div { display: flex; align-items: baseline; justify-content: center; gap: 9px; border-right: 1px solid rgba(255,255,255,.18); }
.facts-grid div:last-child { border-right: 0; }
.facts-grid strong { font-family: "Playfair Display", serif; font-size: 35px; font-weight: 500; }
.facts-grid span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }

.two-columns { display: grid; grid-template-columns: .92fr 1.08fr; gap: 86px; align-items: center; }
.section-copy h2 { max-width: 650px; }
.section-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 610px; }
.section-copy h2 + p { margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--navy); font-weight: 700; border-bottom: 1px solid rgba(11,53,82,.28); padding-bottom: 4px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.feature-image { margin: 0; position: relative; }
.feature-image img { width: 100%; height: 650px; object-fit: cover; object-position: center 53%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature-image figcaption { position: absolute; left: -32px; bottom: 28px; background: var(--cream); color: var(--navy); padding: 17px 24px; border-radius: 999px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }

.split-experiences { padding: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 770px; }
.experience-card { position: relative; min-height: 720px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.experience-image, .experience-shade { position: absolute; inset: 0; }
.experience-image { background-size: cover; background-position: center; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.experience-card:hover .experience-image { transform: scale(1.035); }
.stay-card .experience-image { background-image: url("gallery/05-sala-principal-real.webp"); }
.event-card .experience-image { background-image: url("gallery/02-casa-azul-lateral.webp"); }
.experience-shade { background: linear-gradient(180deg, rgba(5,25,37,.05), rgba(5,25,37,.82)); }
.experience-content { position: relative; z-index: 2; padding: 65px; max-width: 610px; }
.experience-content h2 { color: var(--white); font-size: clamp(42px, 4vw, 64px); }
.experience-content p:not(.eyebrow) { max-width: 510px; color: rgba(255,255,255,.86); font-size: 16px; margin: 22px 0 28px; }

.amenities { background: var(--cream); }
.section-heading { text-align: center; max-width: 790px; margin: 0 auto 62px; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.amenity { background: rgba(255,255,255,.65); border: 1px solid rgba(11,53,82,.08); border-radius: var(--radius-md); padding: 38px 32px; min-height: 240px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.amenity:hover { transform: translateY(-6px); background: var(--white); box-shadow: 0 18px 50px rgba(11,53,82,.10); }
.amenity-icon { width: 52px; height: 52px; border: 1px solid rgba(82,106,55,.32); border-radius: 50%; display: grid; place-items: center; color: var(--green); font-family: Georgia, serif; font-size: 25px; }
.amenity h3 { margin-top: 25px; font-size: 19px; color: var(--navy); }
.amenity p { color: var(--muted); margin-bottom: 0; font-size: 15px; }

.event-types { background: var(--paper); }
.event-types-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.event-list { border-top: 1px solid var(--line); }
.event-list div { display: grid; grid-template-columns: 65px 1fr; align-items: center; gap: 14px; min-height: 105px; border-bottom: 1px solid var(--line); }
.event-list span { color: var(--green-2); font-family: "Playfair Display", serif; font-size: 18px; }
.event-list strong { font-size: 20px; font-weight: 500; }

.gallery-section { padding-top: 78px; }
.gallery { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-auto-rows: 260px; gap: 14px; }
.gallery-item { position: relative; border: 0; padding: 0; background: var(--cream); border-radius: 16px; overflow: hidden; cursor: zoom-in; min-height: 260px; }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(2,19,29,.65)); pointer-events: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item span { position: absolute; z-index: 2; left: 18px; bottom: 15px; color: var(--white); font-weight: 700; font-size: 13px; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.gallery-hero { grid-row: span 2; }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-actions { text-align: center; margin-top: 34px; }

.location-section { padding-top: 10px; }
.location-card { border-radius: var(--radius-lg); padding: 68px; color: var(--white); background: linear-gradient(115deg, rgba(6,42,63,.96), rgba(55,85,52,.82)), url("gallery/15-escultura-correntes-gramado.webp") center 55%/cover; display: flex; align-items: end; justify-content: space-between; gap: 40px; box-shadow: var(--shadow); }
.location-card h2 { color: var(--white); max-width: 750px; }
.location-card p:not(.eyebrow) { color: rgba(255,255,255,.78); max-width: 730px; margin-bottom: 0; }
.location-card .button { flex: 0 0 auto; }

.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.direct-contacts { margin-top: 38px; display: grid; gap: 12px; }
.direct-contacts a { display: flex; flex-direction: column; padding: 18px 0; border-bottom: 1px solid rgba(11,53,82,.13); }
.direct-contacts span { text-transform: uppercase; font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.direct-contacts strong { margin-top: 5px; font-size: 16px; overflow-wrap: anywhere; }
.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: 0 20px 65px rgba(11,53,82,.1); }
.contact-form label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 17px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; border: 1px solid rgba(11,53,82,.16); border-radius: 12px; padding: 14px 15px; background: #fdfdfb; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,53,82,.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form small { display: block; text-align: center; color: var(--muted); margin-top: 12px; }

.site-footer { background: #08283d; color: var(--white); padding: 72px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr .65fr .65fr; gap: 70px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border-radius: 16px; padding: 10px 16px; margin-bottom: 22px; }
.footer-brand img { width: 85px; height: 58px; object-fit: contain; }
.footer-brand span { font-family: "Playfair Display", Georgia, serif; color: var(--navy); font-size: 28px; white-space: nowrap; line-height: 1; }
.footer-brand em { color: var(--green); font-size: .75em; font-style: normal; }
.footer-grid > div:first-child p { max-width: 430px; color: rgba(255,255,255,.65); }
.footer-grid h3 { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 22px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid > div:not(:first-child) a { color: rgba(255,255,255,.68); margin: 5px 0; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 52px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.5); font-size: 12px; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 800; background: #1d8056; color: white; min-height: 50px; padding: 10px 17px 10px 13px; border-radius: 999px; display: flex; align-items: center; gap: 10px; box-shadow: 0 12px 35px rgba(10,40,29,.27); font-size: 13px; }
.floating-whatsapp span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); }

.lightbox { width: min(94vw, 1150px); max-width: none; border: 0; padding: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(4,19,28,.92); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 12px; background: #071720; }
.lightbox button { position: absolute; z-index: 2; border: 0; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); cursor: pointer; display: grid; place-items: center; font-size: 30px; }
.lightbox-close { right: 0; top: -58px; }
.lightbox-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -60px; top: 50%; transform: translateY(-50%); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .header-inner { min-height: 88px; }
  .brand-icon { width: 96px; height: 66px; }
  .brand-name { font-size: 32px; }
  .main-nav { gap: 18px; font-size: 13px; }
}

@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .brand-icon { width: 88px; height: 60px; }
  .brand-name { font-size: 29px; }
  .main-nav { position: fixed; inset: 88px 16px auto 16px; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 22px; display: none; flex-direction: column; align-items: stretch; gap: 0; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; }
  .main-nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; background: var(--green); color: var(--white); }
  .menu-toggle { display: block; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { height: 760px; min-height: calc(100svh - 88px); }
  .hero-content { padding-bottom: 88px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .facts-grid div:nth-child(2) { border-right: 0; }
  .two-columns, .event-types-grid, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .feature-image img { height: 560px; }
  .feature-image figcaption { left: 18px; }
  .split-experiences { grid-template-columns: 1fr; }
  .experience-card { min-height: 650px; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .gallery-hero, .gallery-tall { grid-row: auto; }
  .gallery-wide { grid-column: span 2; }
  .location-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.5fr .7fr .7fr; gap: 35px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 76px; }
  .brand { gap: 8px; }
  .brand-icon { width: 72px; height: 52px; }
  .brand-name { font-size: 24px; }
  .main-nav { inset: 76px 12px auto 12px; }
  .hero { height: 740px; min-height: calc(100svh - 76px); }
  .hero-media { inset: 0; background-position: center 46%; }
  .hero::before { display: none; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,26,40,.87), rgba(4,26,40,.42)), linear-gradient(180deg, rgba(7,27,38,.08), rgba(7,27,38,.72)); }
  .hero-content { padding-bottom: 88px; }
  h1 { font-size: clamp(43px, 13.5vw, 62px); }
  h2 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .scroll-cue { display: none; }
  .facts-grid { gap: 10px; }
  .facts-grid div { flex-direction: column; align-items: center; gap: 0; }
  .facts-grid strong { font-size: 30px; }
  .facts-grid span { font-size: 9px; text-align: center; }
  .section { padding: 70px 0; }
  .feature-image img { height: 470px; }
  .feature-image figcaption { left: 14px; right: 14px; text-align: center; bottom: 14px; }
  .experience-card { min-height: 610px; }
  .experience-content { padding: 34px 24px 44px; }
  .amenities-grid { grid-template-columns: 1fr; }
  .amenity { min-height: auto; }
  .event-list div { grid-template-columns: 48px 1fr; min-height: 94px; }
  .event-list strong { font-size: 17px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .gallery-wide { grid-column: auto; }
  .location-card { padding: 42px 25px; }
  .contact-form { padding: 27px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-brand span { font-size: 23px; }
  .footer-brand img { width: 68px; height: 48px; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp strong { display: none; }
  .floating-whatsapp { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* multilingual:start */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(11, 53, 82, .14);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
}
.main-nav .language-switcher a {
  min-width: 31px;
  padding: 5px 7px;
  border-radius: 999px;
  text-align: center;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--muted);
}
.main-nav .language-switcher a::after { display: none; }
.main-nav .language-switcher a.active {
  background: var(--navy);
  color: var(--white);
}
@media (max-width: 1100px) {
  .main-nav { gap: 15px; }
  .main-nav .language-switcher a { padding: 5px 6px; }
}
@media (max-width: 900px) {
  .language-switcher {
    margin-top: 14px;
    align-self: flex-start;
  }
  .main-nav .language-switcher a { padding: 8px 10px; }
}
/* multilingual:end */
