/* ==========================================================================
   Psylogos — Centro Integrado de Saúde, Formação e Serviços
   Sistema de design · versão 1.0
   Paleta, tipografia e componentes definidos a partir do brief editorial.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* cor — paleta oficial */
  --c-olive: #344d40;
  --c-olive-deep: #26372d;
  --c-olive-soft: #3f5b4c;
  --c-sage: #87987d;
  --c-sand: #d8c6ae;
  --c-gold: #b89a60;
  --c-gold-text: #856a34;
  --c-gold-soft: #cdb58c;
  --c-ivory: #f6f3eb;
  --c-ivory-deep: #efeade;
  --c-anthracite: #303633;
  --c-white: #ffffff;

  /* cor — papéis */
  --c-bg: var(--c-ivory);
  --c-surface: #fffdf8;
  --c-ink: var(--c-anthracite);
  --c-ink-soft: #4d5751;
  --c-ink-muted: #5d675f;
  --c-line: rgba(52, 77, 64, 0.14);
  --c-line-soft: rgba(52, 77, 64, 0.08);
  --c-line-gold: rgba(184, 154, 96, 0.45);
  --c-on-dark: #f2eee4;
  --c-on-dark-soft: rgba(242, 238, 228, 0.76);
  --c-on-dark-line: rgba(242, 238, 228, 0.18);

  /* tipografia */
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Lato", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.65rem, 5vw, 4.5rem);
  --fs-h1: clamp(2.25rem, 3.9vw, 3.5rem);
  --fs-h2: clamp(1.95rem, 3.1vw, 2.85rem);
  --fs-h3: clamp(1.28rem, 1.6vw, 1.6rem);
  --fs-lead: clamp(1.06rem, 1.25vw, 1.24rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-tiny: 0.8125rem;

  /* espaçamento */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 8.5vw, 8rem);
  --s-1: 0.5rem;
  --s-2: 0.875rem;
  --s-3: 1.25rem;
  --s-4: 1.75rem;
  --s-5: 2.5rem;
  --s-6: 4rem;

  /* forma */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 22px;
  --r-arch: 999px 999px var(--r-md) var(--r-md);
  --r-pill: 999px;

  /* sombra e movimento */
  --shadow-soft: 0 18px 44px -28px rgba(38, 55, 45, 0.42);
  --shadow-lift: 0 26px 60px -34px rgba(38, 55, 45, 0.5);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.42s;

  --header-h: 88px;
}

/* ---------------------------------------------------------------- reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.7em;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--c-olive);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.24;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--c-olive);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--c-olive-deep);
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.15em;
}

li + li {
  margin-top: 0.45em;
}

::selection {
  background: rgba(184, 154, 96, 0.28);
  color: var(--c-olive-deep);
}

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--c-olive);
  color: var(--c-ivory);
  font-family: var(--font-sans);
  font-size: var(--fs-tiny);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 2rem;
  color: var(--c-ivory);
}

/* ---------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 5.5vw, 5rem);
}

.section--ivory-deep {
  background: var(--c-ivory-deep);
}

.section--white {
  background: var(--c-surface);
}

.section--olive {
  background: var(--c-olive);
  color: var(--c-on-dark);
}

.section--olive h1,
.section--olive h2,
.section--olive h3,
.section--olive h4 {
  color: var(--c-on-dark);
}

.section--olive p {
  color: var(--c-on-dark-soft);
}

.section--olive a {
  color: var(--c-on-dark);
}

.stack > * + * {
  margin-top: var(--s-3);
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- cabeçalhos editoriais */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-gold-text);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.section--olive .eyebrow {
  color: var(--c-gold-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head p {
  color: var(--c-ink-soft);
  font-size: var(--fs-lead);
  max-width: 62ch;
}

.section--olive .section-head p {
  color: var(--c-on-dark-soft);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--c-ink-soft);
}

.muted {
  color: var(--c-ink-muted);
}

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--c-olive);
}

.gold-rule {
  width: 64px;
  height: 1px;
  border: 0;
  margin: 2rem 0;
  background: linear-gradient(90deg, var(--c-gold), rgba(184, 154, 96, 0));
}

.section--olive .gold-rule {
  background: linear-gradient(90deg, var(--c-gold-soft), rgba(205, 181, 140, 0));
}

/* ---------------------------------------------------------------- botões */
.btn {
  --btn-bg: var(--c-olive);
  --btn-fg: var(--c-ivory);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.95rem 1.85rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn:hover {
  --btn-bg: var(--c-olive-deep);
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-olive);
  --btn-bd: rgba(52, 77, 64, 0.4);
}

