/* =========================================================
   Lorrayne Neves | Negócios & IA — estilos compartilhados
   (bio-link.html e sobre.html). Fontes em fontes.css.
   ========================================================= */

:root {
  --paper: #FBF8F3;        /* branco quente */
  --sand: #F1E9DE;         /* areia — apoio */
  --wine: #681C32;         /* vinho — grandes superfícies e botões */
  --wine-deep: #4E1426;
  --wine-press: #3E0F1E;
  --navy: #1B2F5B;         /* textos nas seções claras */
  --navy-soft: #47557A;
  --gold: #B39463;         /* só detalhes mínimos */
  --cream-text: #F6EDE4;   /* textos sobre vinho */
  --cream-soft: #E3CFC6;
  --line: rgba(27, 47, 91, 0.14);
  --line-light: rgba(246, 237, 228, 0.22);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --t-fast: 220ms;
  --t-reveal: 600ms;

  --gutter: 20px;
  --max: 1180px;
  --header-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* uma expressão curta por título, em itálico forte */
h1 em, h2 em {
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.015em;
}

p { margin: 0; }

[hidden] { display: none !important; }

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

.eyebrow {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
}

.on-wine .eyebrow { color: var(--cream-soft); }

/* ---------- Cabeçalho fixo ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
          backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.brand__name { font-family: var(--serif); font-weight: 300; font-size: 20px; letter-spacing: -0.01em; }
.brand__sep { color: var(--gold); }
.brand__role { font-size: 13px; font-weight: 500; color: var(--wine); }

.nav {
  display: none;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}

.nav a:hover { color: var(--wine); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  color: var(--cream-text);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { background: var(--wine-deep); }
.btn:active { background: var(--wine-press); transform: translateY(1px); }

/* botão claro sobre vinho */
.btn--light { background: var(--cream-text); color: var(--wine); }
.btn--light:hover { background: #FFFFFF; }
.btn--light:active { background: var(--sand); }

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; }

.arrow {
  display: inline-block;
  transition: transform var(--t-fast) var(--ease);
}

.btn:hover .arrow,
.text-link:hover .arrow { transform: translateX(5px); }

/* link secundário */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  text-decoration-color: var(--line);
  transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}

.text-link:hover { color: var(--wine); text-decoration-color: currentColor; }

