/* Bora de Roteiro — design system
   Identity from brief. Type: Libre Bodoni + Public Sans. */

@import url("https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600&family=Public+Sans:wght@400;500;600;700&display=swap");

:root {
  /* Color */
  --cream: #f7f2ea;
  --sand: #e5d5c1;
  --terracotta: #a6533d;
  --terracotta-dark: #8a4331;
  --coffee: #392b25;
  --ink: #392b25;
  --muted: #5c4a42;
  --olive: #62684a;
  --olive-dark: #4f543c;
  --surface: #fffdf8;
  --on-primary: #fff8f2;
  --border: rgba(57, 43, 37, 0.14);
  --border-strong: rgba(57, 43, 37, 0.22);
  --danger: #9b3a2e;
  --focus: rgba(98, 104, 74, 0.35);

  /* Type */
  --font-display: "Libre Bodoni", "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.25rem, 2vw, 1.45rem);
  --text-2xl: clamp(1.55rem, 2.8vw, 1.9rem);
  --text-3xl: clamp(1.85rem, 3.6vw, 2.45rem);
  --text-4xl: clamp(2rem, 4.5vw, 3.15rem);

  /* Space (4pt scale) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(3rem, 6vw, 5.5rem);
  --gutter: clamp(1rem, 3vw, 1.5rem);

  /* Shape */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 24px -16px rgba(57, 43, 37, 0.28);

  /* Layout chrome */
  --nav-h: 64px;
  --bottom-bar-h: 72px;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Z scale */
  --z-base: 1;
  --z-sticky: 40;
  --z-nav: 50;
  --z-drawer: 55;
  --z-overlay: 60;
  --z-modal: 70;
  --z-toast: 80;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: var(--z-toast);
  padding: var(--s-3) var(--s-4);
  background: var(--coffee);
  color: var(--on-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
}

.skip-link:focus {
  top: var(--s-3);
}

/* ---------- Type ---------- */
h1,
h2,
h3,
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-4xl);
  line-height: 1.12;
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  margin: 0 0 var(--s-4);
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  max-width: 38ch;
  color: var(--muted);
}

ul,
ol {
  color: var(--muted);
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - (var(--gutter) * 2), 720px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section {
  padding: var(--section-y) 0;
}

.section--sand {
  background: var(--sand);
}

.section--tight {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
}

.section-head {
  margin-bottom: var(--s-6);
  max-width: 36rem;
}

.section-head p {
  margin-bottom: 0;
}

.page-hero {
  padding: var(--s-6) 0 var(--s-5);
}

.page-hero h1 {
  max-width: 16ch;
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--s-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-dark);
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(166, 83, 61, 0.12);
  color: var(--terracotta-dark);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.notice {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: var(--s-3) var(--s-4);
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.notice--warn {
  background: rgba(166, 83, 61, 0.1);
  border-color: rgba(166, 83, 61, 0.28);
}

.notice--sticky {
  position: sticky;
  top: var(--nav-h);
  z-index: var(--z-sticky);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-5);
}

.split-2 {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 768px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(247, 242, 234, 0.94);
  border-bottom: 1px solid var(--border);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    backdrop-filter: blur(12px);
  }
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: var(--nav-h);
  gap: var(--s-3);
}

@media (min-width: 1024px) {
  .nav {
    grid-template-columns: auto 1fr auto;
    gap: var(--s-5);
  }
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-width: 0;
}

.logo-mark {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--terracotta);
  color: var(--on-primary);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

@media (min-width: 480px) {
  .brand__name {
    max-width: none;
  }
}

.brand__edit {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--olive);
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop > a,
.more-menu > button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.nav-desktop > a:hover,
.more-menu > button:hover {
  background: rgba(57, 43, 37, 0.06);
}

.nav-desktop > a[aria-current="page"] {
  color: var(--terracotta-dark);
  font-weight: 600;
}

.nav-desktop > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.more-menu {
  position: relative;
}

.more-menu__panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 200px;
  padding: var(--s-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  z-index: var(--z-overlay);
}

.more-menu.open .more-menu__panel {
  display: grid;
  gap: 2px;
}

.more-menu__panel a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.more-menu__panel a:hover,
.more-menu__panel a[aria-current="page"] {
  background: rgba(229, 213, 193, 0.65);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
    transform 0.15s var(--ease-out);
}

