@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600&display=swap");

:root {
  --cream: #fbf3e4;
  --cream-dark: #f1e4c8;
  --ink: #3b2a1e;
  --ink-soft: #5c4633;
  --mustard: #e3a93a;
  --mustard-deep: #c98a22;
  --terracotta: #a6432f;
  --terracotta-deep: #8a3524;
  --white: #fffdf8;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", -apple-system, sans-serif;

  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

/* ---------- Placeholder photo blocks ----------
   Swap the element carrying .ph-photo for a real <img>.
   data-ph shows what should go there; remove it once replaced. */
.ph-photo {
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    #e9d7b3,
    #e9d7b3 12px,
    #e0cb9e 12px,
    #e0cb9e 24px
  );
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ph-photo::after {
  content: attr(data-ph);
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--white);
  background: rgba(59, 42, 30, 0.72);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
/* ---------- Header ---------- */
body {
  padding-top: 0px;
}
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: var(--ink);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  height: 42px;
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.site-header.is-scrolled .brand img {
  transform: scale(0.88);
}

/* Menu desktop */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}
.main-nav a {
  position: relative;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  padding: 6px 0;
  transition: color 0.2s ease;
}
/* tracinho que cresce */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
/* migalha em cima do link ativo */
.main-nav a::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mustard);
  transform: translateX(-50%) scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--mustard);
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}
.main-nav a.is-active::before {
  transform: translateX(-50%) scale(1);
}

.social-links {
  display: flex;
  gap: 14px;
}
.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 15px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.social-links a:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
}

/* Botão hamburguer (some no desktop, aparece no mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Painel do menu mobile (escondido por padrão, aberto via JS) */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--ink);
  transition: max-height 0.35s ease;
}
.mobile-nav ul {
  list-style: none;
  padding: 8px 32px 20px;
  display: grid;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--mustard);
  padding-left: 12px;
}
.site-header.nav-open .mobile-nav {
  max-height: 400px;
}

/* Itens entram um por um */
.mobile-nav li {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.site-header.nav-open .mobile-nav li {
  opacity: 1;
  transform: translateY(0);
}
.site-header.nav-open .mobile-nav li:nth-child(1) {
  transition-delay: 0.08s;
}
.site-header.nav-open .mobile-nav li:nth-child(2) {
  transition-delay: 0.13s;
}
.site-header.nav-open .mobile-nav li:nth-child(3) {
  transition-delay: 0.18s;
}
.site-header.nav-open .mobile-nav li:nth-child(4) {
  transition-delay: 0.23s;
}
.site-header.nav-open .mobile-nav li:nth-child(5) {
  transition-delay: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .brand img,
  .main-nav a,
  .main-nav a::before,
  .main-nav a::after,
  .mobile-nav,
  .mobile-nav li {
    transition: none;
  }
}
/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.hero .ph-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(20, 13, 7, 0.15) 0%,
      rgba(20, 13, 7, 0.75) 65%,
      rgba(20, 13, 7, 0.85) 100%
    ),
    url(../imagens/imagens/hero_krug_biscoitos.webp);
  background-position: center;
  background-size: cover;
  z-index: -1;
}
.hero-content {
  padding: 0 32px 90px;
  max-width: 620px;
  margin-left: max(24px, calc((100vw - var(--container)) / 2 - 80px));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--mustard);
  margin-bottom: 22px;
}
.hero-badge::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--mustard);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 22px;
  color: var(--white);
}
.hero h1 em {
  font-style: italic;
  color: var(--mustard);
}
.hero p {
  font-size: 1.05rem;
  max-width: 440px;
  color: #f1e9da;
  margin-bottom: 34px;
}

@media (max-width: 700px) {
  .hero::before {
    background-position: 75% center;
  }
  .hero-content {
    padding-bottom: 0px; /* era 90px vindo do desktop */
  }
  .hero-badge {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 2.6rem);
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 0.92rem;
    max-width: 100%;
    margin-bottom: 16px;
  }
  .hero .btn {
    padding: 10px 22px;
    font-size: 14px;
  }
}

.hero-highlights {
  display: none; /* escondido por padrão (mobile) */
}

@media (min-width: 901px) {
  .hero-highlights {
    display: flex;
    gap: 38px;
    position: absolute;
    left: 50%;
    transform: translateX(
      -15%
    ); /* puxa levemente pra direita do centro exato */
    bottom: 90px;
    z-index: 1;
  }
  .highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .highlight-item i {
    font-size: 34px;
    color: var(--mustard);
  }
  .highlight-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    max-width: 110px;
    line-height: 1.3;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(166, 67, 47, 0.35);
}
.btn-primary:hover {
  background: var(--terracotta-deep);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid currentColor;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--terracotta);
}
.scroll-hint svg {
  width: 20px;
  height: 20px;
  animation: hint-bounce 1.8s ease-in-out infinite;
}
@keyframes hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint svg {
    animation: none;
  }
}

