/* ==========================================================================
   Colégio Espaço — tokens (Figma AMokU9QxKbj5cvpCDFAVK2, desktop 55:206 / mobile 81:2516)
   Base comum a todas as seções. Cada seção tem seu arquivo em parts/css/NN-secao.css.
   ========================================================================== */

@font-face {
  font-family: "Baloo 2";
  src: url("assets/fonts/baloo2-latin-wght.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dmsans-latin-wght.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Layout */
  --container: 1280px;
  --gutter: 20px;
  --header-w: 1320px;

  /* Cores (variáveis do Figma) */
  --wine: #781830;
  --wine-deep: #4f0c21;
  --wine-soft: #a42b42;
  --sun: #f8c818;
  --sun-light: #ffd74c;
  --ink: #35121d;
  --muted: #6e6670;
  --white: #fffdf9;
  --pure-white: #ffffff;
  --cream: #fcfaf5;
  --paper: #f3eee4;
  --line: rgba(53, 18, 29, 0.15);
  --glass: rgba(255, 255, 255, 0.68);

  /* Tipografia */
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --fs-eyebrow: 14px;
  --lh-eyebrow: 14px;
  --ls-eyebrow: 0.56px;
  --fs-h2: 48px;
  --lh-h2: 1.2;
  --fs-lead: 18px;
  --lh-lead: 28.8px;
  --fs-body: 16px;
  --fs-btn: 18px;
  --lh-btn: 15px;
  --fs-nav: 18px;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Espaçamentos recorrentes */
  --sp-8: 8px;
  --sp-14: 14px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-25: 25px;
  --sp-28: 28px;
  --sp-36: 36px;
  --sp-40: 40px;
  --section-y: 80px;

  /* Raios */
  --r-20: 20px;
  --r-pill: 999px;

  /* Botão */
  --btn-h: 60px;
  --btn-pad: 0 10px 0 20px;
  --btn-gap: 14px;
  --btn-arrow: 30px;

  /* Animação de entrada (o site no ar usa fadeIn / fadeInUp) */
  --reveal-y: 24px;
  --reveal-dur: 0.7s;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 767px) {
  :root {
    --fs-h2: 32px;
    --fs-lead: 16px;
    --lh-lead: normal;
    --section-y: 60px;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Corte vertical dos textos igual ao Figma (leading trim) */
h1, h2, h3, p, .trim { text-box: trim-both cap alphabetic; }
/* Evita palavra sozinha na última linha */
h1, h2, h3, p, li, figcaption { text-wrap: pretty; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--wine-soft);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Componentes comuns
   ========================================================================== */

/* Etiqueta com losango amarelo (ex.: "◆ PERGUNTAS FREQUENTES") */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--wine);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--sun);
  transform: rotate(45deg);
}
.eyebrow--sun { color: var(--sun); }
/* Etiquetas cuja linha no Figma tem 10px (texto cortado na altura da maiúscula, o losango define a linha) */
.eyebrow--trim { height: 10px; }

.title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h2);
  color: var(--ink);
}

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--muted);
}

/* Botão do Figma: pílula de 60px, texto em caixa alta e seta num círculo.
   Hover: uma pílula amarela clara entra da esquerda (camada "Link Container" do Figma). */
.btn {
  --btn-bg: var(--sun);
  --btn-fg: var(--wine);
  --btn-hover-fg: var(--wine);
  --btn-arrow-bg: var(--wine);
  --btn-arrow-fg: var(--sun);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--btn-gap);
  height: var(--btn-h);
  padding: var(--btn-pad);
  overflow: hidden;
  border: 0;
  border-radius: var(--r-20);
  background: var(--btn-bg);
  font-family: var(--font-body);
  font-size: var(--fs-btn);
  font-weight: var(--fw-bold);
  line-height: var(--lh-btn);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--btn-fg);
  cursor: pointer;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: var(--r-pill);
  background: var(--sun-light);
  transform: translateX(-102%);
  transition: transform 0.45s var(--ease), border-radius 0.45s var(--ease);
}
.btn__label { text-box: trim-both cap alphabetic; }
.btn__arrow {
  flex: none;
  width: var(--btn-arrow);
  height: var(--btn-arrow);
  transition: transform 0.35s var(--ease);
}
.btn__arrow circle { fill: var(--btn-arrow-bg); }
.btn__arrow path { fill: var(--btn-arrow-fg); }
.btn--wine {
  --btn-bg: var(--wine-soft);
  --btn-fg: var(--cream);
  --btn-arrow-bg: var(--sun);
  --btn-arrow-fg: var(--wine-soft);
}
.btn__arrow circle,
.btn__arrow path { transition: fill 0.35s var(--ease); }
@media (hover: hover) {
  .btn:hover { color: var(--btn-hover-fg); }
  /* no hover o botão vinho fica amarelo: texto e seta passam para vinho, como no botão amarelo */
  .btn--wine:hover { --btn-arrow-bg: var(--wine); --btn-arrow-fg: var(--sun); }
  .btn:hover::before { transform: translateX(0); border-radius: var(--r-20); }
  .btn:hover .btn__arrow { transform: translateX(3px); }
}
.btn:active { transform: translateY(1px); }

/* Animação de entrada ao rolar: data-reveal="up" (padrão) ou data-reveal="fade".
   Atraso opcional: style="--reveal-delay: 120ms". Sem JavaScript, tudo aparece normalmente. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Menu (Figma 69:1436 desktop / 81:2814 mobile)
   ========================================================================== */

:root {
  --header-top: 9px;
  --header-h: 78px;
  --header-blur: 6.45px;
  --header-logo-w: 151px;
  --header-logo-h: 56px;
  --header-nav-gap: 25px;
  --header-cta-pad: 14px 16px;
  --header-cta-r: 38px;
  --header-toggle: 35.906px;
  --header-toggle-r: 8.207px;
  --header-bar-w: 19.948px;
  --header-bar-h: 2.992px;
}

.header {
  position: fixed;
  z-index: 50;
  top: var(--header-top);
  left: 0;
  right: 0;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--header-w);
  height: var(--header-h);
  margin-inline: auto;
  padding: 0 var(--sp-20);
  border: 1px solid var(--line);
  border-radius: var(--r-20);
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--header-blur));
  backdrop-filter: blur(var(--header-blur));
  pointer-events: auto;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header.is-scrolled .header__bar {
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 10px 30px -18px rgba(53, 18, 29, 0.35);
}

.header__logo img {
  width: var(--header-logo-w);
  height: var(--header-logo-h);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--header-nav-gap);
}

.header__link {
  position: relative;
  font-size: var(--fs-nav);
  font-weight: var(--fw-semibold);
  color: var(--wine);
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
  transition: color 0.25s var(--ease);
}
.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.header__cta {
  padding: var(--header-cta-pad);
  border-radius: var(--header-cta-r);
  background: var(--sun);
  font-size: var(--fs-nav);
  font-weight: var(--fw-semibold);
  color: var(--wine);
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

@media (hover: hover) {
  .header__link:hover { color: var(--wine-soft); }
  .header__link:hover::after { transform: scaleX(1); }
  .header__cta:hover { background: var(--sun-light); transform: translateY(-1px); }
}

.header__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: var(--header-toggle);
  height: var(--header-toggle);
  padding: 0;
  border: 0;
  border-radius: var(--header-toggle-r);
  background: var(--sun);
  cursor: pointer;
}
.header__toggle span {
  width: var(--header-bar-w);
  height: var(--header-bar-h);
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.99px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.99px) rotate(-45deg); }

