.bg-offwhite{
    background-color: #F4F6E7;
}
.color-offwhite{
    color: #F4F6E7;
}
.bg-brown{
    background-color: #8D442B;
}
.color-brown{
    color: #8D442B;
}

.bg-blue{
    background-color: #4D6E74;
}

.color-blue{
    color: #4D6E74;
}

.color-white{
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

/* Botão marrom com comportamento de hover */
.btn.btn-brown {
    background: #8D442B; 
    border-color: #8D442B; 
    color: #fff;
}
.btn.btn-brown:hover, .btn.btn-brown:focus {
    background: transparent; 
    color: #8D442B;
}

/* Botão transparente branco com hover marrom */
.btn.btn-transparent-white:hover, .btn.btn-transparent-white:focus {
    background-color: #fff !important;
    color: #FFF !important;
    border-color: #8D442B !important;
}
/* Força hover correto no bloco marrom */
.bg-brown .btn.btn-transparent-white:hover,
.bg-brown .btn.btn-transparent-white:focus {
    color: #8D442B !important;
    border-color: #8D442B !important;
    background-color: white !important;
}

/* Botão azul com comportamento de hover */
.btn.btn-blue {
    background: #4D6E74; 
    border-color: #4D6E74; 
    color: #fff;
}
.btn.btn-blue:hover, .btn.btn-blue:focus {
    background: transparent; 
    color: #4D6E74;
}

/* Força hover correto no bloco azul */
.bg-blue .btn.btn-transparent-white:hover,
.bg-blue .btn.btn-transparent-white:focus {
    color: #4D6E74 !important;
    border-color: #4D6E74 !important;
    background-color: transparent !important;
}

/* Fallback para altura do parallax quando style.css estiver incompleto */
.one-fifth-screen {
    height: 900px;
}
@media (max-width: 991px) {
    .one-fifth-screen {
        height: 600px;
    }
}

/* Header marrom com textos brancos */
.header-brown {
    background-color: #8D442B !important;
    border-bottom: 0 !important;
}

.header-brown .navbar-nav > li > a {
    color: #ffffff !important;
}

.header-brown .navbar-nav > li > a:hover,
.header-brown .navbar-nav > li > a:focus {
    color: #F4F6E7 !important;
    opacity: 0.9;
}

.header-brown .header-social-icon a svg path {
    fill: #ffffff !important;
}

.header-brown .header-social-icon a:hover svg path,
.header-brown .header-social-icon a:focus svg path {
    fill: #F4F6E7 !important;
}

.header-brown .navbar-toggler .icon-bar {
    background-color: #ffffff !important;
}

/* Menu mobile do header marrom */
@media (max-width: 991px) {
    .header-brown .navbar-collapse {
        background-color: rgba(141, 68, 43, 0.98) !important;
    }
    
    .header-brown .navbar .navbar-nav > li > a {
        color: #ffffff !important;
    }
    
    .header-brown .navbar .navbar-nav > li > a:hover,
    .header-brown .navbar .navbar-nav > li > a:focus {
        color: #F4F6E7 !important;
        opacity: 0.9;
    }
    
    .header-brown #accordion.navbar-nav {
        background-color: rgba(141, 68, 43, 0.98) !important;
    }
    
    .header-brown #accordion.navbar-nav li a {
        color: #ffffff !important;
        background-color: transparent !important;
    }
    
    .header-brown #accordion.navbar-nav li a:hover,
    .header-brown #accordion.navbar-nav li a:focus {
        color: #F4F6E7 !important;
        opacity: 0.9;
        background-color: transparent !important;
    }
}

@media (min-width: 992px) {
    .big-text1 {
        font-size: 2.5rem;
        line-height: 2.7rem;
    }

    .big-text2 {
        font-size: 1.8rem;
        line-height: 2.0rem;
    }
}

/* Ícones SVG com cor controlável */
.icon-brown {
    color: #8D442B;
}