/* Seta do botão "Conheça nossos momentos": aponta para a direita (as imagens) */
.momentos .scroll-hint svg {
  rotate: -90deg; /* a seta que apontava pra baixo passa a apontar pra direita */
}

/* No celular a galeria fica acima do texto, então a seta aponta pra cima */
@media (max-width: 900px) {
  .momentos .scroll-hint svg {
    rotate: 180deg;
  }
}

/* Ícones do hero com fundo redondo */
.highlight-item i {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--mustard);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.highlight-item:hover i {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- Section basics ---------- */
section {
  padding: 120px 0;
}
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.section-head {
  max-width: 620px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.section-head p {
  color: var(--ink-soft);
  margin-top: 18px;
  font-size: 1.05rem;
}

/* ---------- Momentos ---------- */
.momentos {
  background: var(--cream);
  display: flex;
  align-items: stretch;
  height: 640px;
  overflow: hidden;
  padding: 0; /* zera qualquer padding herdado de "section" */
  box-sizing: border-box; /* garante que padding não some por fora da altura */
}

.momentos-text-wrap {
  flex: 0 0 38%;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 60px 40px 60px max(24px, calc((100vw - var(--container)) / 2 - 80px));
}
.momentos-text {
  max-width: 500px;
}
.momentos-text h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}
.momentos-text p {
  color: var(--ink-soft);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.momentos-text .eyebrow {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--terracotta);
}

.momentos-text .scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid currentColor; /* usa a mesma cor do texto na borda */
  border-radius: 999px;
  background-color: #8a3524; /* 999px = totalmente arredondado (pill) */
  color: var(--cream-dark);
}

.momentos-gallery {
  flex: 1 1 62%; /* galeria ocupa o resto, maior que o texto */
  min-width: 0;
  min-height: 0; /* <- ESSENCIAL: sem isso o grid interno estoura a section */
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-template-areas:
    "a a b c d"
    "a a b e d"
    "f g h h i"
    "f j k l i";
}

.momentos-gallery .g1 {
  grid-area: a;
}
/* Vídeo dentro da galeria: preenche o quadro, sem barra de controles */
.momentos-gallery .ph-photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* enquadramento: veja a dica abaixo */
  display: block;
  pointer-events: none; /* impede que os controles apareçam ao passar o mouse */
}
.momentos-gallery .ph-photo video::-webkit-media-controls,
.momentos-gallery .ph-photo video::-webkit-media-controls-panel,
.momentos-gallery
  .ph-photo
  video::-webkit-media-controls-start-playback-button {
  display: none !important;
}
/* Vídeo da galeria: quadro alto, ocupando 2 linhas da grade */
/* Vídeos com lugar definido na grade */
.momentos-gallery .g2 {
  grid-area: b;
}
.momentos-gallery .g2,
.momentos-gallery .g10 {
  background: #2a1a10; /* cor de fundo enquanto o vídeo carrega */
}
.momentos-gallery .g3 {
  grid-area: c;
}
.momentos-gallery .g4 {
  grid-area: d;
}
.momentos-gallery .g5 {
  grid-area: e;
}
.momentos-gallery .g6 {
  grid-area: f;
}
.momentos-gallery .g7 {
  grid-area: g;
}
.momentos-gallery .g8 {
  grid-area: h;
}
.momentos-gallery .g9 {
  grid-area: i;
}
.momentos-gallery .g10 {
  grid-area: j;
}
.momentos-gallery .g11 {
  grid-area: k;
}
.momentos-gallery .g12 {
  grid-area: l;
}

/* Quadros de frase na galeria (fundo amarelo da marca) */
.momentos-gallery .frase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--mustard);
  background-image: none; /* tira o listrado de placeholder, se existir */
  color: #3b2412;
  overflow: hidden;
}
.momentos-gallery .frase-card::after {
  display: none; /* tira a etiqueta "foto" do placeholder */
}
.momentos-gallery .frase-card i {
  font-size: 16px;
  line-height: 1;
  color: var(--terracotta);
}
.momentos-gallery .frase-card p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.05vw, 1.05rem);
  line-height: 1.2;
  color: #3b2412;
}
.momentos-gallery .frase-card span {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--terracotta-deep);
}

