/* Custom styles */
html {
    scroll-padding-top: 6.5rem;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: #fdfdfd;
    color: #252525;
}
header > h1,
header > a {
    flex-shrink: 0;
    white-space: nowrap;
}
.text-blue-custom {
    color: #a5804f;
}
.bg-blue-custom {
    background-color: #a5804f;
}
.hover\:bg-blue-custom-dark:hover {
    background-color: #8e6d44; /* Um tom um pouco mais escuro para o hover */
}
.border-blue-custom {
    border-color: #a5804f;
}
.nav-link {
    position: relative;
    transition: color 0.3s;
}
.nav-link.active, .nav-link:hover {
    color: #a5804f;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #a5804f;
    transition: width 0.3s;
}
.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}
.section-line {
    border-left: 1px solid #e0e0e0;
}
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    transition: border-color 0.3s;
}
.form-input:focus {
    outline: none;
    border-color: #a5804f;
}
.carousel-container {
    position: relative;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-item {
    min-width: 50%;
    flex-shrink: 0;
}
.testimonial-item {
     min-width: 100%;
     flex-shrink: 0;
     transition: opacity 0.5s ease-in-out, visibility 0.5s;
}
.testimonial-item.hidden {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

/* Marcas do portfólio */
.portfolio-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 11rem;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 10px 26px rgba(37, 37, 37, .06);
}
.portfolio-logo-card img {
    display: block;
    width: 100%;
    max-width: 18rem;
    max-height: 8rem;
    object-fit: contain;
}
.portfolio-logo-card-color {
    padding: 0;
}
.portfolio-logo-card-color img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}
.portfolio-logo-card-trovao {
    background: #1b2666;
    border-color: #1b2666;
}
.portfolio-logo-card-sentir {
    background: #0956b0;
    border-color: #0956b0;
}
.portfolio-logo-card-dark {
    background: #171717;
    border-color: #2b2b2b;
}
.portfolio-photo-grid > div {
    height: 11rem;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 10px 26px rgba(37, 37, 37, .06);
}
.portfolio-photo-grid img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
}
.portfolio-photo-grid .portfolio-photo-special img {
    object-fit: contain;
}
.portfolio-photo-rodeio {
    background: #000 !important;
}
.portfolio-photo-pastel {
    background: #303b70 !important;
}

/* Consultoria Financeira */
.finance-panel {
    padding: 2rem;
    border: 1px solid #ece6dd;
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at 92% 10%, rgba(165, 128, 79, .10), transparent 28%),
        #faf9f7;
    box-shadow: 0 14px 34px rgba(37, 37, 37, .05);
}
.finance-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: .5rem .85rem;
    border: 1px solid rgba(165, 128, 79, .32);
    border-radius: 999px;
    color: #a5804f;
    background: rgba(165, 128, 79, .08);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
}
.finance-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    padding: 1.25rem;
    border: 1px solid #e7e1d8;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 8px 22px rgba(37, 37, 37, .04);
}
.finance-item > i {
    display: grid;
    place-items: center;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .75rem;
    color: #a5804f;
    background: rgba(165, 128, 79, .10);
}
.finance-item h3,
.finance-item h4 {
    margin-bottom: .35rem;
    color: #252525;
    font-weight: 700;
}
.finance-item p {
    color: #4b5563;
    font-size: .9rem;
    line-height: 1.6;
}

/* Missão, Visão e Valores */
.purpose-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    color: #252525;
    background:
        radial-gradient(circle at 88% 12%, rgba(165, 128, 79, .10), transparent 28%),
        radial-gradient(circle at 8% 92%, rgba(165, 128, 79, .06), transparent 24%),
        #faf9f7;
    border: 1px solid #ece6dd;
    box-shadow: 0 18px 42px rgba(37, 37, 37, .07);
}
.purpose-eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(165, 128, 79, .32);
    background: rgba(165, 128, 79, .08);
    color: #a5804f;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    padding: .55rem .9rem;
}
.purpose-main-card {
    height: 100%;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e7e1d8;
    background: #fff;
    box-shadow: 0 10px 28px rgba(37, 37, 37, .05);
}
.purpose-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    border-radius: .85rem;
    color: #a5804f;
    background: rgba(165, 128, 79, .10);
    border: 1px solid rgba(165, 128, 79, .18);
    font-size: 1.15rem;
}
.value-card {
    height: 100%;
    padding: 1.2rem;
    border-radius: .9rem;
    border: 1px solid #e7e1d8;
    background: #fff;
    box-shadow: 0 8px 22px rgba(37, 37, 37, .04);
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.value-card:hover {
    transform: translateY(-3px);
    border-color: rgba(165, 128, 79, .38);
    background: #fdfbf8;
}
.value-card i {
    color: #a5804f;
}
@media (max-width: 1024px) {
    .carousel-item {
        min-width: 100%;
    }
}
@media (max-width: 768px) {
    .section-line {
        border-left: none;
    }
    .purpose-main-card {
        padding: 1.5rem;
    }
    .finance-panel {
        padding: 1.5rem;
    }
}

/* Cookies, privacidade e conteúdo externo opcional */
.privacy-consent-banner {
    position: fixed;
    z-index: 100;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.25rem;
    border: 1px solid #e5ded3;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 50px rgba(31, 41, 55, .22);
    color: #252525;
}
.privacy-consent-banner[hidden] {
    display: none;
}
.privacy-consent-copy {
    max-width: 680px;
}
.privacy-consent-copy strong {
    display: block;
    margin-bottom: .35rem;
    font-size: 1rem;
}
.privacy-consent-copy p {
    margin: 0;
    color: #5f6470;
    font-size: .88rem;
    line-height: 1.55;
}
.privacy-consent-copy a,
.privacy-preferences-link {
    color: #8d6634;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.privacy-consent-actions {
    display: flex;
    flex: 0 0 auto;
    gap: .65rem;
}
.privacy-button {
    min-height: 42px;
    padding: .7rem 1rem;
    border: 1px solid #a5804f;
    border-radius: 999px;
    font-size: .83rem;
    font-weight: 700;
    cursor: pointer;
}
.privacy-button-primary {
    background: #a5804f;
    color: #fff;
}
.privacy-button-secondary {
    background: #fff;
    color: #7a582f;
}
.privacy-button:hover,
.privacy-button:focus-visible {
    outline: 2px solid rgba(165, 128, 79, .28);
    outline-offset: 2px;
}
.privacy-preferences-link {
    border: 0;
    background: transparent;
    cursor: pointer;
}
html:not(.external-media-allowed) .instagram-media {
    display: none !important;
}
.instagram-consent-placeholder {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 2rem;
    border: 1px solid #e5ded3;
    border-radius: 1rem;
    background: #faf9f7;
    color: #374151;
    text-align: center;
}
.instagram-consent-placeholder i {
    color: #a5804f;
    font-size: 2rem;
}
.instagram-consent-placeholder p {
    margin: 0;
    color: #6b7280;
    font-size: .9rem;
}
.instagram-consent-placeholder button {
    padding: .65rem 1rem;
    border: 1px solid #a5804f;
    border-radius: 999px;
    background: #a5804f;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}
@media (max-width: 760px) {
    .privacy-consent-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }
    .privacy-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}
