/* Base comum dos sites. As cores e fontes de cada site vêm das variáveis em :root (definidas no CSS do site). */
:root {
  --c1: #0069b4; --c1-dark: #004f87; --c2: #ffcc00; --c2-ink: #2a2200;
  --ink: #26303b; --muted: #637080; --bg: #fff; --bg-soft: #f3f6f9; --line: #e2e8ee;
  --radius: 14px; --header-h: 76px; --shadow: 0 10px 30px rgba(16, 40, 64, .12);
  --font-head: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); }
a { color: var(--c1); }
:focus-visible { outline: 3px solid var(--c2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--c2); color: #000; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 0; }

/* Botoes */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; border-radius: 999px; padding: .75rem 1.5rem; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; }
.btn-primary { background: var(--c1); color: #fff; }
.btn-primary:hover { background: var(--c1-dark); }
.btn-accent { background: var(--c2); color: var(--c2-ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .14); }
.btn-accent:hover { filter: brightness(1.07); }
.btn-outline { border-color: currentColor; color: var(--c1); background: transparent; }
.btn-outline:hover { background: var(--c1); border-color: var(--c1); color: #fff; }
.btn-light { background: #fff; color: var(--c1); }
.btn-lg { font-size: 1.1rem; padding: .95rem 2rem; }

/* Barra superior de informacoes */
.topbar { background: var(--c1); color: #fff; font-size: .9rem; }
.topbar ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .4rem 1.8rem; padding: .5rem 0; }
.topbar li { display: flex; align-items: center; gap: .5rem; }
.topbar svg { width: 18px; height: 18px; color: var(--c2); flex: none; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Cabecalho */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 2px 14px rgba(16, 40, 64, .1); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand img { height: 48px; width: auto; }
.menu ul { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.menu a { display: block; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); padding: .6rem .85rem; border-radius: 8px; transition: background .15s, color .15s; }
.menu a:hover, .menu a[aria-current="page"], .menu a.is-current { background: var(--bg-soft); color: var(--c1); }
.menu .nav-cta { margin-left: .5rem; padding: .6rem 1.2rem; text-transform: none; letter-spacing: 0; color: var(--c2-ink); }
.menu .nav-cta:hover { background: var(--c2); color: var(--c2-ink); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: var(--bg-soft); border-radius: 12px; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-btn span { width: 22px; height: 3px; background: var(--c1); border-radius: 3px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Secoes e titulos */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--c1); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c1); }
.sec-head { max-width: 780px; margin: 0 auto clamp(1.8rem, 4vw, 3rem); text-align: center; }
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.sec-title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--c2); margin: .8rem auto 0; }
.sec-head.left, .left { text-align: left; margin-inline: 0; }
.sec-head.left .sec-title::after, .left .sec-title::after { margin-left: 0; }
.sec-sub { margin-top: 1rem; color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--muted); }
.prose p + p { margin-top: 1rem; }
.prose h2, .prose h3 { margin: 2rem 0 .8rem; }

/* Pagina interna: titulo */
.page-hero { background: linear-gradient(120deg, var(--c1-dark), var(--c1)); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.crumbs { margin-top: .6rem; font-size: .92rem; opacity: .9; }
.crumbs a { color: #fff; }

/* Grades e cartoes */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: 0 2px 10px rgba(16, 40, 64, .05); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; gap: .8rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.card .more svg { width: 1.1em; height: 1.1em; transition: transform .15s; }
.card:hover .more svg { transform: translateX(4px); }
.ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c1) 12%, #fff); color: var(--c1); }
.ico svg { width: 28px; height: 28px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split.rev > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; padding: .35rem 0; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--c1); margin-top: .2rem; }

