/*
Theme Name: Astra Child - NR Arquitetura
Theme URI: https://nrarq.com
Description: Child theme para NR Arquitetura com design system unificado
Author: NR Arquitetura
Author URI: https://nrarq.com
Template: astra
Version: 1.0.0
Text Domain: astra-child
Domain Path: /languages
*/

/* IMPORT PARENT THEME */
@import url('../astra/style.css');

/* GOOGLE FONTS - PRIMEIRA COISA */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ============================================
   DESIGN SYSTEM CORES E TIPOGRAFIA
   ============================================ */

:root {
    --nra-primary: #0f172a !important;
    --nra-accent: #38bdf8 !important;
    --nra-text: #1a1a1a !important;
    --nra-text-light: #555555 !important;
    --nra-bg: #f8fafc !important;
    --nra-border: #e2e8f0 !important;
    --nra-radius: 12px !important;
    --font-heading: 'Outfit', sans-serif !important;
    --font-body: 'Inter', sans-serif !important;
}

/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif !important;
    background: #f8fafc !important;
    color: #1a1a1a !important;
    line-height: 1.7 !important;
    font-size: 16px !important;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

h1 { font-size: 2.5rem !important; margin-bottom: 20px !important; }
h2 { font-size: 2rem !important; margin-bottom: 15px !important; }
h3 { font-size: 1.75rem !important; margin-bottom: 12px !important; }
h4 { font-size: 1.5rem !important; margin-bottom: 10px !important; }
h5 { font-size: 1.25rem !important; margin-bottom: 8px !important; }
h6 { font-size: 1rem !important; margin-bottom: 6px !important; }

/* LINKS */
a {
    color: #38bdf8 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

a:hover, a:focus {
    color: #0f172a !important;
    text-decoration: underline !important;
}

/* BUTTONS */
.button, .btn, button, input[type="button"], input[type="submit"] {
    background: #38bdf8 !important;
    color: white !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.button:hover, .btn:hover, button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: white !important;
}

/* FORMS */
input, textarea, select {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    color: #1a1a1a !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1) !important;
    outline: none !important;
}

/* HEADER */
.site-header {
    background: white !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
}

.site-title, .site-title a {
    font-family: 'Outfit', sans-serif !important;
    color: #0f172a !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* CARDS E CONTAINERS */
.card, .content-box, .elementor-widget {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.card:hover, .content-box:hover {
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.15) !important;
    border-color: #38bdf8 !important;
    transform: translateY(-4px) !important;
}

/* MENU */
.navigation a, .menu a {
    color: #1a1a1a !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.navigation a:hover, .menu a:hover {
    color: #38bdf8 !important;
}

/* FOOTER */
.site-footer {
    background: #0f172a !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.site-footer a:hover {
    color: #38bdf8 !important;
}

/* TEXTO SECUNDÁRIO */
.subtitle, .description, .meta {
    color: #555555 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
}

/* REMOVE OSWALD AND ROBOTO */
.elementor-heading-title,
.page-title,
.post-title {
    font-family: 'Outfit', sans-serif !important;
    text-transform: none !important;
}

/* ENSURE FONTS LOAD */
@supports (font-display: swap) {
    @font-face {
        font-family: 'Outfit';
        font-style: normal;
        font-weight: 400;
        font-display: swap;
    }
    @font-face {
        font-family: 'Inter';
        font-style: normal;
        font-weight: 400;
        font-display: swap;
    }
}

/* OVERRIDE ASTRA DEFAULTS */
.ast-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }
    body { font-size: 15px !important; }
}
