/* ================================================================
   LOUP LASH — style.css
   Brand book: paleta #2f2e2c / #5b5545 / #62684c / #875f45 / #c9bca9 / #e2ded2 / #ffffff
   Tipografia:
     • Against Regular  → títulos script/display (fonte própria, assets/fonts/)
     • Cormorant Garamond → títulos serif menores (nome de produto, blog)
     • Montserrat        → corpo de texto
   ================================================================ */

/* ----------------------------------------------------------------
   0. RESET & BASE
---------------------------------------------------------------- */
@font-face {
  font-family: 'Against Regular';
  src: url('../assets/fonts/against-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta fiel ao brand book */
  --ink:        #2f2e2c;   /* quase-preto — texto principal */
  --forest-dk:  #5b5545;   /* verde-escuro musgo */
  --forest:     #62684c;   /* verde floresta — accent secundário */
  --terracota:  #875f45;   /* terracota quente — accent primário / CTAs */
  --sand:       #c9bca9;   /* areia — bordas, elementos suaves */
  --cream:      #e2ded2;   /* creme — fundos de seção alternada */
  --white:      #ffffff;
  --off-white:  #faf8f4;   /* fundo principal da página */

  /* Derivações utilitárias */
  --terracota-hover: #6e4c34;
  --ink-light:  #5a5855;
  --overlay:    rgba(47, 46, 44, 0.55);


  
  /* Tipografia */
  --font-display: 'Against Regular', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* Escala de tipo */
  --text-xs:   0.6875rem;  /* 11px */
  --text-sm:   0.75rem;    /* 12px */
  --text-base: 0.875rem;   /* 14px */
  --text-md:   1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.375rem;   /* 22px */
  --text-2xl:  1.75rem;    /* 28px */
  --text-3xl:  2.25rem;    /* 36px */
  --text-4xl:  3rem;       /* 48px */
  --text-5xl:  4rem;       /* 64px */

  /* Espaçamento */
  --section-pad: 96px;
  --section-pad-sm: 56px;

  /* Layout */
  --max-w: 1280px;
  --header-h: 72px;
  --announcement-h: 40px;

  /* Sombras */
  --shadow-sm:  0 1px 3px rgba(47,46,44,.08);
  --shadow-md:  0 4px 16px rgba(47,46,44,.10);
  --shadow-lg:  0 12px 40px rgba(47,46,44,.14);

  /* Transições */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: 240ms;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Offset para header fixo */
body { padding-top: calc(var(--header-h) + var(--announcement-h)); }
body.no-announcement { padding-top: var(--header-h); }

img { display: block; width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ----------------------------------------------------------------
   1. TIPOGRAFIA — classes reutilizáveis
---------------------------------------------------------------- */
.script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow, .section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 12px;

}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  color: var(--ink);
  margin-bottom: 16px;
  text-align: center;
}

#loup {
  text-align: left;
}

.section-sub {
  font-size: var(--text-base);
  color: var(--ink-light);
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header--flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 40px;
}

.section-pad { padding: var(--section-pad) 0; }

/* ----------------------------------------------------------------
   2. BOTÕES
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1.5px solid transparent;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 3px;
}

.btn:active { transform: scale(.98); }

.btn-primary {
  background-color: var(--terracota);
  color: var(--white);
  border-color: var(--terracota);
}
.btn-primary:hover { background-color: var(--terracota-hover); border-color: var(--terracota-hover); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: none;
  border-color: var(--terracota);
}
.btn-outline:hover { background: var(--terracota); border-color: var(--white); }

.btn-dark {
  background-color: var(--terracota);
  color: var(--white);
  border-color: var(--terracota);
}
.btn-dark:hover { background-color: #6e4c34; border-color: #6e4c34; }

.btn-lg { padding: 18px 40px; font-size: var(--text-sm); }

.btn-product {
  width: 100%;
  justify-content: center;
  font-size: var(--text-xs);
  padding: 12px 20px;
}

/* ----------------------------------------------------------------
   3. ANNOUNCEMENT BAR
---------------------------------------------------------------- */
.announcement-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--announcement-h);
  background-color: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.announcement-bar p {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.announcement-close {
  position: absolute;
  right: 16px;
  color: var(--cream);
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  transition: color var(--dur) var(--ease);
}
.announcement-close:hover { color: var(--white); }

.announcement-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   4. HEADER / NAV
---------------------------------------------------------------- */
.header {
  position: fixed;
  top: var(--announcement-h);
  left: 0; right: 0;
  z-index: 999;
  height: var(--header-h);
  background-color: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,188,169,.3);
  transition: top var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(250, 248, 244, 0.99);
}

.header.no-announcement { top: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo-svg { height: 44px; width: auto; color: var(--ink); }
.logo--footer .logo-svg { color: var(--cream); }

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: opacity 200ms;
}
.logo-img:hover { opacity: 0.75; }

.logo-img--footer {
  height: 56px;
  filter: brightness(0) invert(1); /* inverte para branco no fundo escuro do footer */
}

/* Nav desktop */
.nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 32px; }

.nav-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  transition: color var(--dur) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background-color: var(--terracota);
  transition: width var(--dur) var(--ease);
}

.nav-link:hover { color: var(--terracota); }
.nav-link:hover::after { width: 100%; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 16px; }

