/* ==========================================================================
   Seções — layout desktop fiel aos frames de referência (1440×810)
   ========================================================================== */

/* Imagens que sangram até a borda direita da seção */
.hero__img,
.split__media,
.produto__img,
.comparativo__img {
  position: absolute;
  z-index: 1;
}

/* ==========================================================================
   1 — HERÓI
   ========================================================================== */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 82%;
  padding-top: 5.5rem;
  padding-bottom: 7.5rem;   /* sobe o bloco final e cria folga antes da próxima seção */
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--amber);   /* deck novo: título do herói em âmbar */
  text-transform: uppercase;   /* título em maiúsculas, conforme referência */
}
.hero__lead {
  margin-top: 1.45rem;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--brown);
}
.hero__kicker { margin-top: auto; }
.hero__kicker-title {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--amber);   /* âmbar, conforme referência */
}
.hero__kicker-sub {
  margin-top: .55rem;
  font-size: 1.15rem;
  font-weight: 500;   /* Inconsolata Medium — subtítulo */
  letter-spacing: .04em;
  color: var(--brown);
}
.hero__img {
  right: 0;
  top: 0;        /* header saiu do Hero (agora é sticky global) → imagem no topo do Hero */
  bottom: 0;
  width: 70%;
}
.hero__img img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: right top; }

/* ==========================================================================
   Split genérico (2 — INTRO)
   ========================================================================== */
.split { flex: 1; display: flex; flex-direction: row; align-items: center; }
.split__text { position: relative; z-index: 2; max-width: 60%; }
.split .body-lg { margin-top: 2.1rem; }
.theme-dark .split .h-display,
.theme-dark .split .body-lg { color: var(--cream); }

.split--right-media .split__media {
  right: 0;
  top: 0;
  bottom: 0;
  width: 31.5%;
}
.split--right-media .split__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* --- Intro (deck novo): imagem à ESQUERDA, texto à direita alinhado à direita --- */
.split--left-media .split__media {
  left: 0;
  top: 0;
  bottom: 0;
  width: 31.7%;
}
.split--left-media .split__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#intro .split { justify-content: flex-end; }
#intro .intro__text {
  max-width: 64%;
  margin-left: auto;
  text-align: right;
}
#intro .h-display { font-size: 2.85rem; font-weight: 800; color: var(--amber); text-transform: uppercase; }  /* título do intro em âmbar, maiúsculas */
.intro__lead-reg { font-weight: 400; }   /* 3ª linha permanece Regular */

/* ==========================================================================
   3 — HISTÓRIA
   ========================================================================== */
/* Deck novo: imagem + legenda à ESQUERDA; texto à direita, alinhado à direita */
.historia__text {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-top: 6.5rem;   /* desce o bloco de texto, conforme referência */
  max-width: 60%;
  text-align: right;
}
.historia__title {
  color: var(--brown);
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-weight: 800;
}
.historia__block + .historia__block { margin-top: 1.6rem; }
.historia__year {
  font-size: 2.25rem;   /* mais próximo do título (razão ~0,77, como no deck) */
  font-weight: 800;
  color: var(--brown);
  margin-bottom: .35rem;
}
.historia .body-md { color: var(--brown); line-height: 1.22; }   /* linhas mais próximas, conforme referência */

.historia__figure {
  position: absolute;
  left: 0;
  top: 4.2rem;
  width: 35.3%;
  z-index: 2;
}
.historia__figure picture { display: block; }
.historia__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 883 / 873;   /* proporção quase quadrada da foto original */
  object-fit: cover;
  object-position: center 18%;
}
.historia__figure figcaption {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brown);
  text-align: center;   /* centralizado sob a imagem, conforme referência */
}

/* ==========================================================================
   4 — PRODUTO (nome registrado)
   ========================================================================== */
