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

:root {
    --obsidian: #111111;
    --obsidian2: #1a1a1a;
    --obsidian3: #222222;
    --gold: #C5A44C;
    --petrol: #173F5F;
    --ivory: #F5F4F0;
    --ivory-dim: rgba(245, 244, 240, 0.6);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--obsidian);
    color: var(--ivory);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 600; }

/* Nav */
nav {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(12px);
    z-index: 100;
    padding: 1.4rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(197, 164, 76, 0.15);
}

.nav-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--ivory);
}

.nav-mark { margin-right: 0.5rem; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav ul { list-style: none; display: flex; gap: 2.5rem; }

nav a {
    text-decoration: none;
    color: var(--ivory-dim);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: color 0.3s;
}
nav a:hover { color: var(--gold); }

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(197, 164, 76, 0.3);
    overflow: hidden;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--ivory-dim);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    transition: all 0.25s;
}

.lang-btn.active {
    background: var(--gold);
    color: var(--obsidian);
}

.lang-btn:not(.active):hover {
    color: var(--gold);
}

.lang-sep {
    width: 1px;
    height: 1.2rem;
    background: rgba(197, 164, 76, 0.3);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 6%;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(197, 164, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 164, 76, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(197,164,76,0.07) 0%, transparent 65%);
    top: -150px; right: -150px;
    pointer-events: none;
    animation: drift 25s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(23,63,95,0.25) 0%, transparent 70%);
    bottom: 50px; left: 10%;
    pointer-events: none;
    animation: drift 18s ease-in-out infinite reverse;
}

@keyframes drift {
    0%,100% { transform: translate(0,0); }
    33%      { transform: translate(25px,-25px); }
    66%      { transform: translate(-15px,20px); }
}

.hero-content {
    max-width: 750px;
    z-index: 1;
    animation: fadeUp 1s ease-out both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.8rem;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    color: var(--ivory);
    margin-bottom: 2rem;
}

.hero h1 span { color: var(--gold); }

.hero-tagline {
    font-size: 1.15rem;
    color: var(--ivory-dim);
    font-weight: 300;
    max-width: 560px;
    margin-bottom: 1.8rem;
    border-left: 2px solid var(--gold);
    padding-left: 1.2rem;
}

.hero-bio {
    font-size: 1rem;
    color: var(--ivory-dim);
    font-weight: 300;
    max-width: 500px;
    margin-bottom: 3rem;
}

.cta-row { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--gold);
    color: var(--obsidian);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-ghost {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border: 1px solid rgba(197,164,76,0.4);
    color: var(--ivory);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(197,164,76,0.3), transparent);
    margin: 0 6%;
}

/* Services */
.services { padding: 8rem 6%; }

.section-label {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.section-label::before { content: "\25A0 "; }

.services h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ivory);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.05rem;
    color: var(--ivory-dim);
    font-weight: 300;
    max-width: 520px;
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5px;
    background: rgba(197,164,76,0.12);
}

.service-card {
    background: var(--obsidian2);
    padding: 3rem 2.5rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.service-card:hover { background: var(--obsidian3); }

.service-card.featured {
    border: 1px solid rgba(197, 164, 76, 0.35);
    background: linear-gradient(165deg, rgba(197, 164, 76, 0.06) 0%, var(--obsidian2) 60%);
    position: relative;
}

.service-card.featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold), rgba(197, 164, 76, 0.2));
}

.service-card.featured::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(rgba(197, 164, 76, 0.12) 1px, transparent 1px);
    background-size: 8px 8px;
    pointer-events: none;
}

.service-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--ivory);
    margin-bottom: 0.8rem;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--ivory-dim);
    font-weight: 300;
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
    font-size: 0.78rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(197,164,76,0.25);
    color: var(--gold);
    letter-spacing: 0.04em;
}

/* Approach */
.approach { padding: 8rem 6%; }

.approach h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ivory);
    margin-bottom: 1rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.approach-step {
    position: relative;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(197, 164, 76, 0.1);
    border-top: 2px solid rgba(197, 164, 76, 0.15);
    background: var(--obsidian2);
    transition: border-color 0.3s;
}

.approach-step:hover {
    border-color: rgba(197, 164, 76, 0.3);
}

.approach-num {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 200;
    color: rgba(197, 164, 76, 0.22);
    line-height: 1;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
}

.approach-step h3 {
    font-size: 1.4rem;
    color: var(--ivory);
    margin-bottom: 0.8rem;
}

.approach-step p {
    font-size: 0.95rem;
    color: var(--ivory-dim);
    font-weight: 300;
    line-height: 1.8;
}

/* Contact */
.contact {
    padding: 8rem 6%;
    text-align: center;
}

.contact h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    color: var(--ivory);
}

.contact p {
    font-size: 1.05rem;
    color: var(--ivory-dim);
    font-weight: 300;
    max-width: 480px;
    margin: 0 auto 3rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(197,164,76,0.12);
    padding: 2.5rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--ivory);
}

footer p {
    font-size: 0.85rem;
    color: var(--ivory-dim);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    z-index: 200;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.modal-overlay.active { display: flex; }

.modal {
    background: var(--obsidian2);
    border: 1px solid rgba(197,164,76,0.2);
    max-width: 520px;
    width: 100%;
    padding: 3rem 2.5rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1.2rem;
    background: none;
    border: 1px solid rgba(197,164,76,0.3);
    color: var(--ivory-dim);
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); }

.modal h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--ivory);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--ivory-dim);
    font-weight: 300;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--obsidian);
    border: 1px solid rgba(197,164,76,0.25);
    color: var(--ivory);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--ivory-dim);
    opacity: 0.5;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C5A44C' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: var(--obsidian);
    color: var(--ivory);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    width: 100%;
    padding: 0.9rem 2.5rem;
    background: var(--gold);
    color: var(--obsidian);
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}
.btn-submit:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-status {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 400;
    min-height: 1.2rem;
}
.form-status.success { color: #5cb85c; }
.form-status.error { color: #d9534f; }

/* Transitions */
[data-en], [data-pt] { transition: opacity 0.2s; }

/* Responsive */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero { padding: 9rem 6% 5rem; min-height: auto; }
    .services-grid { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    footer { flex-direction: column; text-align: center; }
    .modal { padding: 2rem 1.5rem; }
}