.btn-wpp-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota);
  transition: color var(--dur) var(--ease);
}
.btn-wpp-header:hover { color: var(--terracota-hover); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 32px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background-color: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Nav mobile */
.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--announcement-h) + var(--header-h));
  left: 0; right: 0;
  background-color: var(--off-white);
  border-bottom: 1px solid var(--cream);
  padding: 24px;
  z-index: 998;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav-mobile.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile li:last-child { margin-top: 16px; }
.nav-mobile .nav-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream);
  font-size: var(--text-sm);
}
.nav-mobile .btn { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------
   5. HERO
---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--ink);
}

/* Placeholder cinza texturizado para o hero enquanto sem imagem */
.hero-bg-temp {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1816 0%, #2f2e2c 40%, #3d3a36 70%, #1a1816 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(201,188,169,.03) 40px,
      rgba(201,188,169,.03) 41px
    );
}

/* Imagem real do hero — descomentada quando disponível */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center; /* ← foto ancorada à direita */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26,24,22,.85) 0%,   /* esquerda mais escura — protege o texto */
    rgba(26,24,22,.50) 45%,
    rgba(26,24,22,.10) 100%  /* direita mais aberta — deixa a foto respirar */
  );
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 72vh;
  width: 100%;
}


.hero-content {
  color: var(--white);
  max-width: 560px;
  padding-top: 24px;
  padding-bottom: 32px;
}

.hero-content .eyebrow { color: var(--sand); margin-bottom: 20px; }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl));
  font-weight: 300;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
}

.hero-sub {
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.br-desk { display: block; }

/* ----------------------------------------------------------------
   6. TRUST BAR
---------------------------------------------------------------- */
.trust-bar {
  background-color: var(--cream);
  border-bottom: 1px solid rgba(201,188,169,.5);
  padding: 25px 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid rgba(135,95,69,.18);
}

.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; }

.trust-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--terracota);
}

.trust-item strong {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-transform: uppercase;
}

.trust-item span {
  display: block;
  font-size: var(--text-xs);
  color: var(--ink-light);
}

/* ----------------------------------------------------------------
   7. CATEGORIAS
---------------------------------------------------------------- */
#catTitulo{
  text-align: left;
}

.categorias { background-color: var(--off-white); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cream);
  background: var(--white);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  cursor: pointer;
}

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

.cat-card:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 2px;
}

.cat-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  background-color: var(--cream);
  overflow: hidden;
}

.cat-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 400ms var(--ease);
}
.cat-card:hover .cat-img-wrap img { transform: scale(1.04) translateZ(0); }

.cat-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(145deg, var(--cream) 0%, #d5cec3 100%);
}

.cat-badge {
  position: absolute;
  top: 12px; left: 12px;
  background-color: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.cat-badge--new { background-color: var(--terracota); }

.cat-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-info h3 {
  font-size: var(--text-lg);
  color: var(--ink-light);
  letter-spacing: 0.04em;
}

.cat-info p {
  font-size: var(--text-xs);
  color: var(--ink-light);
  letter-spacing: 0.04em;
}

.cat-cta {
  margin-top: 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota);
  transition: letter-spacing var(--dur) var(--ease);
}

.cat-card:hover .cat-cta { letter-spacing: 0.16em; }

/* ----------------------------------------------------------------
   8. PRODUTOS EM DESTAQUE
---------------------------------------------------------------- */
.produtos { background-color: var(--off-white); padding-top: 0; }

.link-ver-todos {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota);
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
  align-self: flex-end;
  padding-bottom: 0px;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--cream);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

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

.product-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background-color: var(--cream);
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translateZ(0);          /* mantém a imagem na camada de GPU desde o início */
  backface-visibility: hidden;
  transition: transform 400ms var(--ease);
}

.product-card:hover .product-img-wrap img { transform: scale(1.05) translateZ(0); }

.product-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: linear-gradient(145deg, #ede8e0 0%, #d9d1c7 100%);
}

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background-color: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  z-index: 1;
}
.product-badge--new { background-color: var(--terracota); }
.product-badge--kit { background-color: var(--forest); }

.product-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.product-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars { color: var(--terracota); font-size: 12px; letter-spacing: 1px; }
.reviews { font-size: var(--text-xs); color: var(--ink-light); }

.product-name {
  font-size: var(--text-md);
  color: var(--ink-light);
  letter-spacing: 0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;                /* ← padrão */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: var(--text-xs);
  color: var(--ink-light);
  letter-spacing: 0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;                /* ← padrão */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--terracota);
  font-weight: 500;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 0;
}

.price-old {
  font-size: var(--text-xs);
  color: var(--sand);
  text-decoration: line-through;
}

.price-current {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
}

/* ----------------------------------------------------------------
   9. SOBRE / BRAND STORY
---------------------------------------------------------------- */
.sobre { background-color: var(--cream); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;   /* as 2 colunas ficam com a MESMA altura → a foto acompanha o texto */
}

.sobre-img-col {
  position: relative;
  height: 100%;            /* preenche do topo (eyebrow) até o botão "Conheça a marca" */
  min-height: 460px;       /* piso de segurança, pra nunca colapsar */
  overflow: hidden;
  border-radius: 12px;     /* cantos suaves → parece intencional, não colado */
  box-shadow: 0 18px 40px rgba(47, 46, 44, .14);  /* leve elevação editorial */
}

.sobre-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sobre-img { transition: transform .6s ease; }

.sobre-img-col:hover .sobre-img { transform: scale(1.04); }