.icon-btn:hover {
  background: rgba(57, 43, 37, 0.06);
}

.icon-btn:active {
  transform: scale(0.97);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: inline-flex;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: var(--z-drawer);
  background: var(--cream);
  padding: var(--s-4) var(--gutter) var(--s-8);
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

.mobile-drawer.open {
  display: block;
}

.mobile-search {
  margin-bottom: var(--s-5);
}

.mobile-drawer nav {
  display: grid;
  gap: 2px;
}

.mobile-drawer nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 500;
}

.mobile-drawer nav a:hover,
.mobile-drawer nav a[aria-current="page"] {
  background: var(--sand);
}

.mobile-drawer__label {
  margin: var(--s-4) 0 var(--s-2);
  padding-inline: 0.85rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-dark);
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}

.btn:active:not(:disabled):not([aria-disabled="true"]) {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--terracotta);
  color: var(--on-primary);
  border-color: var(--terracotta);
}

.btn--primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: rgba(57, 43, 37, 0.05);
  border-color: var(--coffee);
}

.btn--ghost {
  background: transparent;
  color: var(--olive-dark);
  border-color: transparent;
  min-height: 40px;
  padding-inline: 0.65rem;
  font-weight: 500;
}

.btn--ghost:hover {
  background: rgba(57, 43, 37, 0.06);
  color: var(--ink);
}

.btn--primary:disabled,
.btn--primary[aria-disabled="true"],
.btn:disabled,
.btn[aria-disabled="true"] {
  background: #c9b0a6;
  border-color: #c9b0a6;
  color: #f7f2ea;
  cursor: not-allowed;
  transform: none;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* ---------- Forms ---------- */
.field {
  display: grid;
  gap: var(--s-2);
}

.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.field .hint,
.field .error {
  font-size: 0.8rem;
  line-height: 1.4;
}

.field .hint {
  color: var(--muted);
}

.field .error {
  color: var(--danger);
  display: none;
}

.field.has-error .error {
  display: block;
}

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: var(--danger);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: #7a655c;
  opacity: 1;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px var(--focus);
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-2);
  padding: 0.3rem 0.3rem 0.3rem 0.85rem;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
}

.search-bar .input {
  border: 0;
  box-shadow: none;
  background: transparent;
  min-height: 42px;
  padding-inline: 0;
}

.search-bar .input:focus {
  box-shadow: none;
}

.search-bar .btn {
  min-height: 42px;
  padding-inline: 1.15rem;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-5) 0 var(--s-7);
}

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: var(--s-3);
  bottom: var(--s-3);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-4);
}

.hero__copy h1 {
  max-width: 13ch;
  margin-bottom: 0;
}

.hero__copy .lead {
  margin-bottom: 0;
}

.hero__copy .search-bar {
  margin-top: var(--s-2);
  max-width: 34rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--s-7);
    align-items: center;
    min-height: calc(100dvh - var(--nav-h) - 2rem);
    padding-top: var(--s-5);
    padding-bottom: var(--s-7);
  }

  .hero__media {
    aspect-ratio: 5 / 6;
    max-height: 640px;
    order: 2;
  }

  .hero__copy {
    order: 1;
    padding-right: var(--s-4);
  }
}

/* ---------- Product cards ---------- */
.card-grid {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 720px) {
  .card-grid--2,
  .card-grid--destinos {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: var(--s-4) var(--s-4) var(--s-5);
  display: grid;
  gap: var(--s-3);
  flex: 1;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(98, 104, 74, 0.14);
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

.tag--sand {
  background: rgba(57, 43, 37, 0.07);
  color: var(--ink);
}

.product-card__price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-2);
}

.price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.3rem;
}

.revised {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}

.story-meta {
  font-size: var(--text-sm);
  color: var(--olive-dark);
  font-weight: 600;
  margin: 0 0 var(--s-2);
}

/* ---------- Plan modes ---------- */
.plan-modes {
  display: grid;
  gap: var(--s-4);
}

@media (min-width: 800px) {
  .plan-modes {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
  }

  .plan-modes .mode:nth-child(1) {
    grid-row: span 2;
  }
}

