/* ============================================
   FONTES
============================================ */
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces-Italic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/WorkSans.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("assets/fonts/WorkSans-Italic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Carattere";
  src: url("assets/fonts/Carattere.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Shadows Into Light Two";
  src: url("assets/fonts/ShadowsIntoLightTwo.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

/* ============================================
   TOKENS
============================================ */
:root {
  --color-brown: #704117;
  --color-olive: #757f27;
  --color-bg-bio: #f3efe6;
  --color-cream: #f2eee5;
  --color-gold: #efd7a7;
  --color-text: #111111;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Work Sans", system-ui, sans-serif;
  --font-script: "Carattere", cursive;
  --font-hand: "Shadows Into Light Two", cursive;

  --max-content: 1440px;
}

/* ============================================
   RESET
============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: #fff;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
p { margin: 0; }
h1 { margin: 0; font-weight: normal; }

/* ============================================
   SECTION 1 — HERO
============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  aspect-ratio: 2360 / 911;
  overflow: hidden;
  background: #d9c6a8;
}
.hero__image {
  position: absolute;
  inset: 0;
  background: url("assets/images/hero.png") center / cover no-repeat;
}
.hero__content {
  position: relative;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 30px;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-brown);
  font-size: clamp(56px, 8.5vw, 130px);
  line-height: 1;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  letter-spacing: -0.01em;
}
.hero__subtitle {
  display: flex;
  flex-direction: column;
  color: var(--color-olive);
  line-height: 1.1;
  margin-top: 8px;
}
.hero__sub-1,
.hero__sub-3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(18px, 2vw, 32px);
}
.hero__sub-2 {
  font-family: var(--font-script);
  font-size: clamp(22px, 2.5vw, 38px);
}

/* ============================================
   SECTION 2 — BIO
============================================ */
.bio {
  background: var(--color-bg-bio);
  width: 100%;
}
.bio__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 80px 80px;
}

/* Heading "Oi, eu sou a Bárbara" */
.bio__heading {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 130px;
  margin-bottom: 60px;
}
.bio__heading-blob {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  width: 240px;
  height: 80px;
  background: url("assets/images/title-blob.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.bio__heading-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--color-brown);
  line-height: 1.05;
}
.bio__hello {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.bio__name {
  font-family: var(--font-hand);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  margin-top: -6px;
}

/* Grid principal */
.bio__grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: start;
}
.bio__col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.bio__col--left { padding-right: 0; }
.bio__col--right { padding-left: 0; }

.bio__text {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.45;
  color: var(--color-text);
}
.bio__text--right { text-align: right; }

.bio__accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--color-olive);
  font-size: 1.07em;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}

.bio__photo {
  margin: 0;
}
.bio__photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Divisor central */
.bio__divider {
  position: relative;
  width: 80px;
  align-self: stretch;
  display: flex;
  justify-content: center;
}
.bio__divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #C2C4A0;
  transform: translateX(-50%);
}
.bio__divider-tick {
  position: absolute;
  height: 4px;
  width: 38px;
  background: #C2C4A0;
}
.bio__divider-tick--1 { top: 8%;  left: 0; }
.bio__divider-tick--2 { top: 36%; right: 0; }
.bio__divider-tick--3 { top: 54%; left: 2px; }
.bio__divider-tick--4 { top: 78%; right: 0; }

/* ============================================
   SECTION 3 — BANNER
============================================ */
.banner {
  position: relative;
  width: 100%;
  background: var(--color-olive);
  overflow: hidden;
}
.banner__bg {
  position: absolute;
  inset: 0;
  background: url("assets/images/banner-bg.png") center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}
.banner__inner {
  position: relative;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 64px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.banner__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}
.banner__decor {
  width: clamp(90px, 12vw, 177px);
  aspect-ratio: 177 / 54.18;
  height: auto;
  flex-shrink: 0;
}
.banner__decor--right {
  transform: scaleX(-1);
}
.banner__top-text {
  position: relative;
  color: var(--color-cream);
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}
.banner__top-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: clamp(12px, 1.5vw, 21px);
  background: #606917;
  border-radius: 9999px;
  z-index: 0;
  pointer-events: none;
}
.banner__top-script,
.banner__top-mark {
  position: relative;
  z-index: 1;
}
.banner__top-script {
  font-family: var(--font-script);
  font-size: clamp(32px, 4.6vw, 64px);
}
.banner__top-mark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  margin-left: 2px;
}

