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

:root {
  --red: #C8102E;
  --dark: #1a1a1a;
  --wine: #3d0a0a;
  --gray-light: #f7f7f7;
  --gray-mid: #e8e8e8;
  --gray-text: #777;
  --white: #ffffff;
  --font: 'Montserrat', sans-serif;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--dark); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--wine);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 9px 20px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.topbar a { color: var(--white); text-decoration: underline; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--gray-mid);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img { height: 52px; width: auto; object-fit: contain; display: block; }

/* Desktop nav — sem uppercase, casing natural */
nav#mainNav {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav#mainNav a {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  padding: 8px 13px;
  border-radius: 7px;
  transition: var(--transition);
  white-space: nowrap;
}
nav#mainNav a:hover,
nav#mainNav a.active { color: var(--red); background: rgba(200,16,46,0.06); }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 22px !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #a50d26 !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 12px 20px 20px;
  gap: 2px;
  z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  padding: 13px 14px;
  border-radius: 8px;
  border-bottom: 1px solid var(--gray-mid);
  transition: var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--red); background: rgba(200,16,46,0.05); }
.nav-cta-mobile {
  background: var(--red) !important;
  color: var(--white) !important;
  text-align: center;
  border-radius: 8px !important;
  margin-top: 4px;
}

/* ===== BANNER MENSAL ===== */
.banner-mensal {
  width: 100%;
  height: clamp(400px, 50vw, 520px);
  position: relative;
  overflow: hidden;
  background: #0a0000;
}

/* Imagem de fundo — posiciona o casal à esquerda */
.banner-mensal-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

/* Degradê suave — imagem limpa até 35%, depois escurece progressivamente */
.banner-mensal-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,0)   32%,
    rgba(0,0,0,0.55) 52%,
    rgba(0,0,0,0.90) 65%,
    rgba(0,0,0,0.97) 75%
  );
}

/* Painel de texto — ocupa a faixa direita (45%) */
.banner-overlay {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 48px clamp(32px,4vw,72px) 48px 48px;
}

/* Bloco de texto */
.banner-mensal-body {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
  width: fit-content;
}

.banner-mensal-body h2 {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.banner-subtitulo {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 600;
  color: #ff6b7a;
  letter-spacing: 0.2px;
}

.banner-mensal-body > p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 380px;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  width: fit-content;
  margin-top: 8px;
  transition: var(--transition);
  font-family: var(--font);
  text-decoration: none;
}
.banner-cta::after { content: '→'; }
.banner-cta:hover { background: #a50d26; gap: 14px; }

/* ===== HOME SECTIONS ===== */
.home-section { padding: 64px 0; }
.home-section.bg-light { background: var(--gray-light); }

.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.4px;
  position: relative;
  padding-bottom: 10px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  padding-bottom: 2px;
}
.view-all:hover { gap: 8px; }
.view-all::after { content: '→'; }

/* ===== CAROUSEL ===== */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-track-outer {
  overflow: hidden;
  flex: 1;
  /* reveal peek on sides for scroll hint */
}

.carousel-track {
  display: flex;
  gap: 22px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  font-size: 22px;
  line-height: 1;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 2;
}
.carousel-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: var(--shadow-hover); }
.carousel-btn:disabled { opacity: 0.25; cursor: default; pointer-events: none; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-mid);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
  position: relative;
}
.dot::before {
  content: '';
  position: absolute;
  inset: -10px;
}
.dot.active {
  background: var(--red);
  width: 22px;
  border-radius: 4px;
}

/* ===== POST CARD ===== */
.post-card {
  flex-shrink: 0;
  /* width set by JS */
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.post-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.05); }

.post-category {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: 20px;
  width: fit-content;
}
.post-card-img .post-category {
  position: absolute;
  top: 11px; left: 11px;
  z-index: 2;
}
.cat-novidades { background: rgba(200,16,46,0.12); color: var(--red); }
.cat-tendencias { background: rgba(212,175,55,0.15); color: #b8902a; }
.cat-dicas { background: rgba(40,167,69,0.12); color: #1e8c37; }

.post-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.post-card-body h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
  transition: var(--transition);
}
.post-card:hover .post-card-body h3 { color: var(--red); }
.post-card-body p {
  font-size: 13.5px;
  color: var(--gray-text);
  line-height: 1.65;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #aaa;
  font-weight: 500;
  margin-top: 2px;
}
.post-meta-left { display: flex; align-items: center; gap: 10px; }

.read-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 3px;
  transition: var(--transition);
}
.read-link:hover { gap: 7px; }
.read-link::after { content: '→'; }

/* ===== NOSSAS LOJAS ===== */
.lojas-section {
  background: var(--gray-light);
  padding: 72px 24px;
}
.lojas-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}
.lojas-header {
  margin-bottom: 44px;
}
.lojas-header .section-title { margin-bottom: 12px; }
.lojas-sub {
  font-size: 15px;
  color: var(--gray-text);
  max-width: 580px;
  line-height: 1.65;
}
.lojas-sub strong { color: var(--dark); font-weight: 700; }

/* Layout único: card + painel online */
.loja-unica-wrap {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 28px;
  align-items: stretch;
}

.loja-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.loja-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.loja-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f0f0;
  position: relative;
}
.loja-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.loja-card:hover .loja-img-wrap img { transform: scale(1.04); }

.loja-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #bbb;
  background: linear-gradient(135deg, #f5f5f5, #ebebeb);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 20px;
}

