/* ─── ESTILO COMPARTILHADO PARA PÁGINAS LEGAIS ─── */

:root {
    --navy: #153A5B;
    --navy-dark: #0F2D47;
    --gold: #B08D57;
    --gold-dark: #95743E;
    --gold-light: #C4A26A;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 3px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ─── SKIP LINK & PROGRESS BAR ─── */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 300;
    background: var(--gold);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 16px;
}

.progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to right, var(--gold), var(--gold-dark));
    z-index: 300;
    transition: width 0.1s linear;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--navy);
    color: #fff;
    border: 1px solid var(--navy);
}
.btn-primary:hover {
    background-color: var(--navy-dark);
    border-color: var(--navy-dark);
}

.btn-gold {
    background-color: var(--gold);
    color: #fff;
    border: 1px solid var(--gold);
}
.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
}
.btn-outline:hover {
    background-color: var(--navy);
    color: #fff;
}

/* ─── HEADER & NAVIGATION ─── */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h2 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--navy);
    letter-spacing: 1px;
}

.logo span {
    display: block;
    font-size: 0.6rem;
    font-family: var(--font-body);
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul a {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

nav ul a:hover {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cta {
    padding: 10px 20px;
    font-size: 0.72rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--navy);
    margin: 5px 0;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

/* ─── LEGAL PAGE CONTENT WRAPPER ─── */
.legal-banner {
    background-color: var(--navy);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.legal-banner h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.legal-banner p {
    font-size: 0.85rem;
    color: #b0c4de;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.legal-content-wrap {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.legal-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }
}

.legal-body {
    max-width: 850px;
}

.legal-body p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.legal-body h2 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--navy);
    margin-top: 40px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eef1f4;
    padding-bottom: 8px;
}

.legal-body h3 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--gold-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-body ul, .legal-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-body ul li {
    list-style-type: disc;
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.legal-body ol li {
    list-style-type: decimal;
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.legal-body strong {
    color: var(--navy-dark);
}

.legal-highlight-box {
    background: var(--bg-light);
    border-left: 4px solid var(--gold);
    padding: 20px 24px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.legal-highlight-box p {
    margin-bottom: 0;
    font-size: 0.92rem;
    color: var(--text-dark);
    font-style: italic;
}

/* ─── SIDEBAR / SUMÁRIO ─── */
.legal-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
    background-color: var(--bg-light);
    border: 1px solid #eef1f4;
    border-radius: 8px;
    padding: 24px;
}

.legal-sidebar h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--gold-light);
    padding-bottom: 6px;
}

.legal-sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-sidebar ul a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.4;
}

.legal-sidebar ul a:hover {
    color: var(--gold);
    padding-left: 4px;
}

/* ─── FOOTER ─── */
footer {
    background-color: var(--navy-dark);
    color: #fff;
    padding: 70px 0 30px;
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-logo span {
    display: block;
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #b0c4de;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 0.9rem;
}

.footer-socials a:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: #b0c4de;
    font-size: 0.8rem;
}

.footer-col ul a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: #b0c4de;
    font-size: 0.8rem;
}

.contact-info i {
    color: var(--gold);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #8fa4bc;
    font-size: 0.72rem;
}

/* ─── FLOATING WHATSAPP ─── */
.float-whatsapp {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
    z-index: 998;
    transition: all 0.3s;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.float-whatsapp i {
    font-size: 1.6rem;
}

/* ─── RESPONSIVE MEDIA QUERIES ─── */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .header-actions {
        position: static;
    }

    nav {
        position: fixed;
        top: 0; right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        z-index: 1000;
        transition: right 0.3s ease;
        display: block;
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 18px;
    }

    nav ul a {
        font-size: 0.9rem;
    }

    .nav-overlay.open {
        display: block;
    }

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