@media (max-width: 700px) {
  .momentos-gallery .frase-card {
    padding: 8px 10px;
    gap: 4px;
  }
  .momentos-gallery .frase-card i {
    font-size: 13px;
  }
  .momentos-gallery .frase-card p {
    font-size: 0.78rem;
  }
  .momentos-gallery .frase-card span {
    font-size: 8.5px;
  }
}

.momentos-gallery .ph-photo {
  min-width: 0;
  min-height: 0; /* <- mesma correção, aqui nas células */
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.momentos-gallery .ph-photo::after {
  display: none;
}
.momentos-gallery .ph-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.momentos-gallery .ph-photo .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(59, 42, 30, 0.75),
    rgba(59, 42, 30, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.momentos-gallery .ph-photo:hover .overlay {
  opacity: 1;
}
.momentos-gallery .ph-photo .overlay span {
  color: var(--white);
  font-size: 12.5px;
}

/* "Mais que biscoitos" com mais destaque */
.momentos .eyebrow {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
}
.momentos .eyebrow .destaque {
  color: #d98a2b; /* laranja; troque aqui se quiser outro tom */
}

@media (max-width: 900px) {
  .momentos {
    height: auto;
  }
  .momentos-gallery {
    grid-template-rows: repeat(4, 130px);
  }
}
@media (max-width: 600px) {
  .momentos {
    flex-direction: column;
    height: auto;
  }
  .momentos-text-wrap {
    flex: none;
    padding: 60px 24px;
  }
  .momentos-gallery {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 100px);
    grid-template-areas:
      "a a"
      "a a"
      "b c"
      "d e"
      "f h"
      "i j"
      "g k"
      "l l";
  }
}

/* Título da seção "momentos" */
.momentos-text h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 24px;
}
.momentos-text h2 .destaque {
  font-style: italic;
  color: #d98a2b; /* mesmo laranja de antes */
}
/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 13, 7, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-frame {
  max-width: 880px;
  width: 100%;
}
.lightbox-media {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  background-color: #e9d7b3;
  background-repeat: no-repeat;
}
.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.lightbox-caption {
  color: var(--cream);
  text-align: center;
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}
.lightbox-close {
  position: absolute;
  top: 26px;
  right: 34px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Parallax com botões das linhas ---------- */
.quote-parallax {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  color: var(--white);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-image: url(../imagens/imagens/hero_2.webp);
}
.quote-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 13, 7, 0.35);
}

.linhas-botoes {
  position: relative; /* fica acima do escurecimento */
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.linha-btn {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px auto auto;
  align-items: center;
  column-gap: 16px;
  min-width: 300px;
  padding: 18px 26px 18px 20px;
  border-radius: 18px;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}
.linha-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.48);
  filter: brightness(1.06);
}

.linha-doces {
  background: var(--mustard);
  color: var(--ink);
}
.linha-palitos {
  background: var(--terracotta);
}

.linha-icone {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.3s ease;
}
.linha-doces .linha-icone {
  background: rgba(59, 42, 30, 0.14);
}
.linha-btn:hover .linha-icone {
  transform: rotate(-12deg) scale(1.1);
}