.mode {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.mode--featured {
  background: linear-gradient(165deg, #fbf7f1 0%, #efe4d5 100%);
}

.mode__price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
}

.mode ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: var(--text-sm);
}

.mode li + li {
  margin-top: 0.35rem;
}

.mode .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Stories / creator ---------- */
.story-list {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 800px) {
  .story-list {
    grid-template-columns: 1.3fr 1fr;
  }
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.story-card__media {
  aspect-ratio: 16 / 10;
  background: var(--sand);
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__body {
  padding: var(--s-5);
  display: grid;
  gap: var(--s-3);
  flex: 1;
}

.story-card__body p {
  margin: 0;
}

.creator {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 800px) {
  .creator {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--s-7);
  }
}

.creator__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand);
}

.creator__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator__photo .demo-pill {
  position: absolute;
  left: var(--s-3);
  bottom: var(--s-3);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: var(--s-3);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--s-4);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--olive);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: var(--s-3) 0 0;
  font-size: var(--text-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--coffee);
  color: #f0e6db;
  padding: var(--s-8) 0 calc(var(--s-8) + 1rem);
}

.site-footer a {
  color: #f0e6db;
  opacity: 0.85;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-grid {
  display: grid;
  gap: var(--s-6);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--s-7);
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: var(--s-3);
  color: #f7f2ea;
}

.site-footer p {
  color: #d9c9b8;
}

.footer-cols h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--s-4);
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}

.footer-note {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(245, 236, 226, 0.14);
  font-size: var(--text-sm);
  color: #c4b3a2;
}

body.has-bottom-bar .site-footer {
  padding-bottom: calc(var(--s-8) + var(--bottom-bar-h));
}

/* ---------- WhatsApp / buy bar ---------- */
.wa-float {
  position: fixed;
  right: var(--s-4);
  bottom: var(--s-4);
  z-index: var(--z-sticky);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--olive);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}

.wa-float:hover {
  background: var(--olive-dark);
}

.wa-float:active {
  transform: scale(0.97);
}

.wa-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body.has-bottom-bar .wa-float {
  bottom: calc(var(--bottom-bar-h) + var(--s-4));
}

body.has-bottom-bar {
  padding-bottom: calc(var(--bottom-bar-h) + var(--s-4));
}

.buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 253, 248, 0.96);
  border-top: 1px solid var(--border);
  padding: var(--s-3) var(--gutter);
  padding-bottom: max(var(--s-3), env(safe-area-inset-bottom));
}

@supports (backdrop-filter: blur(10px)) {
  .buy-bar {
    backdrop-filter: blur(10px);
  }
}

.buy-bar__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.buy-bar__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.buy-bar__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

.wa-sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(57, 43, 37, 0.45);
  padding: var(--s-4);
  align-items: flex-end;
  justify-content: center;
}

.wa-sheet.open {
  display: flex;
}

.wa-sheet__panel {
  width: min(100%, 420px);
  background: var(--cream);
  border-radius: 16px 16px 12px 12px;
  padding: var(--s-5);
  box-shadow: var(--shadow-soft);
}

.wa-sheet__panel h3 {
  margin-bottom: var(--s-3);
}

.wa-sheet__panel .btn {
  width: 100%;
  margin-top: var(--s-2);
  white-space: normal;
}

/* ---------- Filters / empty ---------- */
.filters {
  display: grid;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .filters {
    grid-template-columns: repeat(4, 1fr) auto;
    align-items: end;
  }

  .filters .field--full {
    grid-column: 1 / -1;
  }
}

.empty-state {
  text-align: left;
  padding: var(--s-6) var(--s-5);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.55);
}

.empty-state h3 {
  margin-bottom: var(--s-2);
}

/* ---------- Product detail ---------- */
.product-layout {
  display: grid;
  gap: var(--s-6);
  padding: var(--s-5) 0 var(--s-6);
}

@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--s-7);
    align-items: start;
  }
}

.gallery {
  display: grid;
  gap: var(--s-3);
}

.gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}

.gallery__thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--sand);
  aspect-ratio: 4 / 3;
}

.gallery__thumbs button[aria-selected="true"] {
  border-color: var(--terracotta);
}

.gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-block + .stack-block {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
}

.day-list {
  display: grid;
}

.day-item {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--border);
}

