html { -webkit-font-smoothing: antialiased; }
body { background: #FDFBF6; }

/* ——— Hero ——— */
.hero-section {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-stage {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 9.5rem);
}
.hero-picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(
    to bottom,
    rgba(22, 44, 73, 0.8),
    rgba(30, 58, 95, 0.55),
    rgba(22, 44, 73, 0.75)
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
  padding: 7rem 0 2.5rem;
}

@media (min-width: 768px) {
  .hero-stage {
    min-height: calc(100svh - 6rem);
  }
  .hero-content {
    padding: 9rem 0 3rem;
  }
}

/* Mobile + imagem: mostra a arte inteira (sem corte nas laterais) */
@media (max-width: 767px) {
  #inicio.hero-com-imagem .hero-stage {
    min-height: calc(100svh - 9.5rem);
  }
  #inicio.hero-com-imagem .hero-media {
    object-fit: contain;
    object-position: center center;
  }
  #inicio.hero-com-imagem .hero-overlay {
    background-image: linear-gradient(
      to bottom,
      rgba(22, 44, 73, 0.78),
      rgba(30, 58, 95, 0.5),
      rgba(22, 44, 73, 0.78)
    );
  }
  #inicio.hero-com-imagem .hero-content {
    padding: 5.5rem 0 2rem;
  }
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
@media (max-width: 1023px) {
  .parallax { background-attachment: scroll; }
}

/* ——— Benefícios (seção âncora) ——— */
.beneficios-section {
  position: relative;
}
.beneficios-header .eyebrow {
  display: inline-block;
}
.beneficio-card {
  background: #FDFBF6;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(30, 58, 95, 0.05), 0 4px 6px -4px rgba(30, 58, 95, 0.05);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(30, 58, 95, 0.06);
}
.beneficio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(30, 58, 95, 0.1), 0 8px 10px -6px rgba(30, 58, 95, 0.08);
}
.beneficio-card-media {
  position: relative;
  height: 12rem;
  overflow: hidden;
}
.beneficio-num {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1;
  color: #FDFBF6;
  text-shadow: 0 2px 8px rgba(22, 44, 73, 0.45);
}
.beneficio-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.beneficio-fonte {
  margin-top: auto;
  padding-top: 1rem;
  font-size: .72rem;
  line-height: 1.45;
  color: rgba(22, 44, 73, 0.55);
}
.beneficio-fonte--compact {
  margin-top: .65rem;
  padding-top: 0;
}
.beneficio-fonte-label {
  display: inline-block;
  margin-right: .35rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .65rem;
  color: #2E7D4A;
}
.beneficio-fonte cite {
  font-style: normal;
}
.beneficio-fonte a {
  color: #1E3A5F;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(30, 58, 95, 0.25);
  transition: color .25s ease, text-decoration-color .25s ease;
}
.beneficio-fonte a:hover {
  color: #B77C12;
  text-decoration-color: rgba(183, 124, 18, 0.5);
}
.beneficio-extra {
  border-left: 4px solid #2E7D4A;
  padding-left: 1.25rem;
}
.beneficios-mais-titulo {
  letter-spacing: 0.06em;
}
.beneficios-disclaimer {
  border-top: 1px solid rgba(30, 58, 95, 0.1);
  padding-top: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0ms);
}
.reveal.on { opacity: 1; transform: none; }

.d-100 { --d: 100ms; }
.d-120 { --d: 120ms; }
.d-130 { --d: 130ms; }
.d-150 { --d: 150ms; }
.d-200 { --d: 200ms; }
.d-240 { --d: 240ms; }
.d-260 { --d: 260ms; }
.d-300 { --d: 300ms; }
.d-360 { --d: 360ms; }
.d-400 { --d: 400ms; }
.d-480 { --d: 480ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .parallax { background-attachment: scroll; }
}

.eyebrow {
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .72rem;
}
.img-zoom img { transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.img-zoom:hover img { transform: scale(1.06); }

.rotulo {
  border: 2px solid #1E3A5F;
  box-shadow: 0 0 0 6px #F7EFDC, 0 0 0 8px rgba(30,58,95,.35);
}
.stamp {
  transform: rotate(-6deg);
  border: 2px dashed #B77C12;
}

.sublinha { position: relative; display: inline-block; }
.sublinha::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: .06em;
  height: .34em;
  background: rgba(217,151,30,.28);
  z-index: -1;
  border-radius: 2px;
}

#header { overflow: visible; }
#header .barra-menu {
  position: relative;
  overflow: visible;
  transition: box-shadow .3s ease, background-color .3s ease;
}
#header.scrolled .barra-menu { box-shadow: 0 6px 24px -8px rgba(22,44,73,.45); }

#btnMenu {
  background: transparent;
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
#btnMenu:focus { outline: none; }
#btnMenu:focus-visible {
  outline: 3px solid #D9971E;
  outline-offset: 2px;
  border-radius: .25rem;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  min-height: 4.25rem;
}
.header-nav-left {
  display: none;
  justify-content: flex-end;
  gap: 1.5rem;
}
.header-nav-right {
  display: none;
  justify-content: flex-start;
  gap: 1.5rem;
}
.logo-vazada {
  position: relative;
  z-index: 60;
  display: block;
  margin-bottom: 0;
  filter: none;
  line-height: 0;
}
.logo-vazada img {
  display: block;
  height: 3.35rem;
  width: auto;
  max-width: none;
}
@media (min-width: 768px) {
  #header .barra-menu { padding-top: 1.35rem; }
  .header-grid { min-height: 4.75rem; column-gap: 1.75rem; }
  .header-nav-left,
  .header-nav-right { display: flex; }
  .logo-vazada {
    margin-bottom: -2.1rem;
    filter: drop-shadow(0 6px 14px rgba(22,44,73,.4));
  }
  .logo-vazada img { height: 8.25rem; }
}
@media (max-width: 767px) {
  .header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header-nav-left,
  .header-nav-right {
    display: none;
  }
}

.navlink { position: relative; }
.navlink::after {
  content:''; position:absolute; left:0; bottom:-4px; height:2px; width:0;
  background:#D9971E; transition: width .3s ease;
}
.navlink:hover::after, .navlink:focus-visible::after { width:100%; }

.campo {
  width: 100%;
  background: #FDFBF6;
  border: 1.5px solid rgba(30,58,95,.25);
  border-radius: .5rem;
  padding: .8rem 1rem;
  font-size: .95rem;
  color: #162C49;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.campo:focus {
  outline: none;
  border-color: #1E3A5F;
  box-shadow: 0 0 0 3px rgba(217,151,30,.25);
}
#btnAtacado:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}
label { color:#1E3A5F; font-weight:600; font-size:.85rem; display:block; margin-bottom:.35rem; }

:focus-visible { outline: 3px solid #D9971E; outline-offset: 2px; }

section[id] { scroll-margin-top: 8rem; }

.nav-almendra {
  font-family: 'Almendra', Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: .04em;
}
@media (min-width: 768px) {
  .nav-almendra { font-size: 1.3rem; }
}

.faixa-confianca {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.marquee-item {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 2.25rem;
}
.marquee-item::after {
  content: '·';
  margin-left: 2.25rem;
  opacity: .45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.sr-only:focus,
.focus\:not-sr-only:focus {
  position: absolute;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