.icon-brown path {
    fill: currentColor;
}

.icon-blue {
    color: #4D6E74;
}

.icon-blue path {
    fill: currentColor;
}

/* Logo do rodapé responsiva */
.footer-logo-responsive {
    width: 180px;
    height: auto;
    max-width: 100%;
}

@media (min-width: 992px) {
    .footer-logo-responsive {
        width: 220px;
    }
}

@media (max-width: 576px) {
    .footer-logo-responsive {
        width: 100%;
    }
}

/* Botão flutuante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #25D366;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transform: scale(1.15);
    filter: none;
}

.whatsapp-float svg {
    width: 48px;
    height: 48px;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .footer-logo-link {
        display: block;
        width: 100%;
        text-align: center;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 40px;
        height: 40px;
    }

    /* Links do footer mantêm cor offwhite no hover */
    footer a.color-offwhite:hover,
    footer a.color-offwhite:focus {
        color: #F4F6E7 !important;
        text-decoration: none;
    }

    footer .color-offwhite:hover,
    footer .color-offwhite:focus {
        color: #F4F6E7 !important;
    }
}

/* Hero section nova composição */
.hero-main-row {
    background-color: #8D442B;
}

.hero-content-wrap {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-main-logo {
    width: min(100%, 620px);
    height: auto;
    margin-bottom: 28px;
}

.hero-main-title {
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    line-height: 1.06;
    font-weight: 700;
    margin-bottom: 22px;
    max-width: 95%;
    text-align: center;
}

.hero-disorders-list {
    font-size: 1.12rem;
    line-height: 1.6;
    max-width: 92%;
    margin-bottom: 34px;
    text-align: center;
}

.hero-whatsapp-btn {
    background-color: #F4F6E7;
    color: #8D442B;
    border: 2px solid #F4F6E7;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    width: min(100%, 420px);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all 0.25s ease;
    padding: 12px 28px;
}

.hero-whatsapp-btn:hover,
.hero-whatsapp-btn:focus {
    background-color: transparent;
    color: #F4F6E7;
    text-decoration: none;
}

.hero-whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex: 0 0 auto;
}

.hero-image-panel {
    background-size: cover !important;
    background-position: center !important;
    min-height: 620px;
    border-bottom-left-radius: 170px;
    overflow: hidden;
}

.slider-item-title {
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    line-height: 1.1;
    margin-bottom: 14px;
    font-weight: 700;
}

.slider-item-subtitle {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.45;
    font-size: clamp(0.95rem, 1.25vw, 1.12rem);
    font-weight: 500;
    opacity: 0.96;
}

.slider-item-explanation {
    margin-top: 38px;
    margin-bottom: 0;
    line-height: 1.62;
    font-size: clamp(1.02rem, 1.35vw, 1.22rem);
    font-weight: 500;
    opacity: 1;
    max-width: 92%;
}

.swiper-slide .slider-item-subtitle + .slider-item-explanation {
    margin-top: 38px;
}

@media (max-width: 991px) {
    #sobre .row > .col-12.col-lg-4:not(:last-child) {
        margin-bottom: 14px;
    }

    .hero-content-wrap {
        min-height: auto;
    }

    .hero-main-logo {
        margin: 0 auto 22px;
        width: min(100%, 380px);
    }

    .hero-main-title,
    .hero-disorders-list {
        max-width: 100%;
        text-align: center;
    }

    .hero-whatsapp-btn {
        margin: 0 auto;
    }

    .hero-image-panel {
        min-height: 360px;
        border-bottom-left-radius: 80px;
    }

    .slider-item-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .slider-item-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0;
        line-height: 1.45;
    }

    .slider-item-explanation {
        font-size: 1rem;
        line-height: 1.56;
        margin-top: 26px;
        max-width: 100%;
    }

    .swiper-slide .slider-item-subtitle + .slider-item-explanation {
        margin-top: 26px;
    }
}