.banner__main {
  font-family: var(--font-serif);
  color: var(--color-cream);
  text-align: center;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.05;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.banner__highlight {
  font-style: italic;
  font-weight: 600;
  color: var(--color-gold);
}

/* ============================================
   SECTION 4 — PHOTO BANNER
============================================ */
.photo-banner {
  position: relative;
  width: 100%;
  background: #ccd4dc;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
}

.photo-banner__bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  pointer-events: none;
  overflow: hidden;
}
.photo-banner__row {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 106px);
  line-height: 1.044;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 3px #8CA5BC;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  overflow: hidden;
}
.photo-banner__track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  /* Pausado até a seção entrar na viewport (.is-visible) */
  animation: marquee 40s linear infinite;
  animation-play-state: paused;
}
.photo-banner__row[data-dir="right"] .photo-banner__track {
  animation-direction: reverse;
}
.photo-banner__group {
  display: inline-block;
  flex: 0 0 auto;
}
.photo-banner.is-visible .photo-banner__track {
  animation-play-state: running;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.photo-banner__photos {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;
}
.photo-banner__photo {
  margin: 0;
  flex: 0 0 auto;
  width: calc(var(--w) * 1px);
  aspect-ratio: var(--w) / var(--h);
  /* Estado inicial: empurrada para baixo, escondida pela máscara da seção */
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-banner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-banner.is-visible .photo-banner__photo {
  transform: translateY(0);
}
.photo-banner.is-visible .photo-banner__photo:nth-child(1) { transition-delay: 0.05s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(2) { transition-delay: 0.18s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(3) { transition-delay: 0.31s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(4) { transition-delay: 0.44s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(5) { transition-delay: 0.57s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(6) { transition-delay: 0.70s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(7) { transition-delay: 0.83s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(8) { transition-delay: 0.96s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(9) { transition-delay: 1.09s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(10) { transition-delay: 1.22s; }
.photo-banner.is-visible .photo-banner__photo:nth-child(11) { transition-delay: 1.35s; }

@media (prefers-reduced-motion: reduce) {
  .photo-banner__photo {
    transform: none;
    transition: none;
  }
  .photo-banner__track { animation: none !important; }
}

/* ============================================
   SECTION 5 — NICHOS DE CONTEÚDO
============================================ */
.nichos {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e8ecd6;
}
.nichos__bg {
  position: absolute;
  inset: 0;
  background: url("assets/images/nichos-bg.jpg") center / cover no-repeat;
  pointer-events: none;
}
.nichos__inner {
  position: relative;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

/* Heading "nichos de conteúdo" */
.nichos__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 70px);
  flex-wrap: wrap;
  color: #201e1c;
  text-align: center;
}
.nichos__word {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nichos__hand {
  font-family: var(--font-hand);
  font-size: clamp(48px, 7vw, 90px);
  line-height: 1;
  position: relative;
  z-index: 1;
}
.nichos__de {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 64px);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.nichos__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.nichos__deco--circle {
  width: clamp(180px, 22vw, 314px);
  aspect-ratio: 314 / 92;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nichos__deco--waves {
  width: clamp(160px, 19vw, 261.357px);
  aspect-ratio: 261.357 / 42.249;
  height: auto;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%) rotate(-1.99deg);
}

/* Grid */
.nichos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1140px;
}

/* Card */
.nicho {
  background: #757f27;
  border-radius: 50px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.nicho__photo {
  width: 100%;
  aspect-ratio: 335 / 346;
  background: #fff;
  border: 2px solid #c2c4a0;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}
.nicho__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.nicho__texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 20px 20px;
  text-align: center;
  width: 100%;
}
.nicho__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 45px);
  color: #eed7a7;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  line-height: 1;
}
.nicho__desc {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.2;
  color: var(--color-cream);
}

/* ============================================
   SECTION 6 — BANNER FOTO (transição)
============================================ */
.photo-divider {
  width: 100%;
  line-height: 0;
}
.photo-divider img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================
   SECTION DIVIDER — faixa xadrez
============================================ */
.section-divider {
  width: 100%;
  height: 80px;
  background-color: #efd8a8;
  background-image: repeating-conic-gradient(
    #8ca5bc 0% 25%,
    #efd8a8 0% 50%
  );
  background-size: 80px 80px;
  background-position: center;
}

/* ============================================
   SECTIONS 7/8/9 — NÚMEROS DE REDES SOCIAIS
============================================ */
.social-stats {
  width: 100%;
  /* tema */
  --accent: #f0c694;
  background: #fff;
}
.social-stats--gold { --accent: #f0c694; background: #fff; }
.social-stats--blue { --accent: #8ca5bc; background: #efd8a8; }

.social-stats__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #201e1c;
}
.social-stats__title {
  margin: 0 0 70px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 73px);
  text-transform: uppercase;
  text-align: center;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}

/* Linha de dois números grandes */
.social-stats__numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 11vw, 160px);
  width: 100%;
}
.stat-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  text-align: center;
}
.stat-big__num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(72px, 10vw, 145px);
  line-height: 1;
  white-space: nowrap;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.stat-big__label {
  font-family: var(--font-hand);
  font-size: clamp(26px, 2.8vw, 41px);
  line-height: 1;
}
.social-stats__vline {
  width: 3px;
  align-self: stretch;
  min-height: 120px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Linhas horizontais */
.social-stats__hline {
  width: 100%;
  height: 3px;
  background: var(--accent);
  margin: clamp(36px, 5vw, 56px) 0;
}

/* Texto descritivo */
.social-stats__text {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.36;
  text-align: center;
  max-width: 882px;
  color: #000;
}

/* Caixas de números detalhados */
.social-stats__boxes {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  flex-wrap: wrap;
}
.stat-box {
  flex: 1 1 0;
  min-width: 200px;
  max-width: 360px;
  border: 3px solid var(--accent);
  border-radius: 40px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  text-align: center;
}
.stat-box__num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(64px, 7.5vw, 104px);
  line-height: 1;
  white-space: nowrap;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.stat-box__num small {
  font-size: 0.46em;
}
.stat-box__label {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.2;
}

/* ============================================
   SECTION 10 — BANNER ILUSTRAÇÕES (variação da Section 4)
============================================ */
/* A seção é full-width (fundo + texto de marquee), mas o conteúdo
   (ilustrações + squiggles) é limitado a 1440px para não perder
   qualidade nem ampliar além do tamanho nativo. */
.photo-banner.photo-banner--draws {
  background: #efd8a8;
  display: block;
  min-height: 0;
}
.photo-banner--draws .photo-banner__row {
  color: transparent;
  -webkit-text-stroke: 3px #E8C5A6;
}

/* Wrapper centralizado, no máximo 1440px, com a proporção do frame Figma.
   Define a altura da seção; as ilustrações ficam limitadas a 1440px. */
.photo-banner__inner {
  position: relative;
  z-index: 3;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 1440 / 500;
}

/* Grafismo de fundo full-width: escala com a seção inteira e pode
   extrapolar 1440px, preenchendo a tela conforme o dispositivo. */
.photo-banner__decor {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.photo-banner__squiggles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Container das ilustrações: ocupa todo o inner; cada figura é
   posicionada de forma absoluta com as coordenadas do Figma (em %). */
.photo-banner__photos--draws {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  padding: 0;
}
.photo-banner__photos--draws .photo-banner__photo {
  position: absolute;
  height: auto;       /* altura derivada do aspect-ratio (--w / --h) */
  /* left / top / width definidos inline por figura (coords do Figma) */
}

/* ============================================
   SECTION 11 — MINHAS BENINAS
============================================ */
.beninas {
  width: 100%;
  background: #f3efe6;
  color: #201e1c;
}

/* Título */
.beninas__title {
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
}
.beninas__title-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Conteúdo do título limitado a 1440px; decorações ficam ancoradas
   às bordas deste wrapper (não ultrapassam o limite do site). */
.beninas__title-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 60px);
}
.beninas__title-word {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(52px, 8vw, 102px);
  line-height: 1;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.beninas__title-word--italic {
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 9;
}
.beninas__title-word--circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.beninas__deco {
  pointer-events: none;
}
.beninas__deco--circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(180px, 22vw, 314px);
  aspect-ratio: 314 / 92;
  height: auto;
  transform: translate(-50%, -50%) rotate(180deg);
  z-index: -1;
}
.beninas__deco--squiggle {
  position: absolute;
  left: clamp(20px, 5vw, 76px);
  top: 50%;
  width: clamp(120px, 16vw, 232px);
  aspect-ratio: 232 / 38;
  height: auto;
  transform: translateY(-50%);
  z-index: 1;
}
.beninas__deco--arrow {
  position: absolute;
  right: clamp(20px, 5vw, 28px);
  top: 50%;
  width: clamp(150px, 20vw, 295px);
  aspect-ratio: 295 / 53;
  height: auto;
  transform: translateY(-50%);
  z-index: 1;
}

/* Texto introdutório */
.beninas__intro {
  max-width: 940px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  gap: 1.4em;
  text-align: center;
}
.beninas__intro p {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.29;
  color: #000;
}

/* Bloco de dados */
.beninas__data {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 7vw, 100px);
  flex-wrap: wrap;
  padding: 60px 40px;
  max-width: var(--max-content);
  margin: 0 auto;
}

/* Gênero */
.beninas__gender {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.beninas__gender-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.beninas__big-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(96px, 11vw, 145px);
  line-height: 1;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.beninas__script {
  font-family: var(--font-script);
  color: var(--color-olive);
  font-size: clamp(64px, 8vw, 107px);
  line-height: 1;
  margin-top: -0.28em;
}
.beninas__gender-men {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 2px;
}
.beninas__men-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 58px);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.beninas__script-sm {
  font-family: var(--font-script);
  color: var(--color-olive);
  font-size: clamp(46px, 5.5vw, 66px);
  line-height: 1;
}
.beninas__deco--arrow-a,
.beninas__deco--arrow-b {
  position: absolute;
  bottom: -6px;
  width: clamp(20px, 2.4vw, 31px);
  aspect-ratio: 31 / 84;
  height: auto;
}
.beninas__deco--arrow-a { left: -42px; }
.beninas__deco--arrow-b { right: -42px; transform: rotate(-162.55deg); }

/* Faixas etárias (barras) */
.beninas__age {
  display: flex;
  gap: clamp(8px, 1.2vw, 15px);
  align-items: flex-start;
}
.beninas-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.beninas-bar__pct {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 33px);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.beninas-bar__track {
  position: relative;
  width: clamp(20px, 2.2vw, 28px);
  height: clamp(150px, 16vw, 207px);
  background: #c2c4a0;
  border-radius: 9px;
  overflow: hidden;
}
.beninas-bar__fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* altura derivada do número (--pct) — fonte única para o CMS */
  height: calc(var(--pct, 0) * 1%);
  background: var(--color-olive);
  border-radius: 9px;
}
.beninas-bar__label {
  font-family: var(--font-hand);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1;
  text-align: center;
  max-width: 5ch;
}

/* Cidades */
.beninas__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.beninas__city {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.beninas__rank {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.beninas__rank sup {
  font-size: 0.6em;
}
.beninas__city .beninas__script {
  font-size: clamp(44px, 5.5vw, 71px);
  margin-top: 0;
}

/* Faixa listrada inferior */
.beninas__striped {
  width: 100%;
  line-height: 0;
}
.beninas__striped img {
  width: 100%;
  height: clamp(60px, 7vw, 100px);
  object-fit: cover;
  display: block;
}

/* ============================================
   SECTION 12 — PAREDE DE COMENTÁRIOS
   Canvas com a proporção do frame Figma (1440x900).
   Tudo posicionado em % e dimensionado em cqw (unidade de
   container), então cards e textos escalam juntos em todas as
   telas, mantendo o layout da designer. Cards à direita
   extrapolam e são cortados pela borda (proposital).
============================================ */
.section12 {
  position: relative;
  width: 100%;
  aspect-ratio: 1921 / 911;
  overflow: hidden;
  container-type: inline-size;
  background: #b9b3a6;
}
.section12__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.section12__barbara {
  position: absolute;
  z-index: 3; /* foto da Bárbara por cima de tudo */
  height: auto;
  pointer-events: none;
  /* left / top / width definidos inline (coords do Figma) */
}

/* Card de comentário (estilo Instagram) — unidades cqw na base 1921 */
.ig-card {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 0.42cqw;
  align-items: flex-start;
  padding: 0.42cqw 0.6cqw;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 1.62cqw;
/*  box-shadow: 0 0.16cqw 0.52cqw rgba(0, 0, 0, 0.10);*/
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  /* left / top / width definidos inline; altura via classe de row */
}
/* Altura padronizada por row (74px e 88px na base 1921).
   min-height mantém a uniformidade no desktop; no mobile o card
   cresce para não cortar o texto (a renderização do texto tem
   altura mínima e não encolhe junto). */
.ig-card--r74 { min-height: 3.85cqw; }
.ig-card--r88 { min-height: 4.58cqw; }

.ig-card__avatar {
  flex: 0 0 auto;
  width: 2.81cqw;
  height: 2.81cqw;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.ig-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12cqw;
}
.ig-card__head {
  margin: 0;
  line-height: 1.2;
  font-family: Arial, Helvetica, sans-serif;
  white-space: nowrap;
}
.ig-card__user {
  font-weight: 700;
  font-size: 0.62cqw;
  color: #2b1a10;
}
.ig-card__time {
  font-weight: 700;
  font-size: 0.57cqw;
  color: #838383;
  margin-left: 0.4cqw;
}
.ig-card__author {
  font-size: 0.57cqw;
  color: #838383;
}
.ig-card__text {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.66cqw;
  line-height: 1.25;
  color: #2b1a10;
}
.ig-card__actions {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.57cqw;
  color: #838383;
  white-space: nowrap;
}
.ig-card__actions span { margin-left: 1cqw; }

/* ============================================
   SECTION 13 — MARCAS PARCEIRAS
============================================ */
.partners {
  background: #e9ae3a;
  padding: clamp(60px, 8vw, 100px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(48px, 6vw, 74px);
}
.partners__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 71px);
  line-height: 1;
  color: var(--color-cream);
  text-align: center;
  border: 1px solid #f3efe6;
  border-radius: 100px;
  padding: 0.12em 0.5em 0.06em;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.partners__logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 4.5vw, 64px);
  width: 100%;
  max-width: 1040px;
}
.partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(30px, 5vw, 75px);
}
.partners__logo {
  height: auto;
  max-width: 42vw;   /* encolhe proporcionalmente em telas estreitas */
  display: block;
  /* largura nativa de cada logo definida inline */
}

/* ============================================
   SECTION 14 — TOP 3 PARCERIAS
============================================ */
.top3 { width: 100%; }

/* Faixa de título */
.top3__band {
  background: #c2c3a0;
  height: clamp(130px, 14vw, 200px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 20px);
}
.top3__band-row {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 25px);
  white-space: nowrap;
}
.top3__ghost {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 0.72; /* aproxima o text-box-trim do Figma (linha ~57px) */
  color: transparent;
  -webkit-text-stroke: 1.5px #757f27;
  text-transform: uppercase;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.top3__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(46px, 6.4vw, 93px);
  line-height: 0.72;
  color: #704117;
  text-transform: uppercase;
  white-space: nowrap;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.top3__star {
  width: clamp(34px, 4.2vw, 60px);
  height: auto;
  aspect-ratio: 63.27 / 60.072; /* trava a proporção do SVG (60×57) */
  flex-shrink: 0;
}

/* Bloco de case */
.case {
  background: var(--case-bg);
  padding: clamp(48px, 6vw, 80px) clamp(24px, 8vw, 130px);
  display: flex;
  justify-content: center;
}
.case--gold  { --case-bg: #f3efe6; --accent: #f0c694; --btn-bg: #efd8a8; --btn-border: #f0c694; }
.case--green { --case-bg: #efd8a8; --accent: #757f27; --btn-bg: #c2c4a0; --btn-border: #757f27; }
.case__inner {
  display: flex;
  gap: clamp(30px, 4vw, 50px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-content);
}
/* Celular: vídeo (z1) atrás da moldura cel-phone.png (z2, tela transparente),
   com botões de play/pause (z3) e som (z4) por cima. Tudo escala junto via
   cqw (container-type) mantendo as coords do Figma em %. */
.case__phone {
  position: relative;
  flex: 0 0 auto;
  width: clamp(170px, 18vw, 219px);
  aspect-ratio: 938 / 1912;
  container-type: inline-size;
}
.case__video {
  position: absolute;
  left: 2.74%;
  top: 0.67%;
  width: 95.43%;
  height: 98.66%;
  object-fit: cover;
  border-radius: 11.9cqw;
  background: #000;
  z-index: 1;
}
.case__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}
/* Botão play/pause: cobre a área da tela; ícone num badge central. */
.case__play {
  position: absolute;
  left: 2.74%;
  top: 0.67%;
  width: 95.43%;
  height: 98.66%;
  z-index: 3;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 11.9cqw;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.case__play-badge {
  width: 28cqw;
  height: 28cqw;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  transition: opacity 0.2s ease;
}
.case__play-badge .case__ic {
  grid-area: 1 / 1;
  width: 44%;
  height: 44%;
  transition: opacity 0.15s ease;
}
.case__ic--pause { opacity: 0; }
.case__phone.is-playing .case__play-badge { opacity: 0; }
.case__phone.is-playing:hover .case__play-badge,
.case__phone.is-playing:focus-within .case__play-badge { opacity: 1; }
.case__phone.is-playing .case__ic--play { opacity: 0; }
.case__phone.is-playing .case__ic--pause { opacity: 1; }
/* Botão de som: canto inferior direito da tela. */
.case__sound {
  position: absolute;
  right: 8%;
  bottom: 4%;
  z-index: 4;
  width: 15cqw;
  height: 15cqw;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.case__sound .case__ic {
  grid-area: 1 / 1;
  width: 56%;
  height: 56%;
}
.case__ic--unmuted { opacity: 0; }
.case__phone.sound-on .case__ic--muted { opacity: 0; }
.case__phone.sound-on .case__ic--unmuted { opacity: 1; }
/* Spinner de buffering: aparece quando o vídeo ainda está carregando
   (evento "waiting") e some quando volta a tocar. Enquanto carrega,
   esconde o badge de play pra não competir visualmente. */
.case__spinner {
  position: absolute;
  left: 2.74%;
  top: 0.67%;
  width: 95.43%;
  height: 98.66%;
  z-index: 3;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.case__spinner::before {
  content: "";
  width: 18cqw;
  height: 18cqw;
  border-radius: 50%;
  border: 1cqw solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: case-spin 0.8s linear infinite;
  filter: drop-shadow(0 0.2cqw 0.5cqw rgba(0, 0, 0, 0.5));
}
.case__phone.is-buffering .case__spinner { opacity: 1; }
.case__phone.is-buffering .case__play-badge { opacity: 0; }
@keyframes case-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .case__play-badge,
  .case__play-badge .case__ic { transition: none; }
  .case__spinner::before { animation: none; }
}
.case__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 246px;
  flex: 0 0 auto;
}
.case__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 48px);
  color: #201e1c;
  text-transform: uppercase;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.case__hairline { width: 95px; height: 4px; }
.case--gold  .case__hairline { background: #f0c694; }
.case--green .case__hairline { background: #757f27; }
.case__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.35;
  color: #000;
}
.case__btn {
  align-self: flex-start;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Figma: botão 46px de altura. Mantém os 15px laterais; o vertical é
     menor porque o Figma usa text-box-trim (sem leading) e aqui a borda
     entra no border-box. line-height:1 evita corte do texto. */
  padding: 0.5rem 0.9375rem;
  line-height: 1;
  border-radius: 3.125rem;
  background: var(--btn-bg);
  border: 3px solid var(--btn-border);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 24px);
  text-transform: uppercase;
  color: #201e1c;
  text-decoration: none;
}
.case__numbers {
  display: grid;
  grid-template-columns: minmax(0, 329px) minmax(0, 266px);
  gap: 30px;
}
.case-box {
  border: 3px solid var(--accent);
  border-radius: 40px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  text-align: center;
}
/* No Figma o número usa text-box-trim (sem leading), deixando a caixa mais
   baixa. Reduzimos o line-height para bater a altura — assim a coluna de
   números fica com a mesma altura do celular. */
.case-box .stat-box__num { line-height: 0.68; }
.case-box .stat-box__label { line-height: 0.85; }

/* Divisor xadrez (imagem) */
.top3__divider {
  width: 100%;
  height: 30px;
  background: url("assets/images/top3-divider.png") center / auto 100% repeat-x;
}

/* ============================================
   SECTION 16 — A CROCHETEIRA MAIS CARISMÁTICA
============================================ */
.s16 {
  width: 100%;
  background: #c2c4a0;
  overflow-x: clip; /* segura o sangramento do fundo listrado na borda da tela */
}

/* Faixa marrom: título + estrelas decorativas (full-bleed, frame Figma 1842px). */
.s16__top {
  position: relative;
  width: 100%;
  min-height: clamp(190px, 20.8vw, 300px);
  background: #704217;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 60px) 16px;
}
/* Camada de estrelas limitada a 1440 e centralizada (igual ao conteúdo);
   as estrelas das bordas sangram e são cortadas pelo overflow da faixa. */
.s16__stars {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-content);
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.s16__star { position: absolute; height: auto; }
/* posições/tamanhos em % do frame Figma de 1440 (altura base 300) */
.s16__star--b1 { left: -13.96%;  top: 0;      width: 26.94%; }
.s16__star--b4 { right: -13.96%; top: 0;      width: 26.94%; }
.s16__star--b2 { left: 15.56%;   top: 22.33%; width: 13.96%; }
.s16__star--b3 { right: 15.56%;  top: 22.33%; width: 13.96%; }
.s16__star--s2 { left: 7.99%;    top: 21%;    width: 7.29%; opacity: 0.5; }
.s16__star--s5 { right: 7.99%;   top: 21%;    width: 7.29%; opacity: 0.5; }
.s16__star--s1 { left: -13.13%;  top: 84.67%; width: 4.1%;  opacity: 0.5; }
.s16__star--s6 { right: -13.13%; top: 84.67%; width: 4.1%;  opacity: 0.5; }
.s16__star--s3 { left: 17.08%;   top: 89.67%; width: 3.54%; opacity: 0.5; }
.s16__star--s4 { right: 17.08%;  top: 89.67%; width: 3.54%; opacity: 0.5; }

.s16__title {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  color: var(--color-cream);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.s16__line { display: block; white-space: nowrap; }
.s16__serif {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 5.55vw, 80px);
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.s16__script {
  font-family: var(--font-script);
  font-weight: 100;
  font-size: clamp(26px, 6.18vw, 89px);
}

/* Conteúdo: duas metades 50/50 (grid evita o conflito flex + aspect-ratio).
   Limitado a 1440 e centralizado, igual às demais seções; o fundo #c2c4a0
   da seção preenche as laterais em telas largas. */
.s16__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
}

/* Esquerda: composição proporcional (frame 719×836, coords em %).
   Sem overflow:hidden pra deixar o fundo listrado sangrar à esquerda. */
.s16__media {
  position: relative;
  aspect-ratio: 719 / 836;
}
/* Fundo listrado: borda direita no centro do conteúdo (right:0 da media);
   borda esquerda sangra até a borda da tela (left negativo só quando a
   viewport passa de 1440). As fotos/gatos seguem dentro dos 1440. */
.s16__media-bg {
  position: absolute;
  top: 0;
  /* borda esquerda na borda da tela (left negativo só quando vw > 1440);
     a borda direita coincide com o centro da viewport (largura = 50vw),
     pois o conteúdo é centralizado. */
  left: min(0px, calc((var(--max-content) - 100vw) / 2));
  width: 50vw;
  max-width: none; /* anula o `img { max-width:100% }` global p/ permitir o sangramento */
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.s16__photo {
  position: absolute;
  left: 15.93%;
  top: 15.91%;
  width: 67.04%;
  height: auto;
  z-index: 1;
}
.s16__gato { position: absolute; height: auto; z-index: 2; }
.s16__gato--1 { left: 7.93%;  top: 26.91%; width: 24.62%; }
.s16__gato--2 { left: 59.11%; top: 58.85%; width: 25.73%; }

/* Direita: skills (ícone + texto, divisores) */
.s16__skills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.1vw, 30px);
  padding: clamp(28px, 3.5vw, 50px) clamp(36px, 6.9vw, 100px) clamp(28px, 3.5vw, 50px) clamp(24px, 3.5vw, 50px);
}
.s16__skill {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 40px);
}
.s16__skill-icon { flex-shrink: 0; width: auto; }
.s16__skill--1 .s16__skill-icon { height: clamp(60px, 6.74vw, 97px); }
.s16__skill--2 .s16__skill-icon { height: clamp(56px, 6.39vw, 92px); }
.s16__skill--3 .s16__skill-icon { height: clamp(48px, 5.42vw, 78px); }
.s16__skill--4 .s16__skill-icon { height: clamp(60px, 6.67vw, 96px); }
.s16__skill--5 .s16__skill-icon { height: clamp(58px, 6.46vw, 93px); }
.s16__skill-text {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(17px, 1.94vw, 28px);
  line-height: 1.25;
  color: #201e1c;
}
.s16__divider {
  width: 100%;
  height: 2px;
  background: #efd8a8;
}

/* ============================================
   SECTION 17 — FORMATOS DE CONTEÚDO
============================================ */
.s17 {
  position: relative;
  width: 100%;
  background: #704217;
  overflow: hidden;
  padding: clamp(48px, 5.5vw, 80px) 24px;
}
/* textura suave sobre o marrom (full-width) */
.s17__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
}
/* conteúdo limitado a 1440 e centralizado */
.s17__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s17__title {
  margin: 0 0 clamp(32px, 4.17vw, 60px);
  text-align: center;
  color: var(--color-cream);
  line-height: 1;
}
.s17__script {
  font-family: var(--font-script);
  font-weight: 100;
  font-size: clamp(46px, 6.94vw, 100px);
}
.s17__serif {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(38px, 5.56vw, 80px);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  margin: 0 0.12em; /* folga ao redor do "de" (o script Carattere gruda) */
}
.s17__formats {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.78vw, 40px);
  align-items: center;
  width: 100%;
}
.s17__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2.78vw, 40px);
  max-width: 100%; /* usa a largura do .s17__inner (1440); a linha 3 soma ~1269px e cabe numa linha só */
}
.s17__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(15px, 1.8vw, 26px) clamp(28px, 3.47vw, 50px);
  border: 1px solid #efd8a8;
  border-radius: 200px;
  background: #704217;
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.875vw, 27px);
  line-height: 1;
  white-space: nowrap;
}