.btn--ghost:hover {
  --btn-bg: rgba(52, 77, 64, 0.06);
  --btn-fg: var(--c-olive-deep);
  --btn-bd: var(--c-olive);
  box-shadow: none;
}

.btn--gold {
  --btn-bg: var(--c-gold);
  --btn-fg: #2b2418;
}

.btn--gold:hover {
  --btn-bg: var(--c-gold-soft);
}

.btn--light {
  --btn-bg: var(--c-ivory);
  --btn-fg: var(--c-olive-deep);
}

.btn--light:hover {
  --btn-bg: #fff;
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--c-on-dark);
  --btn-bd: rgba(242, 238, 228, 0.42);
}

.btn--outline-light:hover {
  --btn-bg: rgba(242, 238, 228, 0.1);
  --btn-bd: var(--c-on-dark);
  box-shadow: none;
}

.btn--sm {
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-size: 0.7rem;
}

.btn--block {
  width: 100%;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-olive);
}

.link-arrow::after {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--c-gold);
  transition: width var(--dur) var(--ease);
}

.link-arrow:hover::after {
  width: 30px;
}

.link-arrow--light {
  color: var(--c-on-dark);
}

.link-arrow--light::after {
  background: var(--c-gold-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  background: rgba(246, 243, 235, 0.86);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-stuck {
  background: rgba(246, 243, 235, 0.97);
  border-bottom-color: var(--c-line-soft);
  box-shadow: 0 12px 30px -26px rgba(38, 55, 45, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}

.is-stuck .header-inner {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex: none;
}

.brand img {
  width: auto;
  height: 52px;
  transition: height 0.3s var(--ease);
}

.is-stuck .brand img {
  height: 44px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.4vw, 1.5rem);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.1vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--c-gold);
  transition: right 0.35s var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--c-olive);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  right: 0;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--c-olive);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg {
  width: 15px;
  height: 15px;
  color: var(--c-gold);
}

/* menu móvel */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--c-olive);
  cursor: pointer;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--c-ivory);
  padding: 1.25rem var(--gutter) 2rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.45s var(--ease), visibility 0s;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-line-soft);
}

.drawer-close {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: transparent;
  color: var(--c-olive);
  cursor: pointer;
}

.drawer-nav {
  padding-block: 1.5rem;
  list-style: none;
  margin: 0;
}

.drawer-nav li {
  margin: 0;
  border-bottom: 1px solid var(--c-line-soft);
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-olive);
  text-decoration: none;
}

.drawer-nav a::after {
  content: "â†’";
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-gold);
}

.drawer-foot {
  display: grid;
  gap: 0.75rem;
}

.drawer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--fs-tiny);
  letter-spacing: 0.05em;
  color: var(--c-ink-muted);
}

@media (max-width: 1100px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav-list {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta .btn {
    display: none;
  }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(216, 198, 174, 0.5), rgba(246, 243, 235, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  position: relative;
}

.hero-copy {
  max-width: 34rem;
}

.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--c-olive-soft);
}

.hero-sub {
  font-size: var(--fs-lead);
  color: var(--c-ink-soft);
  max-width: 40ch;
  margin-bottom: 2rem;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.75rem;
  font-size: var(--fs-tiny);
  line-height: 1.6;
  color: var(--c-ink-muted);
  max-width: 34ch;
}

.hero-note svg {
  width: 15px;
  height: 15px;
  margin-top: 0.15rem;
  color: var(--c-gold);
  flex: none;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-arch);
  box-shadow: var(--shadow-lift);
}

.hero-badge {
  position: absolute;
  left: clamp(-1.5rem, -2vw, -0.5rem);
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid var(--c-line-gold);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-olive);
  backdrop-filter: blur(6px);
}

.hero-badge img {
  width: 26px;
  height: 26px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-media img {
    aspect-ratio: 5 / 4;
    border-radius: var(--r-lg);
  }

  .hero-badge {
    left: 1rem;
  }
}

/* ---------------------------------------------------------------- marquee de valores */
.values-strip {
  border-block: 1px solid var(--c-line-soft);
  background: var(--c-ivory);
}

.values-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem clamp(1.25rem, 3vw, 2.75rem);
  padding-block: 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.values-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.values-inner span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-gold);
  opacity: 0.8;
}

/* ---------------------------------------------------------------- apresentação institucional */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-grid h2 {
  margin-bottom: 0;
}

.intro-body p {
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: var(--c-ink-soft);
}

.intro-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: 0.82;
  float: left;
  padding: 0.06em 0.12em 0 0;
  color: var(--c-olive);
}