/* Menu recolhido (abaixo de 900px os links não cabem na barra) */
@media (max-width: 899px) {
  .header__toggle { display: flex; }
  .header__nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-25);
    padding: var(--sp-25) var(--sp-20) var(--sp-28);
    border: 1px solid var(--line);
    border-radius: var(--r-20);
    background: var(--white);
    box-shadow: 0 20px 40px -20px rgba(53, 18, 29, 0.35);
  }
  .header__nav.is-open { display: flex; }
}

/* Mobile (Figma 420): barra encostada no topo, só com os cantos de baixo arredondados */
@media (max-width: 767px) {
  .header { top: 0; padding-inline: 0; }
  .header__bar { border-top: 0; border-radius: 0 0 var(--r-20) var(--r-20); }
  .header__nav { top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); }
}

/* ==========================================================================
   Hero (Figma 69:1126 + 55:892 + 69:1649 desktop / 81:2789 + 81:2751 + 81:2791 mobile)
   ========================================================================== */

:root {
  --hero-h: 800px;
  --hero-cream: #fff9e9;
  --hero-img-w: 2665.5px;            /* 104,12% da caixa de 2560 */
  --hero-img-h: 833px;
  --hero-pad-top: 201px;             /* etiqueta a 196 + 5 no frame */
  --hero-title-gap: 46px;            /* etiqueta → pílulas (linha de 37 + 28 − 14 + 5) */
  --hero-gap: 28px;
  --hero-pill-gap: 3px;
  --hero-pill-fs: 87px;
  --hero-pill-lh: 72.21px;
  --hero-pill-ls: -5.22px;
  --hero-pill-pad: 7px 25px 12px;
  --hero-pill-r: 27px;
  --hero-sub-fs: 42px;
  --hero-sub-ls: -1.47px;
  --hero-sub-pt: 22px;
  --hero-lead-fs: 18px;
  --hero-lead-lh: 27.9px;
  --hero-scroll-w: 153.48px;
  --hero-scroll-h: 46.3638px;
}

@media (max-width: 1023px) {
  :root {
    --hero-pad-top: 130px;
    --hero-title-gap: 20px;
    --hero-gap: 31px;
    --hero-pill-fs: 62.542px;
    --hero-pill-lh: 51.909px;
    --hero-pill-ls: -3.7525px;
    --hero-pill-pad: 5.032px 17.972px 8.626px;
    --hero-pill-r: 19.409px;
    --hero-sub-fs: 32px;
    --hero-sub-pt: 0px;
    --hero-scroll-w: 83.963px;
    --hero-scroll-h: 25.364px;
  }
}

.hero {
  position: relative;
  min-height: var(--hero-h);
  overflow: hidden;
  background: var(--hero-cream);
}

.hero__media {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--hero-img-w);
  height: var(--hero-img-h);
  transform: translateX(-50%);
}
.hero__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: var(--hero-pad-top);
}

.hero__eyebrow {
  line-height: var(--lh-eyebrow);
  color: var(--wine);              /* Figma: amarelo sobre creme (contraste 1,5:1, ilegível); losango e ✦ continuam amarelos */
}
.hero__eyebrow span { color: var(--sun); }

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-pill-gap);
  margin-top: var(--hero-title-gap);
  text-box: none;
}
.hero__pill {
  display: block;
  padding: var(--hero-pill-pad);
  border-radius: var(--hero-pill-r);
  font-family: var(--font-display);
  font-size: var(--hero-pill-fs);
  font-weight: var(--fw-extrabold);
  line-height: var(--hero-pill-lh);
  letter-spacing: var(--hero-pill-ls);
  white-space: nowrap;
}
.hero__pill--sun { background: var(--sun); color: var(--wine); rotate: -2deg; }
.hero__pill--wine { background: var(--wine); color: var(--sun); rotate: 1deg; }

.hero__subtitle {
  margin-top: calc(var(--hero-gap) + var(--hero-sub-pt));
  font-family: var(--font-display);
  font-size: var(--hero-sub-fs);
  font-weight: var(--fw-bold);
  line-height: var(--hero-sub-fs);
  letter-spacing: var(--hero-sub-ls);
  color: var(--wine-deep);
  text-box: none;                   /* no desktop o Figma não corta esta linha (bloco de 42px) */
}

.hero__lead {
  display: none;
  margin-top: var(--hero-gap);
  font-size: var(--hero-lead-fs);
  line-height: var(--hero-lead-lh);
  color: var(--wine);
}

.hero__btn { margin-top: var(--hero-gap); }

.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -1px;
  width: var(--hero-scroll-w);
  height: var(--hero-scroll-h);
  transform: translateX(-50%);
}
.hero__scroll svg { width: 100%; height: 100%; }
.hero__scroll circle { transition: fill 0.3s var(--ease); }
@media (hover: hover) {
  .hero__scroll:hover circle { fill: var(--wine-soft); }
}

/* Telas maiores que a foto: funde as laterais com o fundo */
@media (min-width: 2561px) {
  .hero__img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
}

/* Mobile e tablet: texto centralizado em cima, foto embaixo (Figma 420) */
@media (max-width: 1023px) {
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero__inner { align-items: center; text-align: center; padding-bottom: 3px; }
  .hero__title { align-items: center; }
  .hero__lead { display: block; max-width: 345px; }
  .hero__subtitle { text-box: trim-both cap alphabetic; }
  .hero__media {
    position: relative;
    order: 2;
    left: 0;
    width: 100%;
    height: auto;
    transform: none;
  }
  .hero__media::after {           /* foto surge do creme (degradê do Figma) */
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 18.7%;
    background: linear-gradient(180deg, var(--hero-cream), rgba(255, 249, 233, 0));
  }
  .hero__img { height: auto; }
}

/* Entrada do hero: as pílulas "assentam" na inclinação final, sem ficar invisíveis (não atrasa o carregamento) */
@keyframes hero-settle-sun { from { rotate: 0deg; translate: 0 6px; } }
@keyframes hero-settle-wine { from { rotate: 0deg; translate: 0 6px; } }
.hero__pill--sun { animation: hero-settle-sun 0.9s var(--ease) both; }
.hero__pill--wine { animation: hero-settle-wine 0.9s var(--ease) 0.08s both; }

/* ==========================================================================
   Jornada (Figma desktop 69:1309 / mobile 81:2942)
   ========================================================================== */

:root {
  --jornada-pad-top: 80px;
  --jornada-pad-bottom: 102px;      /* foto → próxima seção no Figma (80 + 22 da linha das abas) */
  --jornada-gap: 50px;              /* cabeçalho → etapas */
  --jornada-head-w: 920px;
  --jornada-head-gap: 36px;         /* título → texto */
  --jornada-stages-gap: 32px;       /* abas → foto */
  --jornada-tabs-gap: 38px;
  --jornada-tab-h: 66px;
  --jornada-tab-pad: 0 46px 0 14px;
  --jornada-tab-border: rgba(120, 24, 48, 0.16);
  --jornada-tab-shadow-hover: 0 8px 18px rgba(79, 12, 33, 0.14);
  --jornada-chev-top: 38px;
  --jornada-icon: 44px;
  --jornada-icon-r: 13px 13px 18px 13px;
  --jornada-icon-glyph: 23px;
  --jornada-fig-h: 545px;
  --jornada-fig-r: 30px;
  --jornada-fig-shadow: 0 26px 60px rgba(79, 12, 33, 0.16);
  --jornada-img-h: 100%;
  --jornada-shade: linear-gradient(5.345deg, rgba(49, 5, 20, 0.84) 21.819%, rgba(49, 5, 20, 0) 68.315%);
  --jornada-cap-left: 34px;
  --jornada-cap-bottom: 30px;
  --jornada-cap-w: 540px;
  --jornada-cap-fs: 40px;
  --jornada-cap-lh: 42px;
  --jornada-cap-ls: -1.68px;
  --jornada-dots-bg: rgba(57, 7, 24, 0.72);
  --jornada-dots-border: rgba(255, 255, 255, 0.24);
  --jornada-dot-off: rgba(255, 255, 255, 0.62);
}

