/* WanderWiser Club — homepage. Copy comes from docs/texto-mestre.md. */

body { font-size: 17px; }

.page-shell {
  max-width: 1100px;
  margin: 0 auto;
  border-left: 1px solid var(--wwc-card);
  border-right: 1px solid var(--wwc-card);
  background: var(--wwc-bg);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  border-bottom: 1px solid var(--wwc-card);
}
.site-header__brand { display: flex; align-items: center; gap: 12px; }
.site-header__brand .wwc-monogram { width: 36px; height: 36px; font-size: 11px; border-width: 1.5px; }
.site-header__brand span { font-family: var(--wwc-font-serif); font-size: 18px; }
.site-header__nav a { color: var(--wwc-muted); font-size: 16px; }
.site-header__nav a:hover { color: var(--wwc-text); }

:root { --pad: 56px; }

.eyebrow--amber { color: var(--wwc-amber); }

h1, h2, blockquote, .question {
  font-family: var(--wwc-font-serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
.lead, .marks li { text-wrap: pretty; }

.hero {
  padding: 96px var(--pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--wwc-bg-deep);
  border-bottom: 1px solid var(--wwc-card);
}
.hero h1 { font-size: 72px; line-height: 1; }
.hero p { font-size: 20px; line-height: 1.5; color: var(--wwc-muted); max-width: 34em; margin: 0; }
.tagline {
  font-family: var(--wwc-font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--wwc-muted);
  padding-top: 20px;
  border-top: 1px solid var(--wwc-card-2);
  align-self: flex-start;
  white-space: nowrap;
}

.block {
  padding: 72px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-bottom: 1px solid var(--wwc-card);
}
.block--deep { background: var(--wwc-bg-deep); }
.block h2 { font-size: 44px; line-height: 1.1; max-width: 26ch; }
.lead { font-size: 19px; line-height: 1.55; color: var(--wwc-muted); max-width: 36em; margin: 0; }
.note { font-size: 17px; color: var(--wwc-text); margin: 0; }

.questions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.question {
  background: var(--wwc-card);
  border-left: 3px solid var(--wwc-amber);
  padding: 26px 28px;
  font-family: var(--wwc-font-serif);
  font-size: 26px;
  line-height: 1.25;
}

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.compare__col { display: flex; flex-direction: column; gap: 18px; }
.marks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.marks li { position: relative; padding-left: 32px; font-size: 19px; line-height: 1.45; }
.marks li::before { position: absolute; left: 0; top: 0; font-family: var(--wwc-font-mono); }
.marks--no li { color: var(--wwc-muted); }
.marks--no li::before { content: "✕"; color: var(--wwc-mist); }
.marks--yes li::before { content: "✓"; color: var(--wwc-amber); }

.btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: 8px;
  padding: 14px 26px;
  font-family: var(--wwc-font-sans);
  font-size: 16px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--wwc-amber); color: var(--wwc-bg-deep); }
.btn-primary:hover { background: var(--wwc-text); color: var(--wwc-bg-deep); }

.closing { padding: 96px var(--pad); background: var(--wwc-bg-deep); border-bottom: 1px solid var(--wwc-card); }
.closing blockquote { font-size: 40px; line-height: 1.2; max-width: 24ch; }
.amber { color: var(--wwc-amber); }

.site-footer {
  padding: 24px var(--pad);
  font-size: 13px;
  color: var(--wwc-muted);
}
.site-footer a { color: var(--wwc-muted); }
.site-footer a:hover { color: var(--wwc-text); }

/* Latest posts (homepage) — generated by engine/scripts/build_site.py */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 8px; }
.post-card { display: flex; flex-direction: column; gap: 10px; color: var(--wwc-text); }
.post-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border: 1px solid var(--wwc-card-2); }
.post-card__title { font-family: var(--wwc-font-serif); font-size: 22px; line-height: 1.2; text-wrap: balance; }
.post-card:hover { color: var(--wwc-amber); }

/* Post pages */
a.site-header__brand { color: var(--wwc-text); }
.post-head h1 { font-size: 52px; line-height: 1.05; }
.post-links { background: var(--wwc-bg-deep); }
.link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.link-btn {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 22px;
  background: var(--wwc-amber); color: var(--wwc-bg-deep);
}
.link-btn:hover { background: var(--wwc-text); color: var(--wwc-bg-deep); }
.link-btn__label { font-size: 18px; font-weight: 700; }
.link-btn__detail { font-size: 14px; }
.fineprint { font-size: 13px; color: var(--wwc-muted); margin: 4px 0 0; max-width: 40em; }
.post-body { gap: 28px; }
.post-slides { display: flex; flex-direction: column; gap: 14px; max-width: 540px; }
.post-slides img { width: 100%; display: block; border: 1px solid var(--wwc-card-2); }
.post-slides video { width: 100%; max-width: 380px; aspect-ratio: 9 / 16; display: block; background: var(--wwc-bg-deep); border: 1px solid var(--wwc-card-2); }
.post-caption { max-width: 36em; display: flex; flex-direction: column; gap: 14px; }
.post-caption p { margin: 0; font-size: 18px; line-height: 1.55; }
.text-link { font-size: 16px; }

@media (max-width: 720px) {
  :root { --pad: 24px; }
  .page-shell { border: 0; }
  .hero { padding: 64px var(--pad) 56px; }
  .hero h1 { font-size: 46px; }
  .tagline { white-space: normal; font-size: 12px; }
  .hero p { font-size: 18px; }
  .block { padding: 52px var(--pad); }
  .block h2 { font-size: 32px; }
  .lead { font-size: 17px; }
  .questions, .compare { grid-template-columns: 1fr; }
  .compare { gap: 40px; }
  .question { font-size: 22px; padding: 22px; }
  .marks li { font-size: 17px; }
  .closing { padding: 64px var(--pad); }
  .closing blockquote { font-size: 30px; }
  .post-head h1 { font-size: 36px; }
  .post-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .post-card__title { font-size: 18px; }
}

