/* ==========================================================================
   Pousada Chalés do Sol — folha de estilo única
   1. Tokens  2. Base  3. Layout  4. Cabeçalho  5. Componentes
   6. Seções específicas  7. Rodapé  8. Modo revisão  9. Movimento
   ========================================================================== */

/* 0. Fontes (auto-hospedadas, licença SIL OFL) ----------------------------- */
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../assets/fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --papel: #F4EFE6;
  --papel-2: #E9E0D1;
  --tinta: #1F1A14;
  --tinta-2: #3B342B;
  --tinta-3: #5E554A;
  --linha: #D9CEBC;
  --terracota: #A4471F;
  --terracota-escura: #7E3415;
  --terracota-clara: #E9A27F;
  --mato: #3F5B3A;
  --mato-texto: #3B4A36;
  --verde-claro: #E7EBDD;
  --verde-linha: #BFC8AF;
  --fuba: #EBD9A8;
  --fuba-texto: #3B2E1A;
  --noite: #16130F;
  --noite-texto: #CFC6B6;
  --creme: #EDE6D8;

  --f-titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texto: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mao: "Caveat", "Comic Sans MS", cursive;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  --t-h3: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --t-h2: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  --t-h1: clamp(3rem, 1.6rem + 6.4vw, 7.5rem);

  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 2.5rem; --s-6: 3.5rem; --s-7: clamp(2.75rem, 1.75rem + 3.2vw, 5rem);

  --raio: 20px;
  --raio-sm: 14px;
  --largura: 1240px;
  --margem: clamp(1.25rem, 4vw, 4rem);
  --header-h: 86px;
  --sombra: 0 24px 50px -26px rgba(31, 26, 20, 0.5);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font-family: var(--f-texto); font-size: var(--t-md); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--f-titulo); font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--terracota); text-underline-offset: 3px; }
a:hover { color: var(--terracota-escura); }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--terracota); outline-offset: 3px; border-radius: 4px; }
.pular { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--tinta); color: var(--papel); padding: .75rem 1rem; border-radius: 10px; }
.pular:focus { top: 1rem; color: var(--papel); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--largura); margin-inline: auto; padding-inline: var(--margem); }
.secao { padding-block: var(--s-7) 0; }
.secao--cheia { padding-block: var(--s-7); }
.split { display: flex; flex-wrap: wrap; gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.split > * { flex: 1 1 340px; min-width: 0; }
.split--topo { align-items: flex-start; }
.grade { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 240px)), 1fr)); }
.pilha > * + * { margin-top: var(--s-3); }
.cabeca { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-bottom: var(--s-4); }
.cabeca > p { max-width: 400px; color: var(--tinta-2); }

/* Tipos */
.sobre { font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracota); margin-bottom: var(--s-2); display: inline-flex; align-items: center; gap: .6rem; }
.h1, .h2, .h3 { font-family: var(--f-titulo); font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; }
.h1 { font-size: var(--t-h1); line-height: .94; letter-spacing: -.035em; }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); letter-spacing: -.02em; }
.h1 em, .h2 em, .h3 em { color: var(--terracota); }
.lead { font-size: var(--t-lg); line-height: 1.6; color: var(--tinta-2); max-width: 34rem; }
.corpo { font-size: 1.125rem; line-height: 1.75; color: var(--tinta-2); }
.corpo + .corpo { margin-top: var(--s-2); }
.mao { font-family: var(--f-mao); font-size: 1.6rem; line-height: 1.15; color: var(--terracota); }
.mao--inclinada { transform: rotate(-3deg); }
.discreto { font-size: var(--t-sm); color: var(--tinta-3); }

