/* ============================================================
   JUST EYES — Beauty Design System
   assets/css/style.css
   HTML semântico + CSS puro BEM + custom properties
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  --azul-escuro:  #002060;
  --azul-medio:   #0070c0;
  --cinza-texto:  #474747;
  --cinza-claro:  #f5f5f5;
  --branco:       #ffffff;
  --borda:        rgba(71, 71, 71, 0.16);
  --borda-azul:   rgba(0, 32, 96, 0.08);

  --font-main:    'Montserrat', sans-serif;

  --section-x:   112px;
  --container:   1216px;
  --max-w:       1440px;
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  color: var(--cinza-texto);
  background: var(--branco);
  overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ============================================================
   3. MOBILE OVERLAY
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   4. MOBILE DRAWER
   ============================================================ */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--branco);
  z-index: 300;
  padding: 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.12);
}

.mobile-drawer.is-open { right: 0; }

.mobile-drawer__header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.mobile-drawer__close {
  font-size: 20px;
  color: var(--cinza-texto);
  padding: 8px;
  line-height: 1;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
}

.mobile-drawer__nav-item {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--borda);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cinza-texto);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.mobile-drawer__nav-item:hover { color: var(--azul-escuro); }

/* ============================================================
   5. HEADER WRAPPER (sticky)
   ============================================================ */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--branco);
}

/* ============================================================
   6. TOP BAR
   ============================================================ */
.top-bar {
  background: var(--azul-escuro);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-x);
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.header-wrapper.is-scrolled .top-bar {
  height: 0;
  opacity: 0;
}

.top-bar__text {
  font-size: 12px;
  font-weight: 400;
  color: var(--branco);
  white-space: nowrap;
  line-height: 1.4;
}

.top-bar__text strong {
  font-weight: 600;
}

.top-bar__icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.top-bar__icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.top-bar__icon:hover { opacity: 0.8; }

.top-bar__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* ============================================================
   7. SITE HEADER (logo + search + cart)
   ============================================================ */
.site-header {
  background: var(--branco);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--borda);
}

.site-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--section-x);
}

.site-header__logo {
  display: block;
  height: 56px;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.site-header__search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--borda-azul);
  border-radius: 4px;
  width: 404px;
  cursor: text;
  gap: 8px;
  flex-shrink: 0;
}

.site-header__search-placeholder {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  color: var(--cinza-texto);
  line-height: 1.4;
  pointer-events: none;
}

.site-header__search-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.site-header__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
}

.site-header__btn-user,
.site-header__btn-cart {
  width: 34px;
  height: 34px;
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.site-header__btn-user {
  border: 1px solid var(--azul-escuro);
}

.site-header__btn-user:hover { opacity: 0.75; }

.site-header__btn-user img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.site-header__btn-cart {
  background: var(--azul-escuro);
  position: relative;
}

.site-header__btn-cart:hover { opacity: 0.85; }

.site-header__btn-cart img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.site-header__cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 13px;
  height: 13px;
  background: var(--azul-medio);
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--branco);
  line-height: 1;
}

/* ============================================================
   8. HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--azul-escuro);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 1px;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   9. NAV MENU
   ============================================================ */
.nav-menu {
  background: var(--branco);
  backdrop-filter: blur(6px);
  overflow: hidden;
  max-height: 56px;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

.header-wrapper.is-scrolled .nav-menu {
  max-height: 0;
  opacity: 0;
}

.nav-menu__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--section-x);
}

.nav-menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nav-menu__link {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  color: var(--cinza-texto);
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-menu__link:hover { color: var(--azul-escuro); }

.nav-menu__chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================
   10. BANNER HERO
   ============================================================ */
.banner {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.banner__image {
  position: absolute;
  inset: 0;
  right: -136px;
}

.banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.banner__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.banner__title {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--branco);
  text-align: center;
  white-space: nowrap;
}

.banner__title strong {
  font-weight: 600;
}

/* ============================================================
   11. SHARED SECTION ELEMENTS
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 48px;
}

.section-header__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1;
}

.section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--azul-medio);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0;
}

.section-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--cinza-texto);
  line-height: 1.2;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--azul-escuro);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-offset: 2px;
  white-space: nowrap;
  transition: opacity 0.2s;
  line-height: 1;
}

.section-link:hover { opacity: 0.7; }

/* ============================================================
   12. PRODUTOS — Lançamentos
   ============================================================ */
.produtos {
  padding: 64px var(--section-x);
  background: var(--branco);
}

.produtos__grid {
  display: grid;
  grid-template-columns: repeat(4, 280px);
  gap: 32px;
}

/* Product Card */
.produto-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 280px;
}

