:root {
    --navy: #0A1625;
    --gold: #9C7B2F;
    --green: #006600;
    --text-dark: #E5E7EB;
    --text-light: #1F2937;
    --menu-light: #374151;
}

[data-theme="dark"] {
    --text: var(--text-dark);
}

[data-theme="light"] {
    --text: var(--text-light);
    --navy: #F8F7F4;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--navy);
    color: var(--text);
    line-height: 1.6;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10,22,37,0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(201,162,39,0.2);
}

[data-theme="light"] header {
    background: rgba(248,247,244,0.98);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-header img {
    height: 68px;
    transition: transform 0.3s;
}

.logo-header:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 35px;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
}

[data-theme="light"] .main-nav a {
    color: var(--menu-light);
}

.main-nav a:hover { color: var(--gold); }

/* CONTROLES */
.header-utils {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-select {
    background: rgba(255,255,255,0.08);
    color: var(--gold);
    border: 1px solid rgba(201,162,39,0.3);
    padding: 9px 14px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
}

/* HOME */
.home-page {
    padding-top: 110px;
    min-height: 100vh;
}

.greeting-section {
    text-align: center;
    min-height: 55vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.greeting-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,22,37,0.75), rgba(10,22,37,0.85));
    z-index: 1;
}

[data-theme="light"] .greeting-section::before {
    background: linear-gradient(to bottom, rgba(248,247,244,0.75), rgba(248,247,244,0.85));
}

.greeting-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

#dynamic-greeting {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.65rem;
    margin-bottom: 40px;
    color: var(--text);   /* Mesma cor do menu */
}

/* CAIXAS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 120px;
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10,22,37,0.95));
    padding: 40px 25px 30px;
    text-align: center;
}

.service-card h3 {
    color: var(--gold);
    font-size: 1.55rem;
    margin-bottom: 8px;
}

.btn-gold {
    background: var(--gold);
    color: #0A1625;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--green);
}