/* 4. Cabeçalho ------------------------------------------------------------- */
.topo { position: sticky; top: 0; z-index: 40; background: var(--papel); border-bottom: 1px solid #E2D8C8; }
.topo__barra { max-width: var(--largura); margin-inline: auto; padding-inline: var(--margem); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.marca { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--tinta); min-height: 44px; }
.marca img { height: 62px; width: auto; }
.marca__lugar { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-3); border-left: 1px solid #CFC3B0; padding-left: .9rem; line-height: 1.3; }
.menu { display: flex; align-items: center; gap: .25rem 1.5rem; }
.menu a { position: relative; color: var(--tinta); text-decoration: none; font-size: var(--t-sm); font-weight: 500; padding: .7rem 0; min-height: 44px; display: inline-flex; align-items: center; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .45rem; height: 2px; background: var(--terracota); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--terracota); }
.menu .menu__reservar { background: var(--tinta); color: var(--papel); padding: .7rem 1.25rem; border-radius: 999px; font-weight: 600; }
.menu .menu__reservar::after { display: none; }
.menu .menu__reservar:hover, .menu .menu__reservar[aria-current="page"] { background: var(--terracota); color: #FFF8EF; }
.menu-botao { display: none; align-items: center; gap: .6rem; min-height: 44px; min-width: 44px; padding: .5rem .9rem; border: 1.5px solid var(--tinta); border-radius: 999px; background: transparent; cursor: pointer; font-size: var(--t-sm); font-weight: 600; }
.menu-botao__icone { width: 18px; height: 12px; position: relative; }
.menu-botao__icone span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-botao__icone span:nth-child(1) { top: 0; }
.menu-botao__icone span:nth-child(2) { top: 5px; }
.menu-botao__icone span:nth-child(3) { top: 10px; }
.menu-botao[aria-expanded="true"] .menu-botao__icone span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao__icone span:nth-child(2) { opacity: 0; }
.menu-botao[aria-expanded="true"] .menu-botao__icone span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 920px) {
  :root { --header-h: 70px; }
  .marca img { height: 50px; }
  .marca__lugar { display: none; }
  .js .menu-botao { display: inline-flex; }
  .js .menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--papel); border-bottom: 1px solid #E2D8C8; padding: .5rem var(--margem) 1.5rem; box-shadow: 0 30px 40px -30px rgba(31,26,20,.35); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
  .js .menu.is-aberto { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .js .menu a { font-family: var(--f-titulo); font-size: 1.75rem; padding: .85rem 0; border-bottom: 1px solid var(--linha); }
  .js .menu a::after { display: none; }
  .js .menu .menu__reservar { margin-top: 1rem; justify-content: center; font-family: var(--f-texto); font-size: 1rem; border-bottom: 0; }
}
@media (max-width: 920px) { html:not(.js) .topo__barra { height: auto; flex-wrap: wrap; padding-block: .5rem; } html:not(.js) .menu { flex-wrap: wrap; } }

