/* ===================================
   BLUEPRINT AAA: INFOGRÁFICOS TÉCNICOS
   Estilo desenho técnico de engenharia
   =================================== */

/* ===================================
   1. GRID ISOMÉTRICO (BACKGROUND)
   =================================== */

.blueprint-section {
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
}

/* Grid principal (60px) */
.blueprint-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(200, 162, 79, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 162, 79, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

/* Grid secundário (20px - mais denso) */
.blueprint-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(200, 162, 79, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 162, 79, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* ===================================
   2. CARDS BLUEPRINT (MÉTRICAS)
   =================================== */

.blueprint-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(200, 162, 79, 0.08), 
        rgba(0, 0, 0, 0.6));
    border: 1px solid rgba(200, 162, 79, 0.4);
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blueprint-card:hover {
    border-color: rgba(200, 162, 79, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(200, 162, 79, 0.15);
}

/* Grid interno do card (mais fino) */
.blueprint-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(200, 162, 79, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 162, 79, 0.06) 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.3;
    pointer-events: none;
}

/* Cantos técnicos (estilo blueprint) */
.blueprint-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 2px solid rgba(200, 162, 79, 0.5);
    border-left: 2px solid rgba(200, 162, 79, 0.5);
}

/* ===================================
   3. NÚMEROS BLUEPRINT (GRANDES)
   =================================== */

.blueprint-number {
    position: relative;
    font-family: var(--font-display);
    font-size: 5rem; /* Antes: 4.5rem */
    color: var(--premium-gold);
    font-weight: 300;
    line-height: 1;
    margin: 2rem 0;
    letter-spacing: -0.04em;
    z-index: 1;
}

/* Linha decorativa sob o número (estilo régua) */
.blueprint-number::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 162, 79, 0.6) 20%, 
        rgba(200, 162, 79, 0.6) 80%, 
        transparent 100%);
}

/* Marcações de escala (como régua) */
.blueprint-number::before {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 8px;
    background-image: 
        repeating-linear-gradient(90deg,
            rgba(200, 162, 79, 0.3) 0px,
            rgba(200, 162, 79, 0.3) 1px,
            transparent 1px,
            transparent 10px);
}

/* ===================================
   4. ANOTAÇÕES TÉCNICAS
   =================================== */

.blueprint-annotation {
    position: relative;
    display: inline-block;
    font-size: 0.75rem;
    color: rgba(200, 162, 79, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

/* Seta de anotação (estilo desenho técnico) */
.blueprint-annotation::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: rgba(200, 162, 79, 0.6);
}

.blueprint-annotation::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 1px;
    background: rgba(200, 162, 79, 0.6);
}

/* ===================================
   5. LINHAS DE COTAÇÃO (DIMENSION LINES)
   =================================== */

.blueprint-dimension {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px dashed rgba(200, 162, 79, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

/* Setas nas extremidades */
.blueprint-dimension::before,
.blueprint-dimension::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(200, 162, 79, 0.6);
    border-bottom: 2px solid rgba(200, 162, 79, 0.6);
}

.blueprint-dimension::before {
    left: -4px;
    transform: translateY(-50%) rotate(135deg);
}

.blueprint-dimension::after {
    right: -4px;
    transform: translateY(-50%) rotate(-45deg);
}

/* ===================================
   6. SELO TÉCNICO (STAMP)
   =================================== */

.blueprint-stamp {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(200, 162, 79, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: rgba(200, 162, 79, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.2;
    transform: rotate(-15deg);
    opacity: 0.7;
}

.blueprint-stamp::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border: 1px dashed rgba(200, 162, 79, 0.4);
    border-radius: 50%;
}

/* ===================================
   7. TABELA TÉCNICA (SPECS TABLE)
   =================================== */

.blueprint-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}

.blueprint-table th {
    background: rgba(200, 162, 79, 0.1);
    border: 1px solid rgba(200, 162, 79, 0.3);
    padding: 1rem;
    text-align: left;
    color: var(--premium-gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.blueprint-table td {
    border: 1px solid rgba(200, 162, 79, 0.2);
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.blueprint-table tr:hover {
    background: rgba(200, 162, 79, 0.05);
}

/* ===================================
   8. ÍCONES BLUEPRINT (LINE ART)
   =================================== */

.blueprint-icon {
    font-size: 3rem;
    color: rgba(200, 162, 79, 0.7);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(200, 162, 79, 0.3));
}

/* ===================================
   9. RESPONSIVE (MOBILE)
   =================================== */

@media (max-width: 768px) {
    .blueprint-number {
        font-size: 3.5rem;
    }
    
    .blueprint-stamp {
        width: 60px;
        height: 60px;
        font-size: 0.55rem;
    }
    
    .blueprint-card {
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   10. ANIMAÇÕES BLUEPRINT
   =================================== */

@keyframes drawLine {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.blueprint-card:hover .blueprint-annotation::before {
    animation: drawLine 0.4s ease forwards;
}

/* Pulse suave no hover (como se o blueprint "respirasse") */
@keyframes blueprintPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
}

.blueprint-section::before {
    animation: blueprintPulse 3s ease-in-out infinite;
}
