/* --- VARIÁVEIS DE CORES --- */
:root {
  --primary-color: #1a1a1a;
  --accent-color: #28a745;
  --bg-color: #ffffff;
  --text-color: #333333;
  --text-light: #ffffff;

  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-hover: rgba(0, 0, 0, 0.15);

  --spacing: 20px;
  --radius: 10px;
}

/* --- RESET BÁSICO --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
    background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}



.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* --- CABEÇALHO TRANSPARENTE --- */
.header {
    position: absolute;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 15px 0;
    z-index: 9999 !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
    height: 147px;
    max-width: 100%;
    width: auto;
    
    /* Aumenta a nitidez e o brilho */
    filter: brightness(1.25) contrast(1.3) drop-shadow(0 0 10px rgba(255,255,255,0.7));
    
    image-rendering: auto;
}

/* Mobile – destaque ainda maior */
@media (max-width: 480px) {
    .logo img {
        height: 220px !important;

        /* Nitidez mais forte no celular */
        filter: brightness(1.35) contrast(1.4) drop-shadow(0 0 12px rgba(255,255,255,0.9));
    }
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing);
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    color: var(--text-light);
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

@media (max-width: 768px) {
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu {
        display: flex;
        gap: 15px;  /* antes devia estar muito grande */
    }

    .menu a {
        font-size: 0.9rem; /* reduz fonte */
        padding: 6px;
    }

    .logo img {
        height: 180px !important; /* AUMENTO SEGURO */
    }
}

/* --- HERO FULLSCREEN --- */
.banner {
  background: linear-gradient(
      rgba(26, 26, 26, 0.7),
      rgba(26, 26, 26, 0.7)
    ),
    url('img/banner.webp');
  background-size: cover;
  background-position: center;
  height: 100vh; /* FULLSCREEN REAL */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 var(--spacing);
  position: relative;
  width: 100vw !important;   /* garante que não passe do tamanho da tela */
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .banner {
    background:
      linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)),
      url('img/banner-mobile.webp'); /* imagem para celular */
    background-size: cover;
    background-position: center;
  }
}

.hero h2 {
  font-size: 3.2rem;
  margin-bottom: 10px;
}


.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.btn-ghost {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 32px;
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  border-radius: 40px;  /* bem arredondado */
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s ease;
  position: relative;  /* impede sobreposição */
  z-index: 3; /* garante que fica acima do banner */
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  backdrop-filter: blur(2px);
}

/* --- SESSÃO SOBRE --- */
/* --- SESSÃO SOBRE --- */
.sobre-section {
    padding: 100px 0;
    /* Fundo base branco para garantir a clareza */
    background-color: #ffffff; 
    /* Adiciona um gradiente linear por cima, com a cor original em baixa opacidade */
    /* O gradiente vai de uma versão transparente da sua cor para outra */
    background-image: linear-gradient(to bottom, rgba(61, 144, 148, 0.15), rgba(61, 144, 148, 0.05)); 
    /* Ajuste os valores de 0.15 e 0.05 para controlar a intensidade do sombreamento.
       0.15 = 15% de opacidade
       0.05 = 5% de opacidade (mais sutil) */
}

/* Container que define a largura máxima e centraliza tudo */
.sobre-container-centered {
    max-width: 900px; /* Largura ideal para leitura */
    margin: 0 auto;
    padding: 0 20px;
    text-align: center; /* Centraliza todo o conteúdo */
}

.sobre-header-centered {
    margin-bottom: 40px;
}

/* Badge (igual, mas centralizado) */
.sobre-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.7px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Título */
.sobre-title {
    font-size: 3rem;
    font-weight: 800;
    color: #06103c;
    margin: 0;
    line-height: 1.2;
}

/* Texto Principal */
.sobre-text-main {
    font-size: 1.25rem; /* Um pouco maior para ser mais impactante */
    color: #343a40; /* Cor escura e forte */
    line-height: 1.7;
    margin: 25px auto 40px;
    max-width: 800px; /* O texto não deve ocupar 100% da largura do container */
}


/* Destaque Final Sutil */
.sobre-highlight-sutil {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--primary-color); 
    padding: 30px 0 0; /* Espaço em cima */
    border-top: 2px solid #e9ecef; /* Linha sutil para separar */
    max-width: 650px;
    margin: 0 auto;
}


/* --- SEÇÃO DE PRODUTOS --- */
.products-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  color: #06103c;
  font-size: 2.0rem;
}

.section-header p{
  text-align: center;
  margin-bottom: 40px;
  color: #06103c;
  font-size: 1.0rem;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border: 2px solid var(--primary-color);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.filter-btn:hover img,
.filter-btn.active img {
  filter: brightness(0) invert(1);
}

/* --- CATEGORY CARDS --- */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 40px 0 50px;
}

.category-card {
  position: relative;
  height: 180px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.category-card img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
  transition: brightness .3s;
}

.category-card:hover img {
  filter: brightness(40%);
}

.category-label {
  position: relative;
  background: rgba(0,0,0,0.55);
  padding: 10px 18px;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.4);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- GRID PRODUTOS --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--text-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  background-color: #eee;
}

.card-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-info h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.card-info p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.price {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.buy-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.3s;
}

.buy-btn:hover {
  background-color: var(--accent-color);
}

@media (max-width: 480px) {

  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .category-cards {
    grid-template-columns: 1fr !important;
  }

  .category-card {
    min-width: 0 !important;
  }
}