.linha-texto small {
  display: block;
  font-size: 13.5px;
  opacity: 0.85;
}
.linha-texto strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
}
.linha-seta {
  font-size: 18px;
  transition: transform 0.25s ease;
}
.linha-btn:hover .linha-seta {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  .linha-btn,
  .linha-icone,
  .linha-seta {
    transition: none;
  }
}
@media (max-width: 768px) {
  .quote-parallax {
    background-attachment: scroll;
    min-height: auto;
    padding: 64px 24px;
  }
  .linhas-botoes {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    gap: 16px;
  }
  .linha-btn {
    min-width: 0;
    grid-template-columns: 48px 1fr auto;
    padding: 16px 20px 16px 16px;
  }
  .linha-icone {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  .linha-texto strong {
    font-size: 1.35rem;
  }
}
/* ---------- Sobre ---------- */
.sobre {
  background: var(--ink);
  color: var(--cream);
  padding: 0;
  display: grid;
  /* foto | fundadora | oktoberfest */
  grid-template-columns: 28% minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

/* ---- Foto ---- */
.sobre-photo {
  border-radius: 0;
  height: 100%;
  min-height: 680px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---- Colunas de texto ---- */
.sobre-fundadora,
.sobre-oktober {
  padding: 100px 44px;
  align-self: center;
}
.sobre-oktober {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.sobre .eyebrow {
  color: var(--mustard);
}
.sobre h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 8px;
}
.sobre h2 em {
  font-style: italic;
  color: var(--mustard);
}

/* ---- Fundadora ---- */
.sobre-fundadora-texto {
  margin-top: 22px;
}
.sobre-fundadora-texto p {
  color: #e5d8c2;
  font-size: 1rem;
  line-height: 1.7;
}
.sobre-fundadora-texto p + p {
  margin-top: 14px;
}
.sobre-assinatura {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.sobre-assinatura strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
}
.sobre-assinatura span {
  display: block;
  font-size: 13px;
  color: var(--mustard);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.sobre-assinatura-frase {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #d9cbb6;
}

/* ---- Oktoberfest ---- */
.sobre-oktober blockquote {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
  border-left: 2px solid var(--mustard);
  padding-left: 20px;
  margin: 24px 0 20px;
}
.sobre-body {
  color: #e5d8c2;
  font-size: 1rem;
  line-height: 1.7;
}
.sobre-body + .sobre-body {
  margin-top: 14px;
}

/* Pilares empilhados: ícone ao lado do texto */
.sobre-pilares {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.sobre-pilares li {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
}
.pilar-icon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(227, 169, 58, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mustard);
  font-size: 18px;
}
.sobre-pilares strong {
  font-size: 15px;
  color: var(--white);
  align-self: end;
}
.sobre-pilares li > span:last-child {
  font-size: 13.5px;
  color: #d9cbb6;
  line-height: 1.4;
  align-self: start;
}

/* Números */
.sobre-stats {
  display: flex;
  gap: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.sobre-stats div strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--mustard);
}
.sobre-stats div span {
  font-size: 12.5px;
  color: #d9cbb6;
}

/* ---------- Sobre: coluna Oktoberfest em mostarda ---------- */
.sobre .sobre-oktober {
  background: var(--mustard);
  border-left: 0;
  color: var(--ink);
}

.sobre .sobre-oktober .eyebrow {
  color: var(--terracotta, #8a3b1e);
}
.sobre .sobre-oktober h2 {
  color: var(--ink);
}
.sobre .sobre-oktober h2 em {
  color: var(--terracotta, #8a3b1e);
}

.sobre .sobre-oktober blockquote {
  color: var(--ink);
  border-left-color: var(--ink);
}
.sobre .sobre-oktober .sobre-body {
  color: var(--ink);
}

/* Pilares */
.sobre .sobre-oktober .pilar-icon {
  border-color: rgba(43, 24, 12, 0.45);
  color: var(--ink);
}
.sobre .sobre-oktober .sobre-pilares strong {
  color: var(--ink);
}
.sobre .sobre-oktober .sobre-pilares li > span:last-child {
  color: rgba(43, 24, 12, 0.8);
}

/* Números */
.sobre .sobre-oktober .sobre-stats {
  border-top-color: rgba(43, 24, 12, 0.25);
}
.sobre .sobre-oktober .sobre-stats div strong {
  color: var(--terracotta, #8a3b1e);
}
.sobre .sobre-oktober .sobre-stats div span {
  color: rgba(43, 24, 12, 0.8);
}

/* ---------- Sobre: texto justificado ---------- */
.sobre-fundadora-texto p,
.sobre .sobre-oktober .sobre-body {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---------- Sobre: pilares em cards vermelhos ---------- */
.sobre .sobre-oktober .sobre-pilares {
  gap: 12px;
  margin: 28px 0;
}
.sobre .sobre-oktober .sobre-pilares li {
  background: var(--terracotta);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 18px rgba(138, 53, 36, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.sobre .sobre-oktober .sobre-pilares li:hover {
  transform: translateY(-3px);
  background: var(--terracotta-deep);
  box-shadow: 0 14px 26px rgba(138, 53, 36, 0.38);
}
.sobre .sobre-oktober .pilar-icon {
  background: var(--mustard);
  border: 0;
  color: var(--ink);
  font-size: 19px;
}
.sobre .sobre-oktober .sobre-pilares strong {
  color: var(--white);
  font-size: 15.5px;
}
.sobre .sobre-oktober .sobre-pilares li > span:last-child {
  color: #f3e3cf;
}

/* No celular a justificação abre buracos, então volta para a esquerda */
@media (max-width: 600px) {
  .sobre-fundadora-texto p,
  .sobre .sobre-oktober .sobre-body {
    text-align: left;
    hyphens: manual;
    -webkit-hyphens: manual;
  }
}

/* No celular, a borda de cima vira só uma divisão discreta */
@media (max-width: 800px) {
  .sobre .sobre-oktober {
    border-top: 0;
  }
}

/* ---- Responsivo ---- */
@media (max-width: 1200px) {
  .sobre {
    grid-template-columns: 1fr 1fr;
  }
  .sobre-photo {
    grid-column: 1 / -1;
    min-height: 340px;
    max-height: 420px;
  }
  .sobre-fundadora,
  .sobre-oktober {
    padding: 64px 32px;
    align-self: stretch;
  }
}

@media (max-width: 800px) {
  .sobre {
    grid-template-columns: 1fr;
  }
  .sobre-fundadora,
  .sobre-oktober {
    padding: 56px 24px;
  }
  .sobre-oktober {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .sobre-stats {
    gap: 26px;
  }
}

/* ---------- Contato ---------- */

.contato {
  /* MESMA margem lateral do hero e da seção diferenciais */
  --dif-gutter: calc(
    max(24px, calc((100vw - var(--container)) / 2 - 80px)) + 32px
  );

  background: var(--cream-dark);
}
.contato .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: none;
  margin: 0;
  padding-inline: var(--dif-gutter);
}
.contato-info .canal {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(59, 42, 30, 0.12);
}
.contato-info .canal:first-child {
  padding-top: 0;
}
.canal-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.canal-icon i {
  font-size: 19px;
  line-height: 1;
}
.canal:hover .canal-icon {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
}
.canal strong {
  display: block;
  font-size: 15px;
}
.canal span {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- Formulário com labels flutuantes ---------- */
.contato-form {
  display: grid;
  gap: 14px;
}

.form-group {
  position: relative;
  margin: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 24px 18px 9px;
  border: 1px solid rgba(59, 42, 30, 0.14);
  border-radius: 14px;
  font-family: var(--sans);
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(59, 42, 30, 0.3);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mustard);
  box-shadow: 0 0 0 3px rgba(227, 169, 58, 0.25);
}

/* Label dentro da caixa (parece placeholder) */
.form-group label {
  position: absolute;
  left: 19px;
  top: 17px;
  margin: 0;
  font-size: 15px;
  color: rgba(59, 42, 30, 0.6);
  pointer-events: none;
  transform-origin: left top;
  transition:
    transform 0.18s ease,
    color 0.18s ease;
}

/* Sobe e encolhe ao clicar ou quando já tem texto */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group input:-webkit-autofill + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(0.76);
  color: var(--terracotta);
  font-weight: 500;
}

/* Botão com aviãozinho */
.contato-form .btn {
  justify-self: start;
  margin-top: 6px;
}
.contato-form .btn i {
  font-size: 14px;
  transition: transform 0.25s ease;
}
.contato-form .btn:hover i {
  transform: translate(4px, -3px);
}

/* ---- Responsivo ---- */
@media (max-width: 900px) {
  .contato .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Contato: mesma margem lateral do rodapé no celular */
@media (max-width: 900px) {
  .contato .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
}
/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #c9bba5;
}

/* Colunas */
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  padding: 70px 0 50px;
}
.footer-brand img {
  height: 46px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  max-width: 290px;
  color: #c9bba5;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 17px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-social a:hover {
  background: var(--mustard);
  color: var(--ink);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col h4::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--mustard);
  border-radius: 2px;
  margin-top: 10px;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #c9bba5;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--mustard);
}
.footer-col a i {
  width: 18px;
  text-align: center;
  font-size: 15px;
  color: var(--mustard);
}

/* Navegação: traço mostarda que cresce no hover */
.footer-nav a::before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--mustard);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.footer-nav a:hover::before {
  width: 14px;
}

/* Última linha: marrom um tom acima do fundo do rodapé */
.footer-bar {
  background: #4a3628;
  color: #e5d8c2;
}
.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom a {
  color: var(--mustard);
  font-weight: 600;
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Rodapé: margem lateral no celular */
@media (max-width: 900px) {
  footer .footer-top,
  footer .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}
/* Rodapé: margem lateral no celular */
@media (max-width: 900px) {
  footer .footer-cta-wrap,
  footer .footer-top,
  footer .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}

/* Rodapé: margem lateral no celular */
@media (max-width: 900px) {
  footer .footer-top,
  footer .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}

/* ---------- Sabores page ---------- */
.sabores-hero {
  /* MESMA margem lateral do hero */
  --dif-gutter: calc(
    max(24px, calc((100vw - var(--container)) / 2 - 80px)) + 32px
  );

  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  padding: 0;
  color: var(--white);
  background-image: url(../imagens/sabores/banner-sabores.webp);
  background-position: center;
  background-size: cover;
}

/* Degradê da esquerda pra direita: escuro atrás do texto,
   transparente onde fica a caixinha e a xícara */
.sabores-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 13, 7, 0.9) 0%,
    rgba(20, 13, 7, 0.65) 40%,
    rgba(20, 13, 7, 0.08) 75%,
    rgba(20, 13, 7, 0) 100%
  );
}

.sabores-hero-content {
  position: relative;
  width: 100%;
  padding: 70px var(--dif-gutter);
}
.sabores-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 18px;
  color: var(--white);
}
.sabores-hero h1 em {
  font-style: italic;
  color: var(--mustard);
}
.sabores-hero p {
  font-size: 1.05rem;
  max-width: 440px;
  color: #f1e9da;
}

.sabores-list {
  background: var(--cream);
  padding: 90px 0;
}
.sabor-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(59, 42, 30, 0.14);
}
.sabor-row:first-child {
  padding-top: 0;
}
.sabor-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 15px;
  margin-bottom: 6px;
}
.sabor-row h3 {
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.sabor-row p {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 420px;
}
.sabor-row .ph-photo {
  width: 220px;
  height: 160px;
  border-radius: 12px;
}
.sabor-row .ph-photo::after {
  font-size: 11px;
}
.sabor-row.reverse {
  grid-template-columns: 220px 1fr;
}
.sabor-row.reverse .ph-photo {
  order: -1;
}

/* Destaque dos sabores */
.sabor-row {
  --sabor-orange: #d98a2b; /* troque aqui se quiser outro tom de laranja */
  border-bottom: 1px solid
    color-mix(in srgb, var(--sabor-orange) 55%, transparent);
}

.sabor-row .sabor-num {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--sabor-orange);
  margin-bottom: 8px;
}

