@charset "UTF-8";

/**
 * Style.css - codigo73.com.br
 * @version 2.0.0 - Master Consolidado + Bugfix de Links (Z-Index/Pointer)
 */

:root {
    --c73-destaque: #C22121;       
    --c73-bg-1: #212121;           
    --c73-bg-boxes: #02121C;       
    --c73-font-dark: #121212;      
    --c73-font-muted: #737373;     
    --c73-btn-confirm: #07373C;    
    --c73-btn-cancel: #732121;     
    --c73-font-main: #CDCDCD;      
    --c73-font-highlight: #FFFFFF; 
    
    --grad-primary: linear-gradient(135deg, var(--c73-destaque) 0%, #ff4d4d 100%);
    --grad-border: linear-gradient(135deg, rgba(194, 33, 33, 0.8), transparent 50%, rgba(7, 55, 60, 0.8));

    --font-main: 'Montserrat', sans-serif;
}

/* ========================================== */
/* RESET E BASE                               */
/* ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--c73-bg-1);
    color: var(--c73-font-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

.text-muted { color: var(--c73-font-muted); }

/* ========================================== */
/* HERO SECTION COM VÍDEO                     */
/* ========================================== */
.hero-section {
    position: relative; 
    padding: 100px 5% 120px;
    min-height: 85vh; 
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden; 
    background-color: #000; 
}

.hero-bg-video {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    object-fit: cover; 
    transform: translate(-50%, -50%); 
    z-index: 1; 
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2; 
}

.hero-content {
    position: relative;
    z-index: 3; 
    display: flex; flex-direction: column; justify-content: center;
}

.hero-logo {
    width: 250px; /* Tamanho fixado como combinado */
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
    align-self: flex-start; 
}

.hero-title {
    font-size: 4.5rem; line-height: 1.05; margin-bottom: 25px;
    text-transform: uppercase; letter-spacing: -2px;
}

/* ========================================== */
/* SESSÃO DE SERVIÇOS (FUNDO DARK PREMIUM)    */
/* ========================================== */
.section-dark {
    background: linear-gradient(180deg, #050505 0%, var(--c73-bg-1) 100%);
    position: relative;
    z-index: 4; 
    width: 100%;
    padding: 120px 5%;
    overflow: hidden; 
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.section-dark::after {
    content: '';
    position: absolute;
    width: 70vw; height: 70vw;
    max-width: 900px; max-height: 900px;
    background: radial-gradient(circle, rgba(194, 33, 33, 0.12) 0%, transparent 60%);
    top: 10%; left: -10%;
    border-radius: 50%;
    z-index: 0;
    animation: floatDarkBlob1 25s ease-in-out infinite alternate;
    pointer-events: none;
    mix-blend-mode: screen; 
}

.content-grid::before {
    content: '';
    position: absolute;
    width: 60vw; height: 60vw;
    max-width: 700px; max-height: 700px;
    background: radial-gradient(circle, rgba(2, 18, 28, 0.6) 0%, transparent 70%);
    bottom: -10%; right: -10%;
    border-radius: 50%;
    z-index: -1;
    animation: floatDarkBlob2 20s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}

@keyframes floatDarkBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30vw, 20vh) scale(1.2); }
    100% { transform: translate(60vw, 0) scale(0.9); }
}
@keyframes floatDarkBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20vw, -15vh) scale(1.1); }
    100% { transform: translate(-40vw, 10vh) scale(1); }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
    position: relative;
    z-index: 1; 
}
.section-header .section-title {
    font-size: 3.5rem;
    color: var(--c73-font-highlight); 
    text-transform: uppercase;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.section-header .section-subtitle {
    color: var(--c73-font-main); 
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 400;
}

/* ========================================== */
/* GRID E CARDS DE SERVIÇOS (3x2 Desktop)     */
/* ========================================== */
.content-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    max-width: 1500px; 
    margin: 0 auto; 
    position: relative;
    z-index: 1; 
}

.card-box {
    position: relative;
    background: var(--c73-bg-boxes); 
    padding: 50px 40px; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* CORREÇÃO APLICADA: pointer-events: none para o clique passar pelo vidro */
.card-box::before {
    content: ""; position: absolute; inset: 0;
    border-radius: 12px; padding: 2px;
    background: var(--grad-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    transition: all 0.5s ease;
    z-index: 2;
    pointer-events: none; 
}

.card-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02); 
    line-height: 1;
    z-index: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.5s ease;
    pointer-events: none; 
}

/* CORREÇÃO APLICADA: z-index: 3 para puxar o texto e link pra frente da borda */
.card-content {
    position: relative;
    z-index: 3; 
}

.card-box h3 { 
    font-size: 1.6rem; 
    color: var(--c73-font-highlight); 
    margin-bottom: 20px; 
}

.card-box .text-muted { 
    color: #A0A0A0; 
    font-size: 0.95rem; 
    line-height: 1.7;
}

.card-action {
    margin-top: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--c73-destaque);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

/* Hover dos Cards */
.card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.card-box:hover::before {
    background: var(--grad-primary);
}
.card-box:hover .card-number {
    transform: scale(1.1) rotate(-5deg);
    color: rgba(255, 255, 255, 0.05); 
}
.card-box:hover .card-action {
    gap: 15px; 
    color: #ff4d4d;
}

/* ========================================== */
/* BOTÕES E FOOTER                            */
/* ========================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 35px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.5px; border: none; border-radius: 50px;
    cursor: pointer; position: relative; overflow: hidden;
    text-decoration: none; color: var(--c73-font-highlight);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary { background: var(--grad-primary); box-shadow: 0 8px 25px rgba(194, 33, 33, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(194, 33, 33, 0.5); }

.footer-main {
    background: linear-gradient(0deg, #0d0d0d 0%, var(--c73-bg-1) 100%);
    padding: 60px 5% 40px; text-align: center;
    border-top: 1px solid rgba(194, 33, 33, 0.1);
}

/* ========================================== */
/* RESPONSIVIDADE (MOBILE & TABLETS)          */
/* ========================================== */
@media screen and (max-width: 1100px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    .hero-section {
        padding-top: 150px;
        min-height: 90vh; 
    }
    .hero-logo {
        width: 70%; 
        max-width: 70%; 
    }
    .hero-title {
        font-size: 2.8rem; 
    }
    .section-header .section-title {
        font-size: 2.5rem;
    }
}