.jornada {
  padding: var(--jornada-pad-top) 0 var(--jornada-pad-bottom);
  background: var(--paper);
}

.jornada__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--jornada-gap);
}

.jornada__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--jornada-head-gap);
  max-width: var(--jornada-head-w);
  text-align: center;
}
.jornada__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-20);
}

.jornada__stages {
  display: flex;
  flex-direction: column;
  gap: var(--jornada-stages-gap);
  width: 100%;
}

/* Abas das etapas */
.jornada__tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--jornada-tabs-gap);
}

.jornada__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  height: var(--jornada-tab-h);
  padding: var(--jornada-tab-pad);
  border: 1px solid var(--jornada-tab-border);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* seta entre as abas */
.jornada__tab:not(:last-child)::after {
  content: "";
  position: absolute;
  top: var(--jornada-chev-top);
  left: calc(100% + var(--jornada-tabs-gap) / 2 - 6px);   /* centrada no vão entre as abas */
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--wine);
  border-right: 2px solid var(--wine);
  transform: rotate(45deg);
  pointer-events: none;
}
.jornada__tab-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: var(--jornada-icon);
  height: var(--jornada-icon);
  border-radius: var(--jornada-icon-r);
  background: var(--sun);
  color: var(--wine);
}
.jornada__tab-icon svg { width: var(--jornada-icon-glyph); height: var(--jornada-icon-glyph); }
.jornada__tab-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.55px;
  white-space: nowrap;             /* no Figma o nome passa por cima do respiro da direita, em uma linha */
  text-box: trim-both cap alphabetic;
}
.jornada__tab.is-active {
  background: var(--wine-soft);
  color: var(--white);
}
@media (hover: hover) {
  .jornada__tab:not(.is-active):hover {
    transform: translateY(-2px);
    border-color: var(--wine-soft);
    box-shadow: var(--jornada-tab-shadow-hover);
  }
}

/* Foto com legenda (carrossel) */
.jornada__figure {
  position: relative;
  height: var(--jornada-fig-h);
  overflow: hidden;
  border-radius: var(--jornada-fig-r);
  box-shadow: var(--jornada-fig-shadow);
}
.jornada__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.jornada__track::-webkit-scrollbar { display: none; }
.jornada__slide {
  position: relative;
  flex: 0 0 100%;
  overflow: hidden;
  scroll-snap-align: start;
}
.jornada__slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--jornada-img-h);
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 1.2s var(--ease);
}
.jornada__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--jornada-shade);
}
.jornada__caption {
  position: absolute;
  z-index: 1;
  left: var(--jornada-cap-left);
  bottom: var(--jornada-cap-bottom);
  width: min(var(--jornada-cap-w), calc(100% - 2 * var(--jornada-cap-left)));
  font-family: var(--font-display);
  font-size: var(--jornada-cap-fs);
  font-weight: var(--fw-bold);
  line-height: var(--jornada-cap-lh);
  letter-spacing: var(--jornada-cap-ls);
  color: var(--white);
}
@media (hover: hover) {
  .jornada__figure:hover .jornada__slide img { transform: scale(1.03); }
}

.jornada__dots {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 3px;
  padding: 5px;
  border: 1px solid var(--jornada-dots-border);
  border-radius: var(--r-pill);
  background: var(--jornada-dots-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.jornada__dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: none;
  cursor: pointer;
}
.jornada__dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--jornada-dot-off);
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.jornada__dot.is-active::before { width: 16px; background: var(--sun); }
@media (hover: hover) {
  .jornada__dot:not(.is-active):hover::before { background: var(--white); }
}

/* Notebook pequeno: rótulos podem quebrar em duas linhas */
@media (max-width: 1279px) {
  .jornada__tab { padding-right: 20px; }
  .jornada__tab-label { white-space: normal; }
}

/* Tablet e celular: abas roláveis na horizontal, foto mais alta e legenda menor */
@media (max-width: 1023px) {
  :root {
    --jornada-tab-h: 59px;
    --jornada-tab-pad: 0 20px 0 11px;
    --jornada-chev-top: 25.5px;
    --jornada-fig-h: 445px;
    --jornada-img-h: 545px;
    --jornada-shade: linear-gradient(9.762deg, rgba(49, 5, 20, 0.84) 21.819%, rgba(49, 5, 20, 0) 68.315%);
    --jornada-cap-left: 20px;
    --jornada-cap-bottom: 28px;
    --jornada-cap-w: 331px;
    --jornada-cap-fs: 28px;
    --jornada-cap-lh: 1.2;
  }
  .jornada__tabs {
    display: flex;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .jornada__tabs::-webkit-scrollbar { display: none; }
  .jornada__tab {
    flex: 0 0 292px;
    scroll-snap-align: start;
  }
  .jornada__tab-label { white-space: nowrap; }
}

@media (max-width: 767px) {
  :root {
    --jornada-pad-top: 59px;
    --jornada-pad-bottom: 60px;
    --jornada-gap: 32px;
    --jornada-head-gap: 32px;
  }
  .jornada__dots { display: none; }
}

/* ==========================================================================
   Diferenciais (Figma desktop 69:1404 / mobile 83:3186)
   ========================================================================== */

:root {
  --diferenciais-bg: radial-gradient(circle 872px at 50% 0, #b02d4f 0%, var(--wine) 98.489%);
  --diferenciais-r: 50px;
  --diferenciais-pad-top: 83px;
  --diferenciais-pad-bottom: 80px;
  --diferenciais-gap: 50px;          /* cabeçalho → acordeão */
  --diferenciais-head-w: 630px;
  --diferenciais-photo-w: 413px;
  --diferenciais-photo-h: 538px;
  --diferenciais-col-gap: 109px;
  --diferenciais-list-w: 758px;
  --diferenciais-line: rgba(255, 255, 255, 0.26);
  --diferenciais-text: rgba(255, 255, 255, 0.76);
  --diferenciais-icon: 38px;
  --diferenciais-icon-r: 12px 12px 17px 12px;
  --diferenciais-name-fs: 21px;
  --diferenciais-name-lh: 31.5px;
  --diferenciais-text-indent: 54px;
  --diferenciais-cap-fs: 21px;
  --diferenciais-cap-left: 26px;
  --diferenciais-cap-bottom: 37px;
}

.diferenciais {
  padding: var(--diferenciais-pad-top) 0 var(--diferenciais-pad-bottom);
  border-radius: var(--diferenciais-r) var(--diferenciais-r) 0 0;
  background: var(--diferenciais-bg);
  color: var(--white);
}

.diferenciais__inner {
  display: flex;
  flex-direction: column;
  gap: var(--diferenciais-gap);
}

.diferenciais__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-20);
  max-width: var(--diferenciais-head-w);
}
.diferenciais__title { color: var(--white); }