.sabor-row h3 {
  color: var(--terracotta);
}

/* ---------- Sabores: caixinha atrás do biscoito ---------- */
.sabores-grupo {
  scroll-margin-top: 100px;
}
.sabores-grupo + .sabores-grupo {
  margin-top: 90px;
}

.sabor-row {
  grid-template-columns: 1fr 300px;
}
.sabor-row.reverse {
  grid-template-columns: 300px 1fr;
}

.sabor-visual {
  /* ajustes rápidos */
  --halo: #f3e2c0; /* cor da mancha (vem do HTML, por sabor) */
  --caixa-x: 18%; /* posição horizontal da caixinha */
  --caixa-h: 74%; /* tamanho da caixinha */
  --bisc-h: 60%; /* tamanho da foto do biscoito */
  --tilt: -4deg; /* inclinação da caixinha */

  position: relative;
  isolation: isolate;
  width: 300px;
  height: 230px;
  justify-self: center;
}
.sabor-row.reverse .sabor-visual {
  --tilt: 4deg;
}

/* mancha orgânica atrás de tudo */
.sabor-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 2%;
  top: 16%;
  width: 80%;
  height: 78%;
  background: var(--halo);
  border-radius: 58% 42% 55% 45% / 55% 58% 42% 45%;
}

/* tracinhos de brilho ao lado da caixinha */
.sabor-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 52%;
  top: 5%;
  width: 46px;
  height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23E3A93A' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M7 24l10 3'/%3E%3Cpath d='M14 9l8 8'/%3E%3Cpath d='M30 3l2 11'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