.sobre-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, #c9bca9 0%, #b0a595 100%);
}

.sobre-text-col {
  max-width: 520px;
}

.sobre-text-col .section-title {
  font-size: clamp(var(--text-3xl), 3.1vw, 3.5rem);
  margin-bottom: 24px;
}

.sobre-lead {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--ink-light);
  margin-bottom: 28px;
}

.sobre-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.sobre-list li {
  display: flex;
  gap: 12px;
  font-size: var(--text-base);
  color: var(--ink);
}

.sobre-dash {
  color: var(--terracota);
  flex-shrink: 0;
  font-weight: 300;
}

/* ----------------------------------------------------------------
   10. DEPOIMENTOS
---------------------------------------------------------------- */
.depoimentos { background-color: var(--ink); }

.depoimentos .section-eyebrow { color: var(--sand); }
.depoimentos .section-title { color: var(--cream); }

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

.dep-card {
  background-color: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dep-quote { color: var(--terracota); flex-shrink: 0; }

.dep-card p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  flex: 1;
}

.dep-card footer { margin-top: auto; }

.dep-card strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 4px;
}

.dep-card span {
  font-size: var(--text-xs);
  color: var(--sand);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------------
   11. CTA CENTRAL
---------------------------------------------------------------- */
.cta-central {
  background-color: var(--forest-dk);
  position: relative;
  overflow: hidden;
}

/* Textura sutil de fundo */
.cta-central::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,.02) 60px,
    rgba(255,255,255,.02) 61px
  );
}

.cta-central-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-eyebrow { color: var(--sand); }
.cta-title { color: var(--white); margin-bottom: 0; }

.cta-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 480px;
}

/* CTA em formato banner horizontal (texto à esquerda, botão à direita) */
.cta-banner { padding-top: 52px; padding-bottom: 52px; }

.cta-banner-inner {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  max-width: var(--max-w);   /* usa a largura do container, não os 640px estreitos */
  gap: 32px;
}

.cta-banner-text { gap: 8px; max-width: 640px; align-items: flex-start; }
.cta-banner .cta-sub { max-width: 600px; margin: 0; }
.cta-banner-btn { flex-shrink: 0; }

/* ===== CATÁLOGO — drawer de filtros no mobile ===== */
.filtros-aplicar { display: none; }   /* botão "Ver resultados": só no mobile */

@media (max-width: 760px) {
  .catalogo-layout { grid-template-columns: 1fr; gap: 0; }
  .catalogo-toolbar { flex-wrap: wrap; gap: 12px; }
  
  .link-ver-todos {
      padding-bottom: 0px;
  }

  /* botão que abre o painel */
  .filtros-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--sand); color: var(--ink);
    font-family: inherit; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 9px 18px; border-radius: 9px; cursor: pointer;
  }

  /* a sidebar vira painel off-canvas */
  .filtros {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(84vw, 340px);
    background: var(--cream); z-index: 1200;
    padding: 26px 22px calc(90px + env(safe-area-inset-bottom));
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .28s ease;
    box-shadow: 0 0 44px rgba(47,46,44,.20);
  }
  .filtros.aberto { transform: translateX(0); }

  /* backdrop escuro + trava do scroll do fundo */
  body.filtros-abertos { overflow: hidden; }
  body.filtros-abertos::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(31,30,28,.5); z-index: 1100;
  }

  /* botão fixo no rodapé do drawer */
  .filtros-aplicar {
    display: block; position: sticky; bottom: 0;
    width: 100%; margin-top: 22px;
    background: var(--terracota); color: #fff; border: none;
    padding: 13px; border-radius: none; cursor: pointer;
    font-family: inherit; font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
  .cta-banner-btn { width: 100%; justify-content: center; }
}
  
/* ----------------------------------------------------------------
   12. BLOG
---------------------------------------------------------------- */
.blog { background-color: var(--off-white); }

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

.blog-card {
  background: var(--white);
  border: 1px solid var(--cream);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease);
}

.blog-card:hover { box-shadow: var(--shadow-md); }

.blog-img-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, var(--cream) 0%, #cac3b7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.blog-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
}

.blog-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.blog-content p {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.7;
  flex: 1;
}

.blog-link {
  margin-top: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota);
  transition: letter-spacing var(--dur) var(--ease);
}

.blog-card:hover .blog-link { letter-spacing: 0.16em; }

/* ----------------------------------------------------------------
   13. NEWSLETTER
---------------------------------------------------------------- */
.newsletter {
  background-color: var(--forest-dk);
  padding: 72px 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.newsletter-text .section-title {
  color: var(--cream);
  margin-bottom: 12px;
}

.newsletter-text p {
  font-size: var(--text-sm);
  color: rgba(226, 222, 210, .7);
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--dur) var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.5); }

.newsletter-form .btn-primary {
  align-self: flex-start;
  background-color: var(--terracota);
}

.form-msg {
  font-size: var(--text-xs);
  color: var(--sand);
  min-height: 18px;
}