.intro-sign {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c-olive);
}

@media (max-width: 860px) {
  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}

/* ---------------------------------------------------------------- pilares */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: background-color var(--dur) var(--ease);
  isolation: isolate;
}

.pillar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.pillar:hover {
  background: rgba(255, 253, 248, 0.85);
}

.pillar:hover::after {
  transform: scaleX(1);
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--c-gold-text);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-line-gold);
  border-radius: 50%;
  color: var(--c-olive);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar:hover .pillar-icon {
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.pillar h3 {
  margin-bottom: 0.25rem;
  font-size: 1.22rem;
}

.pillar p {
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--c-ink-muted);
  margin: 0;
}

.pillar .link-arrow {
  margin-top: 0.65rem;
}

@media (max-width: 980px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- galeria */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-ivory-deep);
  display: block;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  color: inherit;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 2.5rem 1.15rem 0.95rem;
  background: linear-gradient(to top, rgba(28, 40, 33, 0.82), rgba(28, 40, 33, 0));
  color: var(--c-ivory);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
}

.gallery-item--wide {
  grid-column: span 7;
  aspect-ratio: 16 / 10;
}

.gallery-item--tall {
  grid-column: span 5;
  aspect-ratio: 4 / 3;
}

.gallery-item--third {
  grid-column: span 4;
  aspect-ratio: 1 / 1;
}

.gallery-note {
  margin-top: 1.25rem;
  font-size: var(--fs-tiny);
  color: var(--c-ink-muted);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.gallery-note svg {
  width: 14px;
  height: 14px;
  margin-top: 0.2rem;
  color: var(--c-gold);
  flex: none;
}

@media (max-width: 900px) {
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 12;
    aspect-ratio: 16 / 10;
  }

  .gallery-item--third {
    grid-column: span 6;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 560px) {
  .gallery-item--third {
    grid-column: span 12;
    aspect-ratio: 4 / 3;
  }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 29, 24, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 80vh;
  width: auto;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 243, 235, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 243, 235, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--c-ivory);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------------------------------------------------------------- fundador / equipa */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.founder-media {
  position: relative;
}

.founder-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-md);
}

.founder-media::after {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--c-line-gold);
  border-radius: var(--r-md);
  z-index: -1;
}

.founder-quote {
  position: absolute;
  right: -1.25rem;
  bottom: 1.5rem;
  width: min(260px, 70%);
  padding: 1.25rem 1.35rem;
  background: var(--c-ivory);
  border-top: 2px solid var(--c-gold);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-olive);
}

.founder-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.founder-areas li {
  margin: 0;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--c-line-gold);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.credential {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(52, 77, 64, 0.06);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--c-olive);
}

.credential svg {
  width: 15px;
  height: 15px;
  color: var(--c-gold);
}

@media (max-width: 860px) {
  .founder {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .founder-media {
    max-width: 480px;
  }

  .founder-quote {
    right: 0;
  }
}

/* ---------------------------------------------------------------- editora */
.editora-band {
  position: relative;
  background: var(--c-olive);
  color: var(--c-on-dark);
  overflow: hidden;
}

.editora-band h1,
.editora-band h2,
.editora-band h3,
.editora-band h4 {
  color: var(--c-on-dark);
}

.editora-band p {
  color: var(--c-on-dark-soft);
}

.editora-band .eyebrow {
  color: var(--c-gold-soft);
}

.editora-band a {
  color: var(--c-on-dark);
}

.editora-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(184, 154, 96, 0.16), transparent 46%),
    radial-gradient(circle at 88% 82%, rgba(135, 152, 125, 0.22), transparent 50%);
  pointer-events: none;
}

.editora-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.editora-logo {
  width: min(330px, 82%);
  padding: 0.5rem;
  border-radius: var(--r-md);
}

.editora-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.75rem 0 2rem;
  padding: 0;
  list-style: none;
}

.editora-tags li {
  margin: 0;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--c-on-dark-line);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-on-dark-soft);
}

.editora-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.editora-categories li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--c-on-dark-line);
  font-size: var(--fs-small);
  color: var(--c-on-dark-soft);
}

.editora-categories li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-gold-soft);
  flex: none;
}

@media (max-width: 900px) {
  .editora-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .editora-categories {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- estado vazio elegante */
.empty-state {
  display: grid;
  gap: 1.25rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  text-align: center;
  justify-items: center;
}

.empty-state--dark {
  background: transparent;
  border-color: var(--c-on-dark-line);
}

.empty-state h3 {
  margin-bottom: 0;
}

.empty-state p {
  max-width: 56ch;
  color: var(--c-ink-soft);
}

.empty-state .empty-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line-gold);
  border-radius: 50%;
  color: var(--c-gold);
}