/* caixinha (atrás) */
.sabor-caixa {
  position: absolute;
  z-index: 1;
  left: var(--caixa-x);
  top: 0;
  width: auto;
  height: var(--caixa-h);
  max-width: none;
  transform-origin: 50% 100%;
  transform: translateY(var(--lift, 0)) rotate(var(--tilt));
  transition: transform 0.4s ease;
  filter: drop-shadow(0 10px 12px rgba(59, 42, 30, 0.28));
}
.sabor-row:hover .sabor-visual {
  --lift: -6px;
}

/* foto do biscoito (na frente, cobrindo a base da caixinha) */
.sabor-biscoito {
  position: absolute;
  z-index: 2;
  left: 8%;
  right: 8%;
  bottom: 0;
  width: 84%;
  height: var(--bisc-h);
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}

@media (prefers-reduced-motion: reduce) {
  .sabor-caixa {
    transition: none;
  }
}

/* tablet e celular: imagem sempre em cima do texto */
@media (max-width: 900px) {
  .sabor-row .sabor-visual {
    order: -1;
  }
}
@media (max-width: 560px) {
  .sabor-visual {
    width: 260px;
    height: 200px;
  }
}

/* ---------- Sabores: cabeçalho de cada linha ---------- */
.grupo-cabecalho {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}
.grupo-icone {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(166, 67, 47, 0.3);
}
.grupo-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terracotta);
  margin: 0 0 2px;
}
.grupo-titulo h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.05;
}
.grupo-linha {
  flex: 1;
  height: 1px;
  min-width: 30px;
  background: color-mix(in srgb, #d98a2b 55%, transparent);
}
.grupo-contador {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(217, 138, 43, 0.16);
  color: var(--terracotta-deep);
  font-size: 13.5px;
  font-weight: 600;
}
@media (max-width: 560px) {
  .grupo-cabecalho {
    flex-wrap: wrap;
  }
  .grupo-linha {
    display: none;
  }
}

/* ---------- Página de obrigado ---------- */
.obrigado {
  background: var(--cream);
  min-height: 62vh;
  padding: 90px 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.obrigado-inner {
  max-width: 640px;
  padding: 0 24px;
}

.obrigado-check {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 12px 26px rgba(166, 67, 47, 0.32);
  animation: obrigado-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
/* anel mostarda que se expande */
.obrigado-check::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px solid var(--mustard);
  opacity: 0;
  animation: obrigado-ring 2.6s ease-out 0.6s 3;
}
@keyframes obrigado-pop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes obrigado-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* textos entram um depois do outro */
.obrigado-inner > *:not(.obrigado-check) {
  animation: obrigado-up 0.6s ease both;
}
.obrigado-inner > :nth-child(2) {
  animation-delay: 0.2s;
}
.obrigado-inner > :nth-child(3) {
  animation-delay: 0.3s;
}
.obrigado-inner > :nth-child(4) {
  animation-delay: 0.4s;
}
.obrigado-inner > :nth-child(5) {
  animation-delay: 0.5s;
}
.obrigado-inner > :nth-child(6) {
  animation-delay: 0.6s;
}
@keyframes obrigado-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.obrigado .eyebrow {
  color: var(--terracotta);
  margin-bottom: 12px;
}
.obrigado h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}
.obrigado h1 em {
  font-style: italic;
  color: #d98a2b;
}
.obrigado p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 34px;
}
.obrigado-botoes {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.obrigado-botoes .btn-outline {
  color: var(--terracotta);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.obrigado-botoes .btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
}
.obrigado .obrigado-nota {
  font-size: 14px;
  margin: 30px auto 0;
}
.obrigado-nota a {
  color: var(--terracotta);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* ===== QUAL BISCOITO COMBINA COM O SEU MOMENTO ===== */
.combina {
  --mm-creme: #fbf3e4;
  --mm-terracota: #b04434;
  --mm-mostarda: #e5a84a;
  --mm-marrom: #3b2a1f;
  background: var(--mm-creme);
  color: var(--mm-marrom);
  padding: 90px 0 120px;
  font-family: "Work Sans", sans-serif;
}
.combina__wrap {
  max-width: 1200px; /* troque pela mesma largura/margem do hero */
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

/* esquerda */
.combina__eyebrow {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--mm-terracota);
  margin: 0 0 10px;
}
.combina__title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 16px;
}
.combina__title em {
  color: var(--mm-mostarda);
  font-weight: 700;
}
.combina__text {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 26px;
}

.combina__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 12px;
}
.momento-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 16px;
  border: 1.5px solid var(--mm-terracota);
  border-radius: 999px;
  background: transparent;
  color: var(--mm-marrom);
  font:
    600 0.94rem/1.15 "Work Sans",
    sans-serif;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.momento-btn i {
  width: 22px;
  text-align: center;
  font-size: 1.15rem;
  color: var(--mm-terracota);
  transition: color 0.25s;
}
.momento-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(59, 42, 31, 0.12);
}
.momento-btn.is-active {
  background: var(--mm-mostarda);
  border-color: var(--mm-mostarda);
}
.momento-btn.is-active i {
  color: var(--mm-marrom);
}

