@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..600&family=Karla:ital,wght@0,300..800;1,300..700&display=swap');

/* ---------- tokens (sobrescritos pelo <style> :root de cada página) ---------- */
:root {
  --sea:   #14646E;
  --deep:  #0E3A41;
  --sand:  #F5EFE6;
  --wood:  #8C6A4A;
  --shell: #FFFDF9;
  --sand-2:#E7DCC9;
  --ink:   #27353A;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Karla', system-ui, sans-serif;
  background: var(--shell);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.shell { max-width: 72.5rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .shell { padding-inline: 2rem; } }

/* ---------- tipografia ---------- */
.h-hero, .h-sec, .h-page, .room-name, .brand-name {
  font-family: 'Lora', Georgia, serif;
  color: var(--deep);
  line-height: 1.15;
  text-wrap: balance;
}
.h-hero { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; }
.h-sec  { font-size: clamp(1.6rem, 3vw, 2.3rem);  font-weight: 600; }
.h-page { font-size: clamp(2rem, 4vw, 2.9rem);    font-weight: 600; }
.kicker {
  font-size: .78rem; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--wood);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn-sea { background: var(--sea); color: #fff; box-shadow: 0 8px 20px -8px rgba(20,100,110,.55); }
.btn-sea:hover { background: var(--deep); }
.btn-sand { background: var(--sand); color: var(--deep); box-shadow: 0 8px 20px -10px rgba(0,0,0,.35); }
.btn-sand:hover { background: #fff; }
.btn-ghost { border: 1.5px solid color-mix(in srgb, var(--sea) 45%, transparent); color: var(--sea); background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--sea) 8%, transparent); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--sand) 88%, transparent);
  backdrop-filter: blur(10px);
  transition: box-shadow .25s ease;
}
.site-head.scrolled { box-shadow: 0 6px 24px -12px rgba(14,58,65,.25); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.5rem; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand img { max-height: 3rem; }
.brand-top { font-size: .68rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--wood); }
.brand-name { font-size: 1.4rem; font-weight: 600; color: var(--sea); }
.head-nav { display: none; gap: 1.9rem; }
.head-nav a { font-weight: 700; font-size: .95rem; color: var(--ink); opacity: .78; transition: opacity .15s, color .15s; }
.head-nav a:hover, .head-nav a.on { opacity: 1; color: var(--sea); }
.head-right { display: flex; align-items: center; gap: .8rem; }
.head-right .btn { display: none; }
.burger { color: var(--deep); padding: .4rem; border-radius: .6rem; }
.burger:hover { background: color-mix(in srgb, var(--sea) 10%, transparent); }
@media (min-width: 1024px) {
  .head-nav { display: flex; }
  .head-right .btn { display: inline-flex; }
  .burger { display: none; }
}

/* menu mobile */
.mnav { position: fixed; inset: 0; z-index: 90; background: rgba(14,58,65,.45); backdrop-filter: blur(3px); }
.mnav-card {
  position: absolute; top: .8rem; left: .8rem; right: .8rem;
  background: var(--shell); border-radius: 1.4rem; padding: 1.4rem;
  box-shadow: 0 30px 60px -20px rgba(14,58,65,.5);
  animation: mnavIn .28s ease both;
}
@keyframes mnavIn { from { opacity: 0; transform: translateY(-14px); } }
.mnav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.mnav-links { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.mnav-links a {
  font-family: 'Lora', serif; font-size: 1.35rem; color: var(--deep);
  padding: .65rem 0; border-bottom: 1px solid var(--sand-2);
}
.mnav-links a.on { color: var(--sea); }
.mnav-addr { margin-top: 1rem; font-size: .85rem; opacity: .65; }

/* ---------- ondas divisórias ---------- */
.wave { line-height: 0; margin-top: 3.5rem; }
.wave svg { display: block; width: 100%; height: clamp(2rem, 5vw, 4rem); }
.wave-deep  svg path { fill: var(--deep); }
.wave-shell svg path { fill: var(--shell); }
.wave-sand  svg path { fill: var(--sand); }
.wave-flip svg { transform: scaleY(-1); }

/* ---------- hero ---------- */
.hero { background: var(--sand); padding-top: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero .wave { margin-top: clamp(3rem, 6vw, 5rem); }
.rating { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .92rem; color: var(--deep); }
.stars { display: inline-flex; gap: .15rem; color: var(--wood); }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; height: clamp(310px, 40vw, 460px); object-fit: cover;
  border-radius: 10rem 1.6rem 10rem 1.6rem;
  border: 8px solid var(--shell);
  box-shadow: 0 32px 60px -24px rgba(14,58,65,.45);
}
.hero-tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--shell); color: var(--deep);
  font-weight: 800; font-size: .85rem;
  padding: .55rem 1rem; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(14,58,65,.4);
}
.hero-tag svg { color: var(--sea); }

/* ---------- faixa de comodidades ---------- */
.amen-strip { background: var(--deep); color: var(--sand); padding-top: 2.6rem; }
.amen-strip .wave { margin-top: 2.6rem; }
.amen-title {
  text-align: center; font-size: .78rem; font-weight: 800;
  letter-spacing: .24em; text-transform: uppercase;
  color: color-mix(in srgb, var(--sand) 70%, transparent);
}
.amen-grid {
  margin-top: 1.8rem;
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .amen-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .amen-grid { grid-template-columns: repeat(6, 1fr); } }
.amen-grid li { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; font-weight: 700; font-size: .88rem; }
.amen-ico {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 999px; background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16); color: var(--sand);
}

