/* Vila das Araras · Maresias — mobile-first */
:root {
    --sand: #F7F1E8;
    --sand-2: #EFE5D6;
    --ink: #1F2A2E;
    --muted: #5E6A6E;
    --sea: #0F6E7A;        /* azul-petróleo do mar */
    --sea-dark: #0B5560;
    --arara: #C8442B;      /* vermelho-arara */
    --sun: #E9A93B;        /* amarelo-arara */
    --leaf: #3F7A55;
    --line: #E3D8C7;
    --white: #fff;
    --wa: #25D366;
    --wa-dark: #128C7E;
    --display: 'DM Serif Display', Georgia, serif;
    --body: 'Nunito Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --r: 16px;
    --shadow: 0 8px 26px rgba(31, 42, 46, .10);
    --hh: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 10px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--sea-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 8vw, 4rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.7rem); margin-bottom: 10px; }
h3 { font-size: clamp(1.25rem, 3.6vw, 1.45rem); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section--sand { background: var(--sand); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--arara); margin-bottom: 8px; }
.lead { color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--wa { background: var(--wa-dark); color: #fff; }
.btn--airbnb { background: #fff; color: #E0484D; border-color: #E0484D; }
.btn--light { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hh); transition: background .25s, box-shadow .25s; }
.header.solid { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); font-size: 1.35rem; white-space: nowrap; }
.header.solid .brand { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.nav { display: none; gap: 22px; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
.header.solid .nav a { color: var(--ink); }
.nav a:hover { color: var(--sun); }
.header-cta { padding: 8px 18px; min-height: 42px; font-size: .9rem; }
@media (min-width: 900px) { .nav { display: flex; } }

/* Hero */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; padding: calc(var(--hh) + 40px) 0 48px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,30,35,.45) 0%, rgba(10,30,35,.15) 35%, rgba(10,30,35,.75) 100%); }
.hero .eyebrow { color: var(--sun); }
.hero h1 { margin-bottom: 12px; max-width: 760px; }
.hero p.sub { font-size: 1.12rem; max-width: 560px; margin-bottom: 24px; opacity: .95; }
.rating-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; margin-bottom: 18px; color: #fff; text-decoration: none; }
.rating-pill .star { color: var(--sun); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: -36px; position: relative; z-index: 2; }
.fact { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; display: flex; gap: 12px; align-items: center; }
.fact svg { width: 26px; height: 26px; color: var(--sea); flex-shrink: 0; }
.fact strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.fact span { font-size: .85rem; color: var(--muted); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* About */
.about-grid { display: grid; gap: 28px; align-items: center; }
.about-grid p { color: var(--muted); margin-bottom: 12px; }
.about-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 28px; }
.gallery button { border: 0; padding: 0; background: var(--sand-2); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
@media (min-width: 760px) {
    .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
    .gallery button { aspect-ratio: auto; }
    .gallery button:first-child { grid-column: span 2; grid-row: span 2; }
}
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,15,18,.94); display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 8px; }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ddd; font-size: .9rem; }