.produto-card__image {
  position: relative;
  width: 280px;
  height: 304px;
  background: var(--cinza-claro);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.produto-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produto-card__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--azul-escuro);
  color: var(--branco);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 8px 4px;
  border-radius: 4px;
  line-height: 1;
  z-index: 1;
}

.produto-card__info {
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.produto-card__name {
  font-size: 18px;
  font-weight: 400;
  color: var(--cinza-texto);
  line-height: 1.4;
}

.produto-card__preco {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.1;
}

.produto-card__preco-valor {
  font-size: 20px;
  font-weight: 700;
  color: var(--cinza-texto);
}

.produto-card__preco-parcelas {
  font-size: 14px;
  font-weight: 300;
  color: var(--cinza-texto);
  white-space: nowrap;
}

.produto-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  width: 280px;
  border: 1px solid var(--azul-escuro);
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  color: var(--azul-escuro);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.produto-card__btn:hover {
  background: var(--azul-escuro);
  color: var(--branco);
}

/* ============================================================
   13. BENEFÍCIOS
   ============================================================ */
.beneficios {
  background: var(--cinza-claro);
  padding: 64px var(--section-x);
  overflow: hidden;
}

.beneficios__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1;
}

.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(3, 384px);
  gap: 55px;
  justify-content: center;
  max-width: 1262px;
  margin: 0 auto;
}

.beneficio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  text-align: center;
}

.beneficio-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beneficio-item__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.beneficio-item__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--cinza-texto);
  line-height: 1.4;
  white-space: nowrap;
}

.beneficio-item__text {
  font-size: 16px;
  font-weight: 400;
  color: var(--cinza-texto);
  line-height: 1.4;
}

/* ============================================================
   14. SOBRE NÓS
   ============================================================ */
.sobre {
  padding: 64px var(--section-x);
  display: flex;
  gap: 72px;
  align-items: center;
  background: var(--branco);
  max-width: var(--max-w);
  margin: 0 auto;
}

.sobre__image {
  width: 592px;
  height: 511px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cinza-claro);
}

.sobre__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.sobre__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1;
}

.sobre__text {
  font-size: 16px;
  font-weight: 400;
  color: var(--cinza-texto);
  line-height: 1.4;
}

.sobre__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--azul-escuro);
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  color: var(--azul-escuro);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: fit-content;
  height: 54px;
}

.sobre__btn:hover {
  background: var(--azul-escuro);
  color: var(--branco);
}

.sobre__btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: filter 0.2s;
}

.sobre__btn:hover img {
  filter: brightness(0) invert(1);
}

/* ============================================================
   15. BLOG
   ============================================================ */
.blog {
  background: var(--cinza-claro);
  padding: 64px var(--section-x);
}

.blog__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
}

.blog__header-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, 280px);
  gap: 32px;
}

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 280px;
}

.blog-card__image {
  width: 280px;
  height: 200px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--branco);
  flex-shrink: 0;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 8px;
  flex: 1;
}

.blog-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--cinza-texto);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-card__text {
  font-size: 14px;
  font-weight: 400;
  color: var(--cinza-texto);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.blog-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--azul-escuro);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-offset: 2px;
  text-transform: uppercase;
  line-height: 1;
  padding: 0 8px;
  transition: opacity 0.2s;
}

.blog-card__link:hover { opacity: 0.7; }

/* ============================================================
   16. NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--azul-escuro);
  min-height: 184px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-x);
  overflow: hidden;
  gap: 32px;
}

.newsletter__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  white-space: nowrap;
}

.newsletter__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--branco);
  letter-spacing: 1.92px;
  text-transform: uppercase;
  line-height: 1;
}

.newsletter__title {
  font-size: 32px;
  font-weight: 600;
  color: var(--branco);
  line-height: 1;
  white-space: nowrap;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 450px;
  flex-shrink: 0;
}

.newsletter__input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  gap: 12px;
}

.newsletter__input {
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  color: var(--branco);
  flex: 1;
  min-width: 0;
}

.newsletter__input::placeholder {
  color: var(--branco);
  opacity: 1;
}

.newsletter__submit {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  color: var(--branco);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.newsletter__submit:hover { opacity: 0.8; }

.newsletter__submit img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.newsletter__consent {
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter__checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid var(--branco);
  border-radius: 2px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: transparent;
}

.newsletter__checkbox:checked {
  background: var(--branco);
}

.newsletter__consent-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--branco);
  line-height: 1.4;
}

.newsletter__consent-text a {
  text-decoration: underline;
  color: var(--branco);
}

/* Feedback message */
.newsletter__msg {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  padding: 8px 0;
  min-height: 0;
  transition: opacity 0.3s ease;
}

.newsletter__msg:empty { display: none; }