/* A foto do item aberto ocupa a coluna da esquerda (fica fora do fluxo, centrada na lista) */
.diferenciais__body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 413fr) minmax(0, 758fr);
  column-gap: var(--diferenciais-col-gap);
  align-items: center;
  min-height: var(--diferenciais-photo-h);
}
.diferenciais__list {
  grid-column: 2;
  border-top: 1px solid var(--diferenciais-line);
}

.diferenciais__item { border-bottom: 1px solid var(--diferenciais-line); }

.diferenciais__summary {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  padding-block: 18px;
  list-style: none;
  cursor: pointer;
}
.diferenciais__summary::-webkit-details-marker { display: none; }
.diferenciais__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: var(--diferenciais-icon);
  height: var(--diferenciais-icon);
  border-radius: var(--diferenciais-icon-r);
  background: var(--sun);
  color: var(--wine);
  transition: transform 0.3s var(--ease);
}
.diferenciais__icon svg { width: 20px; height: 20px; }
.diferenciais__name {
  font-family: var(--font-display);
  font-size: var(--diferenciais-name-fs);
  font-weight: var(--fw-semibold);
  line-height: var(--diferenciais-name-lh);
  letter-spacing: -0.525px;
  transition: color 0.3s var(--ease);
}
.diferenciais__toggle {
  margin-left: auto;
  width: 14px;
  font-family: var(--font-body);
  font-size: 27px;
  line-height: 40.5px;
  letter-spacing: -0.525px;
  text-align: center;
  color: var(--sun);
  transition: transform 0.35s var(--ease);
}
.diferenciais__item[open] .diferenciais__toggle { transform: rotate(45deg); }

.diferenciais__panel {
  padding: 0 0 19px var(--diferenciais-text-indent);
}
.diferenciais__text {
  max-width: 580px;
  font-size: 14px;
  line-height: 23.1px;
  color: var(--diferenciais-text);
  text-box: none;
}

/* Foto: no desktop vai para a coluna da esquerda; no celular fica dentro do item aberto */
.diferenciais__figure {
  position: absolute;
  top: calc(50% - var(--diferenciais-photo-h) / 2);
  left: 0;
  width: calc((100% - var(--diferenciais-col-gap)) * 413 / 1171);
  height: var(--diferenciais-photo-h);
  overflow: hidden;
  border-radius: 0 0 56px 0;
  animation: diferenciais-in 0.5s var(--ease);
}
.diferenciais__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
/* melhoria: degradê escuro na base da foto para a frase amarela ser legível em fotos claras */
.diferenciais__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(49, 5, 20, 0.62) 0%, rgba(49, 5, 20, 0) 38%);
  pointer-events: none;
}
.diferenciais__caption {
  position: absolute;
  z-index: 1;
  left: var(--diferenciais-cap-left);
  bottom: var(--diferenciais-cap-bottom);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: var(--diferenciais-cap-fs);
  font-weight: var(--fw-bold);
  line-height: 23.1px;
  color: var(--sun);
}
.diferenciais__caption span { font-size: 21px; }
.diferenciais__item[open] .diferenciais__text { animation: diferenciais-in 0.45s var(--ease); }

@keyframes diferenciais-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (hover: hover) {
  .diferenciais__summary:hover .diferenciais__name { color: var(--sun); }
  .diferenciais__summary:hover .diferenciais__icon { transform: scale(1.08) rotate(-4deg); }
}

/* Abertura suave onde o navegador permite animar a altura */
@supports (interpolate-size: allow-keywords) {
  .diferenciais { interpolate-size: allow-keywords; }
  .diferenciais__item::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.4s var(--ease), content-visibility 0.4s allow-discrete;
  }
  .diferenciais__item[open]::details-content { height: auto; }
}

/* Tablet e celular: lista em coluna única com a foto dentro do item aberto */
@media (max-width: 1023px) {
  :root {
    --diferenciais-photo-h: 241px;
    --diferenciais-text-indent: 0px;
    --diferenciais-cap-left: 18px;
    --diferenciais-cap-bottom: 24px;
    --diferenciais-cap-fs: 18px;
  }
  .diferenciais__body {
    display: block;
    min-height: 0;
  }
  .diferenciais__panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 6px 0 18px;          /* 18 do título + 6 = 24 até o texto, como no Figma */
  }
  .diferenciais__text { max-width: none; text-box: trim-both cap alphabetic; }
  .diferenciais__figure {
    position: relative;
    top: auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --diferenciais-bg: radial-gradient(ellipse 872px 1151px at 93% 0, #b02d4f 0%, var(--wine) 98.489%);
    --diferenciais-pad-top: 61px;
    --diferenciais-pad-bottom: 141px;
    --diferenciais-gap: 40px;
    --diferenciais-line: rgba(255, 255, 255, 0.08);
    --diferenciais-name-fs: 20px;
    --diferenciais-name-lh: normal;
  }
  .diferenciais__list { border-top: 0; }
  .diferenciais__item { border-top: 1px solid var(--diferenciais-line); }   /* no Figma mobile cada item tem linha em cima e embaixo */
}

/* Celular: no Figma 420 o fundo vinho passa da tela (cantos arredondados ficam fora), então as bordas são retas */
@media (max-width: 767px) {
  :root { --diferenciais-r: 0px; }
}

/* ==========================================================================
   Depoimentos (Figma desktop 69:1154 sobre 69:1202 · mobile 83:3223)
   ========================================================================== */

:root {
  --depo-titles-w: 630px;
  --depo-quote-w: 457.784px;
  --depo-quote-gap: 20px;
  --depo-quote-icon-w: 17px;
  --depo-quote-icon-h: 16px;
  --depo-head-gap: 50px;          /* cabeçalho → carrossel */
  --depo-card-gap: 34px;
  --depo-per-view: 3;
  --depo-card-r: 22px;
  --depo-card-shadow: 0 18px 38px 0 rgba(77, 21, 39, 0.11);
  --depo-card-shadow-hover: 0 26px 48px 0 rgba(77, 21, 39, 0.18);
  --depo-controls-gap: 32px;
  --depo-dot: 9px;
  --depo-dot-active: 30px;
  --depo-dot-gap: 9px;
  --depo-dot-off: rgba(120, 24, 48, 0.22);
  --depo-arrow: 50px;
  --depo-arrow-gap: 8px;
  --depo-arrow-icon: 15px;
  --depo-track-room: 40px;        /* folga para a sombra e o hover dos cards */
}

@media (max-width: 767px) {
  :root {
    --depo-head-gap: 36px;
    --depo-per-view: 1;
    --depo-card-r: 20.693px;
    --depo-card-shadow: 0 16.931px 35.743px 0 rgba(77, 21, 39, 0.11);
  }
}

.depo {
  padding-block: var(--section-y);
  background: var(--paper);
}

.depo__inner {
  display: flex;
  flex-direction: column;
  gap: var(--depo-head-gap);
}

.depo__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-20);
}

.depo__titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-20);
  width: var(--depo-titles-w);
}
.depo__eyebrow { color: var(--ink); }

.depo__quote {
  display: flex;
  align-items: flex-start;
  gap: var(--depo-quote-gap);
  width: var(--depo-quote-w);
  font-size: var(--fs-body);
  line-height: 1.2;
  color: var(--muted);
  text-box: none;
}
.depo__quote span { text-box: trim-both cap alphabetic; }
.depo__quote-icon {
  flex: none;
  width: var(--depo-quote-icon-w);
  height: var(--depo-quote-icon-h);
  fill: var(--sun);
}