.empty-state .empty-mark svg {
  width: 24px;
  height: 24px;
}

/* ---------------------------------------------------------------- cartões de marcação */
.booking-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.booking-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.booking-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--c-line-gold);
}

.booking-card--featured {
  background: var(--c-olive);
  border-color: var(--c-olive);
  color: var(--c-on-dark);
}

.booking-card--featured h3,
.booking-card--featured h2 {
  color: var(--c-on-dark);
}

.booking-card--featured p {
  color: var(--c-on-dark-soft);
}

.booking-card .card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(52, 77, 64, 0.07);
  color: var(--c-olive);
}

.booking-card--featured .card-icon {
  background: rgba(246, 243, 235, 0.12);
  color: var(--c-gold-soft);
}

.booking-card .card-icon svg {
  width: 22px;
  height: 22px;
}

.booking-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 760px) {
  .booking-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- newsletter */
.newsletter {
  position: relative;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--c-line-gold);
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 92% 8%, rgba(216, 198, 174, 0.36), transparent 55%),
    var(--c-surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.newsletter h2 {
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: var(--c-ink-soft);
  font-size: var(--fs-small);
}

@media (max-width: 820px) {
  .newsletter {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- formulários */
.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 620px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field > label,
.field-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.field .hint {
  font-size: var(--fs-tiny);
  color: var(--c-ink-muted);
  line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23344d40' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(52, 77, 64, 0.32);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--c-olive);
  box-shadow: 0 0 0 3px rgba(52, 77, 64, 0.12);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #a4463c;
  background: #fdf6f4;
}

.error-text {
  min-height: 0;
  font-size: var(--fs-tiny);
  color: #8f3a31;
  line-height: 1.5;
}

.check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-size: var(--fs-tiny);
  line-height: 1.6;
  color: var(--c-ink-soft);
}

.check input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0.1rem 0 0;
  border: 1px solid rgba(52, 77, 64, 0.42);
  border-radius: 3px;
  background: var(--c-white);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.check input[type="checkbox"]::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--c-ivory);
  border-bottom: 1.5px solid var(--c-ivory);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.18s var(--ease);
  margin-top: -2px;
}

.check input[type="checkbox"]:checked {
  background: var(--c-olive);
  border-color: var(--c-olive);
}

.check input[type="checkbox"]:checked::after {
  transform: rotate(-45deg) scale(1);
}

.form-status {
  display: none;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.form-status.is-visible {
  display: flex;
}

.form-status--ok {
  background: rgba(52, 77, 64, 0.08);
  border: 1px solid rgba(52, 77, 64, 0.2);
  color: var(--c-olive);
}

.form-status--err {
  background: #fbf1ef;
  border: 1px solid #e2c4bf;
  color: #8f3a31;
}

.form-status svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.15rem;
}

/* ---------------------------------------------------------------- contactos */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  align-items: start;
}

.contact-list .icon-bubble {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line-gold);
  border-radius: 50%;
  color: var(--c-olive);
}

.contact-list .icon-bubble svg {
  width: 18px;
  height: 18px;
}

.contact-list strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: 0.25rem;
}

.contact-list a {
  color: var(--c-ink);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--c-olive);
  text-decoration: underline;
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-ivory-deep);
  display: grid;
  place-items: center;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(216, 198, 174, 0.4), transparent 60%),
    var(--c-ivory-deep);
}

.map-consent p {
  max-width: 34ch;
  font-size: var(--fs-tiny);
  color: var(--c-ink-muted);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- rodapé */
.site-footer {
  background: var(--c-olive);
  color: var(--c-on-dark);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 154, 96, 0.6), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.footer-brand img {
  height: 74px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: var(--fs-small);
  color: var(--c-on-dark-soft);
  max-width: 30ch;
}

.footer-brand .slogan {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--c-gold-soft);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-soft);
  margin-bottom: 1.15rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-list li {
  margin: 0;
}

.footer-list a,
.footer-list p {
  font-size: var(--fs-small);
  color: var(--c-on-dark-soft);
  text-decoration: none;
  margin: 0;
  transition: color 0.2s var(--ease);
}

.footer-list a:hover {
  color: var(--c-on-dark);
}

.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-on-dark-line);
  border-radius: 50%;
  color: var(--c-on-dark-soft);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.social a:hover {
  border-color: var(--c-gold-soft);
  color: var(--c-gold-soft);
  transform: translateY(-2px);
}