/* 5. Componentes ----------------------------------------------------------- */
/* Botões */
.botoes { display: flex; flex-wrap: wrap; gap: .75rem; }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.botao:active { transform: translateY(1px); }
.botao--cheio { background: var(--terracota); color: #FFF8EF; }
.botao--cheio:hover { background: var(--terracota-escura); color: #FFF8EF; }
.botao--linha { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.botao--linha:hover { background: var(--tinta); color: var(--papel); }
.botao--grande { min-height: 60px; padding: 1rem 2rem; font-size: 1.0625rem; }
.botao svg { width: 18px; height: 18px; flex: none; }

/* Fotos */
.foto { position: relative; overflow: hidden; border-radius: var(--raio); background: var(--papel-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.foto:hover img { transform: scale(1.04); }
.foto__etiqueta { position: absolute; left: 12px; bottom: 12px; background: var(--papel); color: var(--tinta); font-size: .78rem; font-weight: 600; padding: .4rem .75rem; border-radius: 999px; }
.legenda { margin-top: .6rem; font-size: var(--t-sm); color: var(--tinta-3); }
.legenda--mao { font-family: var(--f-mao); font-size: 1.4rem; line-height: 1.2; color: var(--terracota); }
.polaroid { position: absolute; border: 6px solid var(--papel); border-radius: 16px; overflow: hidden; box-shadow: var(--sombra); background: var(--papel-2); }
.polaroid img { width: 100%; height: 100%; object-fit: cover; }

/* Janela de vídeo */
.janela { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--raio); overflow: hidden; background: var(--papel-2); cursor: zoom-in; aspect-ratio: 9 / 16; transition: transform .5s var(--ease), box-shadow .5s; }
.janela:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 60px -22px rgba(31,26,20,.45); }
.janela video { width: 100%; height: 100%; object-fit: cover; }
.janela__rotulo { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .45rem; background: rgba(31,26,20,.78); color: var(--papel); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .45rem .75rem; border-radius: 999px; }
.janela__rotulo svg { width: 12px; height: 12px; }

/* Modal de vídeo */
.modal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; }
.modal::backdrop { background: rgba(22,19,15,.9); }
.modal__corpo { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 4.5rem 1rem 1.5rem; }
.modal__video { height: min(80vh, 860px); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #000; }
.modal__video video { width: 100%; height: 100%; object-fit: cover; }
.modal__titulo { font-family: var(--f-mao); font-size: 1.6rem; color: var(--terracota-clara); text-align: center; }
.modal__fechar { position: absolute; top: 1rem; right: 1rem; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--papel); color: var(--tinta); cursor: pointer; display: grid; place-items: center; }
.modal__fechar svg { width: 20px; height: 20px; }

/* Selo girando */
.selo { width: 132px; height: 132px; border-radius: 50%; background: var(--papel); padding: 6px; box-shadow: 0 14px 30px -16px rgba(31,26,20,.5); }
.selo img { width: 100%; height: 100%; }
.gira { animation: gira 40s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }

/* Faixa de palavras */
.faixa { background: var(--tinta); color: var(--papel); overflow: hidden; padding-block: 1.1rem; white-space: nowrap; }
.faixa__trilho { display: inline-flex; width: max-content; margin: 0; gap: 2.5rem; padding-right: 2.5rem; font-family: var(--f-titulo); font-style: italic; font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem); animation: corre 48s linear infinite; }
.faixa__trilho span { flex: none; white-space: nowrap; }
.faixa__trilho span:nth-child(even) { color: var(--terracota-clara); font-style: normal; }
@keyframes corre { to { transform: translateX(-50%); } }

/* Linha do tempo (Um dia aqui) */
.dia { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); border-top: 1.5px solid var(--tinta); }
.dia li { border-bottom: 1px solid var(--linha); }
.dia a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.75rem 1.5rem 1.75rem 0; text-decoration: none; color: var(--tinta); transition: background .3s; }
.dia a:hover { background: var(--papel-2); }
.dia__hora { font-family: var(--f-titulo); font-size: 2.75rem; font-weight: 300; line-height: 1; color: var(--terracota); }
.dia__hora--verde { color: var(--mato); }
.dia strong { font-size: 1.125rem; }
.dia span:not(.dia__hora):not(.dia__ir) { font-size: var(--t-sm); color: var(--tinta-3); line-height: 1.55; }
.dia__ir { margin-top: auto; padding-top: .5rem; font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terracota); }

/* Passos (Da cozinha pra mesa) */
.passos { list-style: none; display: grid; gap: var(--s-4) var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (max-width: 600px) { .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) .75rem; } .passos .foto { height: 200px; } }
.passos li { display: flex; flex-direction: column; gap: .6rem; }
.passos .foto { height: 290px; }
.passos__titulo { font-family: var(--f-mao); font-size: 1.5rem; color: var(--terracota); line-height: 1.1; }
.passos p { font-size: var(--t-sm); line-height: 1.55; color: var(--tinta-3); }