.combina__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 340px;
  margin: 26px auto 0;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--mm-mostarda);
  color: var(--mm-marrom);
  font:
    700 1rem "Work Sans",
    sans-serif;
  text-decoration: none;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.combina__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(229, 168, 74, 0.45);
}
.combina__cta .fa-whatsapp {
  font-size: 1.35rem;
}

.combina__surprise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--mm-marrom);
  font:
    600 0.98rem "Work Sans",
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.combina__surprise i {
  color: var(--mm-terracota);
}
.combina__surprise.is-rolling i {
  animation: mmGiro 0.5s linear infinite;
}

.momento-btn:focus-visible,
.combina__cta:focus-visible,
.combina__surprise:focus-visible {
  outline: 3px solid var(--mm-terracota);
  outline-offset: 3px;
}

/* painel */
.combina__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 34px 40px 44px;
  border-radius: 32px;
  background: var(--mm-terracota);
  color: var(--mm-creme);
  overflow: hidden;
}
.combina__for {
  position: relative;
  z-index: 2;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
}
.combina__name {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1;
  color: var(--mm-mostarda);
}
.combina__name.troca {
  animation: mmTroca 0.45s ease both;
}

.combina__stage {
  --halo: #e5a84a;
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 26px;
  padding-top: 30px;
}
.combina__stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  top: 6%;
  width: 84%;
  height: 68%;
  background: var(--halo);
  border-radius: 58% 42% 55% 45% / 55% 58% 42% 45%;
  transition: background 0.5s;
  animation: mmBlob 9s ease-in-out infinite alternate;
}

