/* Header, footer, containers gerais, marquee e divisores escalopados */

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 248, 239, .9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(115, 200, 189, .35);
}

.site-header__inner {
  position: relative;
  height: 70px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-heading);
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--color-pink-dark);
}

/* Breakpoint próprio da nav: com 6 links ela precisa de mais espaço entre a
   logo e o botão pra não sobrepor nenhum dos dois. */
@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand__logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
  flex: none;
}

.site-header .brand__logo {
  transform: translateY(24px);
}

@media (max-width: 600px) {
  .site-header .brand__logo {
    width: 88px;
    height: 88px;
    transform: translateY(14px);
  }
}

.brand__logo--footer {
  width: 130px;
  height: 130px;
}

/* ---- Marquee ---- */
.marquee {
  background: #ffbc3d;
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  transform: rotate(-.6deg);
  margin: 6px 0 -6px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.marquee__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  padding-right: 8px;
}

/* ---- Divisor de onda (senoidal, única, contínua) entre blocos de cor ----
   Cada divisor é um retângulo com a cor da seção de CIMA como background,
   e um SVG (viewBox 1440x60, preserveAspectRatio="none" para esticar 100%
   da largura em qualquer resolução) desenhando a onda: a área ABAIXO da
   linha ondulada é preenchida com a cor da seção de BAIXO, dando a
   impressão de que é ela que sobe seguindo o contorno da onda.
   O path é uma aproximação bezier de uma senoide real (período 180px,
   amplitude 18px, baseline em y=30): os pontos de controle seguem a
   derivada da curva em cada âncora, então a inclinação bate exatamente
   nos cruzamentos de baseline e nos picos/vales — sem quinas nem trechos
   "achatados". */
.wave-divider {
  line-height: 0;
  height: 60px;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Abaixo de 700px, o mesmo path (8 períodos fixos) fica com cada onda muito
   estreita em relação à altura, perdendo o aspecto suave. Renderizamos o SVG
   mais largo que o contêiner e recuamos pela metade do excesso: menos ondas
   ficam visíveis, mas cada uma continua larga e suave (o padrão é contínuo,
   então não há costura visível no recorte). */
@media (max-width: 700px) {
  .wave-divider svg {
    max-width: none;
    width: 220%;
    margin-left: -60%;
  }
}

.wave-divider--bg-cream { background: var(--bg-cream); }
.wave-divider--bg-mint { background: var(--color-mint); }
.wave-divider--bg-pink { background: var(--color-pink); }
.wave-divider--bg-lavender { background: var(--bg-lavender); }
.wave-divider--bg-yellow { background: var(--color-yellow); }
.wave-divider--bg-footer { background: var(--bg-footer); }

.wave-divider__path--fill-cream { fill: var(--bg-cream); }
.wave-divider__path--fill-mint { fill: var(--color-mint); }
.wave-divider__path--fill-pink { fill: var(--color-pink); }
.wave-divider__path--fill-lavender { fill: var(--bg-lavender); }
.wave-divider__path--fill-yellow { fill: var(--color-yellow); }
.wave-divider__path--fill-footer { fill: var(--bg-footer); }

/* Footer */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-on-footer);
  padding: 52px 22px 40px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__brand {
  max-width: 320px;
}

.site-footer__brand .brand {
  margin-bottom: 14px;
}

.site-footer__brand p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-on-mint);
}

.site-footer__cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.site-footer__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #FFF0C9;
  margin-bottom: 12px;
}

.site-footer__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}

.site-footer__cols a {
  color: var(--text-on-footer);
}

.site-footer__social {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-radius: 50%;
  transition: background .2s, color .2s;
}

.site-footer__social a:hover {
  background: var(--color-pink);
  color: #fff;
}

.site-footer__social-icon {
  width: 18px;
  height: 18px;
}

.site-footer__bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(205, 233, 228, .2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-on-footer-soft);
}

@media (max-width: 600px) {
  .site-footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

.site-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-footer-soft);
}

.site-footer__credit:hover {
  color: var(--color-yellow);
}

.site-footer__credit img {
  display: block;
}