/* ----------------------------------------------------------------
   MODAL DE PRODUTO PREMIUM (QUICK VIEW)
---------------------------------------------------------------- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 16px;
}

.product-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 30, 28, 0.6);
  backdrop-filter: blur(4px);
}

.product-modal-container {
  position: relative;
  width: 100%;
  max-width: 940px;
  background: var(--cream, #fdfbf7);
  border: 1px solid rgba(224, 216, 203, 0.5);
  box-shadow: 0 24px 64px rgba(31, 30, 28, 0.16);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.product-modal.active .product-modal-container {
  transform: translateY(0);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--ink, #1f1e1c);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: transform 0.2s ease;
}

.product-modal-close:hover {
  transform: scale(1.1);
}

/* Estrutura Interna do Conteúdo */
.product-modal-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 540px;
  max-height: 85vh;
}

/* Coluna Imagem */
.product-modal-media {
  position: relative;
  background: #f4f0ea;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Coluna Informações */
.product-modal-info {
  padding: 44px 40px 32px;
  display: flex;
  flex-direction: column;
}

.modal-product-title {
  font-family: var(--font-display), 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink, #1f1e1c);
  margin: 8px 0 12px;
  line-height: 1.2;
}

.modal-divider {
  height: 1px;
  background: var(--sand, #e0d8cb);
  margin: 20px 0;
  opacity: 0.6;
}

/* Área de Descrição Rolável Isolada */
.modal-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding-right: 12px;
  margin-bottom: 12px;
}

.modal-scroll-area::-webkit-scrollbar {
  width: 4px;
}
.modal-scroll-area::-webkit-scrollbar-thumb {
  background: var(--sand, #e0d8cb);
  border-radius: 4px;
}

.modal-section-title {
  font-family: var(--font-body), 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light, #706e6a);
  margin-bottom: 8px;
}

.modal-product-desc {
  font-family: var(--font-body), 'Montserrat', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-light, #4a4946);
  white-space: pre-line; /* Preserva quebras de linha do banco de dados */
}

.btn-modal-wpp {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* =================================================================
   TABLETS E CELULARES GRANDES (451px – 804px)
   Layout Definitivo: Imagem na Esquerda, Bloco de Textos na Direita
   Descrição e Botão ocupando a largura toda embaixo de tudo.
================================================================= */
@media (min-width: 451px) and (max-width: 804px) {

  .product-modal {
    --modal-media-size: 210px; /* Largura e altura da imagem quadrada */
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-modal-container {
    max-width: 520px;
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 12px;
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(31, 30, 28, 0.25);
    background: var(--cream, #fdfbf7);
  }

  .product-modal-close {
    top: 10px;
    right: 14px;
    width: 26px;
    height: 26px;
    font-size: 1rem;
    background: var(--cream, #fdfbf7);
    border: 1px solid var(--sand, #e0d8cb);
    z-index: 10;
  }

  /* -----------------------------------------------------------
     GRID PRINCIPAL MAPEADO POR ÁREAS EXPLICITAS
     Dividimos a parte superior em Coluna 1 (Imagem) e Coluna 2 (Textos).
     Dessa forma, os elementos ficam colados um embaixo do outro na direita.
  ----------------------------------------------------------- */
  .product-modal-content {
    display: grid;
    /* Coluna 1 tem tamanho fixo da imagem, Coluna 2 ocupa o resto do espaço */
    grid-template-columns: var(--modal-media-size) 1fr;
    column-gap: 20px;
    background: var(--cream, #fdfbf7);
    padding: 24px 20px;
  }

  /* --- COLUNA 1: Imagem do Produto (Alinhada à esquerda) --- */
  .product-modal-media {
    grid-column: 1;
    grid-row: 1 / 4; /* Ocupa o espaço vertical equivalente às 3 linhas de texto */
    width: var(--modal-media-size);
    height: var(--modal-media-size);
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: start;
  }

  .product-modal-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* --- COLUNA 2: Elementos empilhados um embaixo do outro ao lado da imagem --- */
  
  /* 1. Avaliações (Estrelas) */
  .product-stars {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    text-align: left;
    font-size: 0.75rem;
    margin: 4px 0 2px 0; /* Margem sutil para iniciar colado no topo */
  }

  /* 2. Nome do Produto (Logo abaixo das estrelas) */
  .modal-product-title {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    text-align: left;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0 0 12px 0; /* Dá um respiro para o preço */
    color: var(--ink, #1f1e1c);
  }

  /* 3. Preço Atual e Antigo (Logo abaixo do nome) */
  .product-price {
    grid-column: 2;
    grid-row: 3;
    align-self: start; /* Fixa no topo da sua própria linha, colando logo abaixo do título */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 20px; /* Garante que afaste do início da descrição abaixo */
  }

  .product-price .price-old {
    font-size: 0.8rem;
    margin-bottom: 2px;
  }

  .product-price .price-current {
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 600;
  }

  /* --- LARGURA TOTAL: Descrição (Abaixo do bloco Imagem + Infos) --- */
  .product-modal-info {
    grid-column: 1 / -1; /* Força a ocupar todas as colunas (largura inteira) */
    grid-row: 4;
    margin-top: 10px;
    height: fit-content;
    display: block;
    overflow: visible;
  }

  .modal-section-title {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-light, #706e6a);
    margin-bottom: 8px;
    padding-bottom: 4px;
    width: 100%;
    border-bottom: 1px solid var(--sand, #e0d8cb); /* Seu risco definindo a seção */
  }

  .modal-scroll-area {
    height: fit-content;
    max-height: 140px; /* Caso a descrição seja enorme, gera rolagem sem estragar o modal */
    overflow-y: auto;
    padding: 4px 4px 0 0;
  }

  .modal-product-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ink-light, #875f45);
  }

  /* --- LARGURA TOTAL: Botão de Compra (Última linha na base) --- */
  .modal-actions {
    grid-column: 1 / -1; /* Força a ocupar a largura inteira */
    grid-row: 5;
    margin-top: 20px;
  }

  .btn-modal-wpp {
    width: 100%;
    height: 46px;
    padding: 0 16px !important;
    font-size: 0.8rem !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-divider {
    display: none !important;
  }
}

/* =================================================================
   2. CELULARES PEQUENOS (Abaixo de 450px)
   Sheet de tela cheia que rola por inteiro — sem scroll interno na
   descrição e sem centralização que cortava o conteúdo.
==================================================================== */
@media (max-width: 450px) {
  .product-modal {
    padding: 0;
    align-items: flex-end;
  }

  .product-modal-container {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    overflow-y: auto;              /* o sheet inteiro rola */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;  /* rolagem não "escapa" pra página de trás */
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .product-modal.active .product-modal-container {
    transform: translateY(0);
  }

  /* Removida a centralização vertical: ela cortava o conteúdo quando
     a soma de imagem + textos era maior que a tela. Agora o conteúdo
     flui normalmente de cima para baixo. */
  .product-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    background: var(--cream, #fdfbf7);
    padding-bottom: 24px;
  }

  /* Foto quadrada e centralizada no topo */
  .product-modal-media {
    margin-top: 20px;
    border-radius: 15px;
    width: 55%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    background: #f4f0ea;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .product-modal-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  /* Informações: sem altura/overflow próprios, fluem normalmente */
  .product-modal-info {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }

  .modal-product-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 4px 0 6px;
  }

  .product-price {
    margin-bottom: 14px;
  }

  .modal-divider {
    height: 1px;
    background: var(--sand, #e0d8cb);
    margin: 12px 0;
  }

  /* Descrição: SEM scroll/altura própria — ela cresce normalmente e
     quem rola é o sheet inteiro (.product-modal-container) */
  .modal-scroll-area {
    overflow: visible;
  }

  .modal-product-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* Botão: dentro do fluxo normal, depois da descrição */
  .modal-actions {
    margin-top: 8px;
    padding-bottom: env(safe-area-inset-bottom, 12px);
  }

  .btn-modal-wpp {
    padding: 15px !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    width: 100%;
  }

  /* Botão de fechar redondo e destacado sobre a imagem */
  .product-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--cream, #fdfbf7);
    border: 1px solid var(--sand, #e0d8cb);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(31, 30, 28, 0.12);
    z-index: 10;
  }
}


/* ----------------------------------------------------------------
   14. FOOTER
---------------------------------------------------------------- */
.footer {
  background-color: var(--ink);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand { padding-right: 24px; }

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(226,222,210,.55);
  line-height: 1.7;
  margin: 16px 0 24px;
}

.footer-social { display: flex; gap: 12px; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social-link:hover { color: var(--white); border-color: rgba(255,255,255,.35); }

.footer-heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(226,222,210,.6);
  transition: color var(--dur) var(--ease);
}
.footer-links a:hover { color: var(--cream); }

.footer-contact {
  font-size: var(--text-sm);
  color: rgba(226,222,210,.6);
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(226,222,210,.6);
  transition: color var(--dur) var(--ease);
}
.footer-contact a:hover { color: var(--cream); }

.footer-wpp {
  display: inline-block;
  margin: 12px 0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--terracota);
  transition: color var(--dur) var(--ease);
}
.footer-wpp:hover { color: #a87254; }

.footer-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: rgba(226,222,210,.4);
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.25);
  letter-spacing: 0.06em;
}

.payment-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.payment-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.12);
  padding: 4px 8px;
}

/* ----------------------------------------------------------------
   15. WHATSAPP FLUTUANTE
---------------------------------------------------------------- */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 997;
  width: 56px; height: 56px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.wpp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

.wpp-float:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 3px;
}

.wpp-float-tooltip {
  position: absolute;
  right: 64px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
  padding: 7px 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transform: translateX(4px);
}

.wpp-float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--ink);
  border-right: 0;
}

.wpp-float:hover .wpp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ----------------------------------------------------------------
   16. PLACEHOLDERS (guias visuais — remover ao inserir imagens reais)
---------------------------------------------------------------- */
.placeholder-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.6;
  color: rgba(47,46,44,.45);
  border: 1.5px dashed rgba(47,46,44,.22);
  padding: 12px 16px;
  max-width: 180px;
}

/* ----------------------------------------------------------------
   17. SCROLL REVEAL (animações de entrada)
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }


/* ================================================================
   CATÁLOGO — layout, filtros sidebar e toolbar
   Substitui o bloco "CATÁLOGO POR CATEGORIA" do style.css
   ================================================================ */

/* ── Cabeçalho: centralizado na página toda ── */
.catalogo .section-header--left {
  text-align: left;
  align-items: left;
  margin-bottom: 40px;
}

.catalogo-desc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--forest);
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ── Toolbar global: escondida no desktop ──
   No desktop ela vive dentro do .catalogo-main (via JS).
   No mobile volta a aparecer (ver media query abaixo).        */
.catalogo-toolbar {
  display: none;
}

/* ── Layout: sidebar fixa + coluna direita ── */
.catalogo-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 56px;
  align-items: start;
}

/* Coluna direita: toolbar + grid empilhados */
.catalogo-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Sincroniza alturas: ambas as "cabeças" de coluna ficam com
   a mesma altura total → seus border-bottom ficam na mesma linha */
.filtros-head,
.catalogo-main-toolbar {
  height: 44px;   /* valor fixo igual para as duas */
  box-sizing: border-box;
  align-items: flex-end;  /* ancora texto/botão no fundo */
}

/* Toolbar interna — criada pelo JS dentro do .catalogo-main */
.catalogo-main-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--sand);
  box-sizing: border-box;
}