.caixa {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  max-width: 190px;
  margin: 0;
  text-align: center;
  animation: mmEntra 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 100ms);
}
.caixa__float {
  animation: mmFlutua 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.2s);
}
.caixa img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.35));
}

/* 3 caixas: do meio maior, laterais inclinadas */
.combina__stage[data-count="3"] .caixa:nth-child(1) img {
  transform: rotate(-7deg);
}
.combina__stage[data-count="3"] .caixa:nth-child(2) {
  max-width: 220px;
}
.combina__stage[data-count="3"] .caixa:nth-child(2) img {
  transform: translateY(-10px);
}
.combina__stage[data-count="3"] .caixa:nth-child(3) img {
  transform: rotate(7deg);
}
/* 2 caixas */
.combina__stage[data-count="2"] .caixa {
  max-width: 210px;
}
.combina__stage[data-count="2"] .caixa:nth-child(1) img {
  transform: rotate(-6deg);
}
.combina__stage[data-count="2"] .caixa:nth-child(2) img {
  transform: rotate(6deg);
}

.caixa figcaption {
  margin-top: 16px;
}
.caixa strong {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
}
.caixa span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.35;
  opacity: 0.9;
}

@keyframes mmEntra {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mmFlutua {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes mmTroca {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mmBlob {
  to {
    border-radius: 45% 55% 42% 58% / 60% 45% 55% 40%;
  }
}
@keyframes mmGiro {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .combina *,
  .combina *::before {
    animation: none !important;
    transition: none !important;
  }
}

/* tablet e mobile */
@media (max-width: 900px) {
  .combina {
    padding: 56px 0 80px;
  }
  .combina__wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .combina__panel {
    min-height: 440px;
    padding: 26px 20px 30px;
    border-radius: 26px;
  }
}
@media (max-width: 560px) {
  .momento-btn {
    padding: 12px 14px;
    gap: 8px;
    font-size: 0.88rem;
  }
  .combina__stage {
    gap: 10px;
  }
  .caixa span {
    display: none;
  }
  .caixa strong {
    font-size: 0.95rem;
  }
  .combina__stage[data-count="3"] .caixa:nth-child(2) {
    max-width: 130px;
  }
}

@media (max-width: 600px) {
  .obrigado {
    padding: 60px 0 70px;
  }
  .obrigado-check {
    width: 92px;
    height: 92px;
    font-size: 38px;
  }
  .obrigado-botoes .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .obrigado-check,
  .obrigado-check::after,
  .obrigado-inner > * {
    animation: none;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .momentos .wrap,
  .sobre .wrap,
  .contato .wrap {
    grid-template-columns: 1fr;
  }
  .momentos-gallery {
    order: -1;
  }
  .sabor-row,
  .sabor-row.reverse {
    grid-template-columns: 1fr;
  }
  .sabor-row .ph-photo,
  .sabor-row.reverse .ph-photo {
    width: 100%;
    order: 0;
  }
  section {
    padding: 80px 0;
  }
}

@media (max-width: 700px) {
  /* no celular o texto fica por cima da foto, então escurece por igual */
  .sabores-hero::before {
    background: linear-gradient(
      180deg,
      rgba(20, 13, 7, 0.55) 0%,
      rgba(20, 13, 7, 0.85) 100%
    );
  }
  .sabores-hero-content {
    padding-block: 50px;
  }
  .sabores-hero h1 {
    font-size: clamp(2.3rem, 9vw, 2.8rem);
  }
  .sabores-hero p {
    font-size: 0.95rem;
  }
}
