:root {
    --dark: #12161f;
    --dark-2: #1a1f2e;
    --dark-3: #222839;
    --dark-4: #2a3044;
    --gold: #b8965a;
    --gold-lt: #d4aa6e;
    --text: #ddd8ce;
    --muted: #8a8375;
    --white: #f4f1eb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Faustina', serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ── UTILS ── */
.eyebrow {
    font-size: 1.2rem;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
}

.sec-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
}

.sec-title em {
    font-style: italic;
    color: var(--gold);
}

.gold-bar {
    width: 56px;
    height: 1px;
    background: var(--gold);
    margin: 1.4rem 0;
}

.gold-bar.center {
    margin-left: auto;
    margin-right: auto;
}

.section-pad {
    padding: 7rem 0;
}

/* ── BUTTONS ── */
.btn-cs,
.btn-cs-outline {
    display: inline-block;
    font-family: 'Faustina', serif;
    font-size: 1.2rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: .9rem 2.6rem;
    transition: all .4s ease;
    cursor: pointer;
    border: none;
}

.btn-cs {
    background: var(--gold);
    color: var(--dark);
}

.btn-cs:hover {
    background: var(--gold-lt);
    color: var(--dark);
}

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

.btn-cs-outline:hover {
    background: var(--gold);
    color: var(--dark);
}

/* ── NAVBAR ── */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: .8rem 0;
    background: rgba(18, 22, 31, .97);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .4);
    transition: padding .4s ease;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* usa o comportamento do bootstrap, sem forçar wrap */
#mainNav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    max-width: calc(100% - 64px);
    overflow: hidden;
    margin-right: 0;
    flex: 0 1 auto;
}

.navbar-brand img {
    height: 36px;
    width: auto;
    flex-shrink: 0;
    transition: height .35s ease;
}

.navbar-brand span {
    font-size: clamp(0.95rem, 3.2vw, 1.25rem);
    color: var(--text);
    transition: color .3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#mainNav.scrolled {
    padding: .5rem 0;
}

#mainNav.scrolled .navbar-brand img {
    height: 30px;
}

.navbar-toggler {
    padding: .4rem .6rem;
    border-color: rgba(184, 150, 90, .3);
    flex-shrink: 0;
    margin-left: auto;
}

.nav-link {
    font-size: 1rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text) !important;
    padding: .5rem 1.1rem !important;
    transition: color .3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    transform: none;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .3s ease;
}

.nav-link:hover,
.nav-link.active-link {
    color: var(--gold) !important;
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28184,150,90,.8%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 575.98px) {
    .navbar-brand {
        max-width: calc(100% - 56px);
    }

    .navbar-brand span {
        font-size: .95rem;
        letter-spacing: .08em;
    }
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    background: linear-gradient(150deg, #0d1120 0%, #18203a 45%, #1c1608 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 150, 90, .07) 0%, transparent 68%);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 150, 90, .04) 0%, transparent 68%);
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.hero-eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.6rem;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 8vw, 6.4rem);
    font-weight: 300;
    line-height: 1.03;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.hero-title span {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--muted);
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: 2.8rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: var(--muted);
    font-size: 1.2rem;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: sline 2.2s ease-in-out infinite;
}

@keyframes sline {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 1;
    }

    49% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    50% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 1;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* ── SOBRE ── */
#sobre {
    background: var(--dark-2);
}

.sobre-text {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--muted);
}

.sobre-text strong {
    color: var(--text);
    font-weight: 500;
}

.stat-item {
    border-left: 1px solid var(--gold);
    padding-left: 1.6rem;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    color: var(--gold);
    line-height: 1;
}

.stat-lbl {
    font-size: 1.2rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: .25rem;
}

/* ── QUOTE ── */
#citacao {
    background: linear-gradient(150deg, #0d1020 0%, #1a1608 100%);
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
}

#citacao::before {
    content: '"\2019';
    position: absolute;
    top: -3rem;
    left: 4%;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22rem;
    line-height: 1;
    color: rgba(184, 150, 90, .04);
    pointer-events: none;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    font-style: italic;
    font-weight: 300;
    color: var(--white);
    line-height: 1.5;
}

.quote-author {
    font-size: 1.2rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── ÁREAS ── */
#areas {
    background: var(--dark);
}

.area-card {
    background: var(--dark-2);
    border: 1px solid rgba(184, 150, 90, .08);
    padding: 2.4rem 2rem;
    height: 100%;
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.area-card:hover {
    transform: translateY(-7px);
    border-color: rgba(184, 150, 90, .38);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(184, 150, 90, .12);
}

.area-icon {
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 1.4rem;
}

.area-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: .7rem;
}