.newsletter__msg--ok  { color: #7effc0; }
.newsletter__msg--err { color: #ffa7a7; }

/* Disabled submit button */
.newsletter__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
   ============================================================ */
.footer {
  background: var(--branco);
  padding: 48px var(--section-x);
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(71, 71, 71, 0.1);
}

.footer__col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--cinza-texto);
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__col-item {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--cinza-texto);
  line-height: 1.5;
  transition: color 0.2s;
}

a.footer__col-item:hover { color: var(--azul-escuro); }

.footer__social {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}

.footer__social-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.footer__social-icon:hover { opacity: 0.75; }

.footer__social-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer__payment {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer__payment img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   18. FOOTER BOTTOM
   ============================================================ */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 16px;
}

.footer__copyright {
  font-size: 12px;
  font-weight: 400;
  color: var(--cinza-texto);
  line-height: 1.4;
}

.footer__copyright strong {
  font-weight: 600;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 64px;
}

.footer__logos-group {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer__logos-cert {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer__logos-group img,
.footer__logos-cert img {
  height: auto;
  object-fit: contain;
}

/* ============================================================
   19. RESPONSIVE — 1200px
   ============================================================ */
@media (max-width: 1200px) {
  :root {
    --section-x: 48px;
  }

  .produtos__grid {
    grid-template-columns: repeat(3, 280px);
    justify-content: center;
  }

  .blog__grid {
    grid-template-columns: repeat(3, 280px);
    justify-content: center;
  }

  .beneficios__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .sobre {
    gap: 48px;
  }

  .sobre__image {
    width: 450px;
    height: 420px;
  }
}

/* ============================================================
   20. RESPONSIVE — 1024px (tablet)
   ============================================================ */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }

  .site-header__search { width: 260px; }

  .produtos__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .produto-card { width: 100%; }
  .produto-card__image { width: 100%; }
  .produto-card__btn { width: 100%; }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .blog-card { width: 100%; }
  .blog-card__image { width: 100%; }

  .beneficios__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .sobre {
    flex-direction: column;
    gap: 40px;
  }

  .sobre__image {
    width: 100%;
    height: 360px;
  }

  .newsletter {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px var(--section-x);
    min-height: auto;
    gap: 32px;
  }

  .newsletter__content { white-space: normal; }
  .newsletter__title { white-space: normal; }
  .newsletter__form { width: 100%; }
}

/* ============================================================
   21. RESPONSIVE — 768px (mobile)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-x: 24px;
  }

  .top-bar__text { font-size: 11px; }

  .site-header__search { display: none; }

  .banner { height: 320px; }
  .banner__title { font-size: 26px; white-space: normal; }

  .section-title { font-size: 24px; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .produtos__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .produto-card__image { height: 220px; }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .blog-card__image { height: 140px; }
  .blog-card__title { font-size: 16px; }

  .beneficios__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .newsletter__title { font-size: 24px; }

  .footer__bottom {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .footer__logos {
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* ============================================================
   22. RESPONSIVE — 480px (mobile small)
   ============================================================ */
@media (max-width: 480px) {
  .banner { height: 260px; }
  .banner__title { font-size: 22px; }

  .produtos__grid { grid-template-columns: 1fr; }
  .produto-card__image { height: 260px; }

  .blog__grid { grid-template-columns: 1fr; }
  .blog-card__image { height: 200px; }

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

  .newsletter__title { font-size: 20px; }
}

/* ============================================================
   CART DROPDOWN
   ============================================================ */
.cart-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 32, 96, 0.14);
  z-index: 300;
  overflow: hidden;
}

.cart-dropdown.is-open { display: flex; }

.cart-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--borda);
}

.cart-dropdown__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azul-escuro);
}

.cart-dropdown__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cinza-texto);
  font-size: 14px;
  padding: 2px 4px;
  line-height: 1;
  transition: color 0.15s;
  font-family: var(--font-main);
}

.cart-dropdown__close:hover { color: var(--azul-escuro); }

.cart-dropdown__items {
  max-height: 280px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--borda);
}

.cart-item__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--cinza-claro);
  border-radius: 2px;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__nome {
  font-size: 12px;
  font-weight: 600;
  color: var(--azul-escuro);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.cart-item__preco {
  font-size: 11px;
  color: var(--cinza-texto);
  margin: 2px 0 0;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cart-item__qty-btn {
  width: 22px;
  height: 22px;
  border: 1px solid var(--borda);
  background: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-escuro);
  font-family: var(--font-main);
  transition: background 0.15s;
  line-height: 1;
}

.cart-item__qty-btn:hover { background: var(--cinza-claro); }

.cart-item__qty-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--azul-escuro);
  min-width: 16px;
  text-align: center;
}