/* ============================================
   SECTION 18 — BANNER CELULARES
============================================ */
.s18 {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e7e7e3;
}
/* camada decorativa full-width: texto rosa + squiggle + faixas */
.s18__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
/* Texto de fundo = mesmo marquee animado da Section 4 (.photo-banner__bg),
   só muda a cor do stroke. A animação dispara via .is-visible (mesmo
   IntersectionObserver do scripts.js, que agora também observa .s18). */
.s18 .photo-banner__row { -webkit-text-stroke-color: #d999a2; }
.s18.is-visible .photo-banner__track { animation-play-state: running; }
.s18__squiggle {
  position: absolute;
  left: 0;
  top: 6%;
  width: 100%;
  height: auto;
}
.s18__band {
  position: absolute;
  left: 0;
  width: 100%;
  height: 23px;
  background: #c2c4a0;
  opacity: 0.4;
}
.s18__band--top { top: 0; }
.s18__band--bottom { bottom: 0; }
/* conteúdo (celulares) limitado a 1440 e centralizado */
.s18__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
  aspect-ratio: 1440 / 663;
}
.s18__phone {
  position: absolute;
  width: 24.51%;            /* 353/1440 */
  height: auto;
  aspect-ratio: 353 / 640;
}
.s18__phone--1 { left: 11.84%; top: 31.67%; }   /* 170.5/1440, 210/663 */
.s18__phone--2 { left: 37.74%; top: -24.13%; }  /* 543.5/1440, -160/663 */
.s18__phone--3 { left: 63.65%; top: 31.67%; }   /* 916.5/1440, 210/663 */