.produto { justify-content: center; }
.produto__text { position: relative; z-index: 2; max-width: 74%; }
.produto .h-display { color: var(--amber); text-transform: uppercase; }   /* deck novo: título em âmbar, maiúsculas */
.produto .h-display .upper { display: inline-block; }
/* 1ª linha do título em uma linha só, como na referência */
.produto .h-display { white-space: nowrap; }
.produto__lead { margin-top: 1.7rem; color: var(--brown); }
.produto__cols {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  max-width: 52rem;
}
.produto__notes { display: flex; flex-direction: column; gap: 1.6rem; }
.produto__notes p {
  color: var(--brown);
  background: var(--amber);   /* laranja/âmbar de fundo da marca (mesma cor das seções theme-orange) */
  text-align: right;
  padding: .9rem 1.4rem;
  border-radius: 0;
  margin-left: calc(-1 * var(--gutter));   /* sangra até a borda do frame, como na referência */
}
.produto__callout { position: relative; margin-top: 7.2rem; }
.produto__callout-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: .4rem;
}
.produto__callout .body-md { color: var(--brown); }
.produto__arrow {
  position: absolute;
  width: 12rem;
  height: 7rem;
  right: 4rem;        /* puxa a seta p/ a esquerda, junto de "O ARAIS", fora do lanche */
  top: -3.5rem;
}
.produto__img {
  right: 0;
  top: 19rem;        /* desce o lanche, deixando o canto superior livre p/ a roseta (ref.) */
  bottom: 0;
  width: 38%;
}
.produto__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ==========================================================================
   5 — MERCADO (stats)
   ========================================================================== */
.mercado { justify-content: center; }
.mercado .h-display { color: var(--amber); text-transform: uppercase; }   /* laranja/âmbar oficial, maiúsculas */
.mercado__grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.4rem;
  max-width: 56rem;   /* retângulos mais curtos, conforme referência */
  align-self: center;
  width: 100%;
}
.mercado__sources {
  margin-top: 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--cream);
  opacity: .85;
  align-self: center;
  max-width: 56rem;   /* acompanha a nova largura da grade */
  width: 100%;
}

/* ==========================================================================
   6 — COMPARATIVO
   ========================================================================== */
.comparativo { justify-content: center; }
.comparativo__text {
  position: relative;
  z-index: 2;
  max-width: 62%;
  margin-left: -2.66rem;   /* equilibra a distância: borda esquerda da página = distância até a imagem */
}
.comparativo .h-display { color: var(--brown); margin-bottom: 2.2rem; text-transform: uppercase; }
.comparativo__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* colunas de largura igual (equilibradas) */
  gap: 2.5rem;
  max-width: 46rem;
  margin-inline: auto;              /* centraliza o par com margens simétricas */
}
.comparativo__col { text-align: center; min-width: 0; }
.comparativo__icon { height: 3.2rem; width: auto; margin: 0 auto 1.4rem; }
.comparativo__icon--wedge { height: 3.2rem; }
.comparativo__list { display: flex; flex-direction: column; gap: 1rem; }
.comparativo__list li {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.12;
  white-space: nowrap;
}
/* Faixa de destaque marrom atrás do "FAST-CASUAL..." — sangra até a borda
   esquerda do frame (mesmo recurso visual das notas em Diferença) e o próprio
   texto define a largura/altura da faixa (não estica até a coluna toda).
   O recuo de -2.66rem já aplicado em .comparativo__text é descontado aqui
   (7rem do gutter − 2.66rem do deslocamento) para a faixa continuar
   encostando exatamente na borda do frame, sem sangrar além dela. */
.comparativo__foot {
  display: inline-block;
  margin-top: 3.2rem;
  margin-left: -4.34rem;
  padding: 1rem 1.9rem 1.15rem;
  background: var(--brown);
  border-radius: 0;   /* bordas totalmente retas */
  max-width: calc(100% + 4.34rem);
}
.comparativo__foot-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: .01em;
}
.comparativo__foot-sub {
  margin-top: .4rem;
  font-size: 1.2rem;
  font-weight: 500;   /* Inconsolata Medium — subtítulo */
  letter-spacing: .03em;
  color: var(--cream);
  opacity: .92;
}
.comparativo .h-display { font-size: 4rem; }
.comparativo__img {
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
}
.comparativo__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ==========================================================================
   7 — POR QUE INVESTIR (grade de cards)
   ========================================================================== */
.investir { justify-content: center; }
.investir__head { margin-bottom: 2rem; }
.investir__head .h-display { color: var(--amber); text-transform: uppercase; }   /* deck novo: título em âmbar, maiúsculas */
.investir__head .body-lg { margin-top: .5rem; color: var(--brown); }
.investir__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}