.on-wine .text-link { color: var(--cream-text); text-decoration-color: var(--line-light); }
.on-wine .text-link:hover { color: #FFFFFF; text-decoration-color: currentColor; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

.on-wine a:focus-visible { outline-color: var(--cream-text); }

/* ---------- Entradas suaves ----------
   Só escondem o conteúdo quando o JS ativou a classe .js;
   sem JS, tudo aparece normalmente. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
}

.js .reveal--photo { transform: translateY(0) scale(1.02); }

.js .reveal.is-in { opacity: 1; transform: none; }

.js .d1 { transition-delay: 90ms; }
.js .d2 { transition-delay: 180ms; }
.js .d3 { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after {
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
    animation: none !important;
  }
}

/* =========================================================
   ABERTURA (vinho) — usada nas duas páginas
   ========================================================= */

.hero {
  background: var(--wine);
  color: var(--cream-text);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 44px;
}

.hero__photo { margin: 0; }

.hero__photo img {
  width: 100%;
  height: 34svh;
  min-height: 240px;
  max-height: 360px;
  object-fit: cover;
  object-position: 50% 24%;
  border-radius: 4px;
}

.hero h1 {
  font-size: clamp(34px, 9.4vw, 64px);
  color: var(--cream-text);
}

.hero h1 em { color: #FFFFFF; }

.hero .lead {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 16px;
  color: var(--cream-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 28px;
}

.hero__actions .btn { min-width: 220px; }

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 26px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.quick-links a:hover { color: #FFFFFF; }

/* página de links ocupa a tela toda, sem rodapé longo */
.page-entry { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: var(--wine); }
.page-entry .hero { flex: 1; display: flex; }
.page-entry .hero > .container { display: grid; align-content: center; }
.page-entry .entry-foot {
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: var(--cream-soft);
}

/* =========================================================
   SOBRE MIM — seções
   ========================================================= */

.section { padding: 72px 0; }
.section--sand { background: var(--sand); }

.section h2 { font-size: clamp(30px, 6.4vw, 46px); }

.section .intro {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--navy-soft);
}

/* Trajetória: período e função */
.timeline {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline__when {
  font-size: 14px;
  font-weight: 500;
  color: var(--wine);
}

.timeline h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.timeline__now h3 em { font-style: italic; font-weight: 700; }

/* Faixa de frase com foto ao fundo */
.quote-band {
  position: relative;
  isolation: isolate;
  padding: 80px 0;
  background: var(--wine-deep);
  color: var(--cream-text);
  overflow: hidden;
}

.quote-band__bg { position: absolute; inset: 0; z-index: -1; }

.quote-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  opacity: 0.18;
  filter: grayscale(0.4);
}

.quote-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(78, 20, 38, 0.35), rgba(78, 20, 38, 0.75));
}

.quote-band blockquote {
  margin: 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.quote-band blockquote em { font-style: italic; font-weight: 700; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 16px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 14px;
  color: var(--cream-soft);
}

/* Formação: três colunas com divisórias */
.education {
  display: grid;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.education li { padding: 20px 0; border-bottom: 1px solid var(--line); }

.education__level {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wine);
}

.education__course {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Como eu ajudo: texto + acordeão */
.help__grid { display: grid; gap: 36px; }

.help .intro + .intro { margin-top: 14px; }

.values {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--wine);
}

.accordion { border-top: 1px solid var(--line); }

.accordion details { border-bottom: 1px solid var(--line); }

.accordion summary {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 8px;
  min-height: 72px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

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

.accordion__num { font-size: 14px; font-weight: 500; color: var(--wine); }

.accordion__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  transition: color var(--t-fast) var(--ease);
}

.accordion summary:hover .accordion__title { color: var(--wine); }

/* sinal + / − desenhado com duas linhas */
.accordion__sign { position: relative; width: 16px; height: 16px; justify-self: end; }

.accordion__sign::before,
.accordion__sign::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7.5px;
  width: 16px;
  height: 1px;
  background: var(--navy);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.accordion__sign::after { transform: rotate(90deg); }
.accordion details[open] .accordion__sign::after { transform: rotate(0deg); opacity: 0; }

.accordion__body {
  padding: 0 32px 22px 48px;
  color: var(--navy-soft);
}

.accordion details[open] .accordion__body { animation: acc-in 260ms var(--ease); }

@keyframes acc-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Encerramento */
.closing {
  padding: 88px 0;
  background: var(--wine);
  color: var(--cream-text);
}

.closing h2 { font-size: clamp(32px, 7vw, 54px); color: var(--cream-text); }
.closing h2 em { color: #FFFFFF; }

.closing p {
  margin-top: 16px;
  max-width: 44ch;
  color: var(--cream-soft);
}

.closing .btn { margin-top: 30px; }

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 22px;
  padding-bottom: calc(26px + env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--navy-soft);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.site-footer a:hover { color: var(--wine); }

/* =========================================================
   Telas maiores
   ========================================================= */

@media (max-width: 380px) {
  .brand__sep, .brand__role { display: none; }
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 72px; }

  .nav { display: flex; }

  .hero .lead { font-size: 17px; }
  .hero__photo img { height: 52vh; max-height: 560px; }

  .section { padding: 104px 0; }
  .quote-band { padding: 120px 0; }

  .education { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .education li { padding: 6px 28px; border-bottom: 0; border-left: 1px solid var(--line); }
  .education li:first-child { padding-left: 0; border-left: 0; }

  .closing { padding: 120px 0; }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 72px;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .hero__photo { order: 2; }
  .hero__photo img {
    height: auto;
    max-height: calc(100svh - var(--header-h) - 120px);
    aspect-ratio: 4 / 5;
  }

  .hero h1 { font-size: clamp(48px, 4.6vw, 66px); }

  .timeline-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    align-items: start;
  }

  .timeline { margin-top: 8px; }

  .quote-band__bg { left: auto; width: 56%; }
  .quote-band__bg img {
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
            mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  }
  .quote-band__bg::after {
    background: linear-gradient(to right, var(--wine-deep) 0%, rgba(78, 20, 38, 0.25) 60%, rgba(78, 20, 38, 0.4) 100%);
  }

  .help__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    align-items: start;
  }
}

/* botão "Evento" dentro do menu */
.nav .btn { color: var(--cream-text); padding: 8px 20px; }
.nav .btn::after { display: none; }
.nav .btn:hover { color: var(--cream-text); }

/* página de links: cabeçalho na mesma superfície vinho */
.page-entry .site-header { background: rgba(104, 28, 50, 0.96); }
.page-entry .site-header.is-scrolled { border-bottom-color: var(--line-light); }
.page-entry .brand { color: var(--cream-text); }
.page-entry .brand__role { color: var(--cream-soft); }
.page-entry .site-header .text-link { color: var(--cream-text); text-decoration-color: var(--line-light); }
.page-entry .site-header a:focus-visible { outline-color: var(--cream-text); }

/* =========================================================
   Ajustes: trajetória com descrição + foto da abertura dissolvida no vinho
   ========================================================= */

.timeline li { align-items: start; }
.timeline__when { padding-top: 5px; }

.timeline li p {
  margin-top: 6px;
  max-width: 56ch;
  font-size: 16px;
  color: var(--navy-soft);
}

/* Foto da abertura: sem caixa, bordas dissolvidas por máscara.
   O rosto (centro/alto da imagem) fica totalmente opaco. */
.hero__photo img {
  border-radius: 0;
  box-shadow: none;
}

/* Celular: foto de ponta a ponta, dissolvendo só na base */
@media (max-width: 1023px) {
  .hero__grid { padding-top: 0; }

  .hero__photo { margin: 0 calc(-1 * var(--gutter)); }

  .hero__photo img {
    height: 40svh;
    min-height: 270px;
    max-height: 440px;
    object-position: 50% 22%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 34%);
            mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 34%);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__photo img { height: 52vh; max-height: 600px; }
}

