/* 145 Graus · rascunho da página inicial
   Mobile first. Tokens seguem a lógica do shadcn/ui (CSS variables). */

@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url("assets/fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url("assets/fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url("assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }

:root {
  --background: #FFF8F2;
  --foreground: #1F1F1F;
  --card: #FFFFFF;
  --muted: #F3EEE9;
  --muted-foreground: #4A423B;
  --subtle-foreground: #6B5F55;
  --border: #EADFD5;
  --input: #E4D7CB;
  --primary: #C2410C;          /* botões e links (contraste AA com branco) */
  --primary-hover: #9A3412;
  --primary-foreground: #FFFFFF;
  --brand: #F15B26;            /* laranja do logótipo */
  --brand-soft: #FBEDE4;
  --brand-light: #FFB48C;
  --dark: #1F1F1F;
  --dark-2: #2B2826;
  --dark-3: #3A3633;
  --radius: 12px;

  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-support: "Nunito Sans", system-ui, sans-serif;

  --gutter: 16px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Draft banner ---------- */
.draft-bar {
  background: var(--dark); color: #F3EEE9; font-size: 12px; font-weight: 600;
  text-align: center; padding: 6px var(--gutter); letter-spacing: 0.02em;
}

/* ---------- Buttons (shadcn: Button) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-foreground); }
.btn-outline { background: var(--card); color: var(--foreground); border-color: var(--input); font-weight: 600; }
.btn-outline:hover { background: #F7EADF; color: var(--foreground); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); font-weight: 600; }
.btn-glass:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-sm { height: 44px; padding: 0 18px; border-radius: 10px; }

.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--foreground);
  cursor: pointer; padding: 0; transition: background-color .15s, opacity .15s;
}
.icon-btn:hover { background: #F7EADF; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.round { border-radius: 999px; border-color: var(--input); box-shadow: 0 1px 2px rgba(31,31,31,.05); }
.icon-btn.round svg { width: 18px; height: 18px; }
.icon-btn:disabled { opacity: .45; cursor: default; background: var(--card); }

/* ---------- Badge (shadcn: Badge) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap;
}
.badge svg { width: 14px; height: 14px; }
.badge-brand { background: var(--brand-soft); color: var(--primary-hover); }
.badge-outline { border: 1px solid var(--input); color: var(--muted-foreground); }
.badge-dark { background: var(--dark); color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0; }
.h2 { font-family: var(--font-serif); font-weight: 700; font-size: 30px; line-height: 1.15; margin: 0; }
.support { font-family: var(--font-support); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,248,242,.92); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 34px; width: auto; }
.nav-desktop { display: none; }

/* ---------- Mobile menu (shadcn: Sheet) ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.sheet.is-open { visibility: visible; }
.sheet-overlay { position: absolute; inset: 0; background: rgba(31,31,31,.5); opacity: 0; transition: opacity .25s; }
.sheet.is-open .sheet-overlay { opacity: 1; }
.sheet-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: var(--background); display: flex; flex-direction: column; gap: 8px;
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  box-shadow: -8px 0 24px rgba(0,0,0,.15);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.sheet.is-open .sheet-panel { transform: none; }
.sheet-head { height: 52px; display: flex; align-items: center; justify-content: space-between; }
.sheet-head img { height: 30px; width: auto; }
.sheet-link {
  min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--border);
  color: var(--foreground); font-weight: 600; font-size: 18px; text-decoration: none;
}
.sheet-link:hover { color: var(--primary); }
.sheet-spacer { flex: 1; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 760px; overflow: hidden; background: #2B2724; color: #fff; }
section[id], footer[id] { scroll-margin-top: 72px; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: center top; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,18,14,0) 0%, rgba(24,18,14,0) 38%, rgba(24,18,14,.62) 56%, rgba(24,18,14,.85) 100%);
}
.hero-content {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
  padding: 0 var(--gutter) 32px;
}
.hero .eyebrow { color: var(--brand-light); }
.hero h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(34px, 9.5vw, 68px); line-height: 1.08; margin: 0; }
.hero p { margin: 0; font-size: 15px; line-height: 1.6; color: #F3EEE9; max-width: 520px; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 4px; }
.hero-actions .btn { padding: 0 12px; }
.hero-social { display: none; }

/* ---------- Sections ---------- */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head > div:first-child { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Carousel (shadcn: Carousel) ---------- */
.roteiros { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.carousel-controls { display: flex; gap: 8px; flex-shrink: 0; }
.carousel { position: relative; }
.carousel-viewport {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 2px var(--gutter) 6px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; }

.trip-card {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(31,31,31,.06);
}
.trip-card img { width: 100%; aspect-ratio: 300 / 340; object-fit: cover; object-position: 50% 44%; }
.trip-card img.pos-portrait { object-position: 50% 36%; }
.trip-body { display: flex; flex-direction: column; gap: 12px; padding: 16px; flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.trip-card h3 { font-family: var(--font-serif); font-size: 22px; line-height: 1.2; margin: 0; }
.trip-card p { margin: 0; font-family: var(--font-support); font-size: 15px; line-height: 1.55; color: var(--muted-foreground); }
.trip-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #F0E6DD; }
.price { display: flex; flex-direction: column; }
.price small { font-family: var(--font-support); font-size: 12px; color: var(--subtle-foreground); }
.price strong { font-size: 19px; }

.dots { display: flex; justify-content: center; gap: 2px; margin-top: 16px; }
.dot { width: 28px; height: 28px; border: 0; background: transparent; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dot span { display: block; height: 8px; width: 8px; border-radius: 999px; background: #D9C8B9; transition: width .2s, background-color .2s; }
.dot[aria-current="true"] span { width: 22px; background: var(--primary); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--brand); color: var(--foreground); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; font-family: var(--font-support); font-size: 15px; line-height: 1.5; color: var(--muted-foreground); }

/* ---------- About ---------- */
.about { background: var(--brand-soft); }
.about .container { display: flex; flex-direction: column; gap: 20px; }
.about img { width: 100%; height: 300px; object-fit: cover; object-position: 55% 50%; border-radius: 20px; }
.about .eyebrow { color: var(--primary-hover); }
.about-text { display: flex; flex-direction: column; gap: 12px; }
.about p { margin: 0; font-size: 16px; line-height: 1.6; color: #3F3832; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--primary-hover); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #F3EEE9; padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-grid { display: flex; flex-direction: column; gap: 24px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin: 16px 0 0; font-family: var(--font-support); font-size: 15px; line-height: 1.55; color: #CFC6BE; }
.socials { display: flex; gap: 10px; }
.social { width: 44px; height: 44px; border-radius: 10px; background: var(--dark-2); color: #F3EEE9; display: flex; align-items: center; justify-content: center; }
.social:hover { background: var(--dark-3); color: #fff; }
.social svg { width: 20px; height: 20px; }
.whatsapp { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #F3EEE9; font-weight: 600; font-size: 15px; text-decoration: none; }
.whatsapp:hover { color: #fff; }
.whatsapp svg { width: 20px; height: 20px; }
.footer-title { font-weight: 700; color: #fff; font-size: 15px; margin: 0 0 8px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; font-size: 14px; }
.footer-links a { color: #CFC6BE; text-decoration: none; min-height: 36px; display: flex; align-items: center; }
.footer-links a:hover { color: #fff; }
.footer-col-desktop { display: none; }
.footer-social { display: flex; flex-direction: column; gap: 14px; }
.footer-social .footer-title { margin: 0; }
.copyright { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--dark-3); font-family: var(--font-support); font-size: 13px; color: #A39990; }

/* ---------- Toast (shadcn: Sonner) ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  width: min(360px, calc(100vw - 32px));
  background: var(--card); color: var(--foreground); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(31,31,31,.18); padding: 14px 16px; font-size: 14px; line-height: 1.45;
  transition: opacity .2s, transform .25s;
}
.toast strong { display: block; margin-bottom: 2px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Desktop (md: 768px+, lg: 1024px+)
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .site-header .container { height: 80px; }
  .logo img { height: 40px; }
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 32px; }
  .nav-desktop a:not(.btn) { color: var(--foreground); font-weight: 600; font-size: 15px; text-decoration: none; }
  .nav-desktop a:not(.btn):hover { color: var(--primary); }

  .hero { height: 760px; min-height: 0; }
  .hero-img { object-position: right center; }
  .hero-shade { background: linear-gradient(90deg, rgba(24,18,14,.70) 0%, rgba(24,18,14,.55) 38%, rgba(24,18,14,.15) 56%, rgba(24,18,14,0) 64%); }
  .hero-content { justify-content: center; gap: 24px; padding-bottom: 0; max-width: 640px; margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-left: 0; padding-right: 0; }
  .hero p { font-size: 19px; }
  .hero-actions { display: flex; gap: 12px; }
  .hero-actions .btn { height: 52px; padding: 0 28px; font-size: 16px; }
  .hero-social { display: inline-flex; align-items: center; gap: 8px; padding-top: 8px; font-size: 14px; font-weight: 600; color: #F3EEE9; text-decoration: none; }
  .hero-social:hover { color: #fff; }
  .hero-social svg { width: 16px; height: 16px; fill: var(--brand-light); }

  .section { padding: 96px 0; }
  .eyebrow { font-size: 13px; letter-spacing: .16em; }
  .h2 { font-size: 44px; line-height: 1.1; }
  .section-head { margin-bottom: 40px; }

  .carousel-viewport { gap: 24px; padding: 2px 0 6px; scroll-padding: 0; }
  .carousel-wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
  .carousel-item { flex: 0 0 calc(50% - 12px); max-width: none; }
  .trip-card img { aspect-ratio: 588 / 400; }
  .trip-body { padding: 24px; gap: 14px; }
  .trip-card h3 { font-size: 28px; }
  .trip-card p { font-size: 16px; }
  .price strong { font-size: 22px; }

  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
  .step { flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
  .step-num { width: 44px; height: 44px; font-size: 17px; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 16px; }

  .about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .about img { height: 480px; border-radius: 28px; }
  .about-text { display: flex; flex-direction: column; gap: 20px; }
  .about p { font-size: 18px; line-height: 1.65; }

  .site-footer { padding-top: 64px; }
  .footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
  .footer-links.mobile-only { display: none; }
  .footer-col-desktop { display: flex; flex-direction: column; gap: 12px; }
  .footer-col-desktop a { color: #CFC6BE; text-decoration: none; font-size: 15px; }
  .footer-col-desktop a:hover { color: #fff; }
  .footer-social { display: flex; flex-direction: column; gap: 14px; }
}

.carousel-side { display: none; }
@media (min-width: 1100px) {
  /* setas fora do carrossel, como no shadcn (-left-12 / -right-12) */
  .roteiros .carousel-controls { display: none; }
  .carousel-side { display: inline-flex; position: absolute; top: 180px; z-index: 2; width: 40px; height: 40px; }
  .carousel-side.prev { left: -56px; }
  .carousel-side.next { right: -56px; }
}

@media (prefers-reduced-motion: reduce) {
  html, .carousel-viewport { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
