/* ==========================================================================
   receita.css — Hila Vidros e Cristais
   Depende de hila-tokens.css carregado antes.
   ========================================================================== */

* {
  box-sizing: border-box;
}

/* =====================================================
   BOTÕES FLUTUANTES DE NAVEGAÇÃO
===================================================== */
.recipe-prev-fab {
  flex-direction: row-reverse;
}

.recipe-next-fab,
.recipe-prev-fab {
  position: fixed !important;
  bottom: 28px !important;
  z-index: 999999 !important;

  display: flex !important;
  align-items: center !important;
  gap: 16px !important;

  width: 230px !important;
  height: 58px !important;

  border-radius: 999px !important;

  background: #0E2E4F !important;
  color: #fff !important;
  text-decoration: none !important;

  box-shadow: 0 12px 35px rgba(0, 0, 0, .22) !important;

  transition:
    width .35s ease,
    transform .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.recipe-next-fab {
  right: 28px !important;
  padding: 0 10px 0 22px !important;
}

.recipe-prev-fab {
  left: 28px !important;
  padding: 0 22px 0 10px !important;
}

.recipe-next-fab:hover,
.recipe-prev-fab:hover {
  width: 300px !important;
  background: #163E67 !important;
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .28);
}

/* texto */

.recipe-next-fab .fab-text,
.recipe-prev-fab .fab-text {

  flex: 1;
  min-width: 0;

  position: relative;

  height: 22px;

  overflow: hidden;
}

.recipe-next-fab .fab-default,
.recipe-next-fab .fab-hover,
.recipe-prev-fab .fab-default,
.recipe-prev-fab .fab-hover {

  position: absolute;

  inset: 0;

  display: flex;
  align-items: center;

  font-size: .92rem;
  font-weight: 700;

  white-space: nowrap;

  transition:
    opacity .28s ease,
    transform .28s ease;
}

.recipe-next-fab .fab-default,
.recipe-prev-fab .fab-default {

  opacity: 1;
  transform: translateY(0);
}

.recipe-next-fab .fab-hover,
.recipe-prev-fab .fab-hover {

  opacity: 0;
  transform: translateY(22px);
}

.recipe-next-fab:hover .fab-default,
.recipe-prev-fab:hover .fab-default {

  opacity: 0;
  transform: translateY(-22px);
}

.recipe-next-fab:hover .fab-hover,
.recipe-prev-fab:hover .fab-hover {

  opacity: 1;
  transform: translateY(0);
}

/* ícone */

.recipe-next-fab .fab-icon,
.recipe-prev-fab .fab-icon {

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff22;

  transition: .25s;
}

.recipe-next-fab:hover .fab-icon,
.recipe-prev-fab:hover .fab-icon {

  background: #fff;
}

.recipe-next-fab .fab-icon svg,
.recipe-prev-fab .fab-icon svg {

  width: 20px !important;
  height: 20px !important;

  stroke: #fff !important;
  stroke-width: 2.5 !important;

  transition: .25s;
}

.recipe-next-fab:hover .fab-icon svg {

  stroke: #0E2E4F !important;
  transform: translateX(2px);
}

.recipe-prev-fab:hover .fab-icon svg {

  stroke: #0E2E4F !important;
  transform: translateX(-2px);
}

/* mobile */

@media (max-width:768px) {

  .recipe-next-fab,
  .recipe-prev-fab {

    width: 58px !important;
    height: 58px !important;

    padding: 0 !important;

    justify-content: center !important;
  }

  .recipe-next-fab:hover,
  .recipe-prev-fab:hover {

    width: 58px !important;
  }

  .recipe-next-fab .fab-text,
  .recipe-prev-fab .fab-text {

    display: none !important;
  }
}

.glass-card-image {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 170px;
  height: 170px;
  margin: 0 auto 1rem;
}

.glass-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recipe-section,
.hero,
.harmonization,
.glass-section {
  font-family: var(--font-sans);
}

body.recipe-page {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

body.recipe-page a {
  text-decoration: none;
  color: inherit;
}

body.recipe-page img {
  display: block;
  max-width: 100%;
}

body.recipe-page h1,
body.recipe-page h2,
body.recipe-page h3 {
  margin: 0;
}

body.recipe-page p {
  margin: 0;
}

body.recipe-page .harmonization-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f6fa 0%, #e8f2f9 48%, #ffffff 100%);
}

.hero-blob-1 {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 94, 160, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-blob-2 {
  position: absolute;
  width: 460px;
  height: 460px;
  left: -160px;
  bottom: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 66, 122, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-watermark-corner {
  position: absolute;
  right: -60px;
  top: -30px;
  width: 440px;
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
  filter: saturate(0.6);
}

.hero-watermark-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  width: 100%;
  opacity: 0.1;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* grid: texto à esquerda, imagem à direita */
.hero-inner {
  position: relative;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 68px 48px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* badge "MIXOLOGIA · CLÁSSICO ITALIANO" */
.hero-badge {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-weight: var(--weight-semibold);
  color: #003060;
  background: #e0edf6;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

/* título grande e ultra-bold */
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
  margin-bottom: 18px;
}

/* parágrafo de introdução */
.hero-intro {
  font-size: var(--text-md);
  color: var(--text-body);
  line-height: var(--leading-relaxed);
  margin-bottom: 26px;
}

/* pills de ocasião */
.hero-occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.occasion-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.occasion-pill .icon {
  width: 16px;
  height: 16px;
  color: #00427a;
}

/* card da foto do drink */
.hero-image-frame {
  position: relative;
}

.hero-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  background: #e0edf6;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   QUICK FACTS BAR
   ============================================================ */
.facts-wrap {
  position: relative;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 48px 60px;
}

.facts-bar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.facts-glass {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 24px;
  border-right: 1px solid var(--border-subtle);
}

.facts-glass-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-sunken);
}

.facts-glass-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fact-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  margin-bottom: 4px;
}