/* Contador "N produtos" */
.catalogo-count {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--ink-light);
}

/* Select "Mais vendidos" — estilo Loup Lash */
.catalogo-sort {
  position: relative;
  display: inline-block;
}

.catalogo-sort select {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 0;
  padding: 9px 36px 9px 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  min-width: 160px;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}

.catalogo-sort select:hover {
  border-color: var(--ink-light);
}

.catalogo-sort select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(47,46,44,.08);
}

/* Seta terracota customizada */
.catalogo-sort::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 11px;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23875f45' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Sidebar (desktop) ── */
.filtros {
  position: sticky;
  top: calc(var(--header-h) + var(--announcement-h) + 24px);
  width: 220px;
}

.filtros-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sand);
  margin-bottom: 24px;
}

.filtros-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.filtros-clear {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--terracota);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--dur) var(--ease);
}
.filtros-clear:hover { color: var(--terracota-hover); }

/* ── Grupos de filtro ── */
.filtro-grupo {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--cream);
}
.filtro-grupo:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filtro-titulo {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.filtro-opcoes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filtro-opcao {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ink-light);
  transition: color var(--dur) var(--ease);
  user-select: none;
}
.filtro-opcao:hover { color: var(--ink); }

.filtro-opcao input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--sand);
  background: var(--white);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.filtro-opcao input[type="checkbox"]:hover { border-color: var(--ink-light); }
