/* =========================================================
   RASPOU GANHOU — STYLES (organizado por seções)
   Arquivo: assets/css/styles.css
========================================================= */

/* ===== 0) VARIÁVEIS & BASE ===== */
:root{
  --bg:#f6f7f8;
  --section-white:#ffffff;
  --section-gray:#f3f4f6;

  --card: rgba(255,255,255,.92);
  --border: rgba(0,0,0,.10);
  --img-border: rgba(0,0,0,.10);

  --text:#111;
  --muted:#6b7280;

  --brand:#490dbd;
  --brand-2:#5d20de;

  --green:#25D366;

  --sticky-h: 0px; /* calculado via JS quando o sticky aparece */
}

body{
  background: var(--bg);
  color: var(--text);
}


.site-header{
  background: #fff;
}

.site-main{
  background: #fff;
}

.site-footer{
  background: #fff;
}

/* Texto padrão do site */
p, li, span, small, .rg-text{ color: var(--text); }

h1, h2, h3, h4, h5{ color: var(--text); }


.rg-text{ color: var(--text); }
.rg-muted{ color: var(--muted); }
.rg-bd{ border-color: var(--border) !important; }
.rg-img-border{ border-color: var(--img-border) !important; }
.glass{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}


/* Âncoras não ficam escondidas (considera sticky + header) */
section{ scroll-margin-top: calc(90px + var(--sticky-h)); }

/* Título padrão das seções */
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 14px;
}


/* ===== TOPBAR ===== */
#rgTopbar.rg-topbar{
  background: #51ff00;
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  padding: 8px 0;
}

/* Texto (esquerda no desktop) */
#rgTopbar .rg-topbar-text{
  color:#000000;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}


/* ===== 2) HEADER (V1) ===== */
.rg-header-1{
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.10);
  padding: 9px 0; /* +20% (de 14px) */
  color: #111;
}

/* Ajustes de cor dentro do header branco */
.rg-header-1 .rg-muted{ color: rgba(17,17,17,.65); }
.rg-header-1 .nav-link-custom{ color:#111; opacity:.9; }
.rg-header-1 .nav-link-custom:hover{ opacity:1; text-decoration:underline; }

/* Marca “RG” (quadradinho) */
.brand-mark{
  width: 50px; height: 50px; /* +20% (de 42px) */
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(73, 13, 189, .18);
  border: 1px solid rgba(73, 13, 189, .35);
  color: #fff;
  font-weight: 900;
  letter-spacing: .5px;
  user-select:none;
}


/* ===== 3) BOTÕES ===== */
.btn-brand{
  background: var(--brand);
  border-color: var(--brand);
  color:#fff;
  font-weight: 900;
  box-shadow: 0 0 0 .18rem rgba(73,13,189,.20);
}
.btn-brand:hover{
  background: var(--brand-2);
  border-color: var(--brand-2);
  color:#fff;
}

.btn-whats{
  background: var(--green);
  border-color: var(--green);
  color:#0b0b0b;
  font-weight: 900;
}
.btn-whats:hover{
  background:#1fb85a;
  border-color:#1fb85a;
  color:#0b0b0b;
}

/* ===== MENU MOBILE (HAMBURGER) ===== */
.rg-btn-menu{
  border: 1px solid rgba(0,0,0,.25);
  background: transparent;
  color: #111;
  font-weight: 900;
  border-radius: 12px;
  padding: .35rem .6rem;
  line-height: 1;
}
.rg-btn-menu:hover{
  background: rgba(0,0,0,.06);
}

/* botão no sticky (fundo laranja) */
.rg-sticky .rg-btn-menu{
  border-color: rgba(255,255,255,.55);
  color:#fff;
}
.rg-sticky .rg-btn-menu:hover{
  background: rgba(255,255,255,.12);
}

/* links do offcanvas */
.rg-off-link{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #111;
  font-weight: 800;
  background: #f2f3f5;
}
.rg-off-link:hover{
  background: rgba(255,171,0,.18);
}

.badge-soft{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(73, 13, 189, .18);
  border: 1px solid rgba(73, 13, 189, .35);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.rg-badge-brand{
  background: rgba(73,13,189,.22);
  border:1px solid rgba(73,13,189,.45);
  color:#fff;
}


/* ===== 4) STICKY HEADER (V2) ===== */
.rg-sticky{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;

  background: #ff6f01;
  border-bottom: 1px solid rgba(0,0,0,.12);

  /* escondido por padrão */
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .18s ease, opacity .18s ease;
}

/* sticky ativo */
.rg-sticky.is-on{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* quando sticky aparece, empurra o body pra baixo */
body.has-sticky{ padding-top: var(--sticky-h); }

/* visual estilo “header-main” */
.header-main{ padding: 9px 0; } /* igual ao rgHeader1 */
.header-row{ align-items:center; }

/* links dentro do sticky */
.rg-sticky .nav-link-custom{
  color:#fff;
  opacity:.95;
}
.rg-sticky .nav-link-custom:hover{
  opacity:1;
  text-decoration:underline;
}

/* logos (normal / sticky) */
.site-logo,
.sticky-logo{
  height: 53px; /* +20% (de 44px) */
  width: auto;
  display: block;
}
.sticky-logo{ display:none; }

/* quando sticky está ON, troca a logo */
body.has-sticky .site-logo{ display:none; }
body.has-sticky .sticky-logo{ display:block; height: 46px; } /* +20% (de 38px) */


/* ===== 5) KITS ===== */
.kit-price{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.kit-note{
  color: var(--muted);
  font-size: 13px;
}
.rg-list{ color: var(--text); }
.rg-highlight{ border-color: rgba(73,13,189,.45); }


/* ===== 6) SCRATCH (CANVAS) ===== */
.scratch-area{
  position:relative;
  width:100%;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#000;
  user-select:none;
  -webkit-user-select:none;
}
.scratch-base{
  display:block;
  width:100%;
  height:auto;
}
.scratch-canvas{
  position:absolute;
  z-index:10;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  cursor:crosshair;
  border-radius:10px;
}
.legend{
  font-size:13px;
  color: var(--muted);
}


/* ===== 7) ACCORDION ===== */
.rg-acc-bd{
  border-color: rgba(255,255,255,.14) !important;
}


/* ===== 8) FOOTER ===== */
footer{
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* FIX Header V1: logo + menu + botão sempre alinhados */
#rgHeader1 .site-logo{
  height: 52px;
  width: 52px;         /* logo quadrado */
  object-fit: contain;
  display: block;
}

#rgHeader1 nav{
  white-space: nowrap;
}
/* ===== Ajuste de contraste FAQ (seções claras) ===== */
#faq .accordion-button{
  color: #111 !important;
}
#faq .accordion-button::after{
  filter: none;
}
#faq .accordion-body{
  color: #111;
}