/* ==========================================================================
   9 — NOVO CONCEITO (foto como plano de fundo da seção inteira)
   ========================================================================== */
.slide--conceito .slide__body {
  padding: 0;
  max-width: none;
  position: relative;
  background-image: url("../../../assets/images/fachada.jpg");
  /* image-set() com WebP: navegadores modernos baixam o arquivo mais leve;
     a linha acima é o fallback para os que não suportam image-set(). */
  background-image: image-set(
    url("../../../assets/images/fachada.webp") type("image/webp"),
    url("../../../assets/images/fachada.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
}

/* Painel com o título — retângulo reto e marrom, sobre a foto (canto inf. esq.) */
.conceito__panel {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 3.6rem;
  max-width: 46rem;
}
.conceito__title {
  display: inline-block;
  background: var(--brown);
  color: var(--cream);
  padding: 1.1rem 2rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}
.conceito__legend {
  margin-top: .6rem;
  padding: 0 2rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--cream);
  text-shadow: 0 1px 4px rgba(0,0,0,.55);   /* legibilidade sobre a foto */
}

/* ==========================================================================
   10 — 7 PASSOS (timeline)
   ========================================================================== */
.passos { justify-content: center; }
.passos .h-display { color: var(--brown); font-weight: 800; text-transform: uppercase; }
.passos__head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.passos__icon { flex: 0 0 auto; width: 8.4rem; height: auto; }
.steps { margin-top: 4.2rem; }

/* ==========================================================================
   11 — CONTATO (form)
   ========================================================================== */
.contato { display: grid; grid-template-columns: 1fr 25rem; gap: 3rem; align-items: center; padding-right: 2.5rem; }
.contato .lead-form { position: relative; z-index: 4; }   /* fica à frente da roseta de canto */
.contato__text { max-width: 52rem; }
.contato .h-display { color: var(--amber); font-size: 3.1rem; }   /* deck novo: título em âmbar */
.contato__cta { margin-top: 1.7rem; color: var(--brown); }
.contato__desc { margin-top: .6rem; color: var(--brown); }
.contato__bullets { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.15rem; }
.contato__bullets li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
}
.contato__bullets img { width: 1.5rem; height: auto; flex: 0 0 auto; }

/* ==========================================================================
   ORNAMENTOS — vetores árabes entregues pelo cliente (deck novo)
   Roseta nos cantos das seções.
   ========================================================================== */

/* Roseta de canto */
.deco {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.deco--rosette-marrom { background-image: url("../../../assets/icons/Circular-03.svg"); }
.deco--rosette-ambar  { background-image: url("../../../assets/icons/Circular-04.svg"); }
.deco--simbolo-ambar  { background-image: url("../../../assets/logos/simbolo-2-ambar.svg"); }

.deco--canto-td { width: 25rem; height: 25rem; top: -11rem; right: -8rem; }    /* contato */
.deco--conceito { width: 26rem; height: 26rem; top: -9rem; right: -6rem; }      /* conceito */

/* Intro — roseta sangrando no canto inferior ESQUERDO, sobre a foto (reduzida) */
.deco--intro-photo { width: 18rem; height: 18rem; bottom: -5.9rem; left: -5.2rem; }
/* Intro — brasão (coroa + rosto + "1971") no canto inferior direito do lado escuro,
   alinhado à mesma borda do texto (var(--gutter)) — ampliado para mais destaque */
.deco--intro-crest {
  width: 8.65rem;
  height: 13.5rem;   /* proporção original do SVG (60.41 x 94.28) preservada */
  right: var(--gutter);
  bottom: 4.5rem;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer { background: var(--brown); color: var(--cream); }
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
}
.site-footer__brand img { height: 2.6rem; width: auto; }
.site-footer__tagline {
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--red);
}
.site-footer__col h3 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--amber);
  margin-bottom: 1.1rem;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: .85rem; }
.site-footer__col a { font-size: .95rem; font-weight: 600; color: var(--cream); opacity: .92; }
.site-footer__col a:hover { opacity: 1; text-decoration: underline; }
.site-footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.4rem var(--gutter) 2rem;
  border-top: 1px solid rgba(240,230,215,.15);
}
.site-footer__bottom p { font-size: .82rem; color: var(--cream); opacity: .65; }