.filtro-opcao input[type="checkbox"]:checked {
  background-color: var(--ink);
  border-color: var(--ink);
}
.filtro-opcao input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 4px;
  width: 4px; height: 7px;
  border: 1.5px solid var(--white);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.filtro-opcao span { line-height: 1; }

/* Botão toggle (mobile apenas) */
.filtros-toggle { display: none; }

/* Botão link nos avisos */
.link-btn {
  background: none; border: none; padding: 0;
  font-family: var(--font-body); font-size: inherit;
  color: var(--terracota);
  text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer;
}
.link-btn:hover { color: var(--terracota-hover); }

/* =================================================================
   LOUP LASH · MEDIA QUERIES — VERSÃO COMPLETA (v2)
   -----------------------------------------------------------------
   Substitui TODO o bloco de @media do final do style.css.
   Mudanças desta versão:
   • HERO no mobile = bloco sólido na cor do footer (sem foto).
   • Botão WhatsApp do header some no mobile.
   • Correções de overflow: catálogo não corta, footer sem faixa
     branca, menu hambúrguer não estoura.
   Ordem: 1100 → 900 → 720 → 640 → 380 (telas menores sobrescrevem).
   ================================================================= */


/* ----------------------------------------------------------------
   LAYOUT DINÂMICO PARA TELAS MAIORES QUE 1210px
---------------------------------------------------------------- */
@media (min-width: 805px){
  
  /* Garante que o container do catálogo use flex ou grid alinhado ao topo */
  .catalogo-layout {
    display: grid;
    grid-template-columns: 200px 1fr; /* Define tamanho fixo para filtros e o resto para produtos */
    gap: 32px;
    align-items: start; /* Crucial para o sticky funcionar */
  }

  /* Transforma a sidebar de filtros em um bloco de rolagem independente */
  aside.filtros {
    position: -webkit-sticky;
    position: sticky;
    top: 140px; /* Ajuste essa folga dependendo da altura do seu Header + Barra de Anúncio */
    
    /* Define a altura máxima baseada na tela do usuário subtraindo o topo */
    max-height: calc(100vh - 160px); 
    
    /* Ativa a barra de descida (rolagem) exclusiva para os filtros se necessário */
    overflow-y: auto; 
    
    /* Esconde a barra de rolagem padrão em navegadores modernos para manter o visual limpo, mas mantém a função */
    padding-right: 12px;
  }

  /* Customização opcional da barra de rolagem dos filtros para ficar bem sutil */
  aside.filtros::-webkit-scrollbar {
    width: 4px;
  }
  aside.filtros::-webkit-scrollbar-thumb {
    background-color: var(--ink-light, #ccc);
    border-radius: 4px;
  }

  /* A grade de produtos continua rolando nativamente com a página, 
     mas agora a sidebar esquerda nunca sai do campo de visão */
  .catalogo-main {
    flex: 1;
  }
}

/* =================================================================
   ≤ 1200px — HERO sólido (sem foto) + trava de overflow + grades 2col
   ================================================================= */
@media (max-width: 1200px) {

  /* Trava o scroll lateral também no <html> (o <body> já tinha).
     É isto que elimina a faixa branca à direita do footer. */
  html { overflow-x: hidden; }

  /* ---------- HERO: coloquei o fundo de volta ---------- */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: var(--ink);     /* mesma cor do footer */
  }
  .container.hero-layout{padding-top: 40px; padding-bottom: 20px;}
  .hero-overlay { display: flex; }     /* foto e overlay saem de cena */
  .eyebrow{padding-bottom: 25%;}
  .hero-layout {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 0;
    padding: 52px 0 44px;              /* respiro do bloco de texto */
  }
  .hero-content{margin-left: 25px; width: 47%;}
  .hero-spacer  { display: none; }
  .hero-content { max-width: 100%; padding: 0; text-align: left; }
  .hero-content .eyebrow { margin-bottom: 14px; }
  .hero-headline { font-size: clamp(30px, 7.5vw, 40px); margin-bottom: 14px; }
  .hero-sub { font-size: var(--text-md); margin-bottom: 26px; }
  .hero-sub .br-desk { display: none; }
  .hero-ctas  { display: none; }   /* remove os botões do hero no mobile */
  .hero-trust { display: none; }

  /* ---------- Grades: 4/3 colunas → 2 (tablet) ---------- */
  .cat-grid      { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand  { grid-column: 1 / -1; }
  .link-ver-todos { padding-bottom: 0; }
}

@media (max-width: 1130px) {
  .btn-wpp-header{display: none;}
  .nav{margin-left: 1%; white-space: nowrap; width: 100%;}
}
@media (max-width: 990px){
  /* ---------- Header / navegação ---------- */
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: block; }

  /*Menu mobile e telas pequenas (gambiarra)*/
  #navMobile{margin-top: -40px;}
}

