/* ═══════════════════════════════════════
   RESET & VARIABLES
═══════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #FAF3EC;
    --bg-secondary: #F3E6D9;
    --bg-card: #FFFFFF;
    --text-primary: #1C2B45;
    --text-secondary: #4B5A70;
    --text-muted: #8B95A6;
    --gold-start: #C8A683;
    --gold-end: #BC9975;
    --icon-bg: #EFE1D2;
    --border: rgba(28, 43, 69, 0.10);
    --border-hover: rgba(188, 153, 117, 0.35);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--gold-end);
    color: #fff;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 96px 0;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 243, 236, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 28px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.86rem;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-end);
    transition: width 0.3s var(--ease-out);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .nav-cta a {
    color: #fff;
    background: linear-gradient(180deg, var(--gold-start), var(--gold-end));
    padding: 10px 20px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-links .nav-cta a::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
    font-family: var(--font-body);
    font-size: 0.86rem;
    letter-spacing: 0.02em;
    padding: 14px 30px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: linear-gradient(180deg, var(--gold-start), var(--gold-end));
    color: #fff;
    font-weight: 500;
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(188, 153, 117, 0.35);
    transform: translateY(-1px);
}

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

.btn-ghost:hover {
    color: var(--gold-end);
    border-color: var(--gold-end);
}

/* ═══════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════ */
.section-label {
    font-family: var(--font-body);
    font-size: 0.74rem;
    color: var(--gold-end);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--gold-end);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 520px;
    line-height: 1.7;
    font-weight: 300;
}

.centered-header {
    text-align: center;
    margin-bottom: 56px;
}

.centered-header .section-label {
    justify-content: center;
}

.centered-header .section-label::before { display: none; }
.centered-header .section-label::after {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--gold-end);
}

.centered-header .section-desc {
    margin: 0 auto;
}

/* ═══════════════════════════════════════
   PAGE HERO (páginas internas)
═══════════════════════════════════════ */
.page-hero {
    padding: 150px 0 64px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
}

.page-hero .section-desc {
    max-width: 520px;
}

/* ═══════════════════════════════════════
   SERVICE CARD (compartilhado: home + servicos.html)
═══════════════════════════════════════ */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    flex: 0 1 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 36px 28px;
    transition: all 0.3s var(--ease-out);
}

.service-card:hover {
    border-color: var(--gold-end);
    transform: translateY(-3px);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--text-primary);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: all 0.7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
    padding: 56px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-grid > div {
    flex: 0 1 260px;
}

.footer-brand .logo {
    margin-bottom: 14px;
    justify-content: center;
}

.footer-brand p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
    font-weight: 300;
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.footer-col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-col-links a {
    font-size: 0.86rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col-links a:hover { color: var(--gold-end); }

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-text {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    list-style: none;
}

.footer-bottom-links a {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover { color: var(--gold-end); }

.footer-credit {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.footer-credit a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s ease, border-color 0.3s ease;
}

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

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .nav-links { gap: 20px; }
}

@media (max-width: 968px) {
    .service-card { flex-basis: 400px; }
}

@media (max-width: 640px) {
    section { padding: 72px 0; }

    .nav-links { display: none; }
    .menu-toggle { display: flex; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 243, 236, 0.97);
        backdrop-filter: blur(16px);
        padding: 22px;
        gap: 18px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links .nav-cta { margin-top: 6px; }

    .page-hero { padding: 130px 0 56px; }

    .service-card { flex: 1 1 100%; }

    .footer-grid { gap: 28px; }
}