/* ---------- páginas internas ---------- */
.page-hero { background: var(--sand); padding-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.page-hero .wave { margin-top: clamp(2.2rem, 4vw, 3.4rem); }
.page-hero .shell { max-width: 52rem; }

/* ---------- quartos ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.room-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--sand-2);
  border-radius: 1.3rem; padding: 1.6rem;
  box-shadow: 0 14px 34px -22px rgba(14,58,65,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.room-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -22px rgba(14,58,65,.4); }
.room-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.room-ico {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 1rem 1rem 1rem .3rem; background: var(--sand); color: var(--sea);
}
.room-price { text-align: right; display: flex; flex-direction: column; line-height: 1.1; }
.room-price strong { font-family: 'Lora', serif; font-size: 1.35rem; color: var(--sea); }
.room-price small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.room-name { font-size: 1.3rem; font-weight: 600; }
.room-text { margin-top: .5rem; line-height: 1.55; opacity: .8; font-size: .95rem; }
.room-amens { margin-top: 1rem; display: flex; flex-direction: column; gap: .45rem; }
.room-amens li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 700; color: var(--deep); }
.room-amens svg { color: var(--sea); flex: none; }
.room-cta {
  margin-top: auto; padding-top: 1.2rem;
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; font-size: .92rem; color: var(--sea);
}
.room-cta:hover { gap: .7rem; }
.room-cta svg { transition: transform .15s; }
.room-note { background: var(--sand); border-style: dashed; border-color: color-mix(in srgb, var(--wood) 45%, transparent); }
.room-note .room-ico { background: #fff; margin-bottom: 1rem; }

/* ---------- sobre ---------- */
.about-photo img {
  width: 100%; height: clamp(300px, 36vw, 440px); object-fit: cover;
  border-radius: 1.6rem 1.6rem 8rem 1.6rem;
  border: 8px solid var(--sand);
  box-shadow: 0 28px 54px -26px rgba(14,58,65,.4);
}
.perk-list { display: flex; flex-direction: column; gap: .8rem; }
.perk-list li { display: flex; align-items: center; gap: .8rem; font-weight: 700; color: var(--deep); }
.perk-ico {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none;
  border-radius: 999px; background: var(--sand); color: var(--sea);
}
.stats-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;
  border-top: 1px solid var(--sand-2); padding-top: 2.2rem;
}
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: inline-flex; align-items: center; gap: .35rem; font-family: 'Lora', serif; font-size: 2rem; color: var(--sea); }
.stat strong svg { color: var(--wood); }
.stat span { display: block; font-size: .9rem; opacity: .7; font-weight: 700; }

/* ---------- galeria ---------- */
.gal-grid { display: grid; gap: 1.2rem; }
@media (min-width: 768px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
.gal-item { position: relative; border-radius: 1.4rem; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(14,58,65,.4); }
.gal-item img { width: 100%; height: clamp(240px, 30vw, 360px); object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.04); }
.gal-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 2.2rem 1.3rem .95rem;
  background: linear-gradient(to top, rgba(14,58,65,.78), transparent);
  color: #fff; font-weight: 700; font-size: .92rem;
}

/* ---------- mapa / como chegar ---------- */
.map-sec { background: var(--sand); margin-top: 1rem; }
.map-sec .kicker { color: var(--sea); }
.addr-line { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--deep); }
.addr-line svg { color: var(--sea); flex: none; }
.map-frame { border-radius: 1.4rem; overflow: hidden; border: 6px solid #fff; box-shadow: 0 22px 48px -24px rgba(14,58,65,.4); }
.map-frame iframe { display: block; width: 100%; height: clamp(280px, 32vw, 400px); border: 0; }

/* ---------- faixa CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--sea), var(--deep));
  color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-band .h-sec { color: #fff; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; }

/* ---------- contato ---------- */
.c-list { display: flex; flex-direction: column; gap: .9rem; }
.c-list li { display: flex; align-items: center; gap: .8rem; font-weight: 700; color: var(--deep); }
.c-list svg { color: var(--sea); flex: none; }
.c-list a:hover { color: var(--sea); }
.c-social { display: flex; gap: .7rem; }
.c-social a {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 999px; background: var(--sand); color: var(--sea);
}
.c-social a:hover { background: var(--sea); color: #fff; }
.form-card {
  background: #fff; border: 1px solid var(--sand-2);
  border-radius: 1.5rem; padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 24px 50px -28px rgba(14,58,65,.35);
}
.f-label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); margin: 1rem 0 .35rem; }
.f-label:first-of-type { margin-top: 0; }
.f-input {
  width: 100%; background: var(--shell);
  border: 1.5px solid var(--sand-2); border-radius: .8rem;
  padding: .75rem .95rem; font-size: 1rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.f-input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sea) 18%, transparent); }
.ok {
  display: flex; align-items: center; gap: .6rem;
  background: color-mix(in srgb, var(--sea) 12%, #fff);
  color: var(--deep); border: 1px solid color-mix(in srgb, var(--sea) 35%, transparent);
  border-radius: .9rem; padding: .8rem 1rem; font-weight: 700; margin-bottom: 1.2rem;
}
.ok svg { color: var(--sea); }

/* ---------- rodapé ---------- */
.site-foot { background: var(--deep); color: var(--sand); }
.foot-in {
  display: grid; gap: 2.2rem; padding-block: 3.2rem 2.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .foot-in { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.brand-foot .brand-name { color: var(--sand); }
.brand-foot .brand-top { color: color-mix(in srgb, var(--sand) 60%, transparent); }
.foot-title { font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .9rem; opacity: .65; }
.foot-link { display: block; padding: .28rem 0; opacity: .8; font-weight: 700; }
.foot-link:hover { opacity: 1; color: #fff; }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 1.3rem; font-size: .88rem; opacity: .85;
}
.foot-base a { text-decoration: underline; text-underline-offset: 3px; }
.foot-base a:hover { color: #fff; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