.fact-label-spaced {
  margin-bottom: 6px;
}

.fact-glass-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--text-strong);
  line-height: 1.2;
}

.fact-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-strong);
}

/* ============================================================
   INGREDIENTES + MODO DE PREPARO
   ============================================================ */
.recipe-section {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 84px 48px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* card de ingredientes */
.ingredients-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

/* eyebrow "A RECEITA" / "PASSO A PASSO" */
.eyebrow {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-weight: var(--weight-semibold);
  color: #00427a;
  margin-bottom: 8px;
}

/* título de seção */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
  margin-bottom: 24px;
}

.steps-title {
  margin-bottom: 28px;
}

/* linhas de ingrediente */
.ingredient-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.ingredient-name {
  font-size: var(--text-base);
  color: var(--text-strong);
  font-weight: var(--weight-medium);
}

/* quantidade em fonte mono e cor da marca */
.ingredient-amount {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: #00427a;
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

/* caixa de dica */
.tip-box {
  margin-top: 20px;
  padding: 14px 16px;
  background: #f0f6fa;
  border-radius: var(--radius-md);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tip-box .icon {
  width: 18px;
  height: 18px;
  color: #00427a;
  flex-shrink: 0;
  margin-top: 1px;
}

.tip-text {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: var(--leading-normal);
}

.tip-text strong {
  color: var(--text-strong);
}

/* passos numerados */
.step-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.step-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* círculo numerado azul-índigo */
.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00427a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
}

.step-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--text-strong);
  margin-bottom: 6px;
}

.step-body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
}

/* ============================================================
   HARMONIZAÇÃO COM COMIDAS
   ============================================================ */
.harmonization {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f6fa 0%, #e8f2f9 48%, #ffffff 100%);
}


.harmonization-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -120px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 66, 122, 0.08), transparent 70%);
  pointer-events: none;
}

.harmonization-watermark {
  position: absolute;
  left: -100px;
  bottom: -60px;
  width: 440px;
  opacity: 0.1;
  mix-blend-mode: multiply;
  pointer-events: none;
  transform: scaleX(-1);
}

.harmonization-inner {
  position: relative;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 84px 48px;
}

/* cabeçalho centrado */
.harmonization-header {
  text-align: center;
  margin-bottom: 48px;
}

.harmonization-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
}

.harmonization-intro {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 580px;
  margin: 14px auto 0;
  line-height: var(--leading-relaxed);
  text-align: center;
}

/* grid 3 colunas */
.pairings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pairing-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.pairing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ícone em quadrado com fundo lavanda */
.pairing-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #f0f6fa;
  color: #00427a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pairing-icon .icon {
  width: 22px;
  height: 22px;
}

.pairing-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-strong);
  margin-bottom: 8px;
}

.pairing-body {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   COPO RECOMENDADO
   ============================================================ */
.glass-section {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 80px 48px;
}

/* banner gradiente índigo */
.glass-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #00427a 0%, #0a5ea0 55%, #1a7abf 100%);
  border-radius: var(--radius-2xl);
  padding: 52px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.glass-banner-blob-1 {
  position: absolute;
  width: 320px;
  height: 320px;
  right: -100px;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.glass-banner-blob-2 {
  position: absolute;
  width: 260px;
  height: 260px;
  left: -80px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 70%);
  pointer-events: none;
}

.glass-banner-text {
  position: relative;
}

/* badge "COPO RECOMENDADO" */
.glass-banner-badge {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-weight: var(--weight-semibold);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.glass-banner-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: #ffffff;
  line-height: var(--leading-snug);
  margin-bottom: 14px;
}

.glass-banner-desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.84);
  line-height: var(--leading-relaxed);
  margin-bottom: 28px;
}

/* botão branco arredondado */
.glass-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #003060;
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  transition: background var(--dur-base) var(--ease-out);
}

.glass-banner-cta:hover {
  background: #ffffff;
}

.glass-banner-cta .icon {
  width: 18px;
  height: 18px;
}

/* card fosco à direita */
.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.glass-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  margin-bottom: 24px;
}

.glass-card-icon-wrap .icon {
  width: 80px;
  height: 80px;
  color: #ffffff;
  opacity: 0.88;
}

.glass-card-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glass-card-meta-label {
  width: 100%;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .65);
  font-weight: 600;
  margin-bottom: 8px;
}

.glass-card-meta-value {
  width: 100%;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px 32px;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-image-frame {
    display: none;
  }

  .facts-wrap {
    padding: 0 24px 44px;
  }

  .facts-bar {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .facts-glass {
    border-right: none;
    padding-right: 0;
  }

  .recipe-section {
    padding: 48px 24px;
  }

  .recipe-grid {
    grid-template-columns: 1fr;
  }

  .harmonization-inner {
    padding: 56px 24px;
  }

  .harmonization-title {
    font-size: var(--text-3xl);
  }

  .pairings-grid {
    grid-template-columns: 1fr;
  }

  .glass-section {
    padding: 48px 24px;
  }

  .glass-banner {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }

  .glass-card {
    display: none;
  }

  .glass-banner-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: var(--text-3xl);
  }

  .facts-bar {
    grid-template-columns: 1fr;
  }

  .facts-glass {
    border-right: none;
  }
}

body.recipe-page header,
body.recipe-page footer {
  color: initial;
  font-family: initial;
  font-size: initial;
  background: initial;
  box-shadow: none;
  filter: none;
}