/* =================================================================
   ≤ 900px — Nav mobile + catálogo (drawer) + 1 coluna + anti-overflow
   Joanan fix: 290< x ≤ 900px responsividade com foto
   ================================================================= */
@media (max-width: 804px) {

  :root { --section-pad: 64px; --header-h: 64px; }
  body.filtros-abertos { overflow: hidden; }
  body.filtros-abertos::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(31,30,28,.5); z-index: 1100;
  }

  .hero{align-items: center;}
  .hero-content{
    width: 100%;
    margin-left: 1%;
    padding: 0;
  }
  .container.hero-layout{
    padding: 0px;
  }
  .hero-bg{object-fit: cover; object-position: 75%;}
  .hero-headline{margin-top: 200px; width: 85%;}
  .eyebrow{margin-top: 15px;}

  /* ---------- Header / navegação ---------- */
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: block; }
  .btn-wpp-header { display: none; }   /* tira o WhatsApp do header no mobile */

  /* Menu hambúrguer não estoura: rola se ficar alto demais */
  .nav-mobile {
    max-height: calc(100dvh - var(--header-h) - var(--announcement-h));
    overflow-y: auto;
  }

  /* ---------- Anti-overflow (catálogo e cards não cortam) ---------- */
  .product-card { min-width: 0; }                      /* deixa o card encolher na grade */
  .product-card .btn-product { white-space: normal; }  /* botão quebra linha em vez de esticar */
  .footer-col { min-width: 0; }
  .footer-links a,
  .footer-contact,
  .footer-contact a,
  .footer-wpp { overflow-wrap: anywhere; }             /* e-mail/links longos não empurram a largura */

  /* ---------- Catálogo: cabeçalho + layout em 1 coluna ---------- */
  .catalogo .section-header--left { text-align: left; align-items: flex-start; }
  .catalogo-layout { grid-template-columns: 1fr; gap: 0; }

  .catalogo-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sand);
  }
  .catalogo-main-toolbar { display: none; }

  .filtros-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--sand);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 9px 18px;
    cursor: pointer;
  }

  /* ---------- Modificado para travar o botão embaixo ---------- */
  .filtros {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(84vw, 340px);
    background: var(--cream);
    z-index: 1200;
    
    /* Removemos o overflow-y daqui para a gaveta não rolar inteira */
    overflow-y: hidden; 
    
    /* Transformamos em flexbox vertical */
    display: flex;
    flex-direction: column;
    
    /* Padding limpo: o respiro inferior agora fica por conta do botão */
    padding: 26px 0 0 0; 
    
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 0 0 44px rgba(47,46,44,.20);
  }
  .filtros.aberto { transform: translateX(0); }

  /* Nova regra: Isolamos apenas a área interna dos filtros (o #filtrosBody) para rolar */
  #filtrosBody {
    flex: 1;
    overflow-y: auto;
    padding: 0 22px; /* Movemos o respiro lateral para cá */
    padding-bottom: 100px;
  }

  /* Cabeçalho dos filtros também precisa manter o respiro lateral */
  .filtros-head {
    padding: 0 22px 16px;
  }

  .filtros-aplicar {
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Muda de sticky para absoluto fixado na base do container .filtros */
    position: absolute;
    bottom: 0;
    left: 0;
    
    width: 100%;
    margin-top: 0; /* Remove margem antiga */
    background: var(--terracota);
    color: var(--white);
    border: none;
    border-radius: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    
    /* Padding inteligente que respeita a barra de navegação/notch de iPhones modernos */
    padding: 18px 13px calc(18px + env(safe-area-inset-bottom)); 
    z-index: 5;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05); /* Sombra sutil para destacar dos filtros */
  }

  /* ---------- Seções gerais em 1 coluna ---------- */
  .link-ver-todos { padding-bottom: 0; }

  .sobre-grid     { grid-template-columns: 1fr; gap: 40px; }
  .sobre-img-col  { aspect-ratio: 16/9; height: auto; min-height: 0; }
  .sobre-text-col { max-width: 100%; }

  .trust-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-item { border-right: none; padding: 0; }

  .dep-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form .btn-primary { width: 100%; justify-content: center; }

  .blog-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

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