/* ============================================
   SECTION 19 — BORA CRIAR JUNTOS? (contato)
============================================ */
.s19 {
  width: 100%;
  background: #ccd4dc;
}
.s19__container {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
  padding: clamp(48px, 5.5vw, 80px) clamp(24px, 9vw, 130px);
}
.s19__title {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(26px, 3.5vw, 50px);
}
.s19__heading {
  position: relative;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 57px);
  color: #704117;
  white-space: nowrap;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.s19__heading-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 34vw, 494px);
  aspect-ratio: 494 / 103;
  height: auto;
  pointer-events: none;
}
.s19__heading span { position: relative; }
.s19__sub {
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(30px, 3.1vw, 45px);
  line-height: 1.12;
  color: #704117;
}
.s19__redes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 20px);
}
.s19__redes a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #704117;
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.74vw, 25px);
}
.s19__redes a:hover span { text-decoration: underline; }
.s19__ic {
  width: clamp(26px, 2.3vw, 33px);
  aspect-ratio: 1;
  height: auto;
  flex-shrink: 0;
}
.s19__draw {
  flex: 1 1 0;
  min-width: 0;
}
.s19__draw img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   SECTION 20 — OBRIGADA
============================================ */
.s20 {
  position: relative;
  width: 100%;
  background: #8ca5bc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 5.5vw, 80px) 24px;
  min-height: clamp(200px, 20vw, 291px);
}
/* camada de estrelas limitada a 1440 e centralizada; bordas sangram */
.s20__stars {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-content);
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.s20__star {
  position: absolute;
  height: auto;
  aspect-ratio: 198.22 / 188.69;
}
/* posições/tamanhos em % do frame Figma (1440×291) */
.s20__star--1 { left: 10.56%;  top: -25.77%; width: 13.54%; }
.s20__star--2 { left: -0.63%;  top: 0.34%;   width: 6.64%; }
.s20__star--3 { left: 22.92%;  top: 37.45%;  width: 6.64%; }
.s20__star--4 { left: 90.83%;  top: 47.42%;  width: 6.64%; }
.s20__star--5 { left: 72.01%;  top: 51.2%;   width: 11.67%; }
.s20__star--6 { left: 64.72%;  top: 6.18%;   width: 6.64%; }
.s20__star--7 { left: 79.17%;  top: -21.31%; width: 11.67%; }
.s20__star--8 { left: 3.75%;   top: 61.51%;  width: 13.54%; }
.s20__title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}
.s20__script {
  font-family: var(--font-script);
  font-size: clamp(72px, 9.24vw, 133px);
  color: #eed7a7;
  line-height: 1;
}
.s20__serif {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 3.89vw, 56px);
  color: #704117;
  line-height: 1;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  margin-top: -0.1em;
}