.depo__carousel {
  display: flex;
  flex-direction: column;
  gap: var(--depo-controls-gap);
}

.depo__track {
  display: flex;
  gap: var(--depo-card-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-block: var(--depo-track-room);
  margin-block: calc(-1 * var(--depo-track-room));
}
.depo__track::-webkit-scrollbar { display: none; }

.depo__track .depo__card {   /* especificidade acima do [data-reveal] da base, para o hover funcionar */
  flex: 0 0 calc((100% - (var(--depo-per-view) - 1) * var(--depo-card-gap)) / var(--depo-per-view));
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--depo-card-r);
  background: var(--white);
  box-shadow: var(--depo-card-shadow);
  scroll-snap-align: start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity var(--reveal-dur) var(--ease);
}
.depo__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.depo__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.depo__dots {
  display: flex;
  align-items: center;
  gap: var(--depo-dot-gap);
  min-height: 42px;
}
.depo__dot {
  width: var(--depo-dot);
  height: var(--depo-dot);
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--depo-dot-off);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}
.depo__dot.is-active {
  width: var(--depo-dot-active);
  background: var(--wine);
}

.depo__arrows {
  display: flex;
  gap: var(--depo-arrow-gap);
}
.depo__arrow {
  display: grid;
  place-items: center;
  width: var(--depo-arrow);
  height: var(--depo-arrow);
  padding: 0;
  border: 1px solid var(--wine);
  border-radius: 50%;
  background: transparent;
  color: var(--wine);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.depo__arrow svg {
  width: var(--depo-arrow-icon);
  height: auto;
  fill: currentColor;
}
.depo__prev svg { transform: scaleX(-1); }

@media (hover: hover) {
  .depo__track .depo__card:hover { transform: translateY(-6px); box-shadow: var(--depo-card-shadow-hover); }
  .depo__track .depo__card:hover img { transform: scale(1.03); }
  .depo__arrow:hover { background: var(--wine); color: var(--cream); }
  .depo__dot:not(.is-active):hover { background: var(--wine-soft); }
}
.depo__arrow:active { transform: scale(0.96); }

/* Tablet: cabeçalho empilhado e 2 depoimentos por vez */
@media (max-width: 1023px) {
  :root { --depo-per-view: 2; }
  .depo__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .depo__titles,
  .depo__quote { width: 100%; }
}
@media (max-width: 767px) {
  :root { --depo-per-view: 1; }
}

/* ==========================================================================
   História (Figma desktop 69:1223 + 69:1241 sobre 69:1439, curva 69:1644 · mobile 83:3243)
   ========================================================================== */

:root {
  --historia-bg: var(--pure-white);
  --historia-pad-bottom: 80px;
  --historia-wave-h: 36px;
  --historia-photos-w: 630px;
  --historia-text-w: 522px;
  --historia-text-offset: 82px;   /* texto começa 82px abaixo do topo das fotos (Figma) */
  --historia-gap: 128px;
  --historia-text-gap: 32px;
  --historia-fs-title: 48px;
  --historia-lh-title: 60.76px;
  --historia-ls-title: -2.79px;
  --historia-fs-highlight: 14px;
}

@media (max-width: 767px) {
  :root {
    --historia-pad-bottom: 170px;  /* mobile do Figma: 4466 → 4636 */
    --historia-wave-h: 20px;
    --historia-fs-title: 32px;
    --historia-lh-title: 1.2;
    --historia-ls-title: 0;
  }
}

.historia {
  position: relative;
  padding: var(--section-y) 0 var(--historia-pad-bottom);
  background: var(--historia-bg);
}

/* curva branca que sobe sobre o fim da seção anterior */
.historia__wave {
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 100%;
  height: var(--historia-wave-h);
  fill: var(--historia-bg);
  transform: scaleY(-1);
}

.historia__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--historia-gap);
}

/* Mosaico de fotos: medidas do Figma (630 de largura) em unidades do próprio mosaico,
   para o mobile (380) ficar exatamente na mesma proporção. */
.historia__photos {
  container-type: inline-size;
  flex: 0 1 var(--historia-photos-w);
}
.historia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(15 / 630 * 100cqi) calc(20 / 630 * 100cqi);
}
.historia__grid .historia__photo {   /* especificidade acima do [data-reveal] da base */
  width: 100%;
  height: auto;
  aspect-ratio: 305 / 244;
  object-fit: cover;
  border-radius: calc(22 / 630 * 100cqi) calc(58 / 630 * 100cqi) calc(22 / 630 * 100cqi) calc(22 / 630 * 100cqi);
  background: var(--wine);
  transition: transform 0.5s var(--ease), opacity var(--reveal-dur) var(--ease), filter 0.5s var(--ease);
}
.historia__grid .historia__photo--wide {
  grid-column: 1 / -1;
  aspect-ratio: 630 / 244;
}

.historia__text {
  flex: 0 1 var(--historia-text-w);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--historia-text-gap);
  padding-top: var(--historia-text-offset);
}
.historia__title {
  font-family: var(--font-display);
  font-size: var(--historia-fs-title);
  font-weight: var(--fw-bold);
  line-height: var(--historia-lh-title);
  letter-spacing: var(--historia-ls-title);
  color: var(--ink);
}
.historia__desc {
  font-size: var(--fs-body);
  line-height: 1.2;
  color: var(--muted);
}
.historia__highlight {
  font-size: var(--historia-fs-highlight);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--wine);
}

@media (hover: hover) {
  .historia__grid .historia__photo:hover { transform: translateY(-4px); filter: saturate(1.08); }
}

/* Tablet e mobile: fotos em cima, texto embaixo */
@media (max-width: 1023px) {
  .historia__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-40);
  }
  .historia__photos { flex: none; width: 100%; max-width: var(--historia-photos-w); }
  .historia__text { flex: none; padding-top: 0; }
}

/* Telas muito estreitas: o texto do botão quebra em duas linhas em vez de vazar */
@media (max-width: 400px) {
  .historia__btn {
    height: auto;
    min-height: var(--btn-h);
    padding-block: var(--sp-8);
    white-space: normal;
  }
}

/* ==========================================================================
   Espaços (estrutura) — Figma 69:1271 (desktop) / 83:3275 (mobile)
   ========================================================================== */

:root {
  --espacos-pad-top: 80px;
  --espacos-pad-bottom: 129px;       /* até o mapa da seção Visite */
  --espacos-bg-h: 1096px;            /* altura do degradê do Figma (69:1413) */
  --espacos-gap: 50px;
  --espacos-head-w: 795px;
  --espacos-col-gap: 20px;
  --espacos-ratio: 1279 / 610;       /* mosaico desktop */
  --espacos-rows: minmax(0, 249fr) minmax(0, 21fr) minmax(0, 70fr) minmax(0, 21fr) minmax(0, 249fr);
  --espacos-r: 20px;
  --espacos-r-big: 50px;
  --espacos-notch-w: 109.241px;
  --espacos-notch-h: 33px;
}

@media (max-width: 767px) {
  :root {
    --espacos-pad-top: 60px;
    --espacos-pad-bottom: 64px;
    --espacos-bg-h: 991px;
    --espacos-gap: 32px;
    --espacos-col-gap: 14px;
  }
}