/* ===== 10) STICKY (MOBILE): WhatsApp central + menu à direita ===== */
@media (max-width: 767px){
  body.has-sticky .rg-sticky .rg-sticky-actions{
    position: relative;
    justify-content: flex-end;
    min-height: 52px;
  }
  body.has-sticky .rg-sticky .rg-sticky-actions .btn-whats{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  body.has-sticky .rg-sticky .rg-sticky-actions .rg-btn-menu{
    margin-left: auto;
  }
}


/* ===== BANDS (fundo por seção) ===== */
.rg-band--white{ background: var(--section-white); }
.rg-band--gray{ background: var(--section-gray); }

.rg-section{ padding: 56px 0; position: relative; }

.rg-hero-eyebrow {
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa0a6;
  line-height: 1.25;
  font-weight: 600;
  text-align: center; 

  position: relative;
  display: inline-block;
  padding: 12px 0;
}

/* linha superior */
.rg-hero-eyebrow::before,
.rg-hero-eyebrow::after {
  content: "";
  display: block;
  width: 200px;
  height: 2px;
  background: #51ff00;
  margin: 10px auto;
}


/* ===== 11) BENEFÍCIOS: FUNDO COM IMAGEM ===== */
.rg-bg-beneficios{
  position: relative;
  background-image: url("../img/bg-beneficios.jpg"); /* troque o arquivo aqui */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay para manter leitura (ajuste a opacidade se quiser) */
.rg-bg-beneficios::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.82);
  pointer-events: none;
}

/* garante que o conteúdo fique acima do overlay */
.rg-bg-beneficios > .container{
  position: relative;
  z-index: 1;
}

/* ===== 12) GARANTIA ===== */
.rg-guarantee-title{
  letter-spacing: .02em;
}

.rg-guarantee-badge{
  max-width: 280px;
}

.rg-btn-outline-dark{
  border: 2px solid #111;
  color: #111;
  background: transparent;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
}
.rg-btn-outline-dark:hover{
  background: #111;
  color: #fff;
}


/* ===== FAQ (visual) ===== */
#faq .accordion-item{
  background: #f2f3f5 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}
#faq .accordion-button{
  background: transparent !important;
  color: #111;
  font-weight: 700;
  padding: 16px 18px;
}
#faq .accordion-button:hover{
  background: rgba(255,171,0,.10) !important;
}
#faq .accordion-button:not(.collapsed){
  background: #ffffff !important;
  box-shadow: none;
}
#faq .accordion-body{
  background: #ffffff !important;
  color: rgba(17,17,17,.85);
  padding: 16px 18px 18px;
}


/* ===== COMPLEMENTO (cards com imagem) ===== */
.rg-media-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.rg-media-card__img{
  background: rgba(0,0,0,.04);
  border-bottom: 1px solid var(--border);
}
.rg-media-card__img img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.rg-media-card__body{ padding: 14px 14px 16px; }