/* Galeria e ampliacao */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; margin-top: 1.4rem; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.05); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(8, 14, 22, .88); }
dialog.lightbox img { max-width: 96vw; max-height: 88vh; object-fit: contain; border-radius: 10px; margin: auto; }
dialog.lightbox .nav { position: fixed; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #111; font-size: 2.2rem; line-height: 1; padding: 0 0 .2rem; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
dialog.lightbox .nav:hover { background: #fff; }
dialog.lightbox .nav.prev { left: 1rem; }
dialog.lightbox .nav.next { right: 1rem; }
dialog.lightbox.single .nav { display: none; }
dialog.lightbox .count { position: fixed; left: 0; right: 0; bottom: 1rem; text-align: center; color: #fff; font-size: .95rem; margin: 0; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
@media (max-width: 600px) { dialog.lightbox .nav { width: 44px; height: 44px; font-size: 1.8rem; } dialog.lightbox .nav.prev { left: .4rem; } dialog.lightbox .nav.next { right: .4rem; } }
dialog.lightbox .close {position: fixed; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #000; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Logos de parceiros */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 2.4rem; }
.partners a { display: block; opacity: .85; transition: opacity .15s, transform .15s; }
.partners a:hover { opacity: 1; transform: translateY(-2px); }
.partners img { height: 56px; width: auto; max-width: 160px; object-fit: contain; }

/* Contato */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.info { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.info .ico { flex: none; }
.info h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.info a { text-decoration: none; font-weight: 700; word-break: break-word; }
.info address { font-style: normal; color: var(--muted); }
.cta-band { background: linear-gradient(120deg, var(--c1-dark), var(--c1)); color: #fff; text-align: center; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-band p { margin: .8rem auto 1.5rem; max-width: 56ch; opacity: .92; }

/* Perguntas frequentes (acordeao sem JavaScript) */
.faq-sec { background: var(--bg-soft); }
.faq-box { display: grid; gap: .8rem; }
.faq-box details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; }
.faq-box summary { cursor: pointer; padding: 1.05rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); color: var(--c1); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq-box details[open] summary::after { content: "–"; }
.faq-box details[open] { border-color: var(--c1); }
.faq-a { padding: 0 0 1.2rem; color: var(--muted); }
.faq-a p + p { margin-top: .7rem; }

/* Rodape e credito */
.site-footer { background: var(--c1-dark); color: rgba(255, 255, 255, .88); padding: 2rem 0; font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.site-footer a { color: #fff; }
.dev-band { background: #2a2b2e; color: rgba(255, 255, 255, .72); border-top: 1px solid rgba(255, 255, 255, .08); padding: .85rem 0; font-size: .85rem; }
.dev-in { display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap; }
.dev-in a { display: inline-flex; opacity: .92; transition: opacity .15s; }
.dev-in a:hover { opacity: 1; }
.dev-in img { height: 30px; width: auto; }

/* Botao flutuante */
.fab { position: fixed; right: 1rem; bottom: 1rem; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); z-index: 50; transition: transform .15s; }
.fab:hover { transform: scale(1.07); }
.fab svg { width: 32px; height: 32px; }

@media (max-width: 1020px) {
  .menu-btn { display: flex; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 16px 30px rgba(16, 40, 64, .18); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s ease, visibility .3s; }
  .menu.is-open { max-height: 82vh; visibility: visible; overflow-y: auto; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1rem 1.2rem; }
  .menu a { padding: .9rem 1rem; font-size: 1rem; }
  .menu .nav-cta { margin: .5rem 0 0; text-align: center; }
  .topbar ul { justify-content: center; }
}
@media (max-width: 800px) {
  :root { --header-h: 66px; }
  .brand img { height: 42px; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .foot-in { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }


/* Pousada Em-Cantto */
:root { --c1: #c42d79; --c1-dark: #6a1747; --c2: #f4b942; --c2-ink: #3a2300; --ink: #34202c; --muted: #6f5a66; --bg-soft: #fff4f9; --line: #f0dce7;
  --font-head: "Playfair Display", Georgia, serif; --font-body: "Nunito", system-ui, sans-serif; --radius: 18px; --shadow: 0 14px 34px rgba(106, 23, 71, .16); }
body { font-size: 1.08rem; }
h1, h2, h3 { font-weight: 700; }
.topbar { background: var(--c1-dark); }
@media (max-width: 700px) { .topbar li:nth-child(3) { display: none; } .topbar ul { justify-content: center; gap: .3rem 1.2rem; } }
.brand img { height: 62px; width: auto; }
.menu a { text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 1rem; }
.btn { border-radius: 999px; font-family: var(--font-body); font-weight: 800; }
.menu a, .faq-box summary { font-family: var(--font-body); }
.btn-accent:hover { filter: brightness(1.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem 1rem; justify-content: center; }
.eyebrow { color: var(--c1); }
.sec-title { color: var(--c1-dark); }
.sub-title { font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--c1-dark); margin: 0 0 1rem; }
.prose p + p { margin-top: 1rem; }
.lead-block { max-width: 820px; margin-bottom: 1.6rem; }

.hero { background: linear-gradient(135deg, #fff4f9 0%, #ffe3f0 100%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.2rem, 6vw, 4.5rem) 0; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; color: var(--c1-dark); margin: .5rem 0 1rem; }
.hero .lead { color: var(--ink); max-width: 52ch; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 1.2rem; }
.hero-feats { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--c1-dark); font-weight: 700; }
.hero-feats li { display: flex; align-items: center; gap: .4rem; }
.hero-feats svg { width: 20px; height: 20px; color: var(--c1); }
.hero-pic img { width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; border-radius: 260px 260px 28px 28px; box-shadow: var(--shadow); border: 8px solid #fff; }

.page-hero { background: linear-gradient(120deg, var(--c1-dark), var(--c1)); }
.page-hero h1 { font-weight: 700; }
.hero-sub { margin-top: .5rem; font-size: 1.15rem; opacity: .95; max-width: 60ch; }

.cards-pic .card.pic { padding: 0; overflow: hidden; text-decoration: none; color: inherit; gap: .5rem; }
.card.pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card.pic h3 { padding: .6rem 1.4rem 0; color: var(--c1-dark); font-size: 1.4rem; }
.card.pic p { padding: 0 1.4rem; }
.card.pic .more { padding: 0 1.4rem 1.5rem; color: var(--c1); }

.atr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.atr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(106, 23, 71, .06); }
.atr img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.atr div { padding: 1.2rem 1.4rem 1.5rem; }
.atr > a { display: block; color: inherit; text-decoration: none; height: 100%; }
.atr .more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .7rem; font-weight: 800; color: var(--c1); }
.atr .more svg { width: 1.05em; height: 1.05em; }
.atr:hover { box-shadow: var(--shadow); }
.atr h3 { font-size: 1.3rem; color: var(--c1-dark); margin-bottom: .4rem; }
.atr p { color: var(--muted); font-size: 1rem; }

.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem 1.4rem; margin: 1rem 0 1.4rem; font-weight: 700; color: var(--c1-dark); }
.feats li { display: flex; align-items: center; gap: .55rem; background: var(--bg-soft); border-radius: 12px; padding: .7rem 1rem; }
.feats svg { width: 22px; height: 22px; color: var(--c1); flex: none; }

.reviews .sec-head { margin-bottom: 2rem; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; max-width: 820px; margin-inline: auto; }
.rev { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center; box-shadow: 0 2px 10px rgba(106, 23, 71, .06); }
.rev h3 { font-size: 1.35rem; color: var(--c1-dark); }
.rev .nota { display: flex; justify-content: center; align-items: baseline; gap: .4rem; margin-top: .6rem; }
.rev .nota strong { font-family: var(--font-head); font-size: 3.4rem; line-height: 1; color: var(--c1); }
.rev .nota span { color: var(--muted); }
.rev .stars { color: #c98a0a; font-size: 1.6rem; letter-spacing: .2rem; line-height: 1.3; }
.rev .qtd { color: var(--muted); margin-bottom: 1.2rem; }
.rev-btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.rev-btns .btn { padding: .6rem 1.2rem; }
.rev-nota { margin-top: 1.4rem; text-align: center; color: var(--muted); font-size: .9rem; }

.info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info a { overflow-wrap: anywhere; }
@media (max-width: 700px) { .info-cards { grid-template-columns: 1fr; } }
.mapa { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.mapa iframe { display: block; width: 100%; height: 380px; border: 0; }
.cta-band { background: linear-gradient(120deg, var(--c1-dark), var(--c1)); }
.cta-band .btn-row { margin-top: 1rem; }

.site-footer { background: var(--c1-dark); }
.site-footer .foot-in { flex-direction: column; text-align: center; gap: .7rem; }
.foot-logo { height: 70px; width: auto; }
.foot-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #fff; }
.foot-addr { font-style: normal; opacity: .92; }
.foot-links a, .site-footer .social a { color: #fff; }
.social { display: flex; justify-content: center; align-items: center; }
.social { gap: .2rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .15s; }
.social a:hover { background: rgba(255, 255, 255, .14); }
.social svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-in { grid-template-columns: 1fr; }
  .hero-pic { order: -1; }
  .hero-pic img { max-width: 360px; aspect-ratio: 1 / 1; border-radius: 180px 180px 24px 24px; }
}