.area-desc {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ── EQUIPE ── */
#equipe {
    background: var(--dark-2);
}

.team-card {
    background: var(--dark-3);
    border: 1px solid rgba(184, 150, 90, .07);
    overflow: hidden;
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.team-card:hover {
    transform: translateY(-9px);
    border-color: rgba(184, 150, 90, .32);
    box-shadow: 0 28px 72px rgba(0, 0, 0, .5);
}

.team-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--dark);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(25%);
    transition: filter .5s ease, transform .5s ease;
}

.team-card:hover .team-photo img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--dark-2), var(--dark-4));
}

.team-photo-placeholder span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 300;
    color: var(--gold);
    opacity: .4;
}

.team-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    /* background: linear-gradient(to top, rgba(12, 16, 28, .9), transparent); */
}

.team-body {
    padding: 1.4rem 1.6rem;
    border-top: 1px solid rgba(184, 150, 90, .09);
}

.team-role {
    font-size: 1.2rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .25rem;
}

.team-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.28rem;
    color: var(--white);
    margin-bottom: .4rem;
}

.team-oab {
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: .06em;
}

/* ── LOCALIZAÇÃO ── */
#localizacao {
    background: var(--dark);
}

.loc-card {
    background: var(--dark-2);
    border: 1px solid rgba(184, 150, 90, .09);
    padding: 2.2rem 2rem;
    transition: border-color .35s ease;
}

.loc-card:hover {
    border-color: rgba(184, 150, 90, .28);
}

.loc-label {

    font-size: 1.2rem;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .3rem;
}

.loc-text {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.65;
}

.loc-text a {
    color: var(--text);
    transition: color .3s;
}

.loc-text a:hover {
    color: var(--gold);
}

.map-wrap {
    border: 1px solid rgba(184, 150, 90, .13);
    overflow: hidden;
    filter: grayscale(45%) contrast(1.1) brightness(.95);
    transition: filter .4s ease;
    position: relative;
    width: 100%;
    padding-bottom: 66.66%;
    height: 0;
}

.map-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-wrap:hover {
    filter: grayscale(0%) contrast(1) brightness(1);
}

/* ── CONTATO ── */
#contato {
    background: var(--dark-2);
}

.contact-card {
    background: var(--dark-3);
    border: 1px solid rgba(184, 150, 90, .09);
    padding: 2.8rem 2.4rem;
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 150, 90, .35);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .4);
}

.contact-card-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.4rem;
}

.contact-card-label {
    font-size: 1.2rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}

.contact-card-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--white);
    line-height: 1.4;
}

.contact-card-value a {
    color: var(--white);
    transition: color .3s;
}

.contact-card-value a:hover {
    color: var(--gold);
}

.contact-card-hint {
    font-size: 1.2rem;
    color: var(--muted);
    margin-top: .5rem;
    line-height: 1.5;
}

/* ── FOOTER ── */
footer {
    background: var(--dark);
    border-top: 1px solid rgba(184, 150, 90, .09);
    padding: 3.5rem 0 2rem;
}

.footer-logo {
    height: 64px;
}

.footer-txt {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.6;
}

.footer-link {
    font-size: 1.2rem;
    color: var(--muted);
    transition: color .3s;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 1.2rem;
    letter-spacing: .08em;
    color: var(--muted);
    line-height: 1.4;
}

.soc-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(184, 150, 90, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 1.2rem;
    transition: all .3s ease;
}

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

.footer-hr {
    border-color: rgba(184, 150, 90, .08);
    margin: 2rem 0 1.5rem;
}

/* ── WHATSAPP FLUTUANTE ── */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 22px rgba(37, 211, 102, .4);
    transition: transform .3s ease, box-shadow .3s ease;
}

.wa-float:hover {
    transform: scale(1.12);
    color: #fff;
    box-shadow: 0 6px 30px rgba(37, 211, 102, .55);
}

/* pulse ring */
.wa-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, .35);
    animation: wapulse 2.4s ease-out infinite;
}

@keyframes wapulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    70% {
        transform: scale(1.7);
        opacity: 0;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

/* ── RESPONSIVE ── */
@media (max-width:768px) {
    .section-pad {
        padding: 5rem 0;
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 4.5rem);
    }
}


/* 🔥 trava qualquer overflow horizontal */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 🔥 impede elementos de crescer além da tela */
* {
    box-sizing: border-box;
    min-width: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.section,
footer {
    padding: 110px 20px;
    max-width: 100%;
}

@media (min-width: 1200px) {

    .section,
    footer {
        padding: 110px 80px;
    }
}

.container {
    width: 100%;
    padding: 0 15px;
}