/* ==========================================================================
   PULSACTIVE PORTUGAL (pulsactive.pt) - DESIGN SYSTEM & STYLESHEET
   Conceito Visual: Clinical Authority, Clean Porcelain & Noble Navy
   Contraste Óptico Rigoroso: Não utiliza vermelho para não fundir com a embalagem
   Preço Oficial: 39 € | Mercado: Portugal Continental
   ========================================================================== */

:root {
  /* Paleta Base Limpa e Clínica (Contraste Máximo contra embalagem vermelha) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-soft: #f1f5f9;
  --bg-surface-tint: #e2e8f0;
  --bg-contrast: #0f172a;

  /* Tipografia & Contrastes Neutros */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-inverse: #ffffff;

  /* Identidade Oficial Nobre (Azul Marinho Clínico) */
  --brand-navy: #0f2942;
  --brand-navy-light: #1e3a5f;
  --brand-navy-tint: #e0f2fe;

  /* Acento de Conversão Principal (Azul Elétrico Brand - HEX #0081FF do Coração) */
  --cta-main: #0081FF;
  --cta-hover: #006ee6;
  --cta-gradient: linear-gradient(135deg, #0081FF 0%, #0066cc 100%);
  --cta-gradient-hover: linear-gradient(135deg, #006ee6 0%, #0052a3 100%);
  --cta-shadow: 0 8px 24px -4px rgba(0, 129, 255, 0.40);
  --cta-shadow-hover: 0 12px 30px -4px rgba(0, 129, 255, 0.55);

  /* Acentos Botânicos e de Confiança (Verde Folha de Oliveira) */
  --botanical-dark: #14532d;
  --botanical-base: #15803d;
  --botanical-soft: #f0fdf4;
  --botanical-border: #bbf7d0;

  /* Destaques e Classificações (Âmbar Ouro) */
  --gold-star: #d97706;
  --gold-bg: #fffbeb;
  --gold-border: #fde68a;

  /* Linhas e Contornos */
  --border-subtle: #e2e8f0;
  --border-card: #cbd5e1;
  --border-focus: #0081FF;

  /* Raios de Arredondamento */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-subtle: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 8px 24px -4px rgba(15, 23, 42, 0.07);
  --shadow-elevated: 0 18px 42px -8px rgba(15, 23, 42, 0.12);

  /* Fontes do Sistema */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Georgia", "Cambria", "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* --------------------------------------------------------------------------
   Reset & Configurações Globais
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: clip;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.62;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, webp {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.nowrap {
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Estrutura de Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 73.5rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-soft {
  background-color: var(--bg-surface-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-contrast {
  background-color: var(--bg-contrast);
  color: var(--text-inverse);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cta-main);
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------------------------------
   Grelhas
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Botões e Ações
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.22s ease-in-out;
  cursor: pointer;
  border: none;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--cta-gradient);
  color: #ffffff;
  box-shadow: var(--cta-shadow);
}

.btn-primary:hover {
  background: var(--cta-gradient-hover);
  box-shadow: var(--cta-shadow-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--brand-navy);
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-soft);
  border-color: var(--brand-navy);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Cabeçalho (site-header)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

.brand-text span {
  color: var(--cta-main);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.65rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-navy);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--cta-main);
  border-radius: var(--radius-pill);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* REGRA ESTRITA: Botão CTA no cabeçalho NUNCA aparece em versão mobile (<1024px) em nenhuma página */
.header-cta-btn {
  display: none !important;
  padding: 0.65rem 1.25rem;
  font-size: 0.885rem;
  border-radius: var(--radius-sm);
}

@media (min-width: 1024px) {
  .header-cta-btn {
    display: inline-flex !important;
  }
}

.menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

@media (min-width: 1024px) {
  .menu-toggle-btn {
    display: none;
  }
}

.menu-toggle-btn:hover {
  background-color: var(--bg-surface-soft);
}

/* Painel de Menu Mobile */
.mobile-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
  padding: 1.25rem 1.5rem 1.75rem 1.5rem;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-xs);
  transition: background-color 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--cta-main);
  background-color: var(--bg-surface-soft);
}

/* --------------------------------------------------------------------------
   Ecran 1: Hero Principal (Pulsactive_main.webp à direita)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: clamp(2rem, 3.5vw, 3rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  background: radial-gradient(circle at 85% 20%, #e0f2fe 0%, #f8fafc 65%);
  overflow: hidden;
  min-height: calc(100vh - 4.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 900;
  line-height: 1.16;
  color: var(--brand-navy);
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--botanical-base);
  flex-shrink: 0;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-notice {
  font-size: 0.885rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap img {
  max-height: 520px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(15, 23, 42, 0.12));
}

.hero-badge-float {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background-color: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.885rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.hero-badge-float span {
  color: #38bdf8;
}

/* --------------------------------------------------------------------------
   Ativos em Destaque na Hero Section (4 Pilares Bioativos)
   -------------------------------------------------------------------------- */
.hero-ingredients-bar {
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

.hero-cta-wrapper .btn-primary {
  font-size: 1.125rem;
  padding: 1.05rem 2.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-ing-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(187, 247, 208, 0.7);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 12px -2px rgba(15, 41, 66, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-ing-card:hover {
  transform: translateY(-2px);
  border-color: var(--botanical-base);
  box-shadow: 0 8px 20px -4px rgba(21, 128, 61, 0.14);
}

.hero-ing-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid rgba(187, 247, 208, 0.85);
  color: var(--botanical-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-ing-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-ing-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-ing-dose {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--botanical-base);
  line-height: 1.3;
  margin-top: 0.1rem;
}

.hero-ing-desc {
  font-size: 0.725rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

@media (max-width: 1024px) {
  .hero-ingredients-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .hero-cta-wrapper {
    width: 100%;
  }
  .hero-cta-wrapper .btn-primary {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
  }
  .btn-secondary {
    padding: 0.85rem 1.15rem;
    font-size: 0.975rem;
  }
  .hero-ingredients-bar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  .hero-ing-card {
    padding: 0.75rem 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   Cartões Informativos (Cards)
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--brand-navy-tint);
  color: var(--cta-main);
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.card-text {
  font-size: 0.985rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* Caixa Científica PubMed */
.scientific-box {
  margin-top: 1.15rem;
  padding: 0.95rem;
  background-color: var(--bg-surface-soft);
  border-left: 3px solid var(--cta-main);
  border-radius: var(--radius-xs);
  font-size: 0.885rem;
}

.scientific-box h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cta-main);
  margin-bottom: 0.35rem;
}

.scientific-box p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.scientific-reference {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Imagens Editoriais
   -------------------------------------------------------------------------- */
.editorial-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background-color: var(--bg-surface-tint);
}

.editorial-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-single-img {
  margin: 1.75rem 0 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background-color: var(--bg-surface-tint);
}

.article-single-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Estrutura de Subpáginas (2 Colunas: Artigo Esquerda, Sidebar Sticky Direita)
   -------------------------------------------------------------------------- */
.subpage-hero {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.885rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--brand-navy);
}

.breadcrumbs .sep {
  color: var(--border-card);
}

.breadcrumbs .current {
  color: var(--brand-navy);
  font-weight: 600;
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 992px) {
  .subpage-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 3.5rem;
    align-items: stretch;
  }
}

.subpage-sidebar {
  height: 100%;
  position: relative;
  min-width: 0;
}

.subpage-content {
  min-width: 0;
}

.article-content {
  min-width: 0;
  max-width: 100%;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-main);
  overflow-wrap: break-word;
}

.article-content h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: var(--brand-navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.25;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--brand-navy);
  margin-top: 1.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.article-content p {
  margin-bottom: 1.35rem;
  color: #2a2e35;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #2a2e35;
  line-height: 1.7;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: #2a2e35;
}

/* --------------------------------------------------------------------------
   Cartão de Pedido Oficial (Sticky Sidebar & Bottom Order Section)
   -------------------------------------------------------------------------- */
#order-section,
.bottom-order-grid,
.order-card,
#order-card,
#order {
  scroll-margin-top: calc(4.5rem + 1.5rem);
}

#encomendar,
.bottom-order-section {
  scroll-margin-top: 4.75rem;
}

.order-card {
  background-color: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-card);
  position: relative;
  overflow: hidden;
  max-width: 430px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.sticky-sidebar,
.order-card.sticky-sidebar,
.subpage-sidebar .order-card {
  position: static;
}

@media (min-width: 992px) {
  .sticky-sidebar,
  .order-card.sticky-sidebar,
  .subpage-sidebar .order-card {
    position: -webkit-sticky;
    position: sticky;
    top: 5.25rem;
    z-index: 30;
    max-width: 390px;
    width: 100%;
  }
}

.order-header {
  background: linear-gradient(135deg, #0f2942 0%, #081a2b 100%);
  color: #ffffff;
  padding: 1rem 1.25rem 0.85rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.order-header-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 0.25rem;
}

.order-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 0.25rem;
}

.order-subtitle {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.32;
}

.order-body {
  padding: 1rem 1.25rem 1.15rem;
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

.order-price-banner {
  background: linear-gradient(135deg, #f0f7ff 0%, #e2edf8 100%);
  border: 1.5px solid #bdd3ea;
  border-radius: var(--radius-lg);
  padding: 0.55rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.order-price-left {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.order-price-left .order-new-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f2942;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.order-price-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

.order-price-left .order-price-label {
  font-size: 0.725rem;
  color: #475569;
  font-weight: 600;
  margin-top: 0.25rem;
  line-height: 1.25;
}

.order-price-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.order-volume-pill {
  border: 1px solid #93c5fd;
  color: #0369a1;
  background-color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.order-stock-status {
  font-size: 0.775rem;
  color: var(--botanical-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.order-form {
  display: block;
}

.form-group {
  margin-bottom: 0.65rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.22rem;
}

.form-input {
  width: 100%;
  padding: 0.58rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background-color: #f8fafc;
  color: #0f172a;
  font-size: 0.9125rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-input:hover {
  border-color: #94a3b8;
  background-color: #ffffff;
}

.form-input:focus {
  border-color: var(--cta-main);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 129, 255, 0.18);
}

.phone-input-group {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background-color: #f8fafc;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.phone-input-group:focus-within {
  border-color: var(--cta-main);
  box-shadow: 0 0 0 3px rgba(0, 129, 255, 0.18);
  background-color: #ffffff;
}

.phone-prefix {
  background-color: #e2e8f0;
  border: none;
  border-right: 1.5px solid #cbd5e1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-navy);
  padding: 0 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  border-radius: 0;
}

.phone-input-group .form-input {
  border: none;
  background: transparent;
  padding: 0.58rem 0.75rem;
  box-shadow: none !important;
}

.phone-input-group.is-invalid, .form-input.is-invalid {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
}

.form-err {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.22rem;
  line-height: 1.25;
  font-weight: 500;
}

.form-err.hidden, .hidden {
  display: none !important;
}

.btn-submit-order {
  width: 100%;
  padding: 0.78rem 1.15rem;
  background: linear-gradient(135deg, var(--cta-main), var(--cta-hover));
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--cta-shadow);
  margin-top: 0.25rem;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.btn-submit-order:hover {
  background: var(--cta-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--cta-shadow-hover);
}

.btn-submit-order:active {
  transform: translateY(0);
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.order-guarantees-list {
  list-style: none;
  padding: 0;
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.75rem;
  color: #475569;
}

.order-guarantees-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.32;
}

.order-guarantees-list li span.check {
  color: var(--botanical-base);
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
  line-height: 1.32;
}

/* --------------------------------------------------------------------------
   Secção de Fundo de Encomenda na Página Inicial (Foto Esquerda, Form Direita)
   -------------------------------------------------------------------------- */
.bottom-order-section {
  background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 100%);
  color: var(--text-main);
  min-height: calc(100vh - 4.75rem + 2px);
  min-height: calc(100dvh - 4.75rem + 2px);
  padding: 1.75rem 0 2.75rem;
  box-sizing: border-box;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.bottom-order-section .section-header {
  margin-bottom: 1.5rem;
}

.bottom-order-section .wrap {
  width: 100%;
}

.bottom-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 430px);
  gap: 2.5rem;
  align-items: stretch;
  justify-content: center;
}

.bottom-order-img-wrap {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14), 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-card);
}

.bottom-order-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
  display: block;
}

@media (max-width: 860px) {
  .bottom-order-section {
    padding: 2.75rem 0 3rem;
  }
  .bottom-order-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .bottom-order-img-wrap {
    height: auto;
    max-height: none;
    width: 100%;
    aspect-ratio: 1 / 1;
  }
  .bottom-order-img {
    height: auto;
    width: 100%;
    max-height: none;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
}

/* --------------------------------------------------------------------------
   Tabelas de Dados
   -------------------------------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.75rem 0 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-subtle);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
  background-color: var(--bg-surface-soft);
  color: var(--brand-navy);
  font-weight: 750;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background-color: #f8fafc;
}

/* --------------------------------------------------------------------------
   Secção de Avaliações (Reviews)
   -------------------------------------------------------------------------- */
.reviews-summary-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .reviews-summary-box {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
}

.reviews-summary-rating {
  text-align: center;
  padding-right: 0;
  border-right: none;
}

@media (min-width: 640px) {
  .reviews-summary-rating {
    text-align: left;
    padding-right: 2.5rem;
    border-right: 1px solid var(--border-subtle);
  }
}

.reviews-summary-score {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1;
}

.reviews-summary-score span {
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 600;
}

.review-stars {
  color: var(--gold-star);
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.reviews-feed {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.review-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-subtle);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--brand-navy-tint);
  color: var(--brand-navy);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.reviewer-name {
  font-weight: 750;
  color: var(--brand-navy);
  font-size: 1.025rem;
}

.reviewer-sub {
  font-size: 0.825rem;
  color: var(--text-light);
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--botanical-base);
  background-color: var(--botanical-soft);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
}

.review-text {
  font-size: 0.985rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.review-image-attachment {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.review-photo-wrap {
  display: contents;
}

/* --------------------------------------------------------------------------
   FAQ (Perguntas Frequentes)
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--border-card);
}

.faq-question {
  padding: 1.35rem 1.65rem;
  font-weight: 750;
  font-size: 1.08rem;
  color: var(--brand-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.45rem;
  color: var(--cta-main);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.65rem 1.5rem 1.65rem;
  font-size: 0.985rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid transparent;
}

/* --------------------------------------------------------------------------
   Barra Flutuante Móvel (Sticky Mobile Bar < 1024px)
   -------------------------------------------------------------------------- */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.12);
  padding: 0.75rem 1.25rem;
  transform: translateY(105%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1023px) {
  .sticky-mobile-bar {
    display: block;
  }
}

.sticky-mobile-bar.is-visible {
  transform: translateY(0);
}

.mobile-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 32rem;
  margin: 0 auto;
}

.mobile-bar-price-info {
  display: flex;
  flex-direction: column;
}

.mobile-bar-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1;
}

.mobile-bar-old {
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-top: 0.2rem;
}

.mobile-bar-cta-btn {
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Rodapé (site-footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brand-navy);
  color: #94a3b8;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1023px) {
  .site-footer {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-brand-title span {
  color: var(--cta-main);
}

.footer-text {
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #94a3b8;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-email-link:hover {
  color: #38bdf8;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 750;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-disclaimer-box {
  padding: 1.5rem;
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 2.5rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}
