/* ============================================================
   Impianti Dental — E-commerce
   style.css — Estilos globais, variáveis e componentes
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

@font-face {
  font-family: 'Toroka';
  src: url('../assets/fonts/Toroka-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Variáveis da Marca ─────────────────────────────────────── */
:root {
  --magenta:        #D1007E;
  --roxo-profundo:  #5C006B;
  --amarelo:        #FFC700;
  --branco:         #FFFFFF;
  --rosa-glow:      #FF66C4;
  --roxo-neon:      #8E1EFF;
  --cinza-claro:    #F4F4F4;
  --preto-soft:     #1A1A1A;

  --grad-principal: linear-gradient(135deg, #D1007E 0%, #FF4FB3 50%, #6B00B3 100%);
  --grad-premium:   linear-gradient(135deg, #3A0047 0%, #D1007E 100%);
  --grad-cta:       linear-gradient(135deg, #FFC700 0%, #FF9A00 100%);
  --grad-hero:      linear-gradient(135deg, #1a0030 0%, #3A0047 40%, #D1007E 100%);

  --shadow-glow:    0 0 24px rgba(255, 102, 196, 0.45);
  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.10);
  --shadow-heavy:   0 8px 40px rgba(0, 0, 0, 0.18);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill: 50px;

  --font-title: 'Bebas Neue', sans-serif;
  --font-body:  'Plus Jakarta Sans', sans-serif;

  --header-h: 72px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--branco);
  color: var(--preto-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ── Utilitários ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 1px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-top: 8px;
}

.text-gradient {
  background: var(--grad-principal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-amarelo { color: var(--amarelo); }
.text-magenta  { color: var(--magenta); }

/* ── Botões ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad-cta);
  color: var(--preto-soft);
  box-shadow: 0 4px 20px rgba(255, 199, 0, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(255, 199, 0, 0.6);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--magenta);
  color: var(--branco);
  box-shadow: 0 4px 20px rgba(209, 0, 126, 0.35);
}
.btn-secondary:hover {
  box-shadow: 0 8px 32px rgba(209, 0, 126, 0.55);
}

.btn-outline {
  border: 2px solid var(--magenta);
  color: var(--magenta);
  padding: 12px 28px;
}
.btn-outline:hover {
  background: var(--magenta);
  color: var(--branco);
}

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--branco);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--branco);
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* ── Badge ──────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-magenta { background: var(--magenta); color: var(--branco); }
.badge-amarelo  { background: var(--amarelo); color: var(--preto-soft); }
.badge-roxo     { background: var(--roxo-neon); color: var(--branco); }

/* ── Header ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(26, 0, 48, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--branco);
  letter-spacing: 1px;
}

/* Logo imagem — header (ícone símbolo) */
.header__logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1); /* branco sobre header escuro */
}

/* Texto da marca ao lado do ícone no header */
.header__logo-text {
  font-family: 'Toroka', var(--font-title), sans-serif;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 1px;
}
.header__logo-text .logo-main {
  font-size: 1.55rem;
  color: var(--branco);
  letter-spacing: 0.5px;
  line-height: 1;
}
.header__logo-text .logo-sub {
  font-size: 0.65rem;
  color: var(--branco);
  letter-spacing: 1.5px;
  align-self: flex-end;
  font-weight: normal;
  margin-top: -1px;
}

/* Logo imagem — footer */
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__brand-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer__brand-logo span {
  font-family: 'Toroka', var(--font-title), sans-serif;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 1px;
}
.footer__brand-logo .logo-main {
  font-size: 1.35rem;
  color: var(--branco);
  letter-spacing: 0.5px;
  line-height: 1;
}
.footer__brand-logo .logo-sub {
  font-size: 0.58rem;
  color: var(--branco);
  letter-spacing: 1.5px;
  align-self: flex-end;
  font-weight: normal;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--grad-principal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(209,0,126,0.5);
}

.header__logo span { color: var(--amarelo); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amarelo);
  transition: width 0.2s;
}
.header__nav a:hover { color: var(--branco); }
.header__nav a:hover::after { width: 100%; }
.header__nav a.active { color: var(--amarelo); }
.header__nav a.active::after { width: 100%; }

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

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-size: 1.3rem;
  transition: background 0.2s, box-shadow 0.2s;
}

/* Ícone PNG do carrinho */
.cart-btn__img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* torna branco no header escuro */
}
.cart-btn:hover {
  background: rgba(209,0,126,0.3);
  box-shadow: var(--shadow-glow);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--amarelo);
  color: var(--preto-soft);
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-badge.visible { display: flex; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--branco);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  background: var(--grad-hero);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(209,0,126,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(142,30,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,199,0,0.15);
  border: 1px solid rgba(255,199,0,0.4);
  color: var(--amarelo);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--branco);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--amarelo);
  display: block;
}

