/* Ajustes finais da Home — projeto #990219, tarefa #1849. */

/* O layout e os assets foram compostos para 1440 px. Em telas maiores, o site
   permanece centralizado em vez de esticar imagens, textos e cartões. */
body {
  background: #fff;
}

main,
.siteHeader {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

main {
  background: var(--warm-50);
}

/* Entrada editorial: a navegação permanece estável, a foto surge lentamente e
   o conteúdo chega da esquerda como um único bloco. */
.siteHeader {
  animation: none;
}

.heroPhoto,
.heroShade {
  animation-duration: 3.2s;
  animation-delay: 0s;
  animation-timing-function: cubic-bezier(0.2, 0.65, 0.3, 1);
}

.heroCopy .eyebrow,
.heroCopy h1,
.heroCopy .heroLead,
.heroCopy .heroActions {
  animation: none;
}

.heroCopy {
  animation: SITE06HeroCopyReveal 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero {
  overflow: hidden;
}

.heroMascot {
  z-index: 3;
  width: 190px;
  height: 270px;
  object-fit: cover;
  object-position: top;
  position: absolute;
  right: -24px;
  bottom: 0;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgba(84, 21, 16, 0.28));
  animation: SITE06HeroMascotReveal 2.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

/* Notebooks e monitores com pouca altura útil recebem uma primeira dobra mais
   compacta, mesmo quando a resolução horizontal é grande. */
@media (min-width: 981px) and (max-height: 900px) {
  html {
    scroll-padding-top: 76px;
  }

  main {
    padding-top: 76px;
  }

  .siteHeader,
  .nav {
    height: 76px;
  }

  .brand {
    width: 124px;
  }

  .hero {
    height: calc(100svh - 76px);
    min-height: 520px;
    max-height: 620px;
  }

  .heroCopy {
    width: min(590px, 50%);
    padding-bottom: 8px;
    position: relative;
    top: -43px;
  }

  .heroCopy .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .hero h1 {
    max-width: 590px;
    font-size: clamp(46px, 4.1vw, 60px);
    line-height: 0.99;
  }

  .heroLead {
    max-width: 460px;
    margin: 18px 0 24px;
    font-size: 16px;
    line-height: 1.5;
  }

  .heroActions .button {
    min-height: 44px;
  }

  .heroMascot {
    width: 198px;
    height: 277px;
    right: -20px;
    bottom: 0;
  }

  .proofInner {
    min-height: 150px;
  }
}

@keyframes SITE06HeroCopyReveal {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes SITE06HeroMascotReveal {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes headerReveal {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes photoReveal {
  from {
    opacity: 0.12;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes shadeReveal {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 1;
  }
}

@keyframes eyebrowReveal {
  from {
    opacity: 0.18;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes headlineReveal {
  from {
    opacity: 0.18;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroReveal {
  from {
    opacity: 0.18;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* O item ativo apresenta desde o início a mesma linha usada no hover. */
.navLinks a[aria-current] {
  color: var(--red-600);
}

.navLinks a[aria-current]::after {
  right: 0;
}

/* Produtos: o texto chega pela lateral, as embalagens vêm do fundo e a faixa
   de informações fecha a sequência. */
.motionReady .productStage[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.motionReady .productStage[data-reveal] .productStageCopy,
.motionReady .productStage[data-reveal] .productArch,
.motionReady .productStage[data-reveal] .productPacks,
.motionReady .productStage[data-reveal] .productProofs {
  opacity: 0;
}

.motionReady .productStage[data-reveal].isVisible .productStageCopy {
  animation: SITE06ProductCopy 2.25s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.motionReady .productStage[data-reveal].isVisible .productArch,
.motionReady .productStage[data-reveal].isVisible .productPacks {
  animation: SITE06ProductVisual 2.8s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both;
}

.motionReady .productStage[data-reveal].isVisible .productProofs {
  animation: SITE06ProductProofs 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.72s both;
}

@keyframes SITE06ProductCopy {
  from {
    opacity: 0;
    transform: translateX(-44px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes SITE06ProductVisual {
  from {
    opacity: 0;
    transform: scale(0.84);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes SITE06ProductProofs {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quiz de hábitos: uma pausa interativa entre Produtos e História. */
.riceQuiz { background: #fff; padding-block: 96px; }
.riceQuizInner {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(520px, 1.18fr);
  gap: 64px;
  align-items: center;
}
.riceQuizIntro h2 {
  margin: 0 0 24px;
  color: var(--red-700);
  font-family: var(--font-display), "Brush Script MT", cursive;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.02;
}
.riceQuizTypeWord { display: inline-block; }
.riceQuizIntro h2 .riceQuizTypeAccent { color: #edb64f; }
.riceQuizIntro > p:last-child {
  max-width: 480px;
  margin: 0;
  color: var(--warm-700);
  font-size: 17px;
  line-height: 1.7;
}
.riceQuizCard {
  min-height: 470px;
  padding: 40px;
  color: #fff;
  background: var(--red-700);
  box-shadow: 0 28px 64px rgba(84, 21, 16, .24);
  position: relative;
  overflow: hidden;
}
.riceQuizCard::before {
  content: "";
  width: 360px;
  aspect-ratio: 1;
  border: 1px solid rgba(237, 182, 79, .22);
  border-radius: 50%;
  position: absolute;
  top: -220px;
  right: -120px;
  pointer-events: none;
}
.riceQuizProgress {
  height: 5px;
  margin-bottom: 34px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
}
.riceQuizProgress > span {
  display: block;
  width: 25%;
  height: 100%;
  background: #edb64f;
  transition: width .5s cubic-bezier(.16, 1, .3, 1);
}
.riceQuizStep, .riceQuizResult { position: relative; z-index: 1; }
.riceQuizCounter {
  display: block;
  margin-bottom: 10px;
  color: #edb64f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.riceQuizQuestion {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display), "Brush Script MT", cursive;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
}
.riceQuizOptions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.riceQuizOptions.isStates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.riceQuizOption {
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  font-weight: 700;
  text-align: left;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.riceQuizOption:hover, .riceQuizOption:focus-visible {
  border-color: #edb64f;
  background: rgba(237, 182, 79, .12);
  transform: translateY(-1px);
  outline: none;
}
.riceQuizOption[aria-pressed="true"] {
  border-color: #edb64f;
  color: var(--red-900);
  background: #edb64f;
}
.riceQuizBack, .riceQuizRestart {
  margin-top: 24px;
  padding: 0 0 4px;
  border-bottom: 1px solid currentColor;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  font-size: 13px;
}
.riceQuizResult[hidden], .riceQuizStep[hidden] { display: none; }
.riceQuizResult h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-display), "Brush Script MT", cursive;
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 400;
  line-height: 1.08;
}
.riceQuizResultLead { margin: 0 0 26px; color: rgba(255, 255, 255, .78); line-height: 1.6; }
.riceQuizSampleLabel {
  display: block;
  margin: 0 0 16px;
  color: #edb64f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.riceQuizResultTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.riceQuizResultTabs button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .78);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.riceQuizResultTabs button[aria-pressed="true"] {
  border-color: #edb64f;
  color: var(--red-900);
  background: #edb64f;
}
.riceQuizStats { display: grid; gap: 13px; }
.riceQuizStatTop {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 5px;
  color: #fff;
  font-size: 13px;
}
.riceQuizStatTrack { display: block; height: 7px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.riceQuizStatTrack > span {
  display: block;
  width: 0;
  height: 100%;
  background: #edb64f;
  transition: width .8s cubic-bezier(.16, 1, .3, 1);
}
.riceQuizStatus { min-height: 20px; margin: 16px 0 0; color: rgba(255, 255, 255, .68); font-size: 12px; }
@media (max-width: 980px) {
  .riceQuizInner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  .riceQuiz { padding-block: 32px 48px; }
  .riceQuizInner { gap: 24px; }
  .riceQuizIntro {
    position: relative;
    overflow: hidden;
    padding: 28px 22px 30px;
    color: #fff;
    background: var(--red-700);
    border-top: 5px solid #edb64f;
    box-shadow: 0 18px 38px rgba(84, 21, 16, .2);
  }
  .riceQuizIntro::after {
    content: "";
    position: absolute;
    width: 210px;
    aspect-ratio: 1;
    right: -120px;
    bottom: -150px;
    border: 1px solid rgba(237, 182, 79, .28);
    border-radius: 50%;
    pointer-events: none;
  }
  .riceQuizIntro .eyebrow {
    position: relative;
    z-index: 1;
    color: #edb64f;
  }
  .riceQuizIntro h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    padding: 0;
    color: #fff;
    background: none;
    border: 0;
    font-size: 40px;
    text-shadow: none;
  }
  .riceQuizIntro > p:last-child {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    line-height: 1.6;
  }
  .riceQuizCard { min-height: 500px; padding: 28px 20px; }
  .riceQuizOptions, .riceQuizOptions.isStates { grid-template-columns: 1fr 1fr; }
  .riceQuizQuestion { font-size: 36px; }
}

/* Cada palavra reserva seu espaço e revela as letras em sequência. Assim a
   escrita acompanha as quebras responsivas sem deslocar o restante do texto. */
.motionReady .riceQuiz[data-reveal] .riceQuizIntro .eyebrow,
.motionReady .riceQuiz[data-reveal] .riceQuizIntro > p:last-child,
.motionReady .riceQuiz[data-reveal] .riceQuizCard {
  opacity: 0;
}

.motionReady .riceQuiz[data-reveal] .riceQuizTypeWord {
  clip-path: inset(0 100% 0 0);
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizIntro .eyebrow {
  animation: SITE06QuizSoftIn 0.22s ease-out 0.02s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizCard {
  animation: SITE06QuizSoftIn 0.3s cubic-bezier(0.2, 0.7, 0.3, 1) 0.06s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(1) {
  animation: SITE06QuizType 0.17s steps(5, end) 0.1s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(2) {
  animation: SITE06QuizType 0.12s steps(3, end) 0.27s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(3) {
  animation: SITE06QuizType 0.17s steps(5, end) 0.39s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(4) {
  animation: SITE06QuizType 0.21s steps(6, end) 0.56s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(5) {
  animation: SITE06QuizType 0.17s steps(5, end) 0.77s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(6) {
  animation: SITE06QuizType 0.12s steps(3, end) 0.94s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(7) {
  animation: SITE06QuizType 0.17s steps(5, end) 1.06s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(8) {
  animation: SITE06QuizType 0.1s steps(2, end) 1.23s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(9) {
  animation: SITE06QuizType 0.12s steps(3, end) 1.33s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:nth-child(10) {
  animation: SITE06QuizType 0.21s steps(7, end) 1.45s both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizTypeWord:last-child::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: .7em;
  margin-left: .08em;
  background: currentColor;
  opacity: 0;
  transform: skewX(-8deg);
  animation: SITE06QuizCaret 0.5s steps(1, end) 1.62s 2 both;
}

.motionReady .riceQuiz[data-reveal].isVisible .riceQuizIntro > p:last-child {
  animation: SITE06QuizSoftIn 0.28s ease-out 1.54s both;
}

@keyframes SITE06QuizSoftIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes SITE06QuizType {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 -.12em 0 0); }
}

@keyframes SITE06QuizCaret {
  0%, 49% { opacity: .68; }
  50%, 100% { opacity: 0; }
}

/* A qualidade revela cada camada em sequência quando entra na viewport. A
   animação dos cartões usa clip-path para preservar seus deslocamentos. */
.motionReady .qualitySensory[data-reveal] .qualitySensoryHeading,
.motionReady .qualitySensory[data-reveal] .qualitySensoryCards > div,
.motionReady .qualitySensory[data-reveal] .qualitySensoryQuote,
.motionReady .qualitySensory[data-reveal] .qualityMascot {
  opacity: 0;
}

.motionReady .qualitySensory[data-reveal].isVisible .qualitySensoryHeading {
  animation: SITE06QualityRise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.motionReady .qualitySensory[data-reveal].isVisible .qualitySensoryCards > div {
  animation: SITE06QualityCard 0.9s ease-out 0.2s both;
}

.motionReady .qualitySensory[data-reveal].isVisible .qualitySensoryCards > div:nth-child(2) {
  animation-delay: 0.34s;
}

.motionReady .qualitySensory[data-reveal].isVisible .qualitySensoryCards > div:nth-child(3) {
  animation-delay: 0.48s;
}

.motionReady .qualitySensory[data-reveal].isVisible .qualitySensoryQuote {
  animation: SITE06QualityRise 0.85s ease-out 0.62s both;
}

.motionReady .qualitySensory[data-reveal].isVisible .qualityMascot {
  animation: SITE06QualityMascot 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.72s both;
}

@keyframes SITE06QualityRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes SITE06QualityCard {
  from {
    opacity: 0;
    clip-path: inset(0 0 20% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
  }
}

@keyframes SITE06QualityMascot {
  from {
    opacity: 0;
    transform: translate(36px, 32px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: translate(0) rotate(0);
  }
}

/* Hero aprovado em 28/08/2026: opção 2, com arte dedicada por breakpoint. */
.heroMedia picture {
  display: block;
  position: absolute;
  inset: 0;
}

.heroPhoto {
  object-position: center;
}

.heroShade {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.88) 31%,
    rgba(255, 255, 255, 0.24) 53%,
    rgba(255, 255, 255, 0) 68%
  );
}

/* O quadro de produtos é a própria seção: sem moldura, respiro ou limite de
   largura ao redor do conteúdo existente. */
.products.section {
  padding-block: 0;
}

.products > .shell {
  width: 100%;
  max-width: none;
}

.productStage {
  border-radius: 0;
  box-shadow: none;
}

/* Lobster é a voz de todos os títulos principais, da capa ao fechamento. */
.proofMessage h2,
.storyPanel h2,
.productStageCopy h2,
.qualitySensoryHeading h2,
.contactEditorialHead h2,
.footerStatementMain h2 {
  font-family: var(--font-display), "Brush Script MT", cursive;
  font-weight: 400;
  letter-spacing: normal;
}

/* A frase final inteira permanece na mesma fonte, inclusive o destaque. */
.footerStatementMain h2 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

.footerCredit {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footerCredit:hover,
.footerCredit:focus-visible {
  color: #fff;
}

/* A qualidade também usa o próprio quadro como seção full-bleed. */
.qualityReview.section {
  padding-block: 0;
}

.qualityReview > .qualityOption {
  width: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

/* A mascote preserva a largura igual dos cartões e toca somente o canto vazio
   inferior do último card, abaixo dos escritos. */
.qualityMascot {
  z-index: 3;
  width: 220px;
  right: 10px;
  bottom: -190px;
}

@media (min-width: 981px) {
  .qualitySensoryCards > div {
    padding: 38px 55px;
  }

  .qualitySensoryQuote {
    max-width: none;
    margin-right: 235px;
    margin-left: 64px;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .heroMascot {
    width: 155px;
    height: 220px;
    right: -20px;
    bottom: 0;
  }

  .qualityMascot {
    width: 165px;
    right: -10px;
    bottom: -180px;
  }

  .qualitySensoryQuote {
    margin-right: 175px;
  }
}

/* O card de produto saiu da composição aprovada; o grid volta a ocupar toda a
   largura disponível logo abaixo da capa. */
.proofInner {
  padding-right: 0;
}

@media (max-width: 980px) {
  .proofInner {
    padding: 32px 0;
  }
}

@media (max-width: 680px) {
  /* O texto fica na área clara da fotografia vertical e o arroz permanece
     livre no terço inferior da primeira dobra. */
  .hero {
    height: calc(100svh - 72px);
    min-height: min(595px, calc(100svh - 72px));
    max-height: 720px;
  }

  .heroPhoto {
    object-position: center top;
  }

  .heroShade {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.94) 28%,
      rgba(255, 255, 255, 0.45) 42%,
      rgba(255, 255, 255, 0.06) 54%,
      rgba(255, 255, 255, 0) 60%
    );
  }

  .heroInner {
    align-items: flex-start;
    height: 100%;
    min-height: 0;
  }

  .heroCopy {
    width: 100%;
    max-width: 560px;
    padding: 44px 0 0;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(36px, 10.5vw, 42px);
    line-height: 1;
  }

  .heroLead {
    max-width: 360px;
    margin: 14px 0 30px;
    font-size: 15px;
    line-height: 1.5;
  }

  .heroActions {
    flex-direction: row;
    position: static;
  }

  .heroMascot {
    width: 118px;
    height: 205px;
    right: -12px;
    bottom: 0;
  }

  .qualityMascot {
    z-index: 3;
    width: 150px;
    right: -8px;
    bottom: -155px;
  }

  .qualitySensoryQuote {
    margin-right: 165px;
  }

  .proofInner {
    padding: 32px 0;
  }

  .proofMessage {
    margin-top: 0;
  }

  /* A medida fica centralizada, sem deslocar o controle de abertura. */
  .productProofDetails > summary {
    justify-content: center;
    padding-inline: 38px;
    position: relative;
    text-align: center;
  }

  .productProofDetails > summary > span {
    width: 100%;
  }

  .productProofDetails > summary > b {
    position: absolute;
    right: 8px;
  }

  .productDownload {
    text-align: center;
  }

  .productProofShared {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .heroCopy {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .heroMascot {
    width: 110px;
    height: 190px;
    right: -10px;
    bottom: 0;
  }

  /* Quatro diferenciais em duas linhas, como solicitado pelo cliente. */
  .proofGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proofItem,
  .proofItem:nth-child(odd) {
    border-left: 1px solid var(--warm-200);
    border-top: 0;
    min-height: 104px;
  }

  .proofItem:nth-child(odd) {
    border-left: 0;
  }

  .proofItem:nth-child(n + 3) {
    border-top: 1px solid var(--warm-200);
  }
}