.cart-dropdown__empty {
  padding: 36px 18px;
  text-align: center;
  color: var(--cinza-texto);
  font-size: 13px;
}

.cart-dropdown__empty p { margin: 0; }

.cart-dropdown__footer {
  padding: 14px 18px;
  border-top: 1px solid var(--borda);
}

.cart-dropdown__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--cinza-texto);
  margin-bottom: 12px;
}

.cart-dropdown__total strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--azul-escuro);
}

.cart-dropdown__checkout {
  width: 100%;
  background: var(--azul-escuro);
  color: var(--branco);
  border: none;
  padding: 12px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}

.cart-dropdown__checkout:hover { background: var(--azul-medio); }

.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cinza-texto);
  font-size: 12px;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s, color 0.15s;
  font-family: var(--font-main);
  align-self: flex-start;
  margin-top: 2px;
}

.cart-item__remove:hover {
  opacity: 1;
  color: #c0392b;
}

/* ============================================================
   23. MODERN EFFECTS — Scroll Reveal, Parallax, Hover FX
   ============================================================ */

/* --- 1. Scroll Reveal Base --- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="left"]  { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(0.9); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.10s; }
[data-delay="2"] { transition-delay: 0.22s; }
[data-delay="3"] { transition-delay: 0.34s; }
[data-delay="4"] { transition-delay: 0.46s; }
[data-delay="5"] { transition-delay: 0.58s; }

/* --- 2. Hero Parallax --- */
.banner { overflow: hidden; }

.banner__image img {
  will-change: transform;
  transform: scale(1.12) translateY(0px);
  transform-origin: center center;
}

/* --- 3. Hero title — line slide-up reveal --- */
.banner__title-line {
  display: block;
  overflow: hidden;
  line-height: 1.35;
}

.banner__title-line-inner {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.banner--ready .banner__title-line-inner { opacity: 1; transform: translateY(0); }
.banner--ready .banner__title-line:nth-child(1) .banner__title-line-inner { transition-delay: 0.10s; }
.banner--ready .banner__title-line:nth-child(2) .banner__title-line-inner { transition-delay: 0.28s; }

/* --- 4. Product card hover — lift + shimmer --- */
.produto-card {
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.produto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 32, 96, 0.14);
}

/* Shimmer sweep */
.produto-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.produto-card:hover .produto-card__image::after { transform: translateX(120%); }

/* Subtle product image zoom */
.produto-card__image img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.produto-card:hover .produto-card__image img { transform: scale(1.06); }

/* Button micro-lift */
.produto-card__btn {
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.produto-card__btn:hover { transform: scale(1.02); }

/* --- 5. Benefit item — hover lift + icon bounce --- */
.beneficio-item {
  transition: transform 0.3s ease;
}

.beneficio-item:hover { transform: translateY(-5px); }

.beneficio-item__icon img {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.beneficio-item:hover .beneficio-item__icon img {
  transform: scale(1.28) rotate(-7deg);
}

/* --- 6. Sobre section — image hover zoom --- */
.sobre__image img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sobre__image:hover img { transform: scale(1.04); }

/* --- 7. Blog card — enhanced hover --- */
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

.blog-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.11);
}

/* --- 8. Section label — animated accent bar --- */
.section-label {
  position: relative;
  padding-bottom: 6px;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--azul-medio);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s;
}

[data-reveal].is-visible .section-label::after { transform: scaleX(1); }

/* --- 9. Floating particles (hero) --- */
.banner__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0%   { transform: translateY(0)       rotate(0deg);   opacity: 0; }
  8%   { opacity: 0.8; }
  92%  { opacity: 0.8; }
  100% { transform: translateY(-110vh)  rotate(720deg); opacity: 0; }
}

/* --- 10. Newsletter input — focus border glow --- */
.newsletter__input-row {
  transition: border-color 0.3s ease;
}

.newsletter__input-row:focus-within {
  border-bottom-color: rgba(255, 255, 255, 1);
}

/* --- 11. Footer social icons — hover lift --- */
.footer__social-icon {
  transition: transform 0.25s ease;
}

.footer__social-icon:hover { transform: translateY(-3px) scale(1.1); }

/* --- 12. Sobre button arrow — slide on hover --- */
.sobre__btn img {
  transition: filter 0.2s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sobre__btn:hover img { transform: translateX(5px); }

/* --- 13. Accessibility: honour prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .banner__image img,
  .banner__title-line-inner,
  .produto-card,
  .produto-card__image img,
  .blog-card,
  .beneficio-item,
  .sobre__image img,
  .footer__social-icon {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .banner--ready .banner__title-line-inner {
    opacity: 1;
    transform: none;
  }

  .particle { display: none; }
}