/* ============================================
   RESPONSIVO
============================================ */

/* Tablet */
@media (max-width: 1023px) {
  .hero {
    aspect-ratio: auto;
    min-height: 70vh;
  }
  .hero__content {
    padding: 48px 40px;
  }
  .bio__inner {
    padding: 60px 40px;
  }
  .bio__grid {
    grid-template-columns: 1fr 50px 1fr;
  }
  .bio__col { gap: 24px; }
  .bio__divider-tick { width: 24px; }

  .banner__inner { padding: 48px 40px; }
  .banner__top { gap: 12px; }

  .photo-banner { min-height: 440px; }
  .photo-banner__photo { width: calc(var(--w) * 0.7px); }
  .photo-banner__photos { gap: 6px; padding: 0 6px; }

  .nichos__inner { padding: 60px 40px; gap: 60px; }
  .nichos__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .nicho { padding: 12px; border-radius: 40px; }
  .nicho__photo { border-radius: 40px; }

  .social-stats__inner { padding: 60px 40px; }
  .social-stats__boxes { gap: 16px; }
  .stat-box { min-width: 160px; border-radius: 30px; }
}

/* Mobile */
@media (max-width: 640px) {
  .hero {
    min-height: 80vh;
  }
  .hero__image {
    background-position: top center;
  }
  .hero__content {
    padding: 32px 24px;
    justify-content: flex-start;
    gap: 18px;
  }
  .hero__title {
    font-size: clamp(48px, 14vw, 80px);
  }
  .hero__sub-1, .hero__sub-3 { font-size: 18px; }
  .hero__sub-2 { font-size: 22px; }

  .bio__inner {
    padding: 48px 24px;
  }
  .bio__heading { margin-bottom: 36px; height: auto; }
  .bio__heading-blob { width: 180px; height: 60px; }
  .bio__hello { font-size: 26px; }
  .bio__name { font-size: 42px; }

  .bio__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bio__col { gap: 24px; }
  .bio__text, .bio__text--right { text-align: left; }
  .bio__divider {
    width: 100%;
    height: 40px;
  }
  .bio__divider-line {
    top: 50%;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 4px;
    transform: none;
  }
  .bio__divider-tick { display: none; }

  .banner__inner { padding: 40px 24px; gap: 16px; }
  .banner__top {
    flex-direction: column;
    gap: 10px;
  }
  .banner__decor { width: 120px; }
  .banner__top-text { white-space: normal; }
  .banner__top-script { font-size: 34px; }
  .banner__top-mark { font-size: 30px; }
  .banner__main { font-size: 32px; }

  .photo-banner {
    min-height: 0;
    overflow: hidden;
  }
  .photo-banner__photos {
    justify-content: center;
    gap: 3px;
    padding: 0 3px;
  }
  /* Escala cada foto como fração da largura total (soma dos --w = 1503),
     garantindo que as 5 caibam na tela sem scroll horizontal. */
  .photo-banner__photo {
    width: calc((100% - 12px) * var(--w) / 1503);
  }
  .photo-banner__row {
    -webkit-text-stroke-width: 2px;
  }

  .nichos__inner { padding: 48px 24px; gap: 40px; }
  .nichos__heading {
    gap: 12px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .nichos__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Faixa xadrez menor */
  .section-divider {
    height: 48px;
    background-size: 48px 48px;
  }

  /* Números de redes — empilha tudo */
  .social-stats__inner { padding: 48px 24px; }
  .social-stats__title { margin-bottom: 40px; }
  .social-stats__numbers {
    flex-direction: column;
    gap: 32px;
  }
  .social-stats__vline {
    width: 60%;
    height: 3px;
    min-height: 0;
    align-self: center;
  }
  .social-stats__boxes {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .stat-box {
    max-width: none;
    width: 100%;
    flex: 0 0 auto;
  }

  /* Minhas beninas — empilha os 3 blocos de dados */
  .beninas__title { padding: 40px 16px; gap: 8px; }
  .beninas__deco--squiggle,
  .beninas__deco--arrow { display: none; }
  .beninas__intro { padding: 40px 24px; }
  .beninas__data {
    flex-direction: column;
    gap: 48px;
    padding: 48px 24px;
  }

  /* Top 3 parcerias — empilha e números em 1 coluna */
  .case__info { width: 100%; max-width: 340px; }
  .case__numbers { grid-template-columns: 1fr; width: 100%; max-width: 340px; }

  /* Section 16 — empilha foto e skills */
  .s16__content { grid-template-columns: 1fr; }
  /* media full-width empilhada: fundo listrado preenche 100% (sem sangramento) */
  .s16__media-bg { left: 0; width: 100%; }

  /* Section 17 — pills quebram linha pra não estourar a tela */
  .s17__pill { white-space: normal; text-align: center; }

  /* Section 19 — empilha contato e ilustração */
  .s19__container { flex-direction: column; align-items: stretch; }
  .s19__draw { order: -1; }
}