.social svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  border-top: 1px solid var(--c-on-dark-line);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(242, 238, 228, 0.8);
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom li {
  margin: 0;
}

.footer-bottom a {
  color: rgba(242, 238, 228, 0.86);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--c-ivory);
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.1rem 0.7rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--c-olive);
  color: var(--c-ivory);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 34px -18px rgba(20, 29, 24, 0.7);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.wa-float:hover {
  transform: translateY(-2px);
  background: var(--c-olive-deep);
  color: var(--c-ivory);
}

.wa-float svg {
  width: 22px;
  height: 22px;
  color: #d9c9a6;
}

.wa-float span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.35s var(--ease), opacity 0.25s var(--ease);
}

.wa-float:hover span,
.wa-float:focus-visible span {
  max-width: 200px;
  opacity: 1;
}

/* barra fixa móvel */
.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 85;
  display: none;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(246, 243, 235, 0.97);
  border-top: 1px solid var(--c-line);
  backdrop-filter: blur(10px);
}

.mobile-bar .btn {
  flex: 1;
  min-height: 48px;
}

@media (max-width: 1024px) {
  .mobile-bar {
    display: flex;
  }

  .wa-float {
    bottom: calc(74px + env(safe-area-inset-bottom));
    padding: 0.75rem;
  }

  .wa-float span {
    display: none;
  }

  body {
    padding-bottom: 70px;
  }
}

/* ---------------------------------------------------------------- consentimento de cookies */
.cookie-banner {
  position: fixed;
  left: clamp(1rem, 2.5vw, 1.75rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 100;
  max-width: 640px;
  margin-inline: auto;
  padding: 1.35rem 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line-gold);
  border-radius: var(--r-md);
  box-shadow: 0 30px 70px -30px rgba(20, 29, 24, 0.45);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner h2 {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.cookie-banner p {
  font-size: var(--fs-tiny);
  color: var(--c-ink-soft);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-actions .btn {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  font-size: 0.68rem;
}

@media (max-width: 1024px) {
  .cookie-banner {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

.dialog {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  place-items: center;
  padding: 1.25rem;
  background: rgba(20, 29, 24, 0.55);
  backdrop-filter: blur(3px);
}

.dialog.is-open {
  display: grid;
}

.dialog-card {
  width: min(560px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--c-surface);
  border-radius: var(--r-md);
  border-top: 3px solid var(--c-gold);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.4);
}

.dialog-card h2 {
  font-size: 1.6rem;
}

.switch-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--c-line-soft);
}

.switch-row strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

.switch-row p {
  font-size: var(--fs-tiny);
  color: var(--c-ink-muted);
  margin: 0.15rem 0 0;
}

/* ---------------------------------------------------------------- páginas internas */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  border: 1px solid rgba(184, 154, 96, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero h1 {
  font-size: var(--fs-h1);
  max-width: 20ch;
  margin-bottom: 1rem;
}

.page-hero .lead {
  max-width: 62ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--c-gold);
}

.breadcrumbs a {
  color: var(--c-ink-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--c-olive);
}

.breadcrumbs [aria-current="page"] {
  color: var(--c-olive);
}

/* conteúdo editorial */
.prose {
  max-width: 74ch;
}

.prose > h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  margin-top: 2.75rem;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose > h3 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--c-ink-soft);
  font-size: 1.03rem;
  line-height: 1.8;
}

.prose strong {
  color: var(--c-ink);
  font-weight: 700;
}

.prose ul {
  padding-left: 1.1rem;
}

.prose li::marker {
  color: var(--c-gold);
}

.callout {
  margin: 2.25rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 2px solid var(--c-gold);
  background: rgba(216, 198, 174, 0.18);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.callout p {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
}

.callout strong {
  color: var(--c-olive);
}

/* split com imagem */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split--solo {
  display: block;
  max-width: 780px;
  margin-inline: auto;
}

.split--reverse .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-media--arch img {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-arch);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--reverse .split-media {
    order: 0;
  }
}

/* listas de serviço */
.service-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-line);
}

.service-list li {
  margin: 0;
  border-bottom: 1px solid var(--c-line);
}

.service-list a {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.4rem 0.25rem;
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.35s var(--ease), background-color 0.35s var(--ease);
}

.service-list a:hover {
  padding-left: 1rem;
  background: rgba(255, 253, 248, 0.7);
}

.service-list .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--c-gold-text);
}

.service-list .title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  color: var(--c-olive);
  line-height: 1.3;
}

