/* Cardepel - Pegada de catálogo impresso (Catálogo 2027)
   Carregado por último: sobrepõe estilos anteriores sem alterá-los. */

:root {
  --cp-blue: #0f53ac;
  --cp-blue-2: #1f65b6;
  --cp-navy: #0f3582;
  --cp-yellow: #ffb32f;
  --cp-green: #3dba61;
  --cp-orange: #f58a1f;
  --cp-ink: #14213d;
  --cp-paper: #fffaf0;
  --cp-display: 'Baloo 2', 'Poppins', sans-serif;

  /* Hexágonos de canto (mesma composição do catálogo) */
  --cp-hex-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 210'%3E%3Cpolygon points='60,40 100,63 100,109 60,132 20,109 20,63' fill='%231f65b6'/%3E%3Cpolygon points='60,128 100,151 100,197 60,220 20,197 20,151' fill='%23ffb32f'/%3E%3Cpolygon points='135,84 175,107 175,153 135,176 95,153 95,107' fill='%233dba61'/%3E%3Cpolygon points='135,170 175,193 175,239 135,262 95,239 95,193' fill='%230f53ac'/%3E%3C/svg%3E");
  --cp-hex-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 210'%3E%3Cpolygon points='200,40 240,63 240,109 200,132 160,109 160,63' fill='%233dba61'/%3E%3Cpolygon points='200,128 240,151 240,197 200,220 160,197 160,151' fill='%231f65b6'/%3E%3Cpolygon points='125,84 165,107 165,153 125,176 85,153 85,107' fill='%23ffb32f'/%3E%3C/svg%3E");
}


/* ---------- Faixa superior azul (igual ao topo de cada página do catálogo) ---------- */
body::before {
  content: '';
  display: block;
  height: 10px;
  background: linear-gradient(90deg, var(--cp-blue) 0 70%, var(--cp-yellow) 70% 85%, var(--cp-green) 85% 100%);
}

body .premium-shadow { box-shadow: 0 3px 0 var(--cp-blue); }

body .nav-link { font-family: var(--cp-display); font-size: 1.05rem; letter-spacing: .01em; }
body .nav-link.active { color: var(--cp-blue) !important; box-shadow: inset 0 -3px 0 var(--cp-yellow); }