.day-item:last-child {
  border-bottom: 0;
}

.day-item strong {
  display: block;
  margin-bottom: var(--s-1);
  color: var(--ink);
}

.includes {
  display: grid;
  gap: var(--s-4);
}

@media (min-width: 640px) {
  .includes {
    grid-template-columns: 1fr 1fr;
  }
}

.includes ul {
  margin: var(--s-2) 0 0;
  padding-left: 1.15rem;
}

.upsell {
  margin-top: var(--s-5);
  padding: var(--s-5);
  border-radius: var(--radius);
  background: var(--sand);
  border: 1px solid var(--border);
}

.combo-options {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.combo-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-3);
  align-items: center;
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 56px;
}

.combo-option:has(input:checked) {
  border-color: var(--terracotta);
}

.combo-option input {
  accent-color: var(--terracotta);
  width: 18px;
  height: 18px;
}

/* ---------- Passagens ---------- */
.flight-form {
  display: grid;
  gap: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-5);
}

@media (min-width: 800px) {
  .flight-form {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flight-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: end;
  justify-content: space-between;
  margin: var(--s-5) 0 var(--s-3);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.chip {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.chip[aria-pressed="true"] {
  background: var(--coffee);
  color: var(--cream);
  border-color: var(--coffee);
}

.flight-card {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--s-3);
}

@media (min-width: 760px) {
  .flight-card {
    grid-template-columns: 1.4fr 0.8fr auto;
    align-items: center;
  }
}

.flight-times {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: baseline;
}

.flight-times strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}

.flight-price {
  text-align: left;
}

@media (min-width: 760px) {
  .flight-price {
    text-align: right;
  }
}

/* ---------- Inglês ---------- */
.ingles-hero {
  display: grid;
  gap: var(--s-6);
  padding: var(--s-5) 0 var(--s-7);
}

@media (min-width: 900px) {
  .ingles-hero {
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: var(--s-7);
  }
}

.phone-preview {
  justify-self: center;
  width: min(100%, 280px);
  background: #2f2621;
  border-radius: 28px;
  padding: 0.65rem;
  box-shadow: var(--shadow-soft);
}

.phone-preview__screen {
  background: var(--cream);
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
}

.phone-preview__screen img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.phone-preview__content {
  padding: var(--s-4);
}

.phrase-block {
  border-top: 1px solid var(--border);
  padding-top: var(--s-3);
  margin-top: var(--s-3);
  font-size: var(--text-sm);
}

.phrase-block strong {
  display: block;
  color: var(--ink);
  margin-bottom: var(--s-1);
}

.ebook-grid {
  display: grid;
  gap: var(--s-4);
}

@media (min-width: 800px) {
  .ebook-grid {
    grid-template-columns: 1.15fr 1fr;
  }

  .ebook-grid .product-card:last-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Cart / library / admin ---------- */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}

.step {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(57, 43, 37, 0.07);
  color: var(--muted);
}

.step.is-active {
  background: var(--coffee);
  color: var(--cream);
}

.step.is-done {
  background: rgba(98, 104, 74, 0.18);
  color: var(--olive-dark);
}

.library-tabs {
  display: flex;
  gap: var(--s-1);
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--border);
}

.library-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -1px;
}

.library-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--terracotta);
}

.admin-shell {
  display: grid;
  gap: var(--s-4);
}

@media (min-width: 900px) {
  .admin-shell {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.admin-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-2);
  display: grid;
  gap: 2px;
}

.admin-nav button {
  text-align: left;
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.admin-nav button[aria-current="true"] {
  background: var(--sand);
  font-weight: 600;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th,
.table td {
  text-align: left;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.status {
  display: inline-flex;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
}

.status--draft {
  background: rgba(57, 43, 37, 0.08);
}

.status--review {
  background: rgba(166, 83, 61, 0.14);
  color: var(--terracotta-dark);
}

.status--published {
  background: rgba(98, 104, 74, 0.16);
  color: var(--olive-dark);
}

.legal-draft {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-5);
}

.legal-draft h2 {
  font-size: var(--text-xl);
  margin-top: var(--s-5);
}

.skeleton {
  background: linear-gradient(90deg, var(--sand), #efe6d8, var(--sand));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 6px;
  min-height: 1rem;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
  }
}