.loja-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.loja-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  background: rgba(200,16,46,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}
.loja-info h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.loja-info p {
  font-size: 13.5px;
  color: var(--gray-text);
  line-height: 1.65;
  flex: 1;
}
.loja-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25d366;
  color: var(--white);
  padding: 9px 18px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
  width: fit-content;
  transition: var(--transition);
}
.loja-whatsapp:hover { background: #1ebe5d; }

/* Painel online */
.loja-online-panel {
  background: linear-gradient(135deg, var(--dark) 0%, var(--wine) 100%);
  border-radius: var(--radius);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.loja-online-top h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin: 10px 0 8px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.loja-online-top p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.65; }

.loja-online-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.loja-online-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.loja-online-lista svg { flex-shrink: 0; }

.loja-online-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.loja-online-cta {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 28px;
  font-size: 13.5px;
  font-weight: 700;
  transition: var(--transition);
}
.loja-online-cta:hover { background: #a50d26; }
.loja-online-cta::after { content: ' →'; }

@media (max-width: 900px) {
  .loja-unica-wrap { grid-template-columns: 1fr; }
  .loja-card-unica .loja-img-wrap { aspect-ratio: 16/7; }
}
@media (max-width: 560px) {
  .loja-online-btns { flex-direction: column; }
  .loja-online-cta, .loja-online-btns .loja-whatsapp { width: 100%; justify-content: center; }
}

/* ===== WHATSAPP CTA ===== */
.whatsapp-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--wine) 100%);
  padding: 72px 24px;
}
.whatsapp-cta-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.whatsapp-cta-text h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
}
.whatsapp-cta-text h2 span { color: #25d366; }
.whatsapp-cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.whatsapp-btn:hover { background: #1ebe5d; box-shadow: 0 6px 28px rgba(37,211,102,0.45); transform: translateY(-2px); }
.whatsapp-btn svg { flex-shrink: 0; }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 24px 0; }
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  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 .logo-text .brand { color: var(--white); font-size: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.75; margin-top: 14px; color: rgba(255,255,255,0.55); }

.social-links { display: flex; gap: 9px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: var(--transition);
}
.social-link:hover { background: var(--red); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--red); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--dark);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 9999;
  transform: translateY(70px);
  opacity: 0;
  transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid #28a745; }

/* ===== UTILS ===== */
.hidden { display: none !important; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.45s ease forwards; }

/* ===== RESPONSIVE ===== */

/* — Tablet grande — */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .banner-mensal-body { padding: 40px 36px 40px 28px; }
  .carousel-wrap { padding: 0 8px; }
}

/* — Tablet — */
@media (max-width: 768px) {
  nav#mainNav { display: none; }
  .hamburger { display: flex; }

  /* Banner mobile */
  .banner-mensal { height: auto; }
  .banner-mensal-bg { position: relative; height: clamp(220px, 56vw, 320px); }
  .banner-mensal-bg::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,0.97) 100%);
  }
  .banner-overlay {
    position: relative;
    width: 100%;
    background: rgba(5,0,0,0.98);
    padding: 28px 24px 36px;
  }
  .banner-mensal-body { max-width: 100%; }
  .banner-badge { font-size: 10px; }
  .banner-cta { padding: 14px 24px; font-size: 13px; }

  .home-section { padding: 44px 0; }
  .carousel-btn { width: 40px; height: 40px; font-size: 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  .whatsapp-cta { padding: 52px 20px; }
  .whatsapp-cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .whatsapp-btn { width: 100%; justify-content: center; }
}

/* — Smartphone grande — */
@media (max-width: 600px) {
  .topbar { font-size: 11.5px; padding: 8px 14px; }
  .topbar a { display: inline; }

  .banner-mensal-body h2 { font-size: clamp(20px, 6vw, 28px); }
  .banner-subtitulo { font-size: 13px; }
  .banner-mensal-body > p { font-size: 13px; }

  .section-wrap { padding: 0 16px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-title { font-size: 20px; }
  .view-all { font-size: 12px; }

  .post-card-title { font-size: 14px; }
  .post-card-resumo { font-size: 12.5px; }
  .post-card-meta { font-size: 11px; }

  .carousel-btn { width: 36px; height: 36px; font-size: 18px; }
  .carousel-dots { margin-top: 16px; }

  .footer-brand p { font-size: 12px; }
}

/* — Smartphone pequeno — */
@media (max-width: 480px) {
  .header-inner { padding: 0 14px; height: 60px; }
  .logo img { height: 36px; }

  .banner-mensal-body { padding: 22px 18px 28px; }
  .banner-mensal-body h2 { font-size: clamp(18px, 5.5vw, 24px); }
  .banner-cta { width: 100%; justify-content: center; padding: 13px 20px; }

  .home-section { padding: 36px 0; }
  .section-wrap { padding: 0 12px; }

  .whatsapp-cta { padding: 40px 16px; }
  .whatsapp-cta-text h2 { font-size: clamp(20px, 5.5vw, 26px); }
}

/* — Muito pequeno (iPhone SE, Galaxy A) — */
@media (max-width: 380px) {
  .topbar { font-size: 10.5px; padding: 7px 10px; }
  .header-inner { padding: 0 10px; }
  .logo img { height: 32px; }
  .hamburger { width: 36px; height: 36px; }
  .mobile-nav a { font-size: 15px; padding: 13px 20px; }
  .banner-mensal-body h2 { font-size: 18px; }
  .section-title { font-size: 18px; }
}