.espacos {
  position: relative;
  padding: var(--espacos-pad-top) 0 var(--espacos-pad-bottom);
  background: linear-gradient(180deg, var(--paper) 0%, var(--pure-white) 100%) top / 100% var(--espacos-bg-h) no-repeat, var(--pure-white);
}

/* Recorte com seta no topo (vem da seção anterior, branca) */
.espacos__notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--espacos-notch-w);
  height: var(--espacos-notch-h);
  transform: translateX(-50%);
}

.espacos__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--espacos-gap);
}

.espacos__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-20);
  max-width: var(--espacos-head-w);
  text-align: center;
}

/* Mosaico: 3 colunas com alturas alternadas (249/340) e cantos de 50px nas pontas */
.espacos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: var(--espacos-rows);
  column-gap: var(--espacos-col-gap);
  width: 100%;
  aspect-ratio: var(--espacos-ratio);
}

.espacos__photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--espacos-r);
  background: var(--paper);
}
.espacos__photo img {
  position: absolute;                /* a foto não define a altura da célula */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.espacos__photo--5 { grid-area: 1 / 1 / 2 / 2; border-top-left-radius: var(--espacos-r-big); }
.espacos__photo--3 { grid-area: 3 / 1 / 6 / 2; border-bottom-left-radius: var(--espacos-r-big); }
.espacos__photo--4 { grid-area: 1 / 2 / 4 / 3; }
.espacos__photo--6 { grid-area: 5 / 2 / 6 / 3; }
.espacos__photo--1 { grid-area: 1 / 3 / 2 / 4; border-top-right-radius: var(--espacos-r-big); }
.espacos__photo--2 { grid-area: 3 / 3 / 6 / 4; border-bottom-right-radius: var(--espacos-r-big); }

@media (hover: hover) {
  .espacos__photo { transition: box-shadow 0.4s var(--ease); }
  .espacos__photo:hover { box-shadow: 0 18px 40px -18px rgba(53, 18, 29, 0.35); }
  .espacos__photo:hover img { transform: scale(1.06); }
}

/* Mobile: grade 2 × 3, células 183 × 165, todos os cantos de 20px (ordem do HTML) */
@media (max-width: 767px) {
  .espacos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: var(--espacos-col-gap);
    aspect-ratio: auto;
  }
  .espacos__photo {
    grid-area: auto;
    aspect-ratio: 183 / 165;
    border-radius: var(--espacos-r);
  }
}

/* ==========================================================================
   Visite (mapa ilustrado) — Figma 69:1441 + card 69:1337 (desktop) / 83:3296 (mobile)
   A ilustração usa as coordenadas do Figma num quadro de 1280 × 506 preso ao canto
   inferior direito do mapa; no mobile o quadro é deslocado como no Figma.
   ========================================================================== */

:root {
  --visite-pad-bottom: 80px;
  --visite-map-h: 506px;
  --visite-map-r: 40px;
  --visite-map-bg: #e9e6df;
  --visite-green: #d8e2c8;
  --visite-block: #f7f4ee;
  --visite-road-main: #fff8e8;
  --visite-road: #fffdf8;
  --visite-axis: #f5c519;
  --visite-axis-marker: #8a1538;
  --visite-label-title: #541026;
  --visite-label-text: #6f5b62;
  --visite-art-shift: translate(0, 0);
  --visite-card-left: 108px;
  --visite-card-top: 80px;
  --visite-card-w: 530px;
  --visite-card-pad: 60px;
  --visite-card-r: 20px 50px 20px 20px;
  --visite-fs-title: 48px;
  --visite-ls-title: -2.97px;
  --visite-fs-address: 18px;
  --visite-shadow-label: 0 6px 16px 0 rgba(46, 13, 23, 0.12);
  --visite-shadow-pin: 0 8px 20px 0 rgba(46, 13, 23, 0.18);
}

.visite {
  padding-bottom: var(--visite-pad-bottom);
  background: var(--pure-white);
}

.visite__map {
  position: relative;
  height: var(--visite-map-h);
  overflow: hidden;
  border-radius: var(--visite-map-r);
  background: var(--visite-map-bg);
  isolation: isolate;
}

.visite__art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1280px;
  height: 506px;
  transform: var(--visite-art-shift);
  transition: transform 0.8s var(--ease);
}

.visite__shape { position: absolute; }
.visite__shape--green { left: 703.24px; top: 79.05px; width: 410px; height: 250px; border-radius: 36px; background: var(--visite-green); transform: rotate(7deg); }
.visite__shape--block1 { left: 565.62px; top: 21.82px; width: 210px; height: 105px; border-radius: 18px; background: var(--visite-block); transform: rotate(-7deg); }
.visite__shape--block2 { left: 777.49px; top: 363.23px; width: 260px; height: 130px; border-radius: 20px; background: var(--visite-block); transform: rotate(6deg); }
.visite__shape--block3 { left: 1100.26px; top: 130.31px; width: 240px; height: 150px; border-radius: 22px; background: var(--visite-block); transform: rotate(-9deg); }
.visite__shape--block4 { left: 524.21px; top: 421.52px; width: 190px; height: 105px; border-radius: 16px; background: var(--visite-block); transform: rotate(-5deg); }
.visite__shape--road-main { left: 422.17px; top: 327.98px; width: 980px; height: 44px; border-radius: 22px; background: var(--visite-road-main); transform: rotate(8deg); }
.visite__shape--road-1 { left: 775.05px; top: -93.57px; width: 34px; height: 760px; border-radius: 17px; background: var(--visite-road); transform: rotate(-13deg); }
.visite__shape--road-2 { left: 921.84px; top: -93.96px; width: 30px; height: 760px; border-radius: 15px; background: var(--visite-road); transform: rotate(18deg); }
.visite__shape--road-3 { left: 442.91px; top: -6.91px; width: 850px; height: 24px; border-radius: 12px; background: var(--visite-road); transform: rotate(-18deg); }
.visite__shape--axis { left: 460.27px; top: 337.6px; width: 900px; height: 5px; border-radius: 3px; background: var(--visite-axis); transform: rotate(8deg); }
.visite__shape--axis-marker { left: 783.06px; top: -38.78px; width: 4px; height: 650px; border-radius: 2px; background: var(--visite-axis-marker); transform: rotate(-13deg); }

/* Área amarela em volta do marcador, com pulso suave */
.visite__halo {
  position: absolute;
  left: 880px;
  top: 185px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(245, 197, 25, 0.18);
  animation: visite-pulse 2.8s var(--ease) infinite;
}
@keyframes visite-pulse {
  0%, 100% { transform: scale(0.92); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.7; }
}

/* Marcador: anel branco de 80px com sombra + círculo vinho de 64px com ✦ amarelo */
.visite__pin {
  position: absolute;
  left: 930px;
  top: 235px;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--pure-white);
  box-shadow: var(--visite-shadow-pin);
}
.visite__pin::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--visite-axis-marker);
}
.visite__star {
  position: relative;
  width: 20px;
  height: 20px;
  fill: var(--visite-axis);
}

.visite__label {
  position: absolute;
  left: 870px;
  top: 330px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  width: 200px;
  height: 66px;
  padding: 13px 16px 0;
  border-radius: 14px;
  background: var(--pure-white);
  box-shadow: var(--visite-shadow-label);
  white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.visite__label strong { font-size: 16px; font-weight: var(--fw-semibold); line-height: normal; color: var(--visite-label-title); }
.visite__label span { font-size: 11px; line-height: normal; color: var(--visite-label-text); }

.visite__district {
  position: absolute;
  left: 1172.08px;
  top: 481.69px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--visite-axis-marker);
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(8deg);
}