.service-list .sub {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--c-ink-muted);
  margin-top: 0.15rem;
}

.service-list .arrow {
  font-size: 1.1rem;
  color: var(--c-gold);
}

/* profissionais */
.profile {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  align-items: start;
}

.profile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.profile h3 {
  margin-bottom: 0.25rem;
}

.profile .role {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: 0.85rem;
}

@media (max-width: 700px) {
  .profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile img {
    width: 140px;
    border-radius: var(--r-md);
  }
}

/* acordeão */
.accordion {
  border-top: 1px solid var(--c-line);
}

.accordion-item {
  border-bottom: 1px solid var(--c-line);
}

.accordion-item h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0.25rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-olive);
}

.accordion-trigger .plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.accordion-trigger .plus::before,
.accordion-trigger .plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--c-gold);
  transition: transform 0.3s var(--ease);
}

.accordion-trigger .plus::after {
  transform: rotate(90deg);
}

.accordion-trigger[aria-expanded="true"] .plus::after {
  transform: rotate(0deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.accordion-panel > div {
  overflow: hidden;
}

.accordion-panel.is-open {
  grid-template-rows: 1fr;
}

.accordion-panel p {
  padding: 0 2.5rem 1.35rem 0.25rem;
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
  margin: 0;
}

/* ---------------------------------------------------------------- wizard de marcação */
.wizard {
  display: grid;
  gap: 2rem;
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.wizard-steps li {
  margin: 0;
  counter-increment: step;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  padding-top: 0.85rem;
  border-top: 2px solid var(--c-line);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.wizard-steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--c-gold-text);
  margin-bottom: 0.1rem;
}

.wizard-steps li.is-active {
  border-top-color: var(--c-olive);
  color: var(--c-olive);
}

.wizard-steps li.is-done {
  border-top-color: var(--c-gold);
  color: var(--c-ink-soft);
}

.wizard-panel {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
}

.wizard-panel[hidden] {
  display: none;
}

.wizard-panel h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.wizard-panel .step-kicker {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: 0.5rem;
}

.options {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.options--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 620px) {
  .options--grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-white);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--c-ink);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.option:hover {
  border-color: rgba(52, 77, 64, 0.36);
}

.option strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-olive);
  margin-bottom: 0.1rem;
}

.option span {
  display: block;
  font-size: var(--fs-tiny);
  color: var(--c-ink-muted);
  line-height: 1.55;
}

.option .dot {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  border: 1px solid rgba(52, 77, 64, 0.4);
  border-radius: 50%;
  flex: none;
  display: grid;
  place-content: center;
  transition: border-color 0.2s var(--ease);
}

.option .dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-olive);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}

.option[aria-checked="true"] {
  border-color: var(--c-olive);
  background: rgba(52, 77, 64, 0.05);
  box-shadow: inset 0 0 0 1px var(--c-olive);
}

.option[aria-checked="true"] .dot {
  border-color: var(--c-olive);
}

.option[aria-checked="true"] .dot::after {
  transform: scale(1);
}

.option[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.wizard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line-soft);
}

.wizard-summary {
  display: grid;
  gap: 0;
  margin: 1.5rem 0;
  border-top: 1px solid var(--c-line);
}

.wizard-summary div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: var(--fs-small);
}

.wizard-summary dt {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.wizard-summary dd {
  margin: 0;
  color: var(--c-ink);
  text-align: right;
}

.step-note {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  background: rgba(216, 198, 174, 0.2);
  border-radius: var(--r-sm);
  font-size: var(--fs-tiny);
  color: var(--c-ink-soft);
  line-height: 1.6;
}

.step-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.15rem;
  color: var(--c-gold);
}

/* ---------------------------------------------------------------- animações */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------- utilitários */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: var(--s-4);
}

.mt-5 {
  margin-top: var(--s-5);
}

.hairline {
  height: 1px;
  background: var(--c-line-soft);
  border: 0;
  margin-block: clamp(2.5rem, 5vw, 4rem);
}

.bg-sand {
  background: rgba(216, 198, 174, 0.22);
}

@media print {
  .site-header,
  .site-footer,
  .wa-float,
  .mobile-bar,
  .cookie-banner,
  .lightbox {
    display: none !important;
  }

  body {
    background: #fff;
  }
}

