:root {
    --primary: #0a0a0a;
    --secondary: #1a1a1a;
    --gold: #d4af37;
    --gold-light: #f1d592;
    --gold-dark: #b8860b;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--primary);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Helpers */
.text-gradient {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Glassmorphism */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

/* Buttons */
.btn-primary, .btn-gold {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--primary);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 2.5rem; /* Aumentado conforme solicitado */
    color: var(--text-white);
    letter-spacing: 1px;
    font-weight: 800;
}

.logo-dot {
    font-size: 3rem;
    color: var(--gold);
    line-height: 0;
    margin-left: 2px;
}

.footer-info .logo-text {
    font-size: 2rem;
}

.btn-gold.block {
    display: block;
    width: 100%;
}

/* Header */
header {
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    height: 80px;
    border-bottom: 1px solid var(--glass-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    color: var(--text-white);
    text-decoration: none;
}

.logo-dot {
    color: var(--gold);
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover:not(.btn-primary) {
    color: var(--gold);
}

/* Hero Section */
#hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
}

.badge {
    background: var(--glass);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
    display: inline-block;
}

/* Simulator */
.simulator-card {
    padding: 2.5rem;
}

.simulator-card h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-gray);
}

input[type="range"] {
    width: 100%;
    accent-color: var(--gold);
    background: var(--glass);
    height: 5px;
    border-radius: 5px;
    -webkit-appearance: none;
    appearance: none;
}

.amount-display, .term-display {
    text-align: right;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: var(--gold);
}

.simulator-result {
    text-align: center;
    background: rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-align: center;
    margin-top: 1rem;
}

/* Partners */
#parceiros {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.partners-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.6;
}

.partners-grid span {
    font-weight: 600;
    font-size: 1rem;
}

/* Services */
#servicos {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-info {
    padding: 2rem;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.service-info p {
    color: var(--text-gray);
}

/* About */
#sobre {
    padding: 100px 0;
    background: var(--secondary);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--gold);
}

.about-img img {
    width: 100%;
    display: block;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-features {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-item .icon {
    width: 30px;
    height: 30px;
    background: var(--gold);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

/* Contact Form */
#contacto {
    padding: 100px 0;
}

.contact-card {
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-col {
    flex: 1;
}

.form-col label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

input, select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-white);
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

select option {
    background-color: var(--secondary);
    color: var(--text-white);
    padding: 10px;
}

/* Footer */
footer {
    padding-top: 100px;
    padding-bottom: 50px;
    background: var(--secondary);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

footer h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-contact p, .footer-legal p {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-legal a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.footer-legal a:hover {
    border-color: var(--gold);
}

.social-links a {
    color: var(--text-white);
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.small-text {
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
    }
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header {
        height: 80px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .logo-dot {
        font-size: 2.2rem;
    }

    nav a {
        margin-left: 0.8rem; /* Reduzido de 2rem para caber no mobile */
        font-size: 0.85rem;
    }

    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Ajustado para não quebrar tanto */
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Ajuste específico para ecrãs muito pequenos */
@media (max-width: 380px) {
    nav a:not(.btn-primary) {
        display: none; /* Esconder links secundários se o ecrã for minúsculo */
    }
}

.consultancy-box {
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--gold);
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 15px 15px 0;
}

.consultancy-box p {
    font-size: 1.1rem !important;
    color: var(--text-white) !important;
    font-weight: 500;
    margin-bottom: 0 !important;
}