.hero__title-rosa {
  color: var(--rosa-glow);
  display: block;
  font-size: 1.15em;
  line-height: 1;
  letter-spacing: 2px;
  text-shadow: 0 0 32px rgba(255,102,196,0.55);
}

.hero__desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 12px;
  max-width: 480px;
  line-height: 1.7;
}

.hero__desc--destaque {
  color: var(--rosa-glow);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 36px;
  padding-left: 12px;
  border-left: 3px solid var(--rosa-glow);
  opacity: 0.95;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero__stat-value {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--amarelo);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero__blob {
  width: 100%;
  aspect-ratio: 1;
  background: var(--grad-principal);
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  opacity: 0.25;
  filter: blur(48px);
  position: absolute;
  inset: -10%;
  animation: blobPulse 6s ease-in-out infinite;
}

@keyframes blobPulse {
  0%, 100% { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
  50%       { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
}

.hero__photo-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__photo {
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: block;
  position: relative;
  z-index: 1;
  /* Sombra lateral sutil */
  filter: drop-shadow(-32px 0 48px rgba(58,0,71,0.7));
}

/* Fade lateral — funde a foto com o fundo do hero */
.hero__photo-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(to right, #1a0030, transparent);
  z-index: 2;
  pointer-events: none;
}

/* Linha de acento magenta na direita */
.hero__photo-frame::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 3px;
  height: 70%;
  background: var(--grad-principal);
  border-radius: 2px;
  z-index: 3;
}

/* Badges flutuantes — estilo glass minimalista */
.hero__photo-badge {
  position: absolute;
  z-index: 4;
  background: rgba(10, 0, 20, 0.55);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--branco);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  letter-spacing: 0.2px;
  animation: badgeFloat 5s ease-in-out infinite;
}

.hero__photo-badge span { font-size: 1rem; }

.hero__photo-badge--top {
  top: 14%;
  right: 8%;
  animation-delay: 0s;
}

.hero__photo-badge--bottom {
  bottom: 18%;
  right: 6%;
  border-color: rgba(255,199,0,0.2);
  animation-delay: 1.2s;
}

.hero__photo-badge--bottom strong {
  color: var(--amarelo);
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}

/* ── Seção Geral ────────────────────────────────────────────── */
.section {
  padding: 80px 0;
}

.section--gray { background: var(--cinza-claro); }

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

.section__eyebrow {
  display: inline-block;
  color: var(--magenta);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Categorias ─────────────────────────────────────────────── */
.categorias__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.categoria-card {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.categoria-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--rosa-glow);
}

.categoria-card__icon {
  font-size: 3rem;
  margin: 0 auto 16px;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--grad-principal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  box-shadow: 0 4px 16px rgba(209,0,126,0.35);
  flex-shrink: 0;
}

/* Garante que ícones PNG brancos fiquem visíveis sobre o fundo gradiente */
.categoria-card__icon img {
  filter: brightness(0) invert(1);
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.categoria-card__name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--preto-soft);
  margin-bottom: 6px;
}

.categoria-card__count {
  font-size: 0.82rem;
  color: #888;
}

/* ── Cards de Produto ───────────────────────────────────────── */
.produtos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-produto {
  background: var(--branco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.card-produto:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(255,102,196,0.35);
}

.card-produto__img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.card-produto__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-produto__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-produto__cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-produto__marca {
  font-size: 0.7rem;
  font-weight: 600;
  color: #888;
  text-transform: none;
  letter-spacing: 0;
  background: #f0f0f0;
  padding: 2px 7px;
  border-radius: 20px;
}

.card-produto__name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--preto-soft);
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-produto__desc {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.5;
}

.card-produto__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card-produto__preco {
  display: flex;
  flex-direction: column;
}

.card-produto__preco-de {
  font-size: 0.78rem;
  color: #aaa;
  text-decoration: line-through;
}

.card-produto__preco-por {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--preto-soft);
  line-height: 1;
  letter-spacing: 0.5px;
}

.card-produto__add {
  background: var(--grad-cta);
  color: var(--preto-soft);
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.card-produto__add:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,199,0,0.5);
}

.card-produto__add.added {
  background: var(--grad-principal);
  color: var(--branco);
  animation: addPulse 0.4s ease;
}