/* ---------------------------------------------------------------- extras gerados */
.hp {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-hero-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.editora-logo-card {
  background: #fff;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  width: 100%;
}

@media (max-width: 700px) {
  .page-hero-img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------------------------------------------------------------- correções */
[hidden] {
  display: none !important;
}

.wizard-panel[hidden] {
  display: none !important;
}




@media (max-width: 600px) {
  .values-inner {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    gap: 0.55rem 1rem;
    padding-block: 1rem;
  }

  .values-inner span + span::before {
    width: 3px;
    height: 3px;
  }
}

/* botões dentro de faixas escuras mantêm o contraste do próprio botão */
.editora-band a.btn,
.section--olive a.btn {
  color: var(--btn-fg);
}

.editora-band a.btn--ghost,
.section--olive a.btn--ghost {
  color: var(--c-ivory);
}


/* ---------------------------------------------------------------- blogue */
.post-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--c-line-gold);
  border-radius: var(--r-pill);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  text-decoration: none;
  line-height: 1.4;
}

button.chip {
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

button.chip:hover {
  border-color: var(--c-gold);
  background: rgba(184, 154, 96, 0.1);
}

button.chip[aria-pressed="true"] {
  background: var(--c-olive);
  border-color: var(--c-olive);
  color: var(--c-ivory);
}

.post-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--c-line);
}

.post-feature__media {
  overflow: hidden;
  border-radius: var(--r-md);
}

.post-feature__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.post-feature:hover .post-feature__media img {
  transform: scale(1.03);
}

.post-feature h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.post-feature h2 a {
  color: inherit;
  text-decoration: none;
}

.post-feature p {
  color: var(--c-ink-soft);
  max-width: 52ch;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

@media (max-width: 980px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-feature {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--c-line-gold);
}

.post-card__media {
  position: relative;
  overflow: hidden;
  background: var(--c-ivory-deep);
  aspect-ratio: 4 / 3;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  flex: 1;
}

.post-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0;
}

.post-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-ink-muted);
  margin: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

/* separadores são texto real no HTML: não dependem do CSS */

.post-header {
  max-width: 860px;
}

.post-header h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.post-hero-img {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
}

@media (max-width: 700px) {
  .post-hero-img {
    aspect-ratio: 4 / 3;
  }
}

.post-body {
  max-width: 74ch;
}

.post-body h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  margin-top: 2.6rem;
  margin-bottom: 0.7rem;
}

.post-body h3 {
  margin-top: 1.8rem;
  font-size: 1.2rem;
}

.post-body p,
.post-body li {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--c-ink-soft);
}

.post-body .lead {
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.75;
  color: var(--c-ink);
}

.post-body ul {
  padding-left: 1.15rem;
  margin-bottom: 1.4rem;
}

.post-body li {
  margin-bottom: 0.55rem;
}

.post-body li::marker {
  color: var(--c-gold-text);
}

.post-body strong {
  color: var(--c-ink);
}

.post-body .callout {
  margin: 2.2rem 0;
}

.post-body .callout p {
  font-size: 0.95rem;
}

.post-body .muted em {
  font-style: italic;
}

.post-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line-soft);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}

.post-related {
  margin-top: clamp(3rem, 6vw, 5rem);
}


/* ---------------------------------------------------------------- loja / produtos */
.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--c-line);
}

.product-feature__cover {
  display: block;
  background: #1d2733;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transition: transform var(--dur) var(--ease);
}

.product-feature__cover:hover {
  transform: translateY(-5px);
}

.product-feature__cover img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
}

.product-feature h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0.5rem 0 0.35rem;
}

.product-feature .lead {
  margin-bottom: 1rem;
}

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.product-facts li {
  margin: 0;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--c-line-gold);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold-text);
}

.product-note {
  font-size: 0.8125rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-cover {
  position: relative;
  display: block;
  background: #1d2733;
  padding: 1rem;
}

.product-cover img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(246, 243, 235, 0.94);
  color: var(--c-olive);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  flex: 1;
}

.product-type {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold-text);
}

.product-body h3 {
  margin: 0;
  font-size: 1.3rem;
}

.product-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--c-olive);
}

.product-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--c-ink-muted);
}

.product-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 820px) {
  .product-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-feature__cover {
    max-width: 300px;
  }
}


/* ---------------------------------------------------------------- blogue em lista */
.post-list {
  border-top: 1px solid var(--c-line);
}

.post-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  padding: clamp(0.9rem, 1.8vw, 1.25rem) 0;
  border-bottom: 1px solid var(--c-line);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s var(--ease);
}

.post-row:hover {
  background: rgba(255, 253, 248, 0.75);
}

.post-row__media {
  display: block;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--c-ivory-deep);
  aspect-ratio: 4 / 3;
}

.post-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.post-row:hover .post-row__media img {
  transform: scale(1.04);
}

.post-row__body {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
}

