 /* ==========================================
   CONFIGURAÇÕES GERAIS / CONTAINER
   ========================================== */
 :root {
     --text-primary: #0f172a;
     --text-secondary: #64748b;
     --bg-light: #f8fafc;
     --border-color: #e2e8f0;
     --whatsapp-green: #25d366;
     --whatsapp-green-hover: #1ebd58;
 }

 /* Reset de Box-sizing para evitar quebras */
 .pg-header-section *,
 .stories-grid-section * {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 /* Container de largura máxima padrão */
 .pg-header-container,
 .stories-container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* ==========================================
   ESTILOS DA SEÇÃO 1: HEADER (LIGHT)
   ========================================== */
 .pg-header-section {
     background-color: #ffffff;
     padding: 24px 0;
     border-bottom: 1px solid var(--border-color);
 }

 .pg-header-container {
     display: flex;
     flex-direction: column;
     gap: 12px;
 }

 /* Breadcrumb */
 .pg-header-section .pg-breadcrumb {
     display: flex;
     align-items: center;
     gap: 8px;
     margin-bottom: 6px;
 }

 .pg-header-section .pg-breadcrumb a {
     color: var(--text-secondary);
     font-size: 11.5px;
     text-decoration: none;
     transition: color 0.2s ease;
 }

 .pg-header-section .pg-breadcrumb a:hover {
     color: var(--text-primary);
 }

 .pg-header-section .pg-breadcrumb-separator {
     color: #cbd5e1;
     font-size: 11px;
 }

 .pg-header-section .pg-breadcrumb-active {
     color: var(--text-primary);
     font-size: 11.5px;
     font-weight: 600;
 }

 /* Título */
 .pg-header-section .pg-header-title {
     color: var(--text-primary);
     font-size: 26px;
     font-weight: 700;
     letter-spacing: -0.5px;
     line-height: 1.2;
 }

 /* Hint Text */
 .pg-header-section .pg-header-hint {
     color: var(--text-secondary);
     font-size: 12.5px;
     font-weight: 500;
 }


 /* ==========================================
   ESTILOS DA SEÇÃO 2: STORIES GRID
   ========================================== */
 .stories-grid-section {
     background-color: var(--bg-light);
     padding: 48px 0;
 }

 /* CSS Grid responsivo sem necessidade de Media Queries complexos */
 .stories-grid-section .stories-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     /* Mobile-first: 2 por linha */
     gap: 16px;
 }

 /* O Card */
 .stories-grid-section .story-card {
     background-color: #ffffff;
     border: 1px solid var(--border-color);
     border-radius: 16px;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     box-shadow: 0 4px 18px rgba(15, 23, 42, 0.02);
     transition: transform 0.25s ease, box-shadow 0.25s ease;
 }

 .stories-grid-section .story-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
 }

 /* Proporção 9:16 vertical dos stories */
 .stories-grid-section .story-img-wrapper {
     position: relative;
     width: 100%;
     aspect-ratio: 9 / 16;
     /* Força o formato exato */
     overflow: hidden;
 }

 .stories-grid-section .story-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
     transition: transform 0.4s ease;
 }

 .stories-grid-section .story-card:hover .story-img {
     transform: scale(1.04);
 }

 /* Efeito degradê de sombra no rodapé da imagem */
 .stories-grid-section .story-overlay-gradient {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 40%;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
     pointer-events: none;
 }

 /* Rodapé do card */
 .stories-grid-section .story-footer {
     padding: 16px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 8px;
     margin-top: auto;
 }

 .stories-grid-section .story-title {
     color: var(--text-primary);
     font-size: 13.5px;
     font-weight: 700;
     text-align: center;
 }

 /* Botão WhatsApp */
 .stories-grid-section .btn-whatsapp-story {
     width: 100%;
     background-color: var(--whatsapp-green);
     color: #ffffff;
     text-decoration: none;
     font-size: 11.5px;
     font-weight: 600;
     padding: 10px 14px;
     border-radius: 8px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     transition: background-color 0.2s ease, transform 0.2s ease;
     cursor: pointer;
 }

 .stories-grid-section .btn-whatsapp-story:hover {
     background-color: var(--whatsapp-green-hover);
 }

 .stories-grid-section .btn-whatsapp-story:active {
     transform: scale(0.98);
 }

 .stories-grid-section .btn-whatsapp-story svg {
     flex-shrink: 0;
 }


 /* ==========================================
   MEDIA QUERIES (DESKTOP / TABLETS)
   ========================================== */

 /* Telas de tablet/notebook pequeno (768px pra cima) */
 @media (min-width: 768px) {
     .pg-header-container {
         flex-direction: row;
         justify-content: space-between;
         align-items: center;
     }

     .pg-header-section {
         padding: 20px 0;
     }

     .stories-grid-section .stories-grid {
         grid-template-columns: repeat(3, 1fr);
         /* 3 por linha em tablets */
         gap: 20px;
     }
 }

 /* Telas grandes (992px pra cima) */
 @media (min-width: 992px) {
     .stories-grid-section .stories-grid {
         grid-template-columns: repeat(4, 1fr);
         /* 4 por linha no desktop */
         gap: 24px;
     }

     .stories-grid-section .story-title {
         font-size: 14.5px;
     }

     .stories-grid-section .btn-whatsapp-story {
         font-size: 16px;
         padding: 11px 16px;

     }
 }



 .page-header {
     color: rgb(255, 255, 255);
     text-align: center;
     position: relative;
     padding: 150px 0px 40px;
     background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
     overflow: hidden;
 }