/* Global Styles */
:root {
    --primary-orange: #FF4D00;
    --bg-dark: #050505;
    --bg-card: #0F0F0F;
    --bg-card-hover: #161616;
    --text-white: #FFFFFF;
    --text-gray: #A3A3A3;
    --font-main: 'Outfit', sans-serif;
    --border-color: #262626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-orange {
    color: var(--primary-orange);
}

.text-center {
    text-align: center;
}

/* Typography Utilities */
.small-caps {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    padding: 100px 0 60px;
    background: #000000;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.top-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--text-gray);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.main-title {
    font-size: 5rem;
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    /* Ensure tags wrap on small screens */
}

.tag {
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-gray);
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    border-color: var(--primary-orange);
    color: var(--text-white);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.image-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 0;
    /* Blend edges into the background */
    mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    /* Slight brightness adjustment to match dark theme if needed, but keeping it mostly natural */
    filter: brightness(0.95);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.4) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

/* About & Services Section */
.about-services {
    padding: 100px 0;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.section-label {
    display: block;
    color: var(--primary-orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
}

.text-body {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 1rem;
}

.quote-box {
    background: var(--bg-card);
    border-left: 3px solid var(--primary-orange);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-white);
    font-weight: 500;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

.icon-box {
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Philosophy Section */
.philosophy-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #080808);
}

.quote-headline {
    font-size: 2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.3;
}

.orange-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.philosophy-sub {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 60px;
}

.metrics-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    background: linear-gradient(135deg, #111 0%, #0A0A0A 100%);
    border: 1px solid var(--border-color);
    border-top: 1px solid #333;
    padding: 60px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(255, 77, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-size: 3rem;
    max-width: 600px;
    margin: 15px 0 20px;
    line-height: 1.1;
}

.cta-text {
    color: var(--text-gray);
    max-width: 500px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background: #FF6A29;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 77, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #444;
    color: white;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.main-footer {
    padding: 60px 0 30px;
    border-top: 1px solid #1a1a1a;
    background-color: #050505;
    /* Base unified styles */
    font-size: 0.75rem;
    color: #666;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.5;
    /* Inherit base styles */
    font-size: inherit;
    color: inherit;
}

.footer-disclaimer p {
    margin-bottom: 10px;
}

.footer-divider {
    height: 1px;
    width: 100%;
    max-width: 200px;
    background: #222;
    margin: 30px auto;
}

.footer-info {
    /* Inherit base styles */
    font-size: inherit;
    color: inherit;
}

.copyright-line,
.cnpj-line {
    font-weight: 400;
    margin-bottom: 5px;
    /* Force gray color */
    color: inherit;
}

.company-details {
    margin-top: 20px;
    margin-bottom: 25px;
    line-height: 1.6;
    /* Force gray color */
    color: inherit;
    font-size: inherit;
}

.company-details a {
    /* Email link should also be gray per 'entire text' request, except legal ones */
    color: inherit;
    text-decoration: none;
}

.mt-4 {
    margin-top: 20px;
}

.legal-links a {
    /* These are the ONLY orange links */
    color: var(--primary-orange);
    text-decoration: none;
    font-size: inherit;
    transition: opacity 0.2s;
}

.legal-links a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 960px) {
    .main-title {
        font-size: 3.5rem;
    }

    .hero-container {
        /* Text on top, Image on bottom for mobile */
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-tags {
        justify-content: center;
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }


    .footer-legal {
        text-align: center;
    }
}

/* Extra Mobile Adjustments */
@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
        /* Smaller title for phones */
    }

    .hero-sub {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .quote-headline {
        font-size: 1.5rem;
    }

    .metrics-row {
        gap: 40px;
        /* Reduce gap between metrics */
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}

/* Legal Pages Styles */
.legal-header {
    padding: 30px 0;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 60px;
}

.legal-content {
    max-width: 800px;
    /* Readability */
    margin: 0 auto;
    padding-bottom: 100px;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--primary-orange);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.legal-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
    color: var(--text-gray);
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.effective-date {
    margin-top: 40px;
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
}

.back-link {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}