/* RAZGO | Soluções Digitais 
   Estilo Global e Responsividade
*/

:root {
    --primary: #00ff88;
    --primary-hover: #00cc6e;
    --bg: #0a0a0c;
    --card-bg: #16161a;
    --text: #ffffff;
    --text-dim: #a0a0a8;
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e Configurações Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Barra de Navegação */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--nav-height);
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    cursor: pointer;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Botão Orçamento na Nav */
.btn-zap {
    background: var(--primary);
    color: #000 !important;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition) !important;
}

.btn-zap:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

/* Menu Mobile Toggle */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

/* Overlay do Menu Mobile */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 998;
    backdrop-filter: blur(4px);
}

.overlay.active {
    display: block;
}

/* Hero Section */
.hero {
    padding: calc(var(--nav-height) + 100px) 5% 100px;
    text-align: center;
    background: radial-gradient(circle at top center, #1a1a2e 0%, #0a0a0c 80%);
}

.badge {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin: 1.5rem 0;
    font-weight: 800;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-dim);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Container Principal e Seções */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-header h2 i {
    color: var(--primary);
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
    border-left: 3px solid var(--primary);
    padding-left: 15px;
}

/* Grid de Portfólio (Configurado para os 96 cards) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Estilização dos Cards */
.card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card.special {
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.img-box {
    height: 200px;
    background: #1e1e24;
    overflow: hidden;
    position: relative;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.card:hover .img-box img {
    opacity: 1;
    transform: scale(1.08);
}

.info {
    padding: 1.8rem;
}

.info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.info p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulse-zap 2s infinite;
}

.whatsapp-float i {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* Tooltip do Zap */
.tooltip-zap {
    position: absolute;
    right: 80px;
    background-color: var(--card-bg);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.whatsapp-float:hover .tooltip-zap {
    opacity: 1;
    visibility: visible;
}

/* Footer */
/* Rodapé com texto branco e destaque verde */
.footer {
  padding: 60px 5%;
  text-align: center;
  background: #050507; /* Fundo escuro para destacar o branco */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff; /* Todo o texto do footer fica branco */
}

.footer strong {
  color: #ffffff; /* Garante que o 'RAZ' seja branco */
}

.footer p {
  color: #ffffff; /* Garante que o telefone e cidade sejam brancos */
  margin-top: 10px;
  opacity: 0.9; /* Deixa o texto levemente mais suave, mas ainda branco */
}

.footer span {
  color: #00ff88; /* Mantém apenas o 'GO' em verde */
  font-weight: 800;
}

/* Keyframes Animações */
@keyframes pulse-zap {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg);
        flex-direction: column;
        padding: 3rem 1.5rem;
        transition: 0.4s ease-in-out;
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.3rem;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .hero {
        padding-top: 150px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr; /* Um card por linha no celular */
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .tooltip-zap {
        display: none; /* Remove o balão de texto no mobile para não poluir */
    }
}