  :root {
    --gradient-primary: linear-gradient(90deg, rgba(140, 12, 254, 1) 0%, rgba(0, 145, 255, 1) 100%);
    --gradient-secondary: linear-gradient(180deg, rgba(171, 108, 232, 1) 0%, rgba(102, 216, 255, 1) 100%);
    --primary-color: #6c63ff;
    --secondary-color: #8c0cfe;
    --accent-color: #0091ff;
  }

  body {
    font-family: 'Poppins', sans-serif;
    color: #4d4d4d;
    background-color: #fff;
  }

  /* ======= NAVBAR ORIGINAL ======= */
  .navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .navbar-brand img {
    transition: transform 0.3s ease;
  }

  .navbar-brand:hover img {
    transform: scale(1.05);
  }

  .nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    color: var(--primary-color) !important;
  }

  /* ======= TITULAÇÃO MELHORADA ======= */
  .section-title {
    color: #2d2b55;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
  }

  .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
  }

  /* ======= BOTÕES MELHORADOS ======= */
  .btn-gradient {
    background: white;
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    color: transparent;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 8px;
  }

  .btn-gradient:hover {
    background: var(--gradient-primary);
    color: white;
    -webkit-text-fill-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
  }

  .btn-filled {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .btn-filled:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
  }

  /* ======= PRODUTOS MELHORADOS ======= */
  /* A arte cadastrada é 225x335: o card guarda essa proporção em vez de
     altura fixa. Antes, no mobile o card encolhia para 170px mas a imagem
     continuava com 335px — e aparecia cortada. */
  .card-product {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 225 / 335;
    max-width: 225px;
    margin: 0 auto 1.5rem auto;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .card-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
  }

  .card-product:hover img {
    transform: scale(1.08);
  }

  .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    /* Remover espaço extra */
    min-height: unset;
  }

  .card-product:hover .card-overlay {
    transform: translateY(0);
  }

  .product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .product-category {
    font-size: 0.85rem;
    opacity: 0.9;
  }

  /* ======= HERO (Banner Limpo) ======= */
  .hero-section {
    position: relative;
    width: 100%;
    color: white;
    overflow: hidden;
    margin-bottom: 3rem;
  }

  .hero-slide {
    position: relative;
  }

  /* A altura vem só da imagem, como nas demais páginas */
  .hero-media {
    width: 100%;
    height: clamp(420px, 62vh, 700px);
    object-fit: cover;
    display: block;
  }

  /* Sem banner cadastrado entra um bloco de degradê no lugar da imagem;
     como ele não tem altura própria, guarda a proporção da arte. */
  div.hero-media {
    height: auto;
    aspect-ratio: 3 / 1;
    min-height: 220px;
  }

  /* Véu só atrás do texto, no lado esquerdo: some em 62% da largura e deixa
     a arte limpa do meio para a direita (mesmo padrão da home). Antes era um
     degradê 135° sobre o banner inteiro, que apagava as cores e os rostos. */
  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(9, 14, 30, 0.42) 0%, rgba(9, 14, 30, 0.26) 22%, rgba(9, 14, 30, 0.08) 42%, rgba(9, 14, 30, 0) 62%);
    pointer-events: none;
  }

  .hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
  }

  .hero-caption {
    width: min(100%, 800px);
    text-align: left;
    padding: 0 1.5rem 0 0;
  }

  .hero-title {
    font-size: clamp(1.6rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }

  .hero-description {
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    max-width: 600px;
  }

  /* ======= BREADCRUMB MELHORADO ======= */
  .breadcrumb {
    background: transparent;
    padding: 1.5rem 0;
  }

  .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .breadcrumb-item a:hover {
    color: var(--secondary-color);
  }

  /* ===== NEWSLETTER (RD Station) =====
     O formulário é gerado pelo script do RD; aqui só sobrescrevemos a
     aparência para ele ficar no mesmo padrão do resto da página. */
  .newsletter-section {
      padding: 4.5rem 1rem 5.5rem;
      background: #fff;
      overflow: hidden;
  }

  .newsletter-section .container {
      max-width: 1060px;
      padding-left: 1rem;
      padding-right: 1rem;
  }

  .newsletter-section .newsletter-rd-wrapper {
      /* sem cartão nem sombra: o bloco flui no branco da página */
      background: transparent;
      padding: 0;
      width: 100%;
      box-sizing: border-box;
  }

  .newsletter-rd-wrapper [role="main"],
  .newsletter-rd-wrapper form,
  .newsletter-rd-wrapper > div {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box;
  }

  /* Tipografia própria do RD trocada pela do site */
  .newsletter-rd-wrapper,
  .newsletter-rd-wrapper * {
      font-family: 'Poppins', sans-serif !important;
  }

  /* Título e apoio formam uma frase só, como no modelo — por isso
     os dois têm o mesmo corpo e o h1 não abre parágrafo. */
  .newsletter-rd-wrapper h1,
  .newsletter-rd-wrapper h4 {
      font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important;
      font-weight: 500 !important;
      line-height: 1.3 !important;
      letter-spacing: -0.02em;
      color: var(--dark) !important;
  }

  .newsletter-rd-wrapper h1 {
      margin: 0 !important;
  }

  /* O RD grava cor/fonte/tamanho direto no elemento (style inline),
     por isso o título vinha verde e em Raleway. */
  .newsletter-rd-wrapper h1 strong,
  .newsletter-rd-wrapper h1 span,
  .newsletter-rd-wrapper h1 b {
      color: var(--dark) !important;
      font-size: inherit !important;
      font-family: inherit !important;
      font-weight: inherit !important;
  }

  .newsletter-rd-wrapper h4 span,
  .newsletter-rd-wrapper h4 strong {
      color: var(--dark) !important;
      font-size: inherit !important;
      font-family: inherit !important;
      font-weight: inherit !important;
  }

  /* o RD justifica os textos do formulário, o que abre buracos entre as palavras */
  .newsletter-rd-wrapper .bricks-form__label,
  .newsletter-rd-wrapper .bricks-form__static,
  .newsletter-rd-wrapper .bricks-form__label *,
  .newsletter-rd-wrapper .bricks-form__static * {
      text-align: left !important;
  }

  /* imagem maior, acompanhando a coluna */
  .newsletter-rd-wrapper img {
      width: 100% !important;
      height: auto !important;
  }

  /* Retorno do envio na própria página, no lugar do alerta do navegador */
  .newsletter-feedback {
      margin: 0.6rem 0 0;
      font-size: 0.9rem;
      font-weight: 500;
      line-height: 1.5;
      color: #1a7f37;
  }

  .newsletter-feedback.is-erro {
      color: #c02b2b;
  }

  .newsletter-rd-wrapper h4 {
      margin: 0 0 2.25rem !important;
  }

  .newsletter-rd-wrapper img {
      border-radius: var(--border-radius-lg) !important;
  }

  /* Campo de e-mail e botão lado a lado, como no modelo */
  .newsletter-rd-wrapper form {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0.85rem 0.75rem;
      align-items: start;
  }

  .newsletter-rd-wrapper .bricks-form__fieldset {
      display: contents;
  }

  .newsletter-rd-wrapper .bricks-form__field {
      grid-column: 1;
      margin: 0 !important;
  }

  .newsletter-rd-wrapper .bricks-form__submit {
      grid-column: 2;
      grid-row: 1;
      margin: 0 !important;
      padding: 0 !important; /* o RD adiciona um respiro que desalinha o botão do campo */
  }

  .newsletter-rd-wrapper .bricks-form__privacy {
      grid-column: 1 / -1;
      margin-top: 1.35rem !important;
  }

  .newsletter-rd-wrapper .bricks-form__terms {
      grid-column: 1 / -1;
      margin-top: 0.9rem !important;
  }

  /* caixa de seleção do consentimento */
  .newsletter-rd-wrapper .bricks-form__privacy input[type="checkbox"] {
      width: 17px;
      height: 17px;
      margin-right: 0.6rem;
      accent-color: #6e00ff;
  }

  .newsletter-rd-wrapper .bricks-form__privacy .bricks-form__label {
      display: flex;
      align-items: flex-start;
      gap: 0.15rem;
  }

  .newsletter-rd-wrapper .bricks-form__label,
  .newsletter-rd-wrapper .bricks-form__label * {
      font-size: 0.88rem !important;
      font-weight: 400 !important;
      line-height: 1.65 !important;
      color: #5b6576 !important;
  }

  .newsletter-rd-wrapper .bricks-form__input {
      height: 50px !important;
      box-sizing: border-box !important;
      padding: 0 1rem !important;
      border: 1px solid rgba(15, 23, 42, 0.16) !important;
      border-radius: 10px !important;
      background: #fff !important;
      font-size: 0.98rem !important;
      color: var(--dark) !important;
  }

  .newsletter-rd-wrapper .bricks-form__input:focus {
      border-color: var(--primary) !important;
      box-shadow: 0 0 0 3px rgba(0, 85, 184, 0.12) !important;
      outline: none !important;
  }

  .newsletter-rd-wrapper .bricks-form__static,
  .newsletter-rd-wrapper .bricks-form__static * {
      font-size: 0.82rem !important;
      line-height: 1.65 !important;
      color: #7a8596 !important;
  }

  .newsletter-rd-wrapper .rd-button {
      width: auto !important;
      margin: 0 !important; /* o RD empurra o botão 15px para baixo */
      min-width: 130px !important;
      height: 50px;
      padding: 0 1.6rem !important;
      border: 1px solid rgba(110, 0, 255, 0.3) !important;
      border-radius: 10px !important;
      background: #fff !important;
      font-size: 0.95rem !important;
      font-weight: 600 !important;
      color: #4b1aff !important;
      box-shadow: none !important;
      transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .newsletter-rd-wrapper .rd-button:hover {
      background: rgba(110, 0, 255, 0.05) !important;
      border-color: #6e00ff !important;
  }


  /* ======= FOOTER MELHORADO ======= */
  .footer {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
  }

  .footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer a:hover {
    color: white;
    text-decoration: none;
  }

  .social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin-right: 10px;
    transition: all 0.3s ease;
  }

  .social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
  }

  .footer h6 {
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: white;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
  }

  /* ======= ANIMAÇÕES SUAVES ======= */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in-up {
    animation: fadeInUp 0.6s ease-out;
  }

  /* ======= RESPONSIVIDADE ======= */
  @media (max-width: 768px) {
    /* Banner empilhado: a arte aparece inteira (sem corte) e o texto vem
       logo abaixo, num painel que puxa a cor da própria peça. */
    .hero-section {
      margin-bottom: 2rem;
    }

    .hero-media {
      height: auto;
    }

    .hero-overlay {
      display: none;
    }

    .hero-content {
      position: static;
      display: block;
      padding: 2.5rem 0 2rem;
      background-color: #1a1d29;
      background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0, var(--hero-caption-veil, rgba(0, 0, 0, 0)) 34px),
        var(--hero-caption-art, none);
    }

    .hero-caption {
      width: 100%;
      text-align: left;
      padding: 0;
    }

    /* O .row do Bootstrap tem margem negativa e comia o respiro lateral
       do container — o texto encostava na borda da tela. */
    .hero-content {
      padding-left: 1rem;
      padding-right: 1rem;
    }

    .hero-content .row {
      margin-left: 0;
      margin-right: 0;
    }

    .hero-content [class*="col-"] {
      padding-left: 0;
      padding-right: 0;
    }

    .hero-title,
    .hero-description {
      text-shadow: none;
    }

    .hero-title {
      font-size: 1.55rem;
      margin-bottom: 0.65rem;
    }

    .hero-description {
      font-size: 0.95rem;
    }
    
    .section-title {
      font-size: 1.6rem;
      padding-left: 1rem;
    }
    
    .section-title::before {
      height: 40px;
    }
    
    .card-product {
      margin-bottom: 1rem;
    }
    
    .newsletter-section {
      padding: 3rem 1rem;
      border-radius: 15px;
    }
    
    .newsletter-title {
      font-size: 1.6rem;
    }
  }

  @media (max-width: 576px) {
    .hero-title {
      font-size: 1.4rem;
    }
    
    .section-title {
      font-size: 1.4rem;
    }
  }
  
  /* No celular o campo e o botão empilham. Fica no fim da folha porque
     precisa vencer a grade de duas colunas declarada acima. */
  @media (max-width: 767.98px) {
    .newsletter-rd-wrapper form { grid-template-columns: 1fr; }
    .newsletter-rd-wrapper .bricks-form__submit { grid-column: 1; grid-row: auto; }
    .newsletter-rd-wrapper .rd-button { width: 100% !important; }
  }