/* Deals page (/achados/) — mobile first: one tap from the card to booking. */
.deals-head h1 { font-size: 52px; line-height: 1.05; }
.deal-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.deal-filters button { font: inherit; font-size: 15px; padding: 10px 18px; border: 1px solid var(--wwc-card-2); background: transparent; color: var(--wwc-text); cursor: pointer; }
.deal-filters button[aria-pressed="true"] { background: var(--wwc-amber); border-color: var(--wwc-amber); color: var(--wwc-bg-deep); }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; padding: 40px var(--pad); border-bottom: 1px solid var(--wwc-card); }
.deal { display: flex; flex-direction: column; background: var(--wwc-card); }
.deal[hidden] { display: none; }
.deal__photo { position: relative; aspect-ratio: 16 / 10; background: var(--wwc-bg-deep); }
.deal__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal__credit { position: absolute; right: 6px; bottom: 4px; font-size: 10px; color: #fff; text-shadow: 0 0 3px #000; }
.deal__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.deal__route { font-family: var(--wwc-font-serif); font-size: 32px; line-height: 1.05; }
.deal__route span { display: block; font-size: 20px; color: var(--wwc-muted); }
.deal__price { font-family: var(--wwc-font-serif); font-size: 40px; color: var(--wwc-amber); }
.deal__was { display: block; font-family: var(--wwc-font-sans); font-size: 14px; color: var(--wwc-muted); margin-top: 4px; }
.deal__price small { font-family: var(--wwc-font-sans); font-size: 14px; color: var(--wwc-muted); margin-left: 10px; }
.deal__rows { margin: 0; display: grid; gap: 6px; font-size: 16px; }
.deal__rows div { display: flex; gap: 12px; }
.deal__rows dt { width: 70px; font-family: var(--wwc-font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wwc-amber); padding-top: 3px; }
.deal__rows dd { margin: 0; }
.deal__btn { display: block; margin-top: auto; padding: 16px; text-align: center; font-size: 18px; font-weight: 700; background: var(--wwc-amber); color: var(--wwc-bg-deep); }
.deal__btn:hover { background: var(--wwc-text); color: var(--wwc-bg-deep); }
.deal__fine { font-size: 12px; color: var(--wwc-muted); margin: 0; }
.hero-cta { font-size: 18px; font-weight: 700; }
@media (max-width: 720px) {
  .deals-head { padding: 28px 16px 20px; gap: 12px; }
  .deals-head h1 { font-size: 32px; }
  .deals-head .lead { font-size: 16px; }
  .deal__photo { aspect-ratio: 16 / 8; }
  .deal-grid { padding: 20px 16px; gap: 16px; grid-template-columns: 1fr; }
}

/* Deal slides as booking links: the flight's own Instagram slide, one tap to Aviasales.
   The slide's bottom bar ("Link direto na bio") is cropped off: here the image is the link. */
.deal--poster { background: transparent; gap: 8px; }
.deal__poster { display: flex; flex-direction: column; color: inherit; text-decoration: none; background: var(--wwc-card); }
.deal__poster img { width: 100%; aspect-ratio: 1080 / 1240; object-fit: cover; object-position: top; display: block; }
.deal__poster .deal__btn { margin: 0; }
.deal__poster:hover .deal__btn { background: var(--wwc-text); }
.home-deals { padding: 20px 0 28px; border-bottom: 1px solid var(--wwc-card); }
.home-deals__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 var(--pad) 12px; }
.home-deals__head a { color: var(--wwc-amber); font-size: 15px; white-space: nowrap; }
.home-deals__row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
.home-deals__row::-webkit-scrollbar { display: none; }
.deal--strip { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }
.post-slide { position: relative; display: block; }
.post-slide span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; text-align: center; font-size: 17px; font-weight: 700; background: var(--wwc-amber); color: var(--wwc-bg-deep); }
.tap-hint { margin: 0; color: var(--wwc-amber); font-size: 15px; }
@media (max-width: 720px) {
  .home-deals { padding: 14px 0 22px; }
  .home-deals__head { padding: 0 16px 10px; }
  .home-deals__row { padding: 0 16px; scroll-padding-inline: 16px; gap: 12px; }
}

/* "Onde ficar": Stay22 hotel link under each flight (destination + trip dates). */
.deal__hotel, .link-hotel { display: block; padding: 12px 14px; text-align: center; font-size: 16px; font-weight: 600; color: var(--wwc-text); border: 1px solid var(--wwc-card-2); text-decoration: none; }
.deal__hotel:hover, .link-hotel:hover { border-color: var(--wwc-amber); color: var(--wwc-amber); }
.link-hotel { text-align: left; margin: -4px 0 6px; font-size: 15px; }

/* Suggested hotels under a flight: Booking.com price (lowest of the sites compared), via Stay22. */
.hotels { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.hotels__h { font-size: 13px; color: var(--wwc-muted); }
.hotel { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1px solid var(--wwc-card-2); color: var(--wwc-text); text-decoration: none; font-size: 15px; }
.hotel b { font-size: 16px; }
.hotel span { color: var(--wwc-muted); }
.hotel .hotel__go { color: var(--wwc-amber); font-weight: 700; }
.hotel:hover { border-color: var(--wwc-amber); }
.hotels__fine { margin: 0; font-size: 12px; color: var(--wwc-muted); }
.hotel .hotel__total { color: var(--wwc-text); font-weight: 700; }

.site-footer small { font-size: 12px; }
.legal p { max-width: 40em; line-height: 1.6; }