.razomarket-footer{
  background: #ffffff;
  color: var(--text);
  padding: 48px 20px 30px;
  border-top: 2px solid var(--line);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* topo com logo */
.rm-footer-top{
  max-width: var(--max-width);
  margin: 0 auto 28px;
  padding: 0 20px;
}
.rm-logo img{
  height: 100px;
  object-fit: contain;
  display: block;
}

/* grid principal */
.rm-footer-grid{
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 36px 20px;
  position: relative;
}

.rm-footer-grid .rm-col{
  padding: 0 28px;
  min-height: 160px;
}

/* LINHAS ENTRE AS COLUNAS - IGUAL DA IMAGEM */
.rm-footer-grid .rm-col:nth-child(2){
  border-left: 1px solid #d9dce1;
  border-right: 1px solid #d9dce1;
}

/* títulos */
.rm-col h5{
  font-size: 1rem;
  margin: 0 0 14px;
  letter-spacing: 0.6px;
  font-weight: 700;
}

/* textos */
.rm-col p,
.rm-col li{
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 8px;
}

.muted{
  color: var(--muted);
  font-size: 0.95rem;
}

/* listas sem bullets */
.rm-col ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.rm-col a{
  color: var(--text);
  text-decoration: none;
  transition: color .18s;
  font-size: 0.95rem;
}
.rm-col a:hover{
  color: var(--muted);
}

/* bottom */
.rm-footer-bottom{
  max-width: var(--max-width);
  margin: 34px auto 0;
  padding: 20px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.rm-footer-bottom p{
  margin:0;
  font-size:0.9rem;
  color:var(--text);
}
.rm-footer-bottom .small{
  font-size:0.85rem;
  margin-top:6px;
  color:var(--muted);
}

.avant-credit{
  display:inline-block;
  text-decoration:none;
  color:var(--text);
  font-weight:600;
  font-size:0.95rem;
  opacity:0.95;
}
.avant-credit:hover{
  color:#28a745;
}

/* MOBILE — remove as linhas */
@media (max-width:880px){
  .rm-footer-grid{
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .rm-footer-grid .rm-col{
    padding: 12px 0;
    border: none !important;
  }
  .rm-footer-bottom{
    flex-direction:column;
    gap:8px;
    align-items:flex-start;
  }
}


/* ====== Floating actions ====== */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 10px !important;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  overflow: hidden !important;
  /* Garante que nada ultrapasse os limites */
  white-space: nowrap;
  /* Evita que os elementos quebrem linha */
}


.floating-buttons a {
  width: 55px;
  height: 55px;
  background-color: #25D366;
  /* Verde do WhatsApp */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 50%;
  /* Isso faz os botões ficarem redondos */
  text-decoration: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-buttons a.instagram-btn {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  /* Gradiente do Instagram */
}

.floating-buttons a:hover {
  transform: scale(1.1);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}

.sobre-box,
.product-card,
.category-card {
  overflow: hidden;
}

/* ====== CORREÇÕES DE RESPONSIVIDADE (IMPEDIR SCROLL LATERAL) ====== */

/* Corrige o banner que estava forçando overflow */
.banner {
    width: 100% !important;
    max-width: 100% !important;
}

/* Impede qualquer elemento de passar de 100% */
*,
section,
div,
img {
    max-width: 100% !important;
}


/* Cards não podem ultrapassar a largura */
.product-card,
.category-card,
.filter-btn,
.filter-buttons,
.category-cards,
.product-grid {
    max-width: 100% !important;
}

/* Garante que o container nunca ultrapasse a tela */
.container {
    overflow-x: hidden !important;
}

/* Remove qualquer chance de scroll lateral */
html, body {
    width: 100% !important;
    overflow-x: hidden !important;
}

/* Forçar logo maior no mobile */
@media (max-width: 768px) {
    .logo img {
        height: 160px !important; /* aumenta bastante */
        width: auto !important;
        max-width: none !important; 
        transform: scale(1.25); /* aumenta visualmente */
        margin-left: 10px;
    }
}

/* Extra para MUITO destaque em celulares menores */
@media (max-width: 480px) {
    .logo img {
        height: 90px !important;
        transform: scale(1.45);
    }
}

/* ===================== */
/* MENU HAMBÚRGUER */
/* ===================== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #ffffff;
    border-radius: 4px;
    transition: 0.3s;
}

/* Estado ativo (X) */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MENU MOBILE */
nav {
    display: flex;
}

@media (max-width: 768px) {

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.90);
        backdrop-filter: blur(8px);
        transition: 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9998;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 25px;
        list-style: none;
    }

    nav ul li a {
        color: white;
        font-size: 1.4rem;
        text-decoration: none;
        font-weight: 600;
    }

    nav.open {
        right: 0;
    }

    /* Mostra o botão hambúrguer no mobile */
    .hamburger {
        display: flex;
    }

    /* Some com o menu horizontal antigo */
    .menu, nav ul li {
        display: block;
    }

    /* Aumenta a logo no mobile */
    .logo img {
        height: 120px !important;
    }
}

.footer-col a {
    color: inherit !important;
    text-decoration: none !important;
}

.footer-col a:visited {
    color: inherit !important;
}

.footer-col a:hover {
    color: inherit !important;
    text-decoration: underline;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0; /* cor suave, pode ajustar */
    margin-top: 8px;  /* distância abaixo da logo */
}

.rm-bottom-right {
    width: 100%;
    text-align: center;
    margin-top: 5px;
}