/* Cheiros */
.cheiros { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.cheiros__lista { flex: 1 1 320px; display: flex; flex-direction: column; gap: .6rem; }
.cheiro { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; width: 100%; min-height: 60px; padding: 1rem 1.35rem; border-radius: var(--raio-sm); border: 1.5px solid #CFC3B0; background: transparent; color: var(--tinta); text-align: left; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.cheiro:hover { border-color: var(--terracota); }
.cheiro[aria-pressed="true"] { background: var(--terracota); border-color: var(--terracota); color: #FFF8EF; }
.cheiro__nome { font-family: var(--f-titulo); font-size: 1.375rem; }
.cheiro__hora { font-size: var(--t-xs); font-weight: 600; letter-spacing: .06em; opacity: .85; }
.cheiros__painel { flex: 2 1 420px; min-height: 400px; background: var(--tinta); color: var(--creme); border-radius: 22px; padding: clamp(1.75rem, 4vw, 3.5rem); display: grid; }
.cheiro-texto { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.js .cheiro-texto { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.js .cheiro-texto.is-ativo { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease) .05s, transform .45s var(--ease) .05s; }
html:not(.js) .cheiros__painel { display: flex; flex-direction: column; gap: 2.5rem; }
.cheiro-texto__hora { font-family: var(--f-mao); font-size: 1.9rem; color: var(--terracota-clara); }
.cheiro-texto__frase { font-family: var(--f-titulo); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.25; }
.cheiro-texto__onde { font-size: var(--t-sm); color: #B8AE9E; }

/* Fichas do diário de campo */
.ficha { background: #F6F3EA; border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 0 #CBD3BC; }
.ficha .foto, .ficha .janela { height: 340px; aspect-ratio: auto; border-radius: var(--raio-sm); }
.ficha__texto { padding: .5rem .5rem .6rem; }
.ficha__num { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mato); margin-bottom: .35rem; }
.ficha h3 { font-size: 1.625rem; font-weight: 500; }
.ficha__ciencia { font-family: var(--f-titulo); font-style: italic; color: var(--tinta-3); margin: .15rem 0 .6rem; }
.ficha__nota { font-family: var(--f-mao); font-size: 1.5rem; line-height: 1.2; color: var(--mato); }
.ficha__detalhe { position: absolute; right: -6px; bottom: -14px; width: 96px; height: 120px; object-fit: cover; border-radius: 12px; border: 4px solid #F6F3EA; transform: rotate(5deg); }

/* Galeria horizontal */
.trilho { display: flex; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 1.25rem; margin-inline: -4px; scrollbar-width: thin; scrollbar-color: var(--mato) transparent; overscroll-behavior-x: contain; }
.trilho > * { scroll-snap-align: start; flex: 0 0 auto; }
.trilho figure { width: var(--w, clamp(260px, 30vw, 380px)); }
.trilho .foto { height: clamp(380px, 52vw, 520px); }
.trilho figcaption { margin-top: .6rem; font-family: var(--f-mao); font-size: 1.35rem; color: var(--mato); }
.trilho-controles { display: flex; gap: .5rem; }
.trilho-controles button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--mato); background: transparent; color: var(--mato); cursor: pointer; display: grid; place-items: center; }
.trilho-controles button:hover { background: var(--mato); color: var(--verde-claro); }
.trilho-controles svg { width: 18px; height: 18px; }

/* Lista em colunas com linhas */
.colunas { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1.5px solid var(--tinta); }
.colunas li { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--linha); }
.colunas h3 { font-size: 1.375rem; font-weight: 500; margin-bottom: .4rem; }
.colunas p { font-size: var(--t-sm); line-height: 1.6; color: var(--tinta-2); }

/* Ficha prática */
.info { list-style: none; border-top: 1px solid var(--linha); }
.info li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linha); }
.info li span:last-child { color: var(--tinta-3); text-align: right; }

/* Detalhes da casa */
.detalhes .foto { height: 280px; }

/* 6. Seções específicas ---------------------------------------------------- */
/* Abertura */
.abertura { padding-block: clamp(1.5rem, 3.2vw, 3rem) clamp(1.5rem, 3vw, 2.75rem); }
.abertura__video { position: relative; display: flex; justify-content: center; }
.abertura__video .janela { width: min(100%, 360px); border-radius: 28px; box-shadow: var(--sombra); }
.abertura__video .selo { position: absolute; top: -34px; left: max(-10px, calc(50% - 250px)); }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--terracota); }