/* Desktop: foto maior, dissolvendo na lateral esquerda e na base */
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; }

  .hero__photo { margin-right: calc(-1 * var(--gutter)); }

  .hero__photo img {
    width: 100%;
    max-height: calc(100svh - var(--header-h) - 64px);
    object-position: 50% 24%;
    --m-left: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 12%, #000 30%);
    --m-bottom: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.5) 10%, #000 26%);
    --m-right: linear-gradient(to left, transparent 0%, #000 12%);
    --m-top: linear-gradient(to bottom, transparent 0%, #000 9%);
    -webkit-mask-image: var(--m-left), var(--m-bottom), var(--m-right), var(--m-top);
    -webkit-mask-composite: source-in;
            mask-image: var(--m-left), var(--m-bottom), var(--m-right), var(--m-top);
            mask-composite: intersect;
  }
}

@media (min-width: 1024px) {
  /* página de links cabe numa tela só */
  .page-entry .hero__grid { padding-top: 32px; padding-bottom: 32px; }
  .page-entry .hero__photo img { max-height: calc(100svh - var(--header-h) - 130px); }
}

/* linha da metodologia na faixa vinho */
.method {
  margin-top: 26px;
  padding-top: 18px;
  max-width: 40ch;
  border-top: 1px solid var(--line-light);
  font-size: 16px;
  color: var(--cream-soft);
}

.method strong { font-weight: 600; color: var(--cream-text); }

/* =========================================================
   Refinamento: destaques de cor e continuidade entre seções
   ========================================================= */

/* Destaques: uma expressão curta só nos títulos principais (h1/h2).
   Itálico 600, cor sólida. Vinho sobre claro; champagne sobre vinho. */
h1 em, h2 em {
  font-weight: 600;
  color: var(--wine);
}

.on-wine h1 em,
.on-wine h2 em,
.hero h1 em,
.closing h2 em { color: #D8C39F; }   /* contraste 6,8:1 sobre o vinho */

h3 em { font-style: normal; font-weight: inherit; color: inherit; }

/* Ritmo vertical: altura acompanha o conteúdo */
.section { padding: 48px 0; }
.section--tight-bottom { padding-bottom: 32px; }
.section--tight-top { padding-top: 0; }
.section--roomy { padding: 64px 0; }

/* Formação logo após a trajetória, separada só por um filete */
.education-block {
  display: grid;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.h2--sm { font-size: clamp(26px, 5.4vw, 34px); }

/* formação em linhas, no mesmo desenho da trajetória */
.education { margin: 0; border-top: 0; }

.education li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 0;
}

.education__level { letter-spacing: 0.04em; font-size: 12.5px; }
.education__course { margin-top: 0; font-size: 21px; }

/* Método LIDME na base clara */
.method__grid { display: grid; gap: 32px; }

.method__photo { margin: 0; }

.method__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 420px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 4px;
}