/* Botão "Escolher opção" (produto com variações) */
.card-produto__add.has-var {
  background: linear-gradient(135deg, #5C006B, #D1007E);
  color: #fff;
}
.card-produto__add.has-var:hover {
  box-shadow: 0 6px 24px rgba(209,0,126,0.45);
}

/* "a partir de" label */
.card-produto__preco-partir {
  font-size: 0.7rem;
  color: #999;
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

/* Tags de variação no card */
.card-produto__var-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 2px 0 8px;
}
.card-var-tag {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(209,0,126,0.07);
  color: var(--magenta);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(209,0,126,0.18);
}

@keyframes addPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ── Banner Promocional ─────────────────────────────────────── */
.banner-promo {
  background: var(--grad-cta);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}

.banner-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-opacity='0.04'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.banner-promo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.banner-promo__text {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--preto-soft);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.banner-promo__sub {
  font-size: 0.95rem;
  color: rgba(26,26,26,0.7);
  margin-top: 6px;
  font-weight: 600;
}

.banner-promo__cta {
  background: var(--preto-soft);
  color: var(--amarelo);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}

.banner-promo__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* ── Benefícios ─────────────────────────────────────────────── */
.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.beneficio-card {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--magenta);
  transition: transform 0.25s;
}

.beneficio-card:nth-child(2) { border-top-color: var(--amarelo); }
.beneficio-card:nth-child(3) { border-top-color: var(--roxo-neon); }

.beneficio-card:hover { transform: translateY(-4px); }

.beneficio-card__icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--magenta);
}

.beneficio-card__title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  color: var(--preto-soft);
  margin-bottom: 10px;
}

.beneficio-card__desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: #0D001A;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--branco);
  margin-bottom: 16px;
}

.footer__brand-icon {
  width: 38px;
  height: 38px;
  background: var(--grad-principal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.footer__brand span { color: var(--amarelo); }

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer__col-title {
  color: var(--branco);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--amarelo); }

.footer__wpp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--branco);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.18s, box-shadow 0.18s;
}
.footer__wpp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.footer__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}
.footer__info-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__info-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--rosa-glow);
  margin-bottom: 4px;
}
.footer__info-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}
.footer__info-text strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

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

.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom strong { color: var(--amarelo); }

/* ── Seção Instagram ────────────────────────────────────────── */
.instagram-section { background: var(--cinza-claro); }

.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: var(--branco);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 14px;
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.instagram-handle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(253,29,29,0.4);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 32px;
}

.instagram-card {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.instagram-card__bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.instagram-card:hover .instagram-card__bg { transform: scale(1.08); }

.instagram-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(131,58,180,0.85), rgba(253,29,29,0.85));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.instagram-card:hover .instagram-card__overlay { opacity: 1; }

.instagram-card__overlay-icon { font-size: 2rem; color: var(--branco); }

.instagram-card__overlay-text {
  color: var(--branco);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.instagram-widget-wrapper {
  margin: 40px 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.instagram-cta { text-align: center; }

.instagram-setup-notice {
  background: rgba(131,58,180,0.08);
  border: 2px dashed rgba(131,58,180,0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
}

.instagram-setup-notice__icon { font-size: 2.5rem; margin-bottom: 12px; }
.instagram-setup-notice__title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--preto-soft);
  margin-bottom: 8px;
}
.instagram-setup-notice__steps {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.8;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
}
.instagram-setup-notice__steps strong { color: var(--magenta); }

@media (max-width: 768px) {
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── Botão WhatsApp Flutuante ───────────────────────────────── */
.btn-wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, animation 0s;
  animation: wppBounce 3s ease-in-out infinite;
  text-decoration: none;
}

.btn-wpp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.75);
  animation: none;
}

.btn-wpp-float__tooltip {
  position: absolute;
  right: 72px;
  background: var(--preto-soft);
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.btn-wpp-float__tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--preto-soft);
}

.btn-wpp-float:hover .btn-wpp-float__tooltip { opacity: 1; }

@keyframes wppBounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

/* ── Toast Notification ─────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--preto-soft);
  color: var(--branco);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-heavy);
  border-left: 4px solid var(--amarelo);
  animation: toastIn 0.3s ease forwards;
  pointer-events: auto;
  min-width: 260px;
}

.toast.removing { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(100%); opacity: 0; }
}

/* ── Paginação / Ver mais ────────────────────────────────────── */
.ver-mais-wrapper {
  text-align: center;
  margin-top: 48px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .categorias__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .header__nav { display: none; }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(26,0,48,0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
  }
  .header__nav.open a { font-size: 1.1rem; }
  .menu-toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin: 0 auto 36px; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: none; }

  .produtos__grid { grid-template-columns: repeat(2, 1fr); }
  .beneficios__grid { grid-template-columns: 1fr; }
  .banner-promo__inner { flex-direction: column; text-align: center; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .produtos__grid { grid-template-columns: 1fr; }
  .categorias__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 2.8rem; }
  .hero__stats { flex-wrap: wrap; gap: 20px; }
  .hero__mini-card:first-child { grid-column: span 2; }
}