/* Seção escura */
.noite { background: var(--noite); color: var(--creme); }
.noite .sobre { color: var(--terracota-clara); }
.noite .h2 em { color: var(--terracota-clara); }
.noite .corpo { color: var(--noite-texto); }
.noite__logo { width: 180px; margin-bottom: var(--s-4); opacity: .92; }
.noite__fotos { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.noite__fotos .foto { height: clamp(420px, 50vw, 680px); background: #231E18; }
.noite__fotos .foto:first-child { flex: 2 1 420px; }
.noite__fotos .foto:last-child { flex: 1 1 260px; }
.noite__legenda { position: absolute; left: 20px; bottom: 18px; font-family: var(--f-mao); font-size: 1.75rem; color: #FFE7C9; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.noite .mao { color: var(--terracota-clara); }

/* Verde (Lá fora) */
.verde { background: var(--verde-claro); }
.verde .sobre { color: var(--mato); }
.verde .h2 em, .verde .h3 em { color: var(--mato); }
.verde .cabeca > p, .verde .corpo { color: var(--mato-texto); }
.verde .colunas li { border-color: var(--verde-linha); }
.verde .colunas p { color: var(--mato-texto); }

/* Bloco fubá */
.fuba { background: var(--fuba); border-radius: 26px; overflow: hidden; display: flex; flex-wrap: wrap; }
.fuba__texto { flex: 1 1 380px; padding: clamp(1.75rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; }
.fuba .sobre { color: var(--terracota-escura); margin: 0; }
.fuba__texto p { color: var(--fuba-texto); font-size: 1.0625rem; line-height: 1.65; }
.fuba__fotos { flex: 1 1 340px; display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.fuba__fotos .foto { border-radius: 0; }

/* Destaque terracota */
.nota-casa { background: var(--terracota); color: #FFF8EF; border-radius: var(--raio); padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; min-height: 260px; }
.nota-casa .mao { color: #FFF8EF; font-size: 1.9rem; }
.nota-casa p:last-child { font-family: var(--f-titulo); font-size: 1.5rem; line-height: 1.3; }

/* Quem recebe */
.anfitrioes { background: var(--papel-2); border-radius: 26px; padding: clamp(1.75rem, 5vw, 4.5rem); display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.anfitrioes__foto { flex: 1 1 260px; height: 360px; border-radius: 18px; border: 2px dashed #BFB29D; display: flex; align-items: flex-end; padding: 1rem; color: var(--tinta-3); font-size: var(--t-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.anfitrioes__texto { flex: 2 1 380px; }

/* Vila */
.vila-fotos { position: relative; padding-bottom: 60px; }
.vila-fotos > .foto { height: clamp(460px, 56vw, 680px); }
.vila-fotos .polaroid--a { left: -12px; bottom: 0; width: 40%; max-width: 210px; aspect-ratio: 3 / 4; transform: rotate(-4deg); }
.vila-fotos .polaroid--b { right: -10px; bottom: 20px; width: 34%; max-width: 180px; aspect-ratio: 3 / 4; transform: rotate(5deg); }

/* Reservar */
.reserva { text-align: center; }
.reserva__selo { width: 168px; margin: 0 auto var(--s-4); }
.reserva .h1 { max-width: 12ch; margin-inline: auto; }
.reserva .lead { margin: var(--s-3) auto var(--s-5); }
.reserva .botoes { justify-content: center; }
.pratico { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1.5px solid var(--tinta); text-align: left; }
.pratico h2 { font-family: var(--f-texto); font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; line-height: 1.3; }
.pratico p, .pratico li { font-size: var(--t-sm); line-height: 1.65; color: var(--tinta-3); }
.pratico ul { list-style: none; }
.pratico li + li { margin-top: .4rem; }

/* 7. Rodapé ---------------------------------------------------------------- */
.proximo { margin-top: var(--s-7); }
.proximo a { border-top: 1.5px solid var(--tinta); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; padding-block: clamp(1.5rem, 3.5vw, 2.5rem); text-decoration: none; color: var(--tinta); }
.proximo__rotulo { display: block; font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracota); margin-bottom: .6rem; }
.proximo__titulo { font-family: var(--f-titulo); font-size: var(--t-h2); line-height: 1; letter-spacing: -.03em; }
.proximo__seta { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--tinta); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); flex: none; }
.proximo__seta svg { width: 24px; height: 24px; }
.proximo a:hover .proximo__seta { background: var(--terracota); border-color: var(--terracota); color: #FFF8EF; transform: translateX(6px); }
.rodape { border-top: 1px solid #E2D8C8; }
.rodape__barra { max-width: var(--largura); margin-inline: auto; padding: 2rem var(--margem) 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; font-size: var(--t-xs); color: var(--tinta-3); }
.rodape__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.rodape__links a { color: var(--tinta-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rodape__links a:hover { color: var(--terracota); }
.rodape__assinatura { font-family: var(--f-mao); font-size: 1.25rem; color: var(--terracota); }

/* 8. Modo revisão (?revisao) ----------------------------------------------- */
.rv, .rv-bloco, .rv-aviso { display: none; }
.is-revisao .rv { display: inline; font-family: var(--f-texto); font-style: normal; font-size: .72em; font-weight: 700; letter-spacing: .02em; color: var(--terracota-escura); background: var(--fuba); padding: .12em .45em; border-radius: 6px; margin-inline: .2em; vertical-align: .12em; white-space: normal; text-transform: none; text-shadow: none; }
.is-revisao .rv-bloco { display: block; margin-top: .75rem; padding: .75rem 1rem; border-left: 3px solid var(--terracota); background: var(--fuba); color: var(--fuba-texto); font-family: var(--f-texto); font-style: normal; font-size: .875rem; line-height: 1.5; border-radius: 0 10px 10px 0; text-align: left; }
.is-revisao .rv-bloco::before { content: "Confirmar com os donos: "; font-weight: 700; color: var(--terracota-escura); }
.is-revisao .so-publico { display: none !important; }
.so-revisao { display: none !important; }
.is-revisao .so-revisao { display: revert !important; }
.is-revisao .anfitrioes.so-revisao, .is-revisao .anfitrioes .so-revisao { display: flex !important; }
.is-revisao .rv-aviso { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1rem; background: var(--fuba); color: var(--fuba-texto); font-size: .8125rem; padding: .55rem var(--margem); text-align: center; border-bottom: 1px solid #D8C38C; }
.rv-aviso strong { color: var(--terracota-escura); }
.rv-aviso a { color: var(--terracota-escura); font-weight: 600; }

/* 9. Movimento ------------------------------------------------------------- */
.js .revela { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .revela.is-visivel { opacity: 1; transform: none; }
.entra { animation: entra 1s var(--ease) both; }
.entra--1 { animation-delay: .12s; } .entra--2 { animation-delay: .24s; } .entra--3 { animation-delay: .4s; }
@keyframes entra { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revela { opacity: 1; transform: none; }
  .faixa__trilho { white-space: normal; flex-wrap: wrap; justify-content: center; row-gap: .25rem; padding-inline: var(--margem); }
  .faixa__trilho [aria-hidden="true"] { display: none; }
}

@media (max-width: 560px) {
  .abertura__video .selo { width: 104px; height: 104px; top: -26px; left: 0; }
  .vila-fotos .polaroid--b { display: none; }
  .fuba__fotos { min-height: 300px; }
  .proximo__seta { width: 52px; height: 52px; }
}

@media print {
  .topo, .faixa, .proximo, .modal, .janela { display: none !important; }
  body { background: #fff; }
}

/* Ajustes de grade */
.janela--preenche { aspect-ratio: auto; height: 100%; min-height: 420px; }
@media (min-width: 760px) {
  .s2 { grid-column: span 2; }
  .s3 { grid-column: span 3; }
}

/* Acolhida (Quem recebe) */
.acolhida { display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: flex-start; background: var(--papel-2); border-radius: 26px; padding: clamp(1.5rem, 4vw, 3.5rem); }
.acolhida__lado { flex: 1 1 280px; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 900px) { .acolhida__lado { position: sticky; top: calc(var(--header-h) + 24px); } }
.acolhida__foto { height: 340px; border-radius: 18px; border: 2px dashed #BFB29D; align-items: flex-end; padding: 1rem; color: var(--tinta-3); font-size: var(--t-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.is-revisao .acolhida__foto.so-revisao { display: flex !important; }
.acolhida__cartao { background: var(--papel); border-radius: 18px; padding: 1.75rem; }
.acolhida__nomes { font-family: var(--f-mao); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; color: var(--terracota); }
.acolhida__juntos { margin-top: .35rem; font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-3); }
.acolhida__rota { list-style: none; margin-top: 1.5rem; border-top: 1px solid var(--linha); }
.acolhida__rota li { display: grid; grid-template-columns: 4.25rem 1fr; gap: .75rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--linha); font-size: var(--t-sm); color: var(--tinta-2); }
.acolhida__rota span { font-family: var(--f-titulo); font-size: 1.375rem; color: var(--terracota); }
.acolhida__texto { flex: 2 1 420px; min-width: 0; }
.acolhida__papeis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem 2rem; margin: 1.5rem 0; padding-block: 1.5rem; border-block: 1px solid #CFC3B0; }
.acolhida__papeis p:not(.acolhida__papel) { font-size: 1rem; line-height: 1.7; color: var(--tinta-2); }
.acolhida__papel { font-family: var(--f-titulo); font-style: italic; font-size: 1.5rem; color: var(--tinta); margin-bottom: .5rem; }
.acolhida__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: .25rem; font-weight: 600; font-size: var(--t-sm); }
.acolhida__assina { margin-top: 2rem; font-size: 1.9rem; }
.acolhida__assina span { display: block; font-family: var(--f-texto); font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-3); margin-top: .5rem; }
.ponte > .foto { flex: 1 1 360px; }
.acolhida__retrato { height: clamp(340px, 34vw, 440px); }

/* Silhueta do logo sobre o título da abertura */
.hero-sobre { align-items: flex-end; margin-bottom: 1.25rem; }
.hero-sobre .ponto { margin-bottom: .45em; flex: none; }
.hero-marca { display: inline-flex; flex-direction: column; gap: clamp(.75rem, 1.4vw, 1.1rem); }
.hero-silhueta { width: 100%; height: auto; }
@media (max-width: 560px) { .hero-sobre { font-size: .72rem; letter-spacing: .07em; white-space: nowrap; } }
.ponte { justify-content: center; }
.ponte > .ponte__foto { flex: 0 1 400px; height: clamp(340px, 34vw, 460px); }
.ponte > .ponte__foto img { object-position: center 40%; }
@media (max-width: 760px) { .ponte > .ponte__foto { flex-basis: 100%; height: 420px; } }
.ponte { align-items: flex-start; }
.ponte > .ponte__foto { height: clamp(320px, 27vw, 380px); flex-basis: 340px; }
.ponte > div { flex: 1 1 340px; max-width: 34rem; }

/* Galeria que desliza sozinha (Lá fora) */
.desliza { overflow: hidden; padding-block: 4px; }
.desliza__trilho { display: flex; width: max-content; animation: desliza 70s linear infinite; }
.desliza:hover .desliza__trilho, .desliza:focus-within .desliza__trilho, .desliza.is-pausado .desliza__trilho { animation-play-state: paused; }
@keyframes desliza { to { transform: translateX(-50%); } }
.desliza__item { flex: none; width: var(--w, clamp(260px, 28vw, 380px)); margin-right: var(--s-2); }
.desliza__item .foto { height: clamp(320px, 38vw, 460px); }
.desliza__item figcaption { margin-top: .6rem; font-family: var(--f-mao); font-size: 1.35rem; color: var(--mato); }
.desliza__pausa { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border: 1.5px solid var(--mato); border-radius: 999px; background: transparent; color: var(--mato); font-size: var(--t-sm); font-weight: 600; cursor: pointer; }
.desliza__pausa:hover { background: var(--mato); color: var(--verde-claro); }
.desliza__pausa svg { width: 14px; height: 14px; }
.desliza__pausa svg[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .desliza { padding-inline: var(--margem); max-width: var(--largura); margin-inline: auto; }
  .desliza__trilho { width: auto; flex-wrap: wrap; gap: var(--s-2); }
  .desliza__item { margin-right: 0; flex: 1 1 260px; width: auto; }
  .desliza__item[aria-hidden="true"], .desliza__pausa { display: none; }
}

/* Vila: igrejas e noite */
.vila-grade { display: grid; gap: var(--s-2) var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.vila-grade .foto { height: clamp(300px, 34vw, 460px); }
@media (min-width: 900px) { .vila-grade { grid-template-columns: 1fr 1.25fr; } }
.noite-cartoes { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.noite-cartao { border: 1px solid #3A322A; border-radius: var(--raio); padding: clamp(1.5rem, 3vw, 2.25rem); background: #1E1A15; }
.noite-cartao__rotulo { font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracota-clara); margin-bottom: .75rem; }
.noite-cartao h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--creme); margin-bottom: .9rem; }
.noite-cartao p:not(.noite-cartao__rotulo) { color: var(--noite-texto); line-height: 1.7; }
.noite-cartao__lista { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.noite-cartao__lista li { border: 1px solid #5A4E42; color: var(--creme); border-radius: 999px; padding: .4rem .9rem; font-size: var(--t-sm); }
.vila-bota { display: flex; gap: 1.25rem; align-items: center; max-width: 460px; }
.vila-bota .foto { flex: 0 0 130px; height: 170px; border-radius: var(--raio-sm); }
.vila-bota p:not(.mao) { color: var(--tinta-2); }

/* Selo colorido (Reservar) */
.reserva__selo-cor { width: clamp(260px, 30vw, 380px); margin: 0 auto var(--s-4); }
.reserva__selo-cor svg { width: 100%; height: auto; display: block; overflow: visible; }
.selo-sol { transform-box: fill-box; transform-origin: center; animation: sol 7s ease-in-out infinite; }
@keyframes sol { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Reservar: selo em aquarela ao lado do convite */
.reserva-topo { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; text-align: left; }
.reserva-topo__selo img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(31,26,20,.18)); }
.reserva-topo .h1 { max-width: 11ch; margin-inline: 0; font-size: clamp(3rem, 1.8rem + 4.4vw, 6.25rem); }
.reserva-topo .lead { margin: var(--s-3) 0 var(--s-4); }
.reserva-topo .botoes { justify-content: flex-start; }
@media (max-width: 1024px) and (min-width: 761px) {
  .reserva-topo { grid-template-columns: 280px minmax(0, 1fr); }
  .reserva-topo .botao--grande { min-height: 52px; padding: .85rem 1.3rem; font-size: .95rem; }
}
/* Celular: o selo "pousa" sobre um cartão cor de fubá */
@media (max-width: 760px) {
  .reserva-topo { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .reserva-topo__selo { width: min(68vw, 280px); margin: 0 auto -64px; position: relative; z-index: 1; }
  .reserva-topo__texto { background: var(--fuba); border-radius: 26px; padding: 84px 1.25rem 1.5rem; }
  .reserva-topo .h1 { margin-inline: auto; font-size: clamp(2.5rem, 1.6rem + 5vw, 3.5rem); }
  .reserva-topo .lead { margin: 1rem auto 1.5rem; color: var(--fuba-texto); }
  .reserva-topo .botoes { flex-direction: column; }
  .reserva-topo .botao { width: 100%; }
  .reserva-topo .botao--linha { background: var(--papel); }
}

/* Convite final da Início, com o selo em aquarela */
.convite { display: grid; grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; max-width: 960px; margin-inline: auto; }
.convite__selo img { width: 100%; height: auto; filter: drop-shadow(0 14px 26px rgba(31,26,20,.16)); }
@media (max-width: 640px) {
  .convite { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1.25rem; }
  .convite__selo { width: min(62vw, 240px); }
  .convite .h2 { margin-inline: auto; }
  .convite .lead { margin-inline: auto !important; }
  .convite .botoes { justify-content: center; }
}
.selo img { object-fit: contain; }

/* Detalhes: 8 fotos em 4 colunas (2 no celular) */
.detalhes__grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detalhes__grade .foto { height: 260px; }
@media (max-width: 760px) { .detalhes__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } .detalhes__grade .foto { height: 200px; } }
/* Fubá com 3 fotos */
.fuba__fotos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fuba__legenda { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--papel); color: var(--tinta); font-family: var(--f-mao); font-size: 1.15rem; line-height: 1.15; padding: .35rem .6rem; border-radius: 10px; }
@media (max-width: 560px) { .fuba__fotos { grid-template-columns: 1fr 1fr; } .fuba__fotos .foto:last-child { grid-column: span 2; min-height: 220px; } }

/* Fotos geradas pelo painel (<picture>) e aviso do topo */
.foto picture { display: contents; }
.aviso { background: var(--terracota); color: #FFF8EF; text-align: center; padding: .7rem var(--margem); font-size: var(--t-sm); font-weight: 500; }
.aviso a { color: #FFF8EF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.aviso a:hover { color: var(--fuba); }