/* Card vinho com o endereço */
.visite__card {
  position: absolute;
  z-index: 1;
  left: var(--visite-card-left);
  top: var(--visite-card-top);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-36);
  width: var(--visite-card-w);
  padding: var(--visite-card-pad);
  border-radius: var(--visite-card-r);
  background: var(--wine);
}
.visite__head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}
.visite__eyebrow { color: var(--cream); }
.visite__title {
  font-family: var(--font-display);
  font-size: var(--visite-fs-title);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: var(--visite-ls-title);
  color: var(--cream);
}
.visite__address {
  font-size: var(--visite-fs-address);
  font-weight: var(--fw-medium);
  font-style: normal;
  line-height: 1.2;
  color: var(--paper);
  text-box: trim-both cap alphabetic;
}
.visite__btn { --btn-fg: var(--wine-deep); --btn-hover-fg: var(--wine-deep); }

@media (hover: hover) {
  .visite__card { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
  .visite__map:hover .visite__card { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(53, 18, 29, 0.5); }
  .visite__map:hover .visite__label { transform: translateY(-4px); box-shadow: 0 12px 24px 0 rgba(46, 13, 23, 0.16); }
}

/* Notebooks menores: card mais estreito e mais à esquerda para não cobrir o marcador */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    --visite-card-left: 40px;
    --visite-card-w: 460px;
    --visite-card-pad: 50px;
  }
}

/* Tablet e mobile: card em cima, centralizado; ilustração presa embaixo à direita (Figma 83:3296) */
@media (max-width: 1023px) {
  :root {
    --visite-map-h: 652px;
    --visite-art-shift: translate(119.13px, 72.67px);
    --visite-card-top: 60px;
  }
  .visite__card {
    left: 0;
    right: 0;
    width: min(var(--visite-card-w), calc(100% - 40px));
    margin-inline: auto;               /* sem transform: o data-reveal usa transform */
  }
}

@media (max-width: 767px) {
  :root {
    --visite-pad-bottom: 131px;
    --visite-card-w: 340px;
    --visite-card-pad: 30px 20px;
    --visite-fs-title: 32px;
  }
}

/* ==========================================================================
   Matrículas — layout do site no ar (versão aprovada, sem formulário), medido em 1920 e 420.
   Fundo e camada de cor do Figma (69:1463 / 69:1501; mobile 83:3330 / 83:3331).
   ========================================================================== */

:root {
  --matriculas-pad-top: 108px;
  --matriculas-pad-bottom: 110px;
  --matriculas-shade: linear-gradient(117.84deg, rgba(72, 7, 27, 0.98) 13.186%, rgba(100, 12, 37, 0.93) 51.753%, rgba(102, 11, 37, 0.65) 93.827%);
  --matriculas-fs-title: 48px;
  --matriculas-lh-title: 60.76px;
  --matriculas-ls-title: -2.79px;
  --matriculas-fs-lead: 18px;
  --matriculas-lh-lead: 27px;
  --matriculas-lead-w: 640px;
  --matriculas-gap-title: 3px;       /* etiqueta → título */
  --matriculas-gap-lead: 0px;        /* título → texto */
  --matriculas-gap-btn: 29px;        /* texto → botão */
  --matriculas-gap-contacts: 40px;   /* botão → contatos */
  --matriculas-fs-btn: 18px;
  --matriculas-fs-contact: 18px;
  --matriculas-badge: 38px;
  --matriculas-badge-r: 12px 12px 17px 12px;
  --matriculas-badge-icon: 20px;
  --matriculas-contact-gap: 26px;
  --matriculas-contacts-gap: 40px 39px;
}

@media (max-width: 767px) {
  :root {
    --matriculas-pad-top: 58px;
    --matriculas-pad-bottom: 60px;
    --matriculas-shade: linear-gradient(94.5deg, rgba(72, 7, 27, 0.98) 13.186%, rgba(100, 12, 37, 0.93) 51.753%, rgba(102, 11, 37, 0.65) 93.827%);
    --matriculas-fs-title: 32px;
    --matriculas-lh-title: 38.4px;
    --matriculas-ls-title: -1.86px;
    --matriculas-fs-lead: 16px;
    --matriculas-lh-lead: 22px;
    --matriculas-gap-title: 9px;
    --matriculas-gap-lead: 16px;
    --matriculas-gap-btn: 31px;
    --matriculas-fs-btn: 15.12px;
    --matriculas-fs-contact: 16px;
    --matriculas-contacts-gap: 0px;
  }
}

.matriculas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--matriculas-pad-top) 0 var(--matriculas-pad-bottom);
  background: var(--wine-deep);
}
.matriculas > picture { position: absolute; z-index: -2; inset: 0; }   /* não ocupa linha no fluxo */
.matriculas__bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.matriculas::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--matriculas-shade);
}

.matriculas__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.matriculas__eyebrow { text-box: none; }

.matriculas__title {
  margin-top: var(--matriculas-gap-title);
  font-family: var(--font-display);
  font-size: var(--matriculas-fs-title);
  font-weight: var(--fw-bold);
  line-height: var(--matriculas-lh-title);
  letter-spacing: var(--matriculas-ls-title);
  color: var(--cream);
  text-box: none;
}

.matriculas__lead {
  max-width: var(--matriculas-lead-w);
  margin-top: var(--matriculas-gap-lead);
  font-size: var(--matriculas-fs-lead);
  line-height: var(--matriculas-lh-lead);
  color: var(--cream);
  text-box: none;
}

.matriculas__btn {
  margin-top: var(--matriculas-gap-btn);
  font-size: var(--matriculas-fs-btn);
}

.matriculas__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--matriculas-contacts-gap);
  margin-top: var(--matriculas-gap-contacts);
}
.matriculas__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--matriculas-contact-gap);
  font-size: var(--matriculas-fs-contact);
  font-weight: var(--fw-bold);
  line-height: 21.6px;
  color: var(--paper);
}
.matriculas__contact-text { transition: color 0.3s var(--ease); }
.matriculas__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: var(--matriculas-badge);
  height: var(--matriculas-badge);
  border-radius: var(--matriculas-badge-r);
  background: var(--sun);
  color: var(--wine);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.matriculas__badge svg {
  width: var(--matriculas-badge-icon);
  height: var(--matriculas-badge-icon);
}

@media (hover: hover) {
  .matriculas__contact:hover .matriculas__badge { transform: translateY(-2px) rotate(-6deg); background: var(--sun-light); }
  .matriculas__contact:hover .matriculas__contact-text { color: var(--sun); }
}

/* Celular (site no ar em 420): tudo alinhado à esquerda, contatos empilhados */
@media (max-width: 767px) {
  .matriculas__inner { align-items: flex-start; text-align: left; }
  .matriculas__contacts { flex-direction: column; align-items: flex-start; }
  .matriculas__contact-text { word-break: break-word; }
}

/* ==========================================================================
   FAQ (Figma 69:1651 / mobile 83:3392) — acordeão nativo com <details>
   ========================================================================== */

:root {
  --faq-pad-top: 80px;
  --faq-pad-bottom: 38px;
  --faq-w: 1064px;
  --faq-intro-w: 801px;
  --faq-lead-w: 685px;
  --faq-gap: 40px;
  --faq-item-gap: 17px;
  --faq-item-h: 80px;
  --faq-item-pad: 19px 29px 19px 25px;
  --faq-fs-q: 20px;
  --faq-plus: 42px;
  --faq-plus-r: 14px 14px 19px 14px;
  --faq-plus-bar: 13px;
}