.post-row__body h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  margin: 0.3rem 0 0.25rem;
}

.post-row__body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-ink-muted);
  margin: 0;
  max-width: 72ch;
}

.post-row__body .post-meta {
  margin-top: 0.5rem;
  padding-top: 0;
}

@media (max-width: 720px) {
  .post-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
  }

  .post-row__media {
    aspect-ratio: 1 / 1;
  }

  .post-row__body h3 {
    font-size: 1.02rem;
  }

  .post-row__body p {
    display: none;
  }
}


/* ---------------------------------------------------------------- figuras no artigo */
.post-figure {
  margin: 2rem 0;
}

.post-figure img {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: var(--r-sm);
}

.post-figure figcaption {
  margin: 0.55rem auto 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--c-ink-muted);
  text-align: center;
  max-width: 60ch;
}


/* ---------------------------------------------------------------- loja em lista */
.product-list {
  border-top: 1px solid var(--c-line);
}

.product-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-bottom: 1px solid var(--c-line);
}

.product-row__cover {
  display: block;
  background: #1d2733;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur) var(--ease);
}

.product-row__cover:hover {
  transform: translateY(-4px);
}

.product-row__cover img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
}

.product-row__body {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
}

.product-row__body h3 {
  margin: 0.1rem 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.product-row .product-sub {
  font-size: 0.95rem;
}

.product-row .product-desc {
  max-width: 72ch;
  margin-top: 0.15rem;
}

.product-row .actions {
  margin-top: 0.75rem;
  align-items: center;
}

@media (max-width: 720px) {
  .product-row {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
  }

  .product-row .product-desc {
    display: none;
  }
}


/* meia largura na galeria (duas por linha) */
.gallery-item--half {
  grid-column: span 6;
  aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
  .gallery-item--half {
    grid-column: span 12;
    aspect-ratio: 16 / 10;
  }
}


/* ---------------------------------------------------------------- texto justificado */
.prose p,
.prose li,
.post-body p,
.post-body li,
.intro-body p,
.section-head p,
.page-hero .lead,
.callout p,
.editora-band p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* lista editorial (apresentação de livro) */
.editorial-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 72ch;
}

.editorial-list li {
  position: relative;
  margin: 0;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-ink-soft);
  text-align: justify;
  hyphens: auto;
}

.editorial-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--c-gold);
}


/* legenda de imagem editorial */
.media-caption {
  margin: 0.9rem auto 0;
  max-width: 54ch;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--c-ink-muted);
  text-align: center;
}


/* ---------------------------------------------------------------- vídeo (Instagram / YouTube) */
.video-embed {
  margin-top: 1.25rem;
  max-width: 340px;
}

.video-note {
  margin: 0.6rem 0 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--c-ink-muted);
}

.video-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.video-frame {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-soft);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ---------------------------------------------------------------- WhatsApp no cabeçalho */
.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-olive);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.header-wa:hover {
  border-color: var(--c-gold);
  background: rgba(184, 154, 96, 0.08);
  transform: translateY(-2px);
}

.header-wa svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 1120px) {
  .header-wa {
    width: 42px;
    height: 42px;
  }
}

/* no telemóvel o WhatsApp já está na barra fixa: esconder o flutuante */
@media (max-width: 1024px) {
  .wa-float {
    display: none;
  }

  .header-wa {
    display: none;
  }
}


/* ---------------------------------------------------------------- retrato do fundador */
.fundador-retrato {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.fundador-retrato img {
  width: 100%;
  height: auto;
  display: block;
}

.fundador-retrato::before {
  content: "";
  position: absolute;
  inset: auto -6% -4% 18%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(216, 198, 174, 0.5), rgba(216, 198, 174, 0));
  z-index: -1;
  pointer-events: none;
}

/* figuras dentro do texto */
.prose-figure {
  margin: 2.25rem auto;
  max-width: 520px;
}

.prose-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
}

.prose-figure .media-caption {
  margin: 0.85rem auto 0;
}

@media (max-width: 760px) {
  .prose-figure {
    max-width: 100%;
  }
}


/* ---------------------------------------------------------------- artigos relacionados (cartões compactos) */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.post-grid .post-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  border: 0;
  background: none;
}

.post-grid .post-row__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
}

.post-grid .post-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-grid .post-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.post-grid .post-row .chip {
  font-size: 0.6rem;
  padding: 0.25rem 0.6rem;
}

.post-grid .post-row__body h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
  margin: 0;
}

.post-grid .post-row__body p {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

.post-grid .post-meta {
  font-size: 0.66rem;
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