.method-section .accordion { margin-top: 28px; }
.method__origin { margin-top: 28px; }

/* Encerramento compacto */
.closing { padding: 56px 0; }
.closing .btn { margin-top: 24px; }

@media (min-width: 768px) {
  .section { padding: 80px 0; }
  .section--tight-bottom { padding-bottom: 40px; }
  .section--tight-top { padding-top: 0; }
  .section--roomy { padding: 96px 0; }

  .education-block { padding-top: 40px; }
  .education li { padding: 10px 0; }

  .closing { padding: 80px 0; }
}

@media (min-width: 1024px) {
  /* mesmo grid 5/7 em trajetória, formação e método */
  .education-block {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
  }

  .method__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    align-items: start;
  }

  .method__photo { position: sticky; top: calc(var(--header-h) + 32px); }
  .method__photo img { max-height: calc(100svh - var(--header-h) - 96px); }
}

@media (min-width: 768px) {
  .education { grid-template-columns: 1fr; }
  .education li, .education li:first-child { padding-left: 0; padding-right: 0; border-left: 0; }
}

/* coluna de rótulo igual na trajetória e na formação */
.timeline li, .education li { grid-template-columns: 136px 1fr; }
@media (max-width: 380px) {
  .timeline li, .education li { grid-template-columns: 1fr; gap: 2px; }
}

/* um único filete entre trajetória e formação */
.timeline li:last-child { border-bottom: 0; }

@media (max-width: 767px) {
  /* página de links: botão principal na primeira tela */
  .page-entry .hero__photo img { height: 36svh; min-height: 250px; }
}

/* Foto do Método LIDME: bordas dissolvendo no branco quente, centro (rosto) nítido */
.method__photo img {
  border-radius: 0;
  --f-left: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 9%, #000 22%);
  --f-right: linear-gradient(to left, transparent 0%, rgba(0, 0, 0, 0.6) 9%, #000 22%);
  --f-top: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 7%, #000 18%);
  --f-bottom: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.6) 10%, #000 26%);
  -webkit-mask-image: var(--f-left), var(--f-right), var(--f-top), var(--f-bottom);
  -webkit-mask-composite: source-in;
          mask-image: var(--f-left), var(--f-right), var(--f-top), var(--f-bottom);
          mask-composite: intersect;
}

@media (max-width: 767px) {
  /* botão principal da abertura em uma linha no celular */
  .hero__actions .btn { width: 100%; padding: 14px 18px; gap: 8px; white-space: nowrap; }
}

/* Ações da abertura: dois botões com a mesma altura e o mesmo desenho,
   bordas alinhadas entre si e com o título */
.hero__actions { gap: 12px; }
.hero__actions .btn { min-width: 0; }

.btn--ghost-light {
  background: transparent;
  color: var(--cream-text);
  box-shadow: inset 0 0 0 1px rgba(246, 237, 228, 0.45);
}

.btn--ghost-light:hover { background: rgba(246, 237, 228, 0.08); box-shadow: inset 0 0 0 1px var(--cream-text); }
.btn--ghost-light:active { background: rgba(246, 237, 228, 0.14); }
.on-wine .btn--ghost-light:focus-visible { outline-color: var(--cream-text); }

/* sem o rótulo acima do título, o título encosta melhor na foto */
.page-entry .hero h1 { margin-top: 4px; }

/* Ações empilhadas com a MESMA largura (a do botão maior) */
.hero__grid > * { min-width: 0; }

.hero__actions {
  display: grid;
  grid-auto-flow: row;
  justify-items: stretch;
  width: max-content;
  max-width: 100%;
  gap: 12px;
}

.hero__actions .btn { width: 100%; justify-content: center; }

@media (max-width: 767px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { font-size: 14.5px; padding: 14px 16px; white-space: normal; text-align: center; }
}

@media (max-width: 767px) {
  .hero__actions .btn { font-size: 14px; letter-spacing: 0; padding: 14px 12px; gap: 6px; }
}
