/* Casa Bom Dia — the whole house. One file, five pages. */
:root {
  --bg: #fff; --ink: #12324a; --muted: #3f5567; --sand: #f5efe6; --line: #e3dcd1;
  --sun: #f2b232; --band: #12324a; --on: #fff; --soft: #d7e0e6; --orange: #b8462e;
  --vit: #f2b232; --oxy: #2a6a96; --ene: #2f7a4c;
  --sans: "DM Sans", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "DM Sans", sans-serif;
  --hand: "Caveat", cursive;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f2232; --ink: #f2ede4; --muted: #c2ccd3; --sand: #16304a; --line: #2a4560;
    --band: #0a1926; --soft: #c2ccd3; --orange: #f29a68;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 14ch; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
p { margin: 0.6rem 0 0; }
.wrap { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.hand { font-family: var(--hand); font-size: 1.9rem; line-height: 1; color: var(--orange); font-weight: 600; }
.hand.sun, .sun-text { color: var(--sun); }
.hand.big { font-size: 2.2rem; color: inherit; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.small { font-size: 0.9rem; }
.strong { font-weight: 700; }
.lead { max-width: 40rem; font-size: 1.125rem; color: var(--muted); }
header { border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; padding: 0.7rem 0; }
.logo { font-family: var(--hand); font-size: 2rem; line-height: 1; font-weight: 700; text-decoration: none; }
.site { display: none; gap: 1rem; }
.langs { margin-left: auto; display: flex; gap: 0.3rem; }
.langs a { min-width: 2.6rem; min-height: 2.2rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.75rem; font-weight: 700; }
.langs a[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.line { border: 2px solid var(--ink); }
.hide-sm { display: none; }
.hero { display: grid; gap: 2rem; align-items: center; padding: 3rem 0; }
.hero img, .wide, .band img { width: 100%; border-radius: 1.5rem; aspect-ratio: 4/3; object-fit: cover; }
.hero img { object-position: center 40%; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.band { background: var(--band); color: var(--on); padding: 3.5rem 0; }
.band h2 { color: var(--on); }
.split { display: grid; gap: 2rem; align-items: center; }
.week { font-size: 1.5rem; font-weight: 800; margin-top: 1.4rem; }
.sum { background: var(--bg); color: var(--ink); border-radius: 1.5rem; padding: 1.4rem; }
.sum ul { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.sum li { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-top: 1px solid var(--line); font-weight: 700; }
.sum li.total { font-size: 1.15rem; }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dot { width: 0.9rem; height: 0.9rem; border-radius: 50%; display: inline-block; margin-right: 0.5rem; }
.d0 { background: var(--vit); } .d1 { background: var(--oxy); } .d2 { background: var(--ene); }
.block { padding: 3.5rem 0; }
.block.tight { padding-top: 0; }
.grid3, .grid2, .rooms { display: grid; gap: 1rem; margin-top: 1.4rem; }
.card { background: var(--sand); border-radius: 1.5rem; padding: 1.4rem; }
.card.plain { background: var(--bg); }
.tone-0 { border-top: 4px solid var(--vit); }
.tone-1 { border-top: 4px solid var(--oxy); }
.tone-2 { border-top: 4px solid var(--ene); }
.card p, .room p { color: var(--muted); }
.wide { margin-top: 1.4rem; aspect-ratio: 16/9; object-position: center 55%; }
.room { overflow: hidden; border-radius: 1.5rem; background: var(--sand); }
.room img { height: 13rem; width: 100%; object-fit: cover; }
.room div { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.2rem; }
.sketch-wrap { display: grid; gap: 1.4rem; margin-top: 2rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1.5rem; }
.sketch { display: grid; grid-template-columns: 1.4fr 0.8fr; margin-top: 1rem; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.sk-roof, .sk-oxy, .sk-vit, .sk-ene { padding: 1rem; }
.sk-roof { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.sk-oxy { background: var(--oxy); color: #fff; border-bottom: 1px solid var(--line); }
.sk-vit { background: var(--vit); color: var(--ink); border-right: 1px solid var(--line); }
.sk-ene { background: var(--ene); color: #fff; }
.sand { background: var(--sand); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { border-top: 2px solid var(--sun); padding: 0.7rem 0; }
.ticks.plain li { border-top: 1px solid var(--line); color: var(--muted); }
.day { list-style: none; padding: 0; margin: 1rem 0 0; }
.day li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.6rem; margin-top: 0.8rem; }
.day span { font-family: var(--display); font-weight: 800; color: var(--sun); }
.sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.sliders label, .check { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 700; font-size: 0.9rem; }
.sliders strong { font-family: var(--display); font-size: 2rem; }
.check { flex-direction: row; align-items: flex-start; margin-top: 1rem; font-weight: 400; }
.check span { display: flex; flex-direction: column; }
.stay .big { font-family: var(--display); font-size: 2.6rem; font-weight: 800; margin: 0.2rem 0; }
.tax { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 0.8rem; }
.stay .btn { margin-top: 1rem; }
.know { list-style: none; padding: 0; margin: 0; }
.know li { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
.faq { margin-top: 1rem; border: 1px solid var(--line); border-radius: 1.5rem; }
.faq details { padding: 0.9rem 1.2rem; border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { font-family: var(--display); font-weight: 800; font-size: 1.1rem; cursor: pointer; }
.faq p { color: var(--muted); }
.yellow { background: var(--sun); color: var(--ink); padding: 2.5rem 0; }
.bronk { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.bronk img { width: 10rem; height: 10rem; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 4px solid var(--bg); }
footer { background: var(--band); color: var(--on); padding: 3rem 0; }
.foot { display: grid; gap: 1.6rem; }
.foot a { color: var(--on); }
.rooms-mini { display: flex; gap: 0.4rem; }
.rooms-mini span { flex: 1; min-height: 4rem; display: flex; align-items: center; justify-content: center; border-radius: 0.8rem; font-family: var(--display); font-weight: 800; font-size: 0.85rem; }
.rooms-mini span:nth-child(1) { background: var(--vit); color: var(--ink); }
.rooms-mini span:nth-child(2) { background: var(--oxy); }
.rooms-mini span:nth-child(3) { background: var(--ene); }
@media (min-width: 900px) {
  .site { display: flex; flex: 1; justify-content: center; }
  .hide-sm { display: inline-flex; }
  .hero, .split, .sketch-wrap, .foot { grid-template-columns: 1.05fr 0.95fr; }
  .grid3, .rooms { grid-template-columns: repeat(3, 1fr); }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .wide { aspect-ratio: 16/9; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:focus-visible { outline: 3px solid #e06a2c; outline-offset: 3px; }

/* Subtle tactile polish & motion (respects prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .btn, .card, .fact, .f-pill, .wh-pill, .sw-slice, .room, .stop-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
  .card:hover, .f-pill:hover, .wh-pill:hover, .sw-slice:hover, .room:hover, .stop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(18, 50, 74, 0.08);
  }
}