/* =================================================================
   ≤ 720px — Banner de atacado empilha
   ================================================================= */
@media (max-width: 720px) {
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
  .cta-banner-btn   { width: 100%; justify-content: center; }
}


/* =================================================================
   ≤ 640px — CELULAR: carrosséis, catálogo 2-up, tipografia e ritmo
   ================================================================= */
@media (max-width: 640px) {
  :root { --section-pad: 48px; --announcement-h: 36px; }

  .container { padding: 0 16px; }

  /* Barra de anúncio cabe em 1 linha (não estoura a altura) */
  .announcement-bar   { padding: 0 40px; }
  .announcement-bar p { font-size: 10px; letter-spacing: 0.06em; }

  /* ---------- HERO sólido: tipografia de celular ---------- */
  .hero-layout   { padding: 44px 0 40px; }
  .hero-headline { font-size: clamp(27px, 8.5vw, 34px); }
  .hero-sub      { font-size: var(--text-base); margin-bottom: 22px; }

  /* ===============================================================
     CARROSSÉIS HORIZONTAIS (só nas linhas de cards da HOME)
     =============================================================== */

  /* DESTAQUES ("Mais amados") */
  .produtos .products-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 4px 16px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--terracota) transparent;
  }
  .produtos .products-grid > .product-card { flex: 0 0 73%; scroll-snap-align: start; }

  /* CATEGORIAS (home) */
  .categorias .cat-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 4px 16px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--terracota) transparent;
  }
  .categorias .cat-grid > .cat-card { flex: 0 0 58%; scroll-snap-align: start; }

  /* DEPOIMENTOS */
  .dep-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    max-width: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 4px 16px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--terracota) transparent;
  }
  .dep-grid > .dep-card { flex: 0 0 86%; scroll-snap-align: start; }

  /* Barrinha fina (Chrome/Safari) */
  .produtos .products-grid::-webkit-scrollbar,
  .categorias .cat-grid::-webkit-scrollbar,
  .dep-grid::-webkit-scrollbar { height: 5px; }
  .produtos .products-grid::-webkit-scrollbar-track,
  .categorias .cat-grid::-webkit-scrollbar-track { background: rgba(47,46,44,.08); border-radius: 99px; }
  .dep-grid::-webkit-scrollbar-track { background: rgba(255,255,255,.10); border-radius: 99px; }
  .produtos .products-grid::-webkit-scrollbar-thumb,
  .categorias .cat-grid::-webkit-scrollbar-thumb,
  .dep-grid::-webkit-scrollbar-thumb { background: var(--terracota); border-radius: 99px; }

  /* No carrossel, nenhum card fica "invisível" esperando a animação */
  .produtos .products-grid > .product-card,
  .categorias .cat-grid > .cat-card,
  .dep-grid > .dep-card { opacity: 1; transform: none; }

  /* ---------- CATÁLOGO: grade 2-up limpa (sem cortar) ---------- */
  .catalogo .products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .catalogo .products-grid > .product-card { flex: none; }

  /* ---------- Tipografia dos cards ---------- */
  .cat-info h3   { font-size: var(--text-lg); }
  .product-name  { font-size: var(--text-base); }
  .product-info  { padding: 12px 14px 16px; }

  /* ---------- Ritmo / títulos de seção ---------- */
  .section-title        { font-size: clamp(26px, 7.2vw, 32px); }
  .section-header       { margin-bottom: 30px; }
  .section-header--flex { margin-bottom: 24px; }

  .dep-card   { padding: 26px 24px; gap: 16px; }
  .dep-card p { font-size: var(--text-lg); line-height: 1.55; }

  .sobre-img-col { min-height: 0; aspect-ratio: 4/3; border-radius: 10px; }
  .sobre-text-col .section-title { font-size: clamp(28px, 8vw, 34px); }

  .cta-title  { font-size: clamp(26px, 7vw, 32px); }
  .cta-banner { padding-top: 40px; padding-bottom: 40px; }

  .newsletter   { padding: 52px 0; }
  .blog-content { padding: 20px; }

  /* ---------- Footer: 2 colunas no celular ---------- */
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-brand  { grid-column: 1 / -1; padding-right: 0; }
  .footer        { padding-top: 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* ---------- WhatsApp flutuante menor ---------- */
  .wpp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .wpp-float-tooltip { display: none; }
}


/* =================================================================
   ≤ 380px — TELAS MINI: sangria menor e cards um pouco mais largos
   ================================================================= */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .logo-img  { height: 40px; }

  /* Ajusta a sangria do carrossel pro padding de 14px */
  .produtos .products-grid,
  .categorias .cat-grid,
  .dep-grid { margin: 0 -14px; padding: 4px 14px 16px; scroll-padding-left: 14px; }

  .produtos .products-grid > .product-card { flex-basis: 80%; }
  .categorias .cat-grid > .cat-card        { flex-basis: 64%; }
  .dep-grid > .dep-card                    { flex-basis: 90%; }

  .section-title { font-size: 25px; }
  .hero-headline { font-size: 25px; }
  .hero-content .eyebrow { font-size: var(--text-xs); }

  /* Catálogo segue 2-up. Para 1 por linha em telas mini, descomente:
  .catalogo .products-grid { grid-template-columns: 1fr; }
  */
}

@media (max-width: 320){
  #announcementBar {height: 10px;}

}