@media (max-width: 767px) {
  :root {
    --faq-pad-top: 60px;
    --faq-pad-bottom: 60px;
    --faq-gap: 32px;
    --faq-item-h: auto;
    --faq-item-pad: 14px 20px;
    --faq-fs-q: 16px;
  }
}

.faq {
  padding: var(--faq-pad-top) 0 var(--faq-pad-bottom);
  background: var(--paper);
  interpolate-size: allow-keywords;   /* permite animar a abertura até "auto" */
}

.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--faq-gap);
}

.faq__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-36);
  max-width: var(--faq-intro-w);
  text-align: center;
}
.faq__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-20);
}
.faq__lead { max-width: var(--faq-lead-w); }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--faq-item-gap);
  width: 100%;
  max-width: var(--faq-w);
}

.faq__item {
  border-radius: var(--r-20);
  background: var(--pure-white);
  transition: box-shadow 0.3s var(--ease);
}
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  min-height: var(--faq-item-h);
  padding: var(--faq-item-pad);
  font-size: var(--faq-fs-q);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  color: var(--wine-deep);
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q-text {
  flex: 1;
  text-box: trim-both cap alphabetic;
  transition: color 0.3s var(--ease);
}

.faq__icon {
  position: relative;
  flex: none;
  width: var(--faq-plus);
  height: var(--faq-plus);
  border-radius: var(--faq-plus-r);
  background: var(--sun);
  transition: background 0.3s var(--ease), transform 0.35s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--faq-plus-bar);
  height: 1.8px;
  border-radius: 1px;
  background: var(--wine);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }   /* "+" vira "−" */

.faq__a {
  padding: 0 var(--sp-25) 24px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--muted);
  text-box: none;
}

@media (hover: hover) {
  .faq__item:hover { box-shadow: 0 12px 28px rgba(79, 12, 33, 0.08); }
  .faq__q:hover .faq__q-text { color: var(--wine-soft); }
  .faq__q:hover .faq__icon { background: var(--sun-light); transform: rotate(-6deg); }
}

@media (max-width: 767px) {
  .faq__a { padding: 0 var(--sp-20) 20px; }
  .faq__btn { --fs-btn: 16px; }
}

/* ==========================================================================
   Página 404 e Política de Privacidade (não existem no Figma; seguem os tokens)
   ========================================================================== */

.not-found__inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.policy { background: var(--cream); }
.policy__header { background: var(--white); border-bottom: 1px solid var(--line); }
.policy__bar { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.policy__back { font-weight: var(--fw-semibold); color: var(--wine); }
.policy__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: calc(860px + 2 * var(--gutter));
  padding-block: var(--section-y);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
}
.policy__content p,
.policy__content li { text-box: none; }
.policy__content h2 { margin-top: 24px; font-family: var(--font-display); font-size: 22px; text-box: none; }
.policy__content ul { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; list-style: disc; }
.policy__content a,
.policy__link { color: var(--wine); text-decoration: underline; }
.policy__link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.policy__updated { font-size: 14px; color: var(--muted); }
.policy__table { overflow-x: auto; }
.policy__table table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; }
.policy__table th,
.policy__table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
@media (hover: hover) {
  .policy__back:hover { color: var(--wine-soft); }
}


/* ==========================================================================
   Aviso de cookies (LGPD) — não existe no Figma; segue os tokens do site
   ========================================================================== */

.consent {
  position: fixed;
  z-index: 60;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent__box {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 860px;
  padding: 24px;
  border-radius: var(--r-20);
  background: var(--white);
  box-shadow: 0 20px 50px -20px rgba(53, 18, 29, 0.45), 0 0 0 1px var(--line);
  color: var(--muted);
}
.consent__title { font-size: 18px; font-weight: 700; color: var(--ink); }
.consent__text { font-size: 14px; line-height: 1.5; text-box: none; }
.consent__text a { color: var(--wine); text-decoration: underline; }
.consent__prefs { display: flex; flex-direction: column; gap: 10px; }
.consent__prefs[hidden] { display: none; }
.consent__opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
.consent__opt input { margin-top: 2px; accent-color: var(--wine-soft); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.consent__btn {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--wine);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wine);
  cursor: pointer;
}
.consent__btn[hidden] { display: none; }
.consent__btn--primary { border-color: transparent; background: var(--sun); color: var(--wine); }
.consent__btn--link {
  border-color: transparent;
  padding-inline: 4px;
  font-weight: 600;
  text-decoration: underline;
  text-transform: none;
}


/* ==========================================================================
   Rodapé (Figma 83:3621 desktop / 83:3622 mobile)
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --footer-pad-y: 80px;
  --footer-brand-w: 413px;
  --footer-col-w: 305px;
  --footer-logo-w: 257px;
  --footer-logo-h: 99px;
  --footer-gap-m: 60px;
  --fs-footer-heading: 20px;
  --fs-footer-slogan: 18px;
  --fs-small: 14px;
  --copyright-pad: 45px 0 35px;
}
@media (max-width: 767px) {
  :root {
    --footer-pad-y: 60px;
    --copyright-pad: 30px 0;
  }
}

.footer {
  background: var(--wine);
  color: var(--pure-white);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: var(--footer-pad-y);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-28);
  flex: 0 1 var(--footer-brand-w);
}
.footer__brand > img { width: var(--footer-logo-w); height: var(--footer-logo-h); }
.footer__motto { display: flex; flex-direction: column; gap: var(--sp-20); margin-top: 4px; }
.footer__slogan { font-family: "Montserrat", var(--font-body); font-size: var(--fs-footer-slogan); font-weight: var(--fw-semibold); }
.footer__desc { font-size: var(--fs-small); line-height: 1.4; text-box: none; }

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 0 1 var(--footer-col-w);
}
.footer__heading { font-family: "Montserrat", var(--font-body); font-size: var(--fs-footer-heading); font-weight: var(--fw-semibold); }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: var(--fs-body);
}
.footer__links li { text-box: trim-both cap alphabetic; }
.footer__links a { transition: color 0.25s var(--ease); }
@media (hover: hover) {
  .footer__links a:hover { color: var(--sun); }
}

.copyright {
  padding: var(--copyright-pad);
  background: var(--ink);
  color: var(--pure-white);
}
.copyright__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16) var(--sp-25);
  font-size: var(--fs-small);
}
.copyright__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.copyright__links a,
.copyright__links button {
  padding: 0;
  border: 0;
  background: none;
  font-size: var(--fs-small);
  color: var(--pure-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.copyright__dev { display: flex; align-items: center; gap: var(--sp-20); }
.copyright__dev img { width: 59px; height: 25px; }
@media (min-width: 768px) {
  .copyright__dev { margin-block: -7.5px; }   /* logo de 25px numa linha de 10px, como no Figma */
}
@media (hover: hover) {
  .copyright__links a:hover,
  .copyright__links button:hover { color: var(--sun); }
}

@media (max-width: 1023px) {
  .footer__inner { flex-direction: column; gap: var(--footer-gap-m); }
  .footer__brand,
  .footer__col { flex: none; width: 100%; }
}
@media (max-width: 767px) {
  .copyright__inner { flex-direction: column; text-align: center; }
  .copyright__links { justify-content: center; }
}