body .btn-primary {
  background: var(--cp-yellow);
  border-color: var(--cp-yellow);
  color: var(--cp-navy);
  font-family: var(--cp-display);
  font-weight: 800;
  border-radius: 999px;
  padding-inline: 1.5rem;
}
body .btn-primary:hover { background: var(--cp-orange); border-color: var(--cp-orange); color: #fff; }

/* ---------- Componentes reutilizáveis ---------- */
.cp-corners { position: relative; isolation: isolate; overflow: hidden; }
.cp-corners::before,
.cp-corners::after {
  content: '';
  position: absolute;
  bottom: -30px;
  width: clamp(130px, 18vw, 250px);
  aspect-ratio: 260 / 210;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}
.cp-corners::before { left: -14px; background-image: var(--cp-hex-bl); }
.cp-corners::after { right: -14px; background-image: var(--cp-hex-br); }

.cp-tag {
  display: inline-block;
  font-family: var(--cp-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  background: var(--cp-yellow);
  color: var(--cp-navy);
  padding: 4px 18px 4px 22px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}

.cp-title {
  font-family: var(--cp-display);
  font-weight: 800;
  color: var(--cp-blue);
  line-height: 1;
  letter-spacing: -.01em;
}

/* ---------- Tema pastel por posição (como as coleções do catálogo) ---------- */
.cp-theme-1 { --cp-bg: linear-gradient(135deg, #ffe4ef, #fff1f6 55%, #e9e4ff); --cp-accent: #e0457b; }
.cp-theme-2 { --cp-bg: linear-gradient(135deg, #e3ecff, #f4f0ff 55%, #fff3d6); --cp-accent: #5b4fd6; }
.cp-theme-3 { --cp-bg: linear-gradient(135deg, #fde2e4, #fff0f0 55%, #ffd9c7); --cp-accent: #d6334a; }
.cp-theme-4 { --cp-bg: linear-gradient(135deg, #fff1d6, #fdf6ea 55%, #dff3ff); --cp-accent: #d9822b; }
.cp-theme-5 { --cp-bg: linear-gradient(135deg, #dff6e4, #effaf1 55%, #e0f0ff); --cp-accent: #2a9a50; }
.cp-theme-6 { --cp-bg: linear-gradient(135deg, #e5e9f2, #f3f5fa 55%, #d9dfe9); --cp-accent: #1f2a44; }

/* ================================================================
   PÁGINA DO PRODUTO = PÁGINA DE CATÁLOGO
   ================================================================ */
.cp-sheet { background: var(--cp-bg, linear-gradient(135deg, #ffe4ef, #fff1f6 55%, #e9e4ff)); position: relative; }

.cp-sheet-head {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--cp-blue);
  min-height: 56px;
}
.cp-sheet-logo {
  background: var(--cp-yellow);
  padding: 8px 34px 8px 22px;
  display: flex;
  align-items: center;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.cp-sheet-logo img { height: 34px; width: auto; }
.cp-sheet-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px 0 40px;
  background: var(--cp-yellow);
  color: var(--cp-navy);
  font-family: var(--cp-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  line-height: 1;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%);
}
.cp-sheet-badge b { font-size: 1.7rem; color: var(--cp-blue); }

.cp-sheet-body { padding: 36px 0 110px; }

.cp-crumbs { font-size: .85rem; font-weight: 600; color: #5a6275; margin-bottom: 18px; }
.cp-crumbs a { color: inherit; text-decoration: none; }
.cp-crumbs a:hover { color: var(--cp-blue); }
.cp-crumbs span { margin: 0 6px; opacity: .5; }

.cp-sheet-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }

.cp-stage { position: relative; padding: 18px 18px 8px; }
.cp-stage .produto-swiper { background: transparent; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; }
.cp-stage .swiper-slide img {
  height: 520px !important;
  background: transparent !important;
  filter: drop-shadow(10px 14px 18px rgba(15, 53, 130, .28));
  transform: rotate(-2deg);
}
.cp-stage .swiper-wrapper { overflow: visible; }
.cp-stage .swiper { overflow: hidden !important; }
.cp-stage .swiper-pagination-bullet-active { background: var(--cp-blue); }
.cp-stage .produto-thumb {
  border-radius: 6px !important;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 53, 130, .15);
}

.cp-info .cp-kicker { font-family: var(--cp-display); font-weight: 700; color: var(--cp-accent, var(--cp-blue)); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; }
.cp-info h1 { font-family: var(--cp-display); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: .95; color: var(--cp-blue); margin: 6px 0 16px; }
.cp-info .cp-desc { font-size: 1.08rem; line-height: 1.7; color: #3b4357; margin-bottom: 22px; }

/* Tabela de especificações no estilo das tabelas do catálogo */
.cp-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 53, 130, .12); margin-bottom: 26px; }
.cp-table caption { caption-side: top; background: var(--cp-blue); color: #fff; font-family: var(--cp-display); font-weight: 800; text-align: left; padding: 10px 16px; text-transform: uppercase; letter-spacing: .04em; }
.cp-table td { padding: 10px 16px; font-size: .95rem; border-top: 1px solid #e6ebf5; }
.cp-table tr:nth-child(even) td { background: #f4f7fd; }
.cp-table td:first-child { font-weight: 700; color: var(--cp-navy); width: 42%; }
.cp-table td:first-child::before { content: ''; display: inline-block; width: 9px; height: 10px; margin-right: 9px; background: var(--cp-yellow); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.cp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--cp-display); font-weight: 800; font-size: 1.1rem;
  padding: 12px 28px; border-radius: 999px; text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.cp-btn-main { background: var(--cp-yellow); color: var(--cp-navy); box-shadow: 0 6px 0 #d98e0e; }
.cp-btn-main:hover { transform: translateY(2px); box-shadow: 0 4px 0 #d98e0e; color: var(--cp-navy); }
.cp-btn-alt { background: transparent; color: var(--cp-blue); border: 2px solid var(--cp-blue); }
.cp-btn-alt:hover { background: var(--cp-blue); color: #fff; }

/* Descrição longa + relacionados */
.cp-more { background: #fff; padding: 56px 0; }
.cp-more h2, .cp-related h2 { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); font-size: 2rem; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.cp-more h2::before, .cp-related h2::before { content: ''; width: 26px; height: 29px; background: var(--cp-yellow); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }

.cp-related { background: var(--cp-paper); padding: 56px 0 90px; }
.cp-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.cp-page-card { background: #fff; border-radius: 6px; overflow: hidden; cursor: pointer; text-decoration: none; box-shadow: 0 6px 18px rgba(15, 53, 130, .12); transition: transform .2s; display: block; border-top: 6px solid var(--cp-blue); }
.cp-page-card:hover { transform: translateY(-5px) rotate(-.6deg); }
.cp-page-card .thumb { height: 190px; display: flex; align-items: center; justify-content: center; padding: 14px; background: var(--cp-bg); }
.cp-page-card .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(4px 6px 8px rgba(0,0,0,.2)); }
.cp-page-card .meta { padding: 12px 14px 14px; }
.cp-page-card small { font-family: var(--cp-display); font-weight: 700; color: var(--cp-accent, var(--cp-blue)); text-transform: uppercase; letter-spacing: .05em; }
.cp-page-card h4 { margin: 2px 0 0; font-family: var(--cp-display); font-weight: 800; color: var(--cp-ink); font-size: 1.1rem; line-height: 1.1; }

/* ================================================================
   LISTAGEM = ÍNDICE + PÁGINAS DO CATÁLOGO
   ================================================================ */
body .catalogo-wrapper { background: var(--cp-paper); position: relative; overflow: hidden; padding-bottom: 120px; }
body .catalogo-wrapper::before { content: ''; position: absolute; left: -14px; bottom: -30px; width: 240px; aspect-ratio: 260/210; background: var(--cp-hex-bl) 0 0 / contain no-repeat; pointer-events: none; }
body .catalogo-wrapper::after { content: ''; position: absolute; right: -14px; bottom: -30px; width: 240px; aspect-ratio: 260/210; background: var(--cp-hex-br) 0 0 / contain no-repeat; pointer-events: none; }
body .catalogo-wrapper .container { position: relative; }

body .catalogo-heading { font-family: var(--cp-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--cp-blue); line-height: 1; }
body .catalogo-heading::after { content: ''; display: block; width: 90px; height: 8px; margin-top: 10px; border-radius: 8px; background: linear-gradient(90deg, var(--cp-yellow) 0 50%, var(--cp-green) 50%); }

/* Sidebar vira a folha "Índice" com caderno e clipe */
body .catalogo-sidebar {
  background: repeating-linear-gradient(#fff 0 31px, #edf3fb 31px 32px);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(15, 53, 130, .15);
  border-left: 14px solid var(--cp-yellow);
}
body .catalogo-sidebar-title { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); font-size: 1.6rem; text-transform: lowercase; }
body .catalogo-filter-label { font-family: var(--cp-display); font-weight: 700; color: var(--cp-navy); }
body .catalogo-filter-item.active { color: var(--cp-blue); font-weight: 800; }

/* Cards = páginas do catálogo */
body .catalogo-card {
  background: #fff;
  border: 0;
  border-radius: 6px;
  border-top: 8px solid var(--cp-blue);
  box-shadow: 0 8px 22px rgba(15, 53, 130, .14);
  position: relative;
  overflow: hidden;
}
body .catalogo-card::after { content: ''; position: absolute; right: -12px; top: -12px; width: 56px; height: 62px; background: var(--cp-yellow); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); z-index: 3; pointer-events: none; }
body .catalogo-card:nth-child(4n+2)::after { background: var(--cp-green); }
body .catalogo-card:nth-child(4n+3)::after { background: var(--cp-blue-2); }
body .catalogo-card:nth-child(4n+4)::after { background: var(--cp-orange); }
body .catalogo-card:nth-child(6n+1) .catalogo-card-img { background: linear-gradient(135deg, #ffe4ef, #e9e4ff); }
body .catalogo-card:nth-child(6n+2) .catalogo-card-img { background: linear-gradient(135deg, #e3ecff, #fff3d6); }
body .catalogo-card:nth-child(6n+3) .catalogo-card-img { background: linear-gradient(135deg, #fde2e4, #ffd9c7); }
body .catalogo-card:nth-child(6n+4) .catalogo-card-img { background: linear-gradient(135deg, #fff1d6, #dff3ff); }
body .catalogo-card:nth-child(6n+5) .catalogo-card-img { background: linear-gradient(135deg, #dff6e4, #e0f0ff); }
body .catalogo-card:nth-child(6n) .catalogo-card-img { background: linear-gradient(135deg, #e5e9f2, #d9dfe9); }
body .catalogo-card-img img { filter: drop-shadow(6px 8px 10px rgba(15, 53, 130, .25)); }
body .catalogo-card-badge { background: var(--cp-yellow); color: var(--cp-navy); font-family: var(--cp-display); font-weight: 800; border-radius: 0; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); padding-left: 16px; }
body .catalogo-card-name { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); font-size: 1.35rem; line-height: 1.05; }
body .catalogo-card-category { font-family: var(--cp-display); font-weight: 700; color: var(--cp-orange); text-transform: uppercase; letter-spacing: .05em; }
body .catalogo-card-btn { font-family: var(--cp-display); font-weight: 800; border-radius: 999px; }

/* ================================================================
   HOME
   ================================================================ */
body .home-section-title { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; }
body .home-section-kicker { display: inline-block; font-family: var(--cp-display); font-weight: 800; text-transform: uppercase; background: var(--cp-yellow); color: var(--cp-navy); padding: 2px 16px 2px 20px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); letter-spacing: .04em; }
body .home-head-link { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); }

body .home-vitrine-section { background: var(--cp-paper); position: relative; overflow: hidden; }
body .destaques-vitrine-section { position: relative; overflow: hidden; background: #fff; }
body .destaque-card { border-radius: 6px; border: 0; border-top: 8px solid var(--cp-blue); box-shadow: 0 8px 22px rgba(15, 53, 130, .13); }
body .destaque-card:nth-child(4n+2) { border-top-color: var(--cp-green); }
body .destaque-card:nth-child(4n+3) { border-top-color: var(--cp-yellow); }
body .destaque-card:nth-child(4n+4) { border-top-color: var(--cp-orange); }
body .destaque-title, body .categoria-name { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); }
body .destaque-btn { font-family: var(--cp-display); font-weight: 800; }
body .categoria-card { border-radius: 6px; border-bottom: 6px solid var(--cp-yellow); }
body .categoria-card:nth-child(3n+2) { border-bottom-color: var(--cp-green); }
body .categoria-card:nth-child(3n+3) { border-bottom-color: var(--cp-blue-2); }

/* Faixa "Volta às aulas" entre seções */
.cp-ribbon { background: var(--cp-blue); color: #fff; position: relative; overflow: hidden; padding: 56px 0 90px; }
.cp-ribbon::before { content: ''; position: absolute; left: -14px; bottom: -30px; width: 240px; aspect-ratio: 260/210; background: var(--cp-hex-bl) 0 0 / contain no-repeat; }
.cp-ribbon::after { content: ''; position: absolute; right: -14px; bottom: -30px; width: 240px; aspect-ratio: 260/210; background: var(--cp-hex-br) 0 0 / contain no-repeat; }
.cp-ribbon .container { position: relative; z-index: 1; text-align: center; }
.cp-ribbon .num { font-family: var(--cp-display); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); line-height: .85; color: var(--cp-yellow); }
.cp-ribbon p { font-family: var(--cp-display); font-weight: 700; font-size: 1.4rem; margin: 10px auto 22px; max-width: 560px; }

/* Rodapé azul com hexágonos */
body .footer-premium { background: var(--cp-navy); position: relative; overflow: hidden; border-top: 10px solid var(--cp-yellow); }
body .footer-premium::after { content: ''; position: absolute; right: -14px; bottom: -40px; width: 220px; aspect-ratio: 260/210; background: var(--cp-hex-br) 0 0 / contain no-repeat; opacity: .9; pointer-events: none; }
body .footer-title { font-family: var(--cp-display); font-weight: 800; color: var(--cp-yellow); font-size: 1.2rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .cp-sheet-grid { grid-template-columns: 1fr; gap: 20px; }
  .cp-stage .swiper-slide img { height: 360px !important; }
  .cp-sheet-badge { font-size: .95rem; padding-left: 30px; }
  .cp-sheet-logo img { height: 26px; }
}

/* ---------- Ajustes pós-revisão visual ---------- */
.cp-sheet-logo { font-family: var(--cp-display); font-weight: 800; font-size: 1.1rem; color: var(--cp-navy); text-transform: uppercase; letter-spacing: .03em; gap: 10px; white-space: nowrap; }
.cp-hexdot { width: 16px; height: 18px; background: var(--cp-blue); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }

/* Foto com fundo claro se funde ao fundo pastel da página */
.cp-stage .swiper-slide img, .cp-page-card .thumb img, body .catalogo-card-img img { mix-blend-mode: multiply; }

/* Em fundo azul, hexágonos azuis ficam claros para não sumir */
:root {
  --cp-hex-bl-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 210'%3E%3Cpolygon points='60,40 100,63 100,109 60,132 20,109 20,63' fill='%235aa0ea'/%3E%3Cpolygon points='60,128 100,151 100,197 60,220 20,197 20,151' fill='%23ffb32f'/%3E%3Cpolygon points='135,84 175,107 175,153 135,176 95,153 95,107' fill='%233dba61'/%3E%3Cpolygon points='135,170 175,193 175,239 135,262 95,239 95,193' fill='%232f7fd6'/%3E%3C/svg%3E");
  --cp-hex-br-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 210'%3E%3Cpolygon points='200,40 240,63 240,109 200,132 160,109 160,63' fill='%233dba61'/%3E%3Cpolygon points='200,128 240,151 240,197 200,220 160,197 160,151' fill='%235aa0ea'/%3E%3Cpolygon points='125,84 165,107 165,153 125,176 85,153 85,107' fill='%23ffb32f'/%3E%3C/svg%3E");
}
.cp-ribbon::before { background-image: var(--cp-hex-bl-light); }
.cp-ribbon::after, body .footer-premium::after { background-image: var(--cp-hex-br-light); }

/* Faixa tricolor do topo e borda do header não competem com o selo azul da página */
body .premium-shadow { box-shadow: 0 2px 10px rgba(15, 53, 130, .08); }
@media (max-width: 900px) { .cp-sheet-logo { font-size: .85rem; padding-right: 28px; } }

/* ---------- Imagens reais do catálogo 2027 (já vêm com fundo próprio) ---------- */
.cp-stage .swiper-slide img, .cp-page-card .thumb img, body .catalogo-card-img img { mix-blend-mode: normal; }
.cp-stage .swiper-slide img {
  height: auto !important; max-height: 560px; width: auto !important; max-width: 100%; margin: 0 auto; display: block;
  transform: none; border-radius: 4px; background: #fff !important;
  filter: drop-shadow(0 14px 22px rgba(15, 53, 130, .28));
}
.cp-stage .swiper-slide a { display: flex; justify-content: center; }
.cp-stage #produtoThumbs { flex-wrap: wrap; }
.cp-stage .produto-thumb { width: 56px !important; height: 56px !important; object-fit: cover; border-radius: 4px !important; }
.cp-page-card .thumb img { filter: none; border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
body .catalogo-card-img img { object-fit: contain; filter: none; }

/* Tabela de códigos longa: rolagem interna com cabeçalho fixo */
.cp-table-wrap { max-height: 440px; overflow: auto; border-radius: 10px; box-shadow: 0 8px 24px rgba(15, 53, 130, .12); margin-bottom: 26px; background: #fff; }
.cp-table-wrap .cp-table { box-shadow: none; margin: 0; border-radius: 0; }
.cp-table-wrap .cp-table caption { position: sticky; top: 0; z-index: 1; }
.cp-table td:first-child { width: 84px; white-space: nowrap; }
.cp-table td:nth-child(2) { font-size: .88rem; line-height: 1.3; }

/* Filtro lateral fechado no celular não pode vazar sombra/borda para a tela */
@media (max-width: 767px) {
  body .catalogo-sidebar { box-shadow: none; border-left-width: 0; }
  body .catalogo-sidebar.open { box-shadow: 0 0 40px rgba(15, 53, 130, .35); border-left: 14px solid var(--cp-yellow); }
}

@media (max-width: 480px) {
  .cp-sheet-logo { font-size: .72rem; padding: 8px 26px 8px 14px; gap: 7px; }
  .cp-sheet-badge { font-size: .8rem; padding: 0 14px 0 28px; }
  .cp-sheet-badge b { font-size: 1.2rem; }
}

/* Grade de categorias da home: qualquer quantidade fica equilibrada (última linha centralizada) */
@media (min-width: 768px) {
  body .categoria-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
  body .categoria-grid .categoria-card { flex: 0 1 calc((100% - 20px) / 2); }
}
@media (min-width: 992px) {
  body .categoria-grid .categoria-card { flex: 0 1 calc((100% - 40px) / 3); }
}
@media (min-width: 1200px) {
  body .categoria-grid .categoria-card { flex: 0 1 calc((100% - 80px) / 5); }
}

/* Colunas do grid precisam poder encolher: o Swiper mede o pai e, sem isso, estoura a largura */
.cp-sheet-grid > * { min-width: 0; }
.cp-stage .produto-swiper { width: 100%; max-width: 100%; overflow: hidden !important; }
.cp-stage .swiper-slide { height: auto; }

/* Palco do carrossel com altura fixa: imagens largas e altas ficam centralizadas sem deixar vazio */
.cp-stage .swiper-slide { height: 540px !important; display: flex; align-items: center; justify-content: center; }
.cp-stage .swiper-slide a { height: 100%; align-items: center; }
.cp-stage .swiper-slide img { max-height: 100%; }
.cp-stage .swiper-pagination { position: static; margin-top: 10px; }
@media (max-width: 900px) { .cp-stage .swiper-slide { height: 400px !important; } }

/* Banner padrão (usado quando o arquivo do banner cadastrado não existe) */
.cp-hero { background: linear-gradient(120deg, #0b3a82, var(--cp-blue) 55%, var(--cp-blue-2)); min-height: 480px; align-items: center; color: #fff; position: relative; }
.cp-hero .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; padding-bottom: 60px; padding-top: 30px; }
.cp-hero-text { max-width: 520px; }
.cp-hero-year { font-family: var(--cp-display); font-weight: 800; font-size: clamp(5rem, 11vw, 9rem); line-height: .85; color: var(--cp-yellow); margin: 10px 0; }
.cp-hero-text p { font-family: var(--cp-display); font-weight: 700; font-size: 1.35rem; line-height: 1.25; margin-bottom: 22px; }
.cp-btn-light { color: #fff; border-color: #fff; }
.cp-btn-light:hover { background: #fff; color: var(--cp-blue); }
.cp-hero-covers { display: flex; align-items: flex-end; padding-right: 20px; }
.cp-hero-covers img { height: 360px; width: auto; border-radius: 4px; box-shadow: 0 18px 30px rgba(0,0,0,.35); }
.cp-hero-covers img:nth-child(1) { transform: rotate(-6deg) translateX(30px); }
.cp-hero-covers img:nth-child(2) { transform: translateY(-24px); z-index: 2; height: 400px; }
.cp-hero-covers img:nth-child(3) { transform: rotate(6deg) translateX(-30px); }
.cp-hero.cp-corners::before { background-image: var(--cp-hex-bl-light); }
.cp-hero.cp-corners::after { background-image: var(--cp-hex-br-light); }
@media (max-width: 1100px) { .cp-hero-covers img { height: 280px; } .cp-hero-covers img:nth-child(2) { height: 310px; } }

/* ================================================================
   SOBRE (conteúdo vem do banco: só estilo, sem tocar no HTML cadastrado)
   ================================================================ */
body .sobre-hero { background: linear-gradient(120deg, #0b3a82, var(--cp-blue) 60%, var(--cp-blue-2)); position: relative; overflow: hidden; isolation: isolate; }
body .sobre-hero::before { content: ''; position: absolute; left: -14px; bottom: -30px; width: clamp(130px, 18vw, 240px); aspect-ratio: 260/210; background: var(--cp-hex-bl-light) 0 0 / contain no-repeat; z-index: -1; }
body .sobre-hero::after { content: ''; position: absolute; right: -14px; bottom: -30px; width: clamp(130px, 18vw, 240px); aspect-ratio: 260/210; background: var(--cp-hex-br-light) 0 0 / contain no-repeat; z-index: -1; }
body .sobre-badge { background: var(--cp-yellow); color: var(--cp-navy); font-family: var(--cp-display); font-weight: 800; border-radius: 0; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); padding-left: 24px; text-transform: uppercase; letter-spacing: .03em; box-shadow: none; }
body .sobre-hero-title, body .sobre-section-title, body .sobre-cta-title, body .tl-header h2 { font-family: var(--cp-display); font-weight: 800; letter-spacing: -.01em; }
body .sobre-hero-title { color: #fff; }
body .sobre-hero-sub { color: rgba(255,255,255,.92); }
body .sobre-btn-primary { background: var(--cp-yellow); color: var(--cp-navy); border-color: var(--cp-yellow); font-family: var(--cp-display); font-weight: 800; border-radius: 999px; box-shadow: 0 6px 0 #d98e0e; }
body .sobre-btn-outline { background: transparent; color: #fff; border: 2px solid #fff; font-family: var(--cp-display); font-weight: 800; border-radius: 999px; }
body .sobre-btn-outline:hover, body .sobre-btn-outline:focus { background: #fff; color: var(--cp-blue); }

body .sobre-historia { background: var(--cp-paper); }
body .sobre-section-title { color: var(--cp-blue); }
body .sobre-numero { border-top: 5px solid var(--cp-yellow); border-radius: 6px; background: #fff; box-shadow: 0 6px 18px rgba(15,53,130,.1); }
body .sobre-numero:nth-child(2) { border-top-color: var(--cp-green); }
body .sobre-numero:nth-child(3) { border-top-color: var(--cp-blue-2); }
body .sobre-numero-valor { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); }

body .sobre-diferenciais { background: #fff; }
body .sobre-card { border-radius: 6px; border: 0; border-top: 6px solid var(--cp-blue); box-shadow: 0 8px 22px rgba(15,53,130,.12); }
body .sobre-card:nth-child(3n+2) { border-top-color: var(--cp-green); }
body .sobre-card:nth-child(3n+3) { border-top-color: var(--cp-yellow); }
body .sobre-card-title { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); }
body .sobre-card svg, body .sobre-card i { color: var(--cp-orange); }

body .sobre-timeline { background: var(--cp-paper); }
body .tl-header h2 { color: var(--cp-blue); }
body .tl-year { background: var(--cp-yellow); color: var(--cp-navy); font-family: var(--cp-display); font-weight: 800; border-radius: 0; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%); padding-left: 16px; }
body .tl-card { border-radius: 6px; border: 0; border-top: 5px solid var(--cp-blue); box-shadow: 0 8px 22px rgba(15,53,130,.12); }
body .tl-event { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); }
body .tl-dot { background: var(--cp-blue); border-color: var(--cp-yellow); border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
body .tl-line { background: linear-gradient(var(--cp-yellow), var(--cp-green), var(--cp-blue-2)); }

body .sobre-visual-text, body .sobre-visual-wrap h2 { font-family: var(--cp-display); }
body .sobre-cta { background: var(--cp-blue); position: relative; overflow: hidden; isolation: isolate; }
body .sobre-cta::before { content: ''; position: absolute; left: -14px; bottom: -30px; width: 200px; aspect-ratio: 260/210; background: var(--cp-hex-bl-light) 0 0 / contain no-repeat; z-index: -1; }
body .sobre-cta::after { content: ''; position: absolute; right: -14px; bottom: -30px; width: 200px; aspect-ratio: 260/210; background: var(--cp-hex-br-light) 0 0 / contain no-repeat; z-index: -1; }
body .sobre-cta .sobre-btn-primary { background: var(--cp-yellow); color: var(--cp-navy); }

/* ================================================================
   CONTATO
   ================================================================ */
.cp-cms section { background: var(--cp-paper) !important; }
.cp-cms span[style*="letter-spacing"] { background: var(--cp-yellow) !important; color: var(--cp-navy) !important; border-radius: 0 !important; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); padding: 5px 16px 5px 22px !important; font-family: var(--cp-display); text-transform: uppercase; }
.cp-cms h1 { font-family: var(--cp-display) !important; font-weight: 800 !important; color: var(--cp-blue) !important; font-size: clamp(2.2rem, 5vw, 3.3rem) !important; line-height: 1 !important; }
.cp-cms a[style*="linear-gradient"] { background: var(--cp-yellow) !important; color: var(--cp-navy) !important; border-radius: 999px !important; font-family: var(--cp-display); font-weight: 800 !important; box-shadow: 0 6px 0 #d98e0e !important; }
.cp-cms div[style*="overflow:hidden"] { border-radius: 6px !important; border: 0 !important; border-top: 8px solid var(--cp-blue) !important; box-shadow: 0 10px 28px rgba(15,53,130,.16) !important; }

.cp-contact, .cp-reps { background: var(--cp-paper); padding: 50px 0 130px; }
.cp-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.cp-contact-grid > * { min-width: 0; }
.cp-block-title { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.05; margin: 10px 0 6px; }
.cp-block-sub { color: #4b5566; margin: 0 0 22px; line-height: 1.5; }
.cp-form-card { background: #fff; border-radius: 6px; border-top: 8px solid var(--cp-blue); padding: 30px; box-shadow: 0 10px 28px rgba(15,53,130,.14); }
.cp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cp-field { margin-bottom: 14px; }
.cp-field label { display: block; font-family: var(--cp-display); font-weight: 700; color: var(--cp-navy); margin-bottom: 4px; }
.cp-field input, .cp-field textarea { width: 100%; border: 2px solid #dbe4f3; border-radius: 6px; padding: 12px 14px; font-size: .95rem; outline: none; background: #fbfdff; transition: border-color .2s, box-shadow .2s; }
.cp-field input:focus, .cp-field textarea:focus { border-color: var(--cp-blue); box-shadow: 0 0 0 4px rgba(15,83,172,.12); background: #fff; }
.cp-field textarea { resize: vertical; min-height: 130px; }
.cp-submit { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.cp-btn-sm { font-size: .95rem; padding: 9px 22px; }

.cp-info-col { display: flex; flex-direction: column; gap: 16px; }
.cp-info-card { background: #fff; border-radius: 6px; border-left: 8px solid var(--cp-blue); padding: 20px; display: flex; gap: 16px; align-items: flex-start; box-shadow: 0 8px 22px rgba(15,53,130,.12); }
.cp-info-yellow { border-left-color: var(--cp-yellow); }
.cp-info-green { border-left-color: var(--cp-green); }
.cp-info-card h3 { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); font-size: 1.2rem; margin: 0 0 4px; }
.cp-info-card p { color: #4b5566; font-size: .92rem; margin: 0 0 6px; line-height: 1.4; }
.cp-info-card a:not(.cp-hexicon) { color: var(--cp-blue); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.cp-hexicon { width: 52px; height: 58px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--cp-blue); color: #fff; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); text-decoration: none; transition: transform .2s; }
.cp-info-yellow .cp-hexicon { background: var(--cp-yellow); color: var(--cp-navy); }
.cp-social-links { display: flex; gap: 10px; margin-top: 8px; }
.cp-social-links .cp-hexicon:nth-child(1) { background: var(--cp-orange); }
.cp-social-links .cp-hexicon:nth-child(2) { background: var(--cp-blue-2); }
.cp-social-links .cp-hexicon:hover { transform: scale(1.1) rotate(6deg); }

/* ================================================================
   REPRESENTANTES
   ================================================================ */
.cp-reps-head { text-align: center; margin-bottom: 36px; }
.cp-reps-head .cp-block-sub { max-width: 560px; margin-left: auto; margin-right: auto; }
.cp-reps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.cp-rep-card { background: #fff; border-radius: 6px; border-top: 8px solid var(--cp-blue); padding: 28px 22px 26px; text-align: center; box-shadow: 0 8px 22px rgba(15,53,130,.13); transition: transform .2s; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cp-rep-card:hover { transform: translateY(-5px) rotate(-.4deg); }
.cp-rep-1 { border-top-color: var(--cp-green); }
.cp-rep-2 { border-top-color: var(--cp-yellow); }
.cp-rep-3 { border-top-color: var(--cp-orange); }
.cp-rep-avatar { width: 72px; height: 80px; background: var(--cp-blue); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: inline-flex; align-items: center; justify-content: center; }
.cp-rep-1 .cp-rep-avatar { background: var(--cp-green); }
.cp-rep-2 .cp-rep-avatar { background: var(--cp-yellow); }
.cp-rep-3 .cp-rep-avatar { background: var(--cp-orange); }
.cp-rep-avatar b { font-family: var(--cp-display); font-weight: 800; font-size: 1.8rem; color: #fff; }
.cp-rep-2 .cp-rep-avatar b { color: var(--cp-navy); }
.cp-rep-card h3 { font-family: var(--cp-display); font-weight: 800; color: var(--cp-blue); font-size: 1.35rem; margin: 4px 0 0; line-height: 1.1; }
.cp-rep-region { display: inline-flex; align-items: center; gap: 6px; background: var(--cp-paper); color: var(--cp-navy); border-radius: 999px; padding: 5px 14px; font-weight: 600; font-size: .85rem; border: 1px solid #f2e3c0; }
.cp-rep-card .cp-btn { margin-top: 8px; }
.cp-reps-empty { text-align: center; padding: 50px 20px; color: #7b869b; }
.cp-reps-empty p { font-family: var(--cp-display); font-weight: 700; font-size: 1.2rem; margin: 12px 0 0; }

@media (max-width: 900px) {
  .cp-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cp-form-row { grid-template-columns: 1fr; gap: 0; }
  .cp-form-card { padding: 22px 18px; }
}

/* Cards do Sobre ficam cada um dentro de uma coluna: alternar cores pela coluna */
body .sobre-diferenciais [class*="col"]:nth-child(3n+2) > .sobre-card { border-top-color: var(--cp-green); }
body .sobre-diferenciais [class*="col"]:nth-child(3n+3) > .sobre-card { border-top-color: var(--cp-yellow); }
body .sobre-diferenciais [class*="col"]:nth-child(4n) > .sobre-card { border-top-color: var(--cp-orange); }

/* Rodapé: hexágonos ficam atrás do texto e discretos */
body .footer-premium::after { width: 170px; opacity: .35; z-index: 0; }
body .footer-premium > .container { position: relative; z-index: 1; }

/* Banner padrão: três capas em leque, sem cortar na borda */
.cp-hero-covers { flex: 1 1 auto; justify-content: center; padding-right: 0; min-width: 0; }
.cp-hero-covers img { height: 320px; max-width: 30%; object-fit: contain; }
.cp-hero-covers img + img { margin-left: -50px; }
.cp-hero-covers img:nth-child(2) { height: 350px; }
@media (max-width: 1100px) { .cp-hero-covers img { height: 250px; } .cp-hero-covers img:nth-child(2) { height: 275px; } }

/* ================================================================
   COLEÇÃO GIGANTES DA TORCIDA (preto e dourado, como a capa do catálogo)
   ================================================================ */
:root { --cp-gold: #e1b93c; --cp-gold-2: #b98f1a; --cp-black: #0c0c0f; }

.cp-btn-gold { background: var(--cp-gold); color: #17130a; box-shadow: 0 6px 0 var(--cp-gold-2); }
.cp-btn-gold:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--cp-gold-2); color: #17130a; }

.cp-torcida { background: var(--cp-black); color: #fff; position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 56px; }
.cp-torcida::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(115deg, transparent 0 58%, rgba(225,185,60,.18) 58% 59%, transparent 59% 62%, rgba(225,185,60,.12) 62% 62.6%, transparent 62.6%),
  radial-gradient(circle at 85% 20%, rgba(255,255,255,.06), transparent 40%); }
.cp-torcida-top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.cp-torcida-top > * { min-width: 0; }
.cp-stars { color: var(--cp-gold); letter-spacing: .3em; font-size: 1.1rem; }
.cp-torcida-kicker { font-family: var(--cp-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--cp-gold); margin: 8px 0 0; }
.cp-torcida-title { font-family: var(--cp-display); font-weight: 800; font-size: clamp(3rem, 8vw, 5.6rem); line-height: .9; color: var(--cp-gold); margin: 4px 0 10px; text-transform: uppercase; }
.cp-torcida-title small { display: block; font-size: .5em; color: #fff; letter-spacing: .02em; }
.cp-torcida-sub { font-family: var(--cp-display); font-weight: 700; font-size: 1.3rem; max-width: 420px; margin: 0 0 22px; color: #f1e8cc; }
.cp-torcida-mascotes img { width: 100%; height: auto; display: block; border-radius: 6px; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }

.cp-torcida-strip { display: flex; gap: 14px; overflow-x: auto; padding: 26px 4px 10px; margin-top: 10px; scroll-snap-type: x proximity; scrollbar-color: var(--cp-gold) #1c1c22; scrollbar-width: thin; }
.cp-torcida-card { flex: 0 0 150px; scroll-snap-align: start; text-decoration: none; color: #fff; background: #17171d; border-top: 5px solid var(--cp-gold); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s; }
.cp-torcida-card:hover { transform: translateY(-5px); color: var(--cp-gold); }
.cp-torcida-img { display: block; height: 170px; background: #000; }
.cp-torcida-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cp-torcida-card strong { font-family: var(--cp-display); font-weight: 800; text-align: center; padding: 10px 6px 12px; font-size: 1.05rem; line-height: 1.1; }

/* Página do produto e cards no tema da Torcida */
.cp-theme-torcida { --cp-bg: linear-gradient(135deg, #0c0c0f, #1b1b22 55%, #2a2412); --cp-accent: var(--cp-gold); }
.cp-sheet.cp-theme-torcida { color: #fff; }
.cp-theme-torcida .cp-crumbs, .cp-theme-torcida .cp-crumbs a { color: #bdb7a3; }
.cp-theme-torcida .cp-info h1 { color: var(--cp-gold); }
.cp-theme-torcida .cp-info .cp-desc { color: #e9e4d2; }
.cp-theme-torcida .cp-sheet-head { background: #0c0c0f; border-bottom: 3px solid var(--cp-gold); }
.cp-theme-torcida .cp-sheet-logo, .cp-theme-torcida .cp-sheet-badge { background: var(--cp-gold); color: #17130a; }
.cp-theme-torcida .cp-sheet-badge b { color: #17130a; }
.cp-theme-torcida .cp-hexdot { background: #17130a; }
.cp-theme-torcida .cp-table caption { background: var(--cp-gold); color: #17130a; }
.cp-page-card.cp-theme-torcida { border-top-color: var(--cp-gold); background: #17171d; }
.cp-page-card.cp-theme-torcida .meta h4 { color: #fff; }
.cp-page-card.cp-theme-torcida small { color: var(--cp-gold); }
.cp-page-card.cp-theme-torcida .thumb { background: #000; }
.cp-theme-torcida .cp-btn-main { background: var(--cp-gold); color: #17130a; box-shadow: 0 6px 0 var(--cp-gold-2); }
.cp-theme-torcida .cp-btn-alt { color: var(--cp-gold); border-color: var(--cp-gold); }
.cp-theme-torcida .cp-btn-alt:hover { background: var(--cp-gold); color: #17130a; }
.cp-theme-torcida .cp-stage .swiper-pagination-bullet { background: #6b6b75; }
.cp-theme-torcida .cp-stage .swiper-pagination-bullet-active { background: var(--cp-gold); }

/* Faixa da categoria Gigantes da Torcida na listagem */
.cp-torcida-band { display: none; background: var(--cp-black); color: #fff; border-radius: 6px; border-top: 6px solid var(--cp-gold); padding: 18px 22px; margin-bottom: 18px; align-items: center; gap: 16px; flex-wrap: wrap; }
.cp-torcida-band.show { display: flex; }
.cp-torcida-band .cp-stars { font-size: .9rem; }
.cp-torcida-band h2 { font-family: var(--cp-display); font-weight: 800; color: var(--cp-gold); font-size: 1.8rem; margin: 0; text-transform: uppercase; line-height: 1; }
.cp-torcida-band p { margin: 0; font-family: var(--cp-display); font-weight: 700; color: #f1e8cc; }

/* Item do menu */
body .nav-link.cp-nav-torcida { color: #8a6d0f !important; }
body .nav-link.cp-nav-torcida::before { content: '\2605'; margin-right: 5px; color: var(--cp-gold-2); }

@media (max-width: 900px) {
  .cp-torcida-top { grid-template-columns: 1fr; }
  .cp-torcida { padding: 44px 0 40px; }
}

/* ================================================================
   BANNER PRINCIPAL (carrossel): coleção 2027 + Gigantes da Torcida
   ================================================================ */
.cp-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
picture { display: contents; }

.cp-hero-slider { position: relative; background: #0b3a82; }
.cp-hero-swiper { overflow: hidden; }
.cp-hero-swiper .swiper-slide { height: auto; }
.cp-slide-img img { width: 100%; height: auto; max-height: 560px; object-fit: cover; display: block; }

.cp-slide { min-height: 560px; display: flex; align-items: center; position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.cp-slide-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center; padding-top: 44px; padding-bottom: 76px; position: relative; }
.cp-slide-inner > * { min-width: 0; }
.cp-slide-text { max-width: 540px; }
.cp-slide-sub { font-family: var(--cp-display); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.25; margin: 0 0 24px; }

/* --- Slide 1: Volta às aulas 2027 --- */
.cp-slide-2027 { background: linear-gradient(120deg, #092f6e, var(--cp-blue) 55%, var(--cp-blue-2)); }
.cp-slide-2027::before { content: ''; position: absolute; left: -14px; bottom: -30px; width: clamp(130px, 18vw, 260px); aspect-ratio: 260/210; background: var(--cp-hex-bl-light) 0 0 / contain no-repeat; z-index: -1; }
.cp-slide-2027::after { content: ''; position: absolute; right: -14px; top: -40px; width: clamp(120px, 15vw, 220px); aspect-ratio: 260/210; background: var(--cp-hex-br-light) 0 0 / contain no-repeat; z-index: -1; transform: rotate(180deg); }
.cp-slide-year { font-family: var(--cp-display); font-weight: 800; font-size: clamp(6rem, 14vw, 10.5rem); line-height: .8; color: var(--cp-yellow); margin: 14px 0 18px; text-shadow: 0 8px 0 rgba(0,0,0,.18); letter-spacing: -.02em; }

.cp-fan { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 430px; }
.cp-fan-hex { position: absolute; left: 50%; top: 50%; width: 420px; height: 470px; transform: translate(-50%, -50%); background: rgba(255,179,47,.22); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.cp-fan img { position: relative; height: 360px; width: auto; border-radius: 4px; box-shadow: 0 22px 34px rgba(0,0,0,.4); transition: transform .5s; }
.cp-fan img + img { margin-left: -64px; }
.cp-fan img:nth-of-type(1) { transform: rotate(-11deg) translateY(16px); }
.cp-fan img:nth-of-type(2) { transform: rotate(-3deg) translateY(-8px); z-index: 2; height: 390px; }
.cp-fan img:nth-of-type(3) { transform: rotate(5deg) translateY(-2px); z-index: 3; height: 380px; }
.cp-fan img:nth-of-type(4) { transform: rotate(12deg) translateY(18px); z-index: 1; }
.cp-slide-2027:hover .cp-fan img:nth-of-type(1) { transform: rotate(-14deg) translate(-10px, 16px); }
.cp-slide-2027:hover .cp-fan img:nth-of-type(4) { transform: rotate(15deg) translate(10px, 18px); }

/* --- Slide 2: Gigantes da Torcida --- */
.cp-slide-torcida { background: var(--cp-black); }
.cp-slide-torcida::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(115deg, transparent 0 52%, rgba(225,185,60,.2) 52% 53%, transparent 53% 57%, rgba(225,185,60,.12) 57% 57.7%, transparent 57.7%),
  radial-gradient(circle at 75% 35%, rgba(255,255,255,.08), transparent 45%); }
.cp-slide-gigantes { font-family: var(--cp-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: .86; color: var(--cp-gold); margin: 4px 0 14px; }
.cp-slide-gigantes small { display: block; font-size: .5em; color: #fff; }
.cp-slide-torcida .cp-slide-sub { color: #f1e8cc; }
.cp-slide-mascotes img { width: 100%; height: auto; display: block; border-radius: 6px; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 14%, #000 90%, transparent); }

/* paginação */
.cp-hero-pag { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.cp-hero-pag .swiper-pagination-bullet { width: 34px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.45); opacity: 1; transition: background .2s, width .2s; cursor: pointer; }
.cp-hero-pag .swiper-pagination-bullet-active { background: var(--cp-yellow); width: 54px; }

@media (max-width: 900px) {
  .cp-slide { min-height: 0; }
  .cp-slide-inner { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 64px; gap: 8px; }
  .cp-slide-text { max-width: none; }
  .cp-fan { height: 300px; }
  .cp-fan-hex { width: 280px; height: 316px; }
  .cp-fan img { height: 230px; }
  .cp-fan img:nth-of-type(2) { height: 250px; }
  .cp-fan img:nth-of-type(3) { height: 244px; }
  .cp-fan img + img { margin-left: -44px; }
  .cp-slide-year { margin: 10px 0 12px; }
}
@media (max-width: 480px) {
  .cp-fan { height: 250px; }
  .cp-fan img { height: 190px; }
  .cp-fan img:nth-of-type(2) { height: 208px; }
  .cp-fan img:nth-of-type(3) { height: 202px; }
  .cp-fan img + img { margin-left: -38px; }
}

/* Leque de capas: largura proporcional, nunca invade a coluna do texto */
.cp-slide-inner { grid-template-columns: .9fr 1.3fr; }
.cp-fan { height: 440px; }
.cp-fan img { height: auto !important; width: 44%; }
.cp-fan img + img { margin-left: -12%; }
.cp-fan img:nth-of-type(1) { transform: rotate(-9deg) translateY(14px); }
.cp-fan img:nth-of-type(2) { width: 49%; transform: rotate(0deg) translateY(-10px); z-index: 3; }
.cp-fan img:nth-of-type(3) { transform: rotate(9deg) translateY(14px); z-index: 2; }
.cp-slide-2027:hover .cp-fan img:nth-of-type(1) { transform: rotate(-12deg) translate(-12px, 14px); }
.cp-slide-2027:hover .cp-fan img:nth-of-type(3) { transform: rotate(12deg) translate(12px, 14px); }
@media (max-width: 900px) { .cp-slide-inner { grid-template-columns: 1fr; } .cp-fan { height: 300px; } .cp-fan img { width: 38%; } .cp-fan img:nth-of-type(2) { width: 42%; } }
@media (max-width: 480px) { .cp-fan { height: 240px; } .cp-fan img { width: 40%; } .cp-fan img:nth-of-type(2) { width: 44%; } }

.cp-fan { padding-left: 56px; box-sizing: border-box; }
.cp-fan img { width: 42%; }
.cp-fan img:nth-of-type(2) { width: 47%; }
@media (max-width: 900px) { .cp-fan { padding-left: 0; } }

/* Todos os slides com a mesma altura (o mais alto define) para o fundo colorido preencher e a paginação ficar dentro do banner */
.cp-hero-swiper .swiper-wrapper { align-items: stretch; }
.cp-hero-swiper .swiper-slide.cp-slide { height: auto; }
.cp-hero-pag { z-index: 10; }

.cp-hero-pag .swiper-pagination-bullet { background: rgba(255,255,255,.5) !important; opacity: 1 !important; }
.cp-hero-pag .swiper-pagination-bullet-active { background: var(--cp-yellow) !important; }

.cp-skip { position: absolute; left: -9999px; top: 0; background: var(--cp-yellow); color: var(--cp-navy); padding: 10px 16px; z-index: 3000; font-weight: 700; border-radius: 0 0 6px 0; }
.cp-skip:focus { left: 0; }

/* Banner "Novas coleções chegaram!" (capas reais da Cardepel) */
.cp-launch-section { padding: 28px 0 56px; background: #fff; }
.cp-launch { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: center; text-decoration: none; color: #fff; border-radius: 10px; padding: 34px 40px; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #092f6e, var(--cp-blue) 60%, var(--cp-blue-2)); box-shadow: 0 14px 34px rgba(15,53,130,.28); border-bottom: 8px solid var(--cp-yellow); }
.cp-launch::before { content: ''; position: absolute; right: -30px; top: -50px; width: 240px; aspect-ratio: 260/210; background: var(--cp-hex-br-light) 0 0 / contain no-repeat; z-index: -1; opacity: .55; }
.cp-launch > * { min-width: 0; }
.cp-launch h2 { font-family: var(--cp-display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1; margin: 12px 0 10px; color: #fff; }
.cp-launch h2 em { font-style: normal; color: var(--cp-yellow); display: block; }
.cp-launch p { font-family: var(--cp-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin: 0 0 18px; max-width: 460px; color: #e6eefc; }
.cp-launch-covers { display: flex; align-items: center; justify-content: center; }
.cp-launch-covers img { width: 25%; max-width: 170px; height: auto; border-radius: 4px; box-shadow: 0 14px 24px rgba(0,0,0,.4); transition: transform .3s; }
.cp-launch-covers img + img { margin-left: -4%; }
.cp-launch-covers img:nth-of-type(1) { transform: rotate(-7deg) translateY(8px); }
.cp-launch-covers img:nth-of-type(2) { transform: rotate(-2deg) translateY(-6px); }
.cp-launch-covers img:nth-of-type(3) { transform: rotate(3deg) translateY(-6px); }
.cp-launch-covers img:nth-of-type(4) { transform: rotate(8deg) translateY(8px); }
.cp-launch:hover .cp-launch-covers img { transform: rotate(0) translateY(-4px); }
@media (max-width: 900px) {
  .cp-launch { grid-template-columns: 1fr; padding: 26px 22px 30px; }
  .cp-launch-covers img { width: 30%; }
}

/* ================================================================
   AJUSTES: filtro fixo no desktop, banner no celular, menu do celular
   ================================================================ */

/* Filtro do catálogo acompanha a rolagem (overflow:hidden no pai desligava o sticky) */
body .catalogo-wrapper { overflow: visible; overflow-x: clip; }
@media (min-width: 768px) {
  body .catalogo-sidebar { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; align-self: start; scrollbar-width: thin; }
}

/* Banner: botões sempre acima das capas; só o slide ativo recebe toque */
.cp-hero-swiper .swiper-slide { pointer-events: none !important; }
.cp-hero-swiper .swiper-slide-active { pointer-events: auto !important; }
.cp-slide-text { position: relative; z-index: 3; }
.cp-slide-art { position: relative; z-index: 1; }
.cp-slide .cp-cta { position: relative; z-index: 4; }
@media (max-width: 900px) {
  .cp-slide-inner { padding-top: 30px; padding-bottom: 84px; gap: 22px; }
  .cp-slide-art { margin-top: 6px; }
  .cp-fan { padding-top: 16px; }
  .cp-slide .cp-cta { gap: 10px; }
  .cp-slide .cp-btn { font-size: 1rem; padding: 11px 22px; }
}

/* Menu do celular: gaveta mais estreita (dá para tocar fora para fechar), links grandes */
#mobileMenu { width: min(86vw, 340px); border-left: 8px solid var(--cp-yellow); z-index: 2000; }
.offcanvas-backdrop { z-index: 1990; }
#mobileMenu .offcanvas-header { padding: 14px 18px; border-bottom: 1px solid #e8eef8; }
#mobileMenu .offcanvas-body { padding: 6px 18px 28px; }
#mobileMenu .nav-link { display: flex; align-items: center; gap: 10px; min-height: 54px; font-family: var(--cp-display); font-size: 1.3rem !important; border-bottom: 1px solid #eef2f9; box-shadow: none; }
#mobileMenu .nav-link.active { color: var(--cp-blue) !important; box-shadow: none; }
#mobileMenu .nav-link.active::before { content: ''; width: 12px; height: 14px; background: var(--cp-yellow); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
#mobileMenu .nav-link.cp-nav-torcida { color: #8a6d0f !important; }
#mobileMenu .btn-primary { min-height: 54px; font-size: 1.1rem; }
/* botão do menu: área de toque confortável */
header button[data-bs-target="#mobileMenu"] { min-width: 48px; min-height: 48px; }

/* Banner arrastável: imagens e links não iniciam "arrastar nativo" do navegador */
.cp-hero-swiper { user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.cp-hero-swiper img, .cp-hero-swiper a { -webkit-user-drag: none; user-drag: none; }
.cp-hero-swiper.swiper-grabbing, .cp-hero-swiper .swiper-grabbing { cursor: grabbing; }

/* Faixa de torcidas arrastável (mouse): cursor de mão, sem encaixe durante o arrasto */
.cp-torcida-strip { cursor: grab; -webkit-user-select: none; user-select: none; overscroll-behavior-x: contain; }
.cp-torcida-strip.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.cp-torcida-strip img { -webkit-user-drag: none; }