/* Amenities */
.amen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; margin-top: 26px; }
.amen li { list-style: none; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.amen svg { width: 22px; height: 22px; color: var(--sea); flex-shrink: 0; }

/* Location */
.loc-grid { display: grid; gap: 24px; }
.map { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); min-height: 320px; background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.dist { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.dist li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.dist strong { color: var(--sea-dark); white-space: nowrap; }
.note { font-size: .88rem; color: var(--muted); }
@media (min-width: 900px) { .loc-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; } .map, .map iframe { min-height: 420px; } }

/* Things to do */
.todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 28px; }
.todo article { background: #fff; border-radius: var(--r); padding: 22px; border-top: 4px solid var(--sea); box-shadow: var(--shadow); }
.todo article:nth-child(3n+2) { border-top-color: var(--arara); }
.todo article:nth-child(3n) { border-top-color: var(--sun); }
.todo .tag { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.todo h3 { margin: 6px 0 8px; }
.todo p { color: var(--muted); font-size: .96rem; }

/* Reviews */
.score { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; margin: 26px 0; }
.score-big { text-align: center; }
.score-big strong { font-family: var(--display); font-size: 4rem; line-height: 1; display: block; }
.score-big .stars { color: var(--sun); font-size: 1.3rem; letter-spacing: 2px; }
.score-big span { color: var(--muted); font-size: .92rem; }
.subscores { display: grid; grid-template-columns: repeat(2, minmax(0, 150px)); gap: 8px 24px; }
.subscores div { display: flex; justify-content: space-between; font-size: .92rem; border-bottom: 1px solid var(--line); padding: 4px 0; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.review { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.review p { margin-bottom: 14px; }
.review footer { font-size: .88rem; color: var(--muted); font-weight: 700; }
.review footer span { font-weight: 400; }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }

/* CTA band */
.band { background: var(--sea-dark); color: #fff; text-align: center; padding: 56px 0; }
.band p { opacity: .9; margin: 6px auto 22px; max-width: 520px; }
.band .btn-row { justify-content: center; }

/* Footer */
.footer { background: var(--ink); color: #C9D2D4; padding: 36px 0 110px; font-size: .9rem; }
.footer a { color: #fff; }
.footer .container { display: grid; gap: 14px; }
@media (min-width: 760px) { .footer { padding-bottom: 36px; } .footer .container { grid-template-columns: 1fr auto; align-items: center; } }

/* WhatsApp float */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 900; display: inline-flex; align-items: center; gap: 10px; height: 58px; min-width: 58px; padding: 0 18px; border-radius: 999px; background: var(--wa); color: #073B2E; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(18,140,126,.4); }
.wa-float svg { width: 30px; height: 30px; flex-shrink: 0; }
@media (max-width: 420px) { .wa-float { padding: 0; width: 58px; justify-content: center; } .wa-float span { display: none; } }

/* Guest area */
.g-hero { background: var(--sea-dark); color: #fff; padding: 40px 0 34px; }
.g-hero p { opacity: .9; margin-top: 6px; }
.g-nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; }
.g-nav .container { display: flex; gap: 6px; padding-top: 8px; padding-bottom: 8px; white-space: nowrap; }
.g-nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; padding: 8px 12px; border-radius: 999px; background: var(--sand); }
.g-sec { padding: 36px 0; border-bottom: 1px solid var(--line); }
.g-sec h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.card { background: var(--sand); border-radius: var(--r); padding: 20px; margin-top: 14px; }
.card--alert { background: #FFF4E0; border-left: 5px solid var(--sun); }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.6rem; font-weight: 800; letter-spacing: .1em; background: #fff; border: 2px dashed var(--sea); border-radius: 12px; padding: 10px 16px; display: inline-block; margin: 8px 0; }
.steps { counter-reset: s; list-style: none; display: grid; gap: 12px; margin-top: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--sea); color: #fff; font-weight: 800; display: grid; place-items: center; }
.two { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; } }
.list-yes li, .list-no li, .list-bring li { list-style: none; padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid rgba(0,0,0,.06); }
.list-yes li::before { content: '✓'; position: absolute; left: 4px; color: var(--leaf); font-weight: 900; }
.list-no li::before { content: '✕'; position: absolute; left: 4px; color: var(--arara); font-weight: 900; }
.list-bring li::before { content: '•'; position: absolute; left: 8px; color: var(--sun); font-weight: 900; font-size: 1.3rem; line-height: 1.1; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 10px; }
.kv dt { font-weight: 800; }
.kv dd { word-break: break-word; }
.check li { list-style: none; padding: 8px 0 8px 34px; position: relative; }
.check li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 20px; height: 20px; border: 2px solid var(--sea); border-radius: 6px; }
.fill { background: #FFE9A8; padding: 0 4px; border-radius: 4px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.wa-float[hidden] { display: none; }
@media (max-width: 560px) {
    .fact { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; }
    .fact strong { font-size: 1rem; }
}

/* Instagram reels */
.reels { display: grid; gap: 20px; margin-top: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); justify-items: center; }
.reels .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 400px !important; }
.reel-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 400px; aspect-ratio: 9/16; max-height: 560px; border-radius: 16px; background: linear-gradient(160deg, var(--sea) 0%, var(--arara) 100%); color: #fff; text-decoration: none; font-weight: 800; }
