:root {
    --color-primary: #302d00;
    --color-secondary: #7d772b;
    --color-tertiary: #6b0f00;
    --color-light: #faead3;
    --color-accent: #ae4600;
    --color-primary-rgb: 48, 45, 0;
    --color-secondary-rgb: 125, 119, 43;
    --color-accent-rgb: 174, 70, 0;
}
    
@font-face {
    font-family: 'Libre Baskerville';
    src: url('/static/fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    margin: 0;
    padding-top: 0; /* Removido o padding-top */
    background-color: #fff; /* Alterado para branco em vez da cor primária */
}

main {
    background-color: #fff;
    position: relative;
    z-index: 10;
    margin-top: -2px; /* Valor negativo para garantir sobreposição */
}

/* =================== HEADER/NAVBAR =================== */
.navbar {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 90px;
    transition: all 0.3s ease;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.nav-item {
    align-items: center !important;
    justify-content: center !important;
}

.navbar .container {
    max-width: 1600px;
    margin: 0 auto;
}


.navbar.scrolled {
    height: 70px;
    padding: 0.5rem 0;
}

.navbar-logo {
    height: 140px;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1); /* Torna o logo branco */
}

.navbar.scrolled .navbar-logo {
    height: 100px;
}

.nav-link {
    color: var(--color-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    font-size: 1.0rem;
    opacity: 0.9;
    text-align: center;
}

.navbar.scrolled .nav-link {
    font-size: 0.8rem; /* Reduz o tamanho ao rolar a página */
}

.nav-link:hover {
    opacity: 1;
}

.social-nav {
    display: flex !important    ;
    flex-direction: row !important;
    justify-content: center !important;
}

.social-nav .nav-link {
    font-size: 1.4rem;
    padding: 0.5rem;
}

.social-nav .nav-link:hover {
    transform: translateY(-2px);
}

/* =================== FOOTER =================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 2rem 0 1rem; /* Reduzi o padding para diminuir a altura */
    margin-top: 4rem;
    color: var(--color-light);
    position: relative;
    z-index: 20; /* Valor maior que o hero-content para garantir que esteja acima */
}

.footer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-light), transparent);
}

.footer-logo {
    height: 200px; /* Aumentado para 200px */
    width: 300px; /* Largura fixa de 300px */
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    object-fit: contain; /* Garantir que a imagem seja exibida completamente */
}

.footer h1 {
    color: var(--color-light);
    font-weight: 600;
    margin-bottom: 1rem; /* Pequeno ajuste para manter proporções */
    position: relative;
    padding-bottom: 0.5rem;
    font-size: 1.4rem; /* Leve redução */
}

.footer h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-light);
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.9rem; /* Leve redução */
}

.footer .social-link {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-bottom: 0.4rem; /* Ajuste para reduzir altura total */
    transition: all 0.3s ease;
}

.footer .social-link:hover {
    color: var(--color-light);
    transform: translateX(5px);
}

.email-link, .whatsapp-link {
    text-decoration: none;
    color: inherit;
}

.email-link:hover, .whatsapp-link:hover {
    color: #faead3; /* ou a cor que preferir */
    text-decoration: none;
}

/* =================== RESPONSIVO =================== */
@media (max-width: 768px) {
    .navbar-logo {
        height: 100px;
    }

    .footer-logo{
        height: 180px; /* Ligeiramente menor em mobile, mas ainda grande */
        width: 280px; /* Largura fixa proporcional */
        display: block;
        margin: 0 auto; /* Centralizar na horizontal */
    }

    .navbar.scrolled {
        height: 90px;
    }

    .navbar.scrolled .navbar-logo {
        height: 80px;
    }

    .navbar-collapse {
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .nav-link {
        text-align: center;
        padding: 0.8rem !important;
    }

    .social-nav {
        justify-content: center;
        gap: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
        margin-top: 0.5rem;
    }

    .footer {
        text-align: center;
        padding: 3rem 0 1.5rem;
        margin-top: 20px; /* Adiciona um espaço entre o conteúdo e o footer */
        position: relative;
        z-index: 20;
    }

    .footer h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    body {
        padding-top: 0;
    }
}

/* Redefine o comportamento do navbar.scrolled para desktop */
@media (min-width: 769px) {
    .navbar.scrolled {
        height: 70px;
        padding: 0.5rem 0;
    }
    
    .navbar.scrolled .navbar-logo {
        height: 100px;
    }
}

.copyright-text{
    color: var(--color-light);
    font-size: 0.8rem;
    text-align: center;
}
/* =================== BOTÕES FLUTUANTES =================== */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.whatsapp-float i {
    font-size: 24px;
    color: var(--color-light);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--color-light);
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 90px; /* Posicionado acima do botão do WhatsApp */
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top i {
    font-size: 24px;
    color: var(--color-light);
}

.scroll-top:hover {
    transform: scale(1.1);
    color: var(--color-light);
}

/* =================== SIDEBAR ADMIN =================== */
#wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

#sidebar {
    width: 280px;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#sidebar.collapsed {
    width: 80px;
}

#content {
    flex: 1;
    margin-left: 280px;
    transition: all 0.3s ease;
    min-height: 100vh;
}

#wrapper.collapsed #content {
    margin-left: 80px;
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid #e3e6f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
}

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Logo na sidebar - controle de tamanho */
.sidebar-header .navbar-logo {
    min-width: 140px;
    min-height: 110px;
    max-width: 180px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

/* Quando sidebar está recolhida, ocultar logo */
#sidebar.collapsed .sidebar-header .navbar-logo {
    opacity: 0;
    transform: scale(0);
    max-width: 0;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background: rgba(var(--color-accent-rgb), 0.1);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #5a5c69;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
    background: rgba(var(--color-accent-rgb), 0.05);
    color: var(--color-accent);
    border-left-color: var(--color-accent);
}

.sidebar-menu a.active {
    background: rgba(var(--color-accent-rgb), 0.1);
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    font-weight: 600;
}

.sidebar-menu a i {
    width: 20px;
    margin-right: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.menu-text {
    transition: opacity 0.3s ease;
}

#sidebar.collapsed .menu-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

#sidebar.collapsed .sidebar-menu a {
    padding: 1rem 0.5rem;
    justify-content: center;
}

#sidebar.collapsed .sidebar-menu a i {
    margin-right: 0;
}

/* Seção do usuário */
.user-profile-section {
    padding: 1rem;
    border-top: 1px solid #e3e6f0;
    position: relative;
    min-height: 90px; /* Altura mínima fixa para consistência */
    display: flex;
    align-items: center;
}

.user-profile-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-accent-rgb), 0.1);
    position: relative;
}

.user-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-avatar i {
    font-size: 2rem;
    color: var(--color-accent);
}

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.user-crp {
    font-size: 0.8rem;
    color: #666;
}

/* Quando sidebar está recolhida - manter foto no mesmo lugar */
#sidebar.collapsed .user-profile-section {
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 90px; /* Mesma altura da versão expandida */
}

#sidebar.collapsed .user-profile-info {
    justify-content: center;
    align-items: center;
    width: 100%;
}

#sidebar.collapsed .user-avatar {
    margin: 0;
    position: static; /* Garantir que não flutue */
}

/* Ocultar texto quando recolhida mas manter estrutura */
#sidebar.collapsed .user-name,
#sidebar.collapsed .user-crp {
    display: none;
}

/* Garantir que a div que contém nome/CRP não afete o layout quando recolhida */
#sidebar.collapsed .user-profile-info > div:last-child {
    display: none;
}

.sidebar-logout {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #5a5c69;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.sidebar-logout:hover {
    background: rgba(var(--color-danger-rgb, 220, 53, 69), 0.05);
    color: #dc3545;
    border-left-color: #dc3545;
}

.sidebar-logout i {
    width: 20px;
    margin-right: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

#sidebar.collapsed .sidebar-logout {
    padding: 1rem 0.5rem;
    justify-content: center;
}

#sidebar.collapsed .sidebar-logout i {
    margin-right: 0;
}

/* Mobile */
@media (max-width: 768px) {
    #sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 1050;
    }
    
    #sidebar.mobile-show {
        transform: translateX(0);
    }
    
    #content {
        margin-left: 0;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle-mobile {
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1060;
        background: var(--color-accent);
        color: white;
        border: none;
        padding: 0.75rem;
        border-radius: 8px;
        font-size: 1.1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
}

/* Responsividade para os botões flutuantes */
@media (max-width: 768px) {
    .whatsapp-float,
    .scroll-top {
        width: 45px;
        height: 45px;
        right: 15px;
    }

    .whatsapp-float {
        bottom: 15px;
    }

    .scroll-top {
        bottom: 70px;
    }

    .whatsapp-float i,
    .scroll-top i {
        font-size: 20px;
    }
}

/* Garantir que os ícones sejam sempre brancos */
.footer i,
.whatsapp-float i,
.scroll-top i {
    color: var(--color-light) !important;
}
/* =================== MODAL DE CONTATO =================== */
#contactModal {
    position: fixed;
    top: auto;
    left: auto;
    right: 20px;
    bottom: 20px;
    background: none;
    pointer-events: none;
    z-index: 1049; /* Abaixo do botão do WhatsApp */
}

#contactModal .modal-dialog {
    margin: 0;
    pointer-events: auto;
    width: 300px;
    position: absolute;
    bottom: 135px;
    right: 0;
}

#contactModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: none;
    background-color: #fff;
    margin-bottom: 0;
}

#contactModal .modal-header {
    background-color: #25d366;
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1rem;
}

#contactModal .modal-header .btn-close {
    color: white;
    filter: brightness(0) invert(1);
}

#contactModal .modal-body {
    padding: 15px;
}

#contactForm button[type="submit"] {
    background-color: #25d366;
    border-color: #25d366;
    transition: all 0.3s ease;
}

#contactForm button[type="submit"]:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

/* Remove o backdrop escuro do modal */
.modal-backdrop {
    display: none;
}

.modal-title {
    font-size: 1.5rem;
}

/* Ajustes responsivos para o modal */
@media (max-width: 768px) {
    #contactModal .modal-dialog {
        width: 280px;
        margin: 0 10px;
    }
}

/* =================== NAVBAR COLLAPSE =================== */
.navbar-collapse {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 1200px) {
    .navbar-collapse {
        position: fixed;
        top: 130px;
        right: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
        padding: 1rem;
        transform: translateX(100%);
        z-index: 1000;
        border-radius: 10px 0 0 10px;
    }

    .navbar-collapse.show {
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    /* Alinhamento do menu */
    .navbar-nav {
        text-align: right;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: var(--color-light) !important;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(-5px);
    }

    /* Ajuste dos ícones sociais */
    .social-nav {
        justify-content: flex-end;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .social-nav .nav-link {
        padding: 0.5rem !important;
        margin-left: 0.5rem;
    }

    /* Ajuste do botão toggler */
    .navbar-toggler {
        position: relative; /* Define posição relativa para manter o ícone dentro */
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid var(--color-light) !important;
        padding: 0.5rem;
        transition: all 0.3s ease-in-out;
        width: 60px;
        height: 60px;
    }

    .navbar.scrolled .navbar-toggler {
        width: 40px;
        height: 40px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    /* Estilo das linhas do toggler */
    .navbar-toggler-icon {
        width: 28px;
        height: 28px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        transition: all 0.3s ease-in-out;
    }

    .navbar.scrolled .navbar-toggler-icon {
        width: 22px;
        height: 22px;
    }
}

/* Correção do espaço em branco em mobile */
@media (max-width: 768px) {
    .navbar {
        height: 120px;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
        margin-bottom: 0;
        border-bottom: none;
    }
    
    /* Alterando quando o header diminui em mobile */
    .navbar.scrolled {
        height: 90px; /* Um pouco maior em mobile */
        transition: height 0.3s ease;
    }
    
    /* Aplicar scrolled apenas após rolar mais na página */
    body {
        scroll-padding-top: 120px; /* Valor igual à altura do header */
    }
    
    /* Ajustando a hero section para que caiba exatamente na área visível */
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding-top: 0;
        margin-top: 118px; /* Reduzido de 120px para 118px para evitar faixa branca */
        padding-bottom: 40px; /* Garantir espaço na parte inferior */
        display: block;
        background-color: transparent;
        border-top: none;
        overflow: hidden; /* Alterado de visible para hidden */
        position: relative; /* Garantir posicionamento correto */
    }

    /* Ajuste da imagem de background */
    .hero-image-container {
        position: absolute; /* Alterado de fixed para absolute para permitir scroll */
        top: 0; /* Alterado para começar do topo da seção */
        left: 0;
        width: 100%;
        height: 100%; /* Altura relativa à hero section */
        z-index: 1;
    }
    
    .hero-overlay-image {
        width: 100%;
        height: 100%; /* Cobre 100% do contêiner */
        object-fit: cover;
        object-position: top;
    }
    
    /* Garantir que não haja espaço branco entre o hero e o conteúdo */
    main {
        position: relative;
        z-index: 10;
        background-color: #fff;
        margin-top: -2px; /* Valor negativo para garantir sobreposição */
    }
    
    /* Tratar o conteúdo após o hero */
    main > section:not(.hero-section) {
        position: relative;
        z-index: 15; /* Maior que o hero para garantir cobertura */
        background-color: #fff;
        margin-top: 0;
        padding-top: 3rem; /* Espaço no topo da seção */
        border-top: 1px solid transparent; /* Evita gap visual */
    }
    
    /* Garantir que a primeira seção após o hero tenha uma borda sólida no topo */
    main > section:first-of-type:not(.hero-section) {
        border-top: 2px solid #fff; /* Borda branca sólida para evitar qualquer gap */
        margin-top: -2px; /* Compensar a borda */
    }
    
    /* Restante do CSS para botões flutuantes mobile */
    .navbar-brand {
        padding: 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }

    .scroll-top {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 75px;
    }

    .whatsapp-float i,
    .scroll-top i {
        font-size: 20px;
    }
}

/* Animação suave para os botões flutuantes */
.whatsapp-float,
.scroll-top {
    transition: all 0.3s ease;
}

/* Efeito hover mais suave em mobile */
@media (hover: hover) {
    .whatsapp-float:hover,
    .scroll-top:hover {
        transform: scale(1.1);
    }
}

/* Efeito de toque em mobile */
@media (hover: none) {
    .whatsapp-float:active,
    .scroll-top:active {
        transform: scale(0.95);
    }
}

/* =================== HERO SECTION =================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100dvh; /* Usa dvh para área visível real em mobile */
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 90px; /* Adiciona padding-top igual à altura da navbar */
    background-color: transparent; /* Removido cor de fundo */
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Usa 100% do contêiner pai */
    z-index: 1;
    background-color: transparent; /* Removido cor de fundo */
}

.hero-overlay-image {
    width: 100%;
    height: 100%; /* Usa 100% do contêiner pai */
    object-fit: cover;
    object-position: top; /* Alinha ao topo */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 60%;
    padding: 2rem;
    color: var(--color-light);
}

.hero-content-background {
    max-width: 600px;
    margin-left: 10%;
    padding: 2rem;
}

/* Hero Section Typography - Fluida e Responsiva com Maior Espaçamento */
.hero-title {
    text-align: left;
    font-size: clamp(2.8rem, 6vw, 5rem) !important; /* Aumentado para maior impacto */
    margin-bottom: clamp(0.8rem, 2.5vw, 1.2rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 100;
    line-height: 1.1; /* Reduzido para mais espaçamento entre linhas */
    color: var(--color-light);
    font-family: 'Libre Baskerville', serif;
}

.hero-texto {
    text-align: left !important; /* Força alinhamento à esquerda */
    font-size: clamp(1.3rem, 4vw, 2.2rem); /* Aumentado para melhor proporção */
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    color: var(--color-light);
    font-family: 'Libre Baskerville', serif;
    line-height: 1.3;
}

.hero-text {
    text-align: left !important;
    font-size: clamp(1.1rem, 3vw, 1.8rem) !important; /* Aumentado para melhor legibilidade */
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    width: 100%;
    white-space: normal;
    line-height: 1.4 !important; /* Aumentado para melhor legibilidade */
    max-width: 500px;
    color: var(--color-light);
    font-family: 'Libre Baskerville', serif;
}

/* Hero Section - Ajustes específicos para dispositivos móveis */
@media (max-width: 430px) {
    .hero-section {
        min-height: 100dvh;
        padding-top: clamp(60px, 15vw, 90px);
        padding-bottom: clamp(20px, 5vw, 40px);
        justify-content: center; /* Centraliza o conteúdo verticalmente */
    }
    
    .hero-content {
        width: 95%;
        max-width: 100%;
        margin: 0 auto;
        padding: clamp(1rem, 4vw, 2rem);
    }
    
    .hero-content-background {
        margin: 0;
        padding: clamp(1rem, 3vw, 1.5rem);
        max-width: 100%;
        text-align: left; /* Mantém alinhamento à esquerda */
    }
    
    /* Garantir alinhamento à esquerda para todos os textos em mobile */
    .hero-title,
    .hero-texto,
    .hero-text {
        text-align: left !important;
    }
    
    /* Otimizar botão WhatsApp em telas pequenas */
    .service-button {
        margin-top: clamp(2rem, 5vw, 3rem) !important; /* Aumentado o espaçamento superior */
        margin-bottom: 0 !important;
        padding: clamp(12px, 3vw, 18px) clamp(25px, 5vw, 35px) !important;
        font-size: clamp(1rem, 3vw, 1.2rem) !important; /* Ligeiramente maior */
        width: 90% !important;
        max-width: 300px; /* Ligeiramente maior */
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center; /* Botão continua centralizado */
    }
}

/* Responsivo */
@media (max-width: 768px) {
    /* Corrigindo o header */
    .navbar {
        height: 120px;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
        margin-bottom: 0;
        border-bottom: none;
    }
    
    /* Ajustando a hero section para dispositivos móveis */
    .hero-section {
        min-height: 100dvh; /* Usa dvh para área visível real */
        height: auto;
        padding-top: 0;
        margin-top: 118px;
        padding-bottom: clamp(20px, 5vw, 40px); /* Espaçamento responsivo */
        display: flex;
        align-items: center;
        background-color: transparent;
        border-top: none;
        overflow: hidden;
        position: relative;
    }

    /* Ajuste da imagem de background */
    .hero-image-container {
        position: absolute; /* Alterado de fixed para absolute para permitir scroll */
        top: 0; /* Alterado para começar do topo da seção */
        left: 0;
        width: 100%;
        height: 100%; /* Altura relativa à hero section */
        z-index: 1;
    }
    
    .hero-overlay-image {
        width: 100%;
        height: 100%; /* Cobre 100% do contêiner */
        object-fit: cover;
        object-position: top;
    }
    
    /* Conteúdo principal */
    .hero-content {
        position: relative;
        z-index: 5; /* Aumentado para garantir que esteja acima da imagem */
        margin-top: 0;
        padding: 30px 20px;
        width: 100%;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-content-background {
        margin: 0 auto;
        padding: 1.5rem;
        max-width: 90%;
    }
    
    /* Tipografia já otimizada com clamp() acima - sem override necessário */
    
    /* Adiciona um contêiner de conteúdo com altura definida */
    main {
        position: relative;
        z-index: 10; /* Acima de tudo */
        background-color: #fff;
    }
    
    /* Garantir transição suave entre hero e próxima seção */
    main > section:first-of-type:not(.hero-section) {
        margin-top: 0;
        padding-top: 3rem;
        position: relative;
        z-index: 10;
        background: #fff;
    }
    
    /* Garante que as seções depois do hero tenham fundo branco */
    section:not(.hero-section) {
        background-color: #fff;
        position: relative;
        z-index: 10;
    }
}

/* Media query otimizada para telas pequenas com altura reduzida */
@media (max-width: 480px) and (max-height: 700px) {
    .hero-section {
        min-height: 100dvh !important;
        margin-top: 120px;
        padding-bottom: clamp(15px, 3vw, 25px);
        justify-content: center;
    }
    
    .hero-content {
        padding: clamp(15px, 4vw, 25px);
        width: 95%;
        margin: 0 auto;
    }
}

/* =================== BOTÕES WHATSAPP =================== */
.service-button, .service-cta-button, .cta-button-large, .about-cta-button, .demand-cta-button, .faq-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Efeito hover */
.service-button:hover, .service-cta-button:hover, .cta-button-large:hover, 
.about-cta-button:hover, .demand-cta-button:hover, .faq-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

/* Efeito de clique */
.service-button:active, .service-cta-button:active, .cta-button-large:active,
.about-cta-button:active, .demand-cta-button:active, .faq-cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

/* Ícone do WhatsApp */
.service-button i, .service-cta-button i, .cta-button-large i,
.about-cta-button i, .demand-cta-button i, .faq-cta-button i {
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: middle;
}

/* Versão maior para CTA principal */
.cta-button-large {
    padding: 18px 40px;
    font-size: 1.3rem;
}

/* Efeito de ripple ao clicar */
.service-button::after, .service-cta-button::after, .cta-button-large::after,
.about-cta-button::after, .demand-cta-button::after, .faq-cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out;
}

.service-button:active::after, .service-cta-button:active::after, .cta-button-large:active::after,
.about-cta-button:active::after, .demand-cta-button:active::after, .faq-cta-button:active::after {
    width: 200px;
    height: 200px;
    opacity: 0;
}

/* Media queries para responsividade da hero section */
/* Media query adicional para telas extra pequenas - complementa os ajustes acima */
@media (max-width: 480px) {
    .service-button, .service-cta-button, .about-cta-button, .demand-cta-button, .faq-cta-button {
        padding: clamp(10px, 3vw, 12px) clamp(20px, 5vw, 25px);
        font-size: clamp(0.9rem, 3vw, 1rem);
        width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }

    .cta-button-large {
        padding: clamp(12px, 3vw, 15px) clamp(20px, 5vw, 25px);
        font-size: clamp(1rem, 3vw, 1.1rem);
        width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }
}

@media (max-width: 770px) {
    .hero-content {
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
        padding: 20px;
        margin-top: 40px;
    }
    
    /* Garantir alinhamento à esquerda para textos da hero em tablets */
    .hero-title,
    .hero-texto,
    .hero-text {
        text-align: left !important;
    }

    .service-button, .service-cta-button, .cta-button-large,
    .about-cta-button, .demand-cta-button, .faq-cta-button {
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        margin: 10px auto;
    }
}

.hero-portrait-container {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%; /* Certifique-se de que o contêiner preencha seu espaço */
    max-width: 400px; /* Limite máximo da largura */
    height: auto;
    max-height: 75vh; /* Ajusta conforme a altura da viewport */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 8px solid var(--color-light);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 45px; /* Adicionado espaço no topo para compensar a navbar */
}

.hero-portrait-image {
    width: 100%; /* Garante que a imagem sempre ocupe a largura total do contêiner */
    height: auto; /* Mantém a proporção da altura */
    object-fit: cover; /* Garante que a imagem preencha completamente o contêiner */
    object-position: center;
    transition: transform 0.3s ease; /* Suave transição para hover */
}

.hero-portrait-container:hover .hero-portrait-image {
    transform: scale(1.05);
}

/* Ajuste na responsividade */
@media (max-width: 1400px) {
    .hero-portrait-container {
        width: 28vw;
        max-width: 350px;
        height: auto;
        right: 8%;
    }
}

@media (max-width: 1200px) {
    .hero-portrait-container {
        width: 25vw;
        max-width: 300px;
        height: auto;
        right: 5%;
    }
}


@media (max-width: 992px) {
    .hero-content {
        width: 100%;
    }
    
    .hero-portrait-container {
        display: none;
    }
}

/* Ajuste para diferentes níveis de zoom */
@media (min-width: 1200px) {
    .hero-section {
        min-height: max(calc(100dvh - 120px), 600px);
    }
    
    .hero-portrait-container {
        max-height: calc(100dvh - 180px); /* Garante espaço para o header e margens */
    }
}

/* Ajuste no background para melhor contraste */
.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

/* =================== DIVIDERS =================== */
.section-divider {
    width: 100%;
    height: 2px; /* Reduzido para ficar mais sutil */
    margin: 0; /* Remove as margens */
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-accent) 20%, /* Mudado para cor de destaque */
        var(--color-accent) 50%, 
        var(--color-accent) 80%, 
        transparent 100%
    );
    position: relative;
    opacity: 0.3; /* Reduzido para ficar mais sutil */
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-light) 50%, 
        transparent 100%
    );
    opacity: 0.1;
}

.title-divider {
    width: 60px;
    height: 2px;
    margin: 0.5rem auto 1.5rem;
    background: linear-gradient(90deg, 
        var(--color-accent) 0%, 
        var(--color-secondary) 100%
    );
    position: relative;
}

.title-divider::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.title-divider:hover::after {
    width: 45px;
}

/* Ajuste para as seções */
section {
    margin: 0;
    padding: 4rem 0;
}

/* Responsivo */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .title-divider {
        width: 50px;
        margin: 0.5rem auto 1.2rem;
    }
}

/* =================== CARDS DE SERVIÇOS =================== */
.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--color-light);
}

.service-card-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.service-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.service-card:hover .service-card-title::after {
    width: 80px;
}

.service-card-text {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    text-align: justify !important;
    padding: 0 60px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Responsivo */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .service-card-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .service-card-text {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        padding: 0 30px !important;
    }
}

/* Ajuste do grid para os cards */
.services-preview .row {
    margin: -1rem;
}

.services-preview .col-md-5 {
    padding: 1rem;
}

/* Efeito de hover suave */
@media (hover: hover) {
    .service-card {
        will-change: transform;
        -webkit-font-smoothing: subpixel-antialiased;
        backface-visibility: hidden;
    }
}

/* =================== SEÇÃO DE SERVIÇOS =================== */
.services-preview {
    position: relative;
    background: url('../img/marmore.webp') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 0;
    margin: 0;
    z-index: 1;
}

/* Overlay para melhorar a legibilidade */
.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.30); /* Reduzido de 0.85 para 0.65 */
    z-index: 1;
}

/* Ajuste do container para ficar acima do overlay */
.services-preview .container {
    position: relative;
    z-index: 2;
}

/* Ajuste dos cards */
.service-card {
    background: rgba(255, 255, 255, 0.95); /* Aumentado de 0.9 para 0.95 */
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Sombra mais pronunciada */
    margin: 1rem 0;
}

/* Ajuste para melhor contraste em dispositivos que não suportam backdrop-filter */
@supports not (backdrop-filter: blur(8px)) {
    .service-card {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* Remova qualquer padding ou margin que possa estar afetando */
.services-preview .row {
    margin: 0;
    padding: 0;
}

.services-preview .col-md-5 {
    padding: 1rem;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .services-preview {
        background-attachment: scroll;
        padding: 3rem 0;
    }
}

/* Remova qualquer padding adicional das seções */
section.services-preview {
    padding: 5rem 0;
    margin: 0;
}

/* Garanta que não haja espaço entre as seções */
.section-divider + .services-preview {
    margin-top: 0;
}

/* =================== SEÇÃO SOBRE =================== */
.about-preview {
    padding: 5rem 0;
    position: relative;
}

.about-preview .container {
    width: 1200px;
    max-width: 90vw;
    margin: 0 auto;
    min-width: 320px;
}

.about-preview .row {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-direction: row;
}

.about-preview .col-md-7 {
    flex: 0 0 auto;
    width: 450px;
}

.about-preview .col-md-5 {
    flex: 1;
    padding-left: 2rem;
}

.about-image-container {
    width: 100%;
    height: 650px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--color-light);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.2rem;
    text-align: justify;
    text-indent: 2rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Ajuste responsivo */
@media screen and (max-width: 1024px) {
    .about-preview .container {
        width: 95%;
    }

    .about-preview .col-md-7 {
        width: 400px;
    }

    .about-image-container {
        height: 580px;
    }
}

/* Ponto de quebra para modo mobile */
@media screen and (max-width: 768px) {
    .about-preview .row {
        flex-direction: column;
    }

    .about-preview .col-md-7,
    .about-preview .col-md-5 {
        width: 100%;
        padding: 0;
    }

    .about-image-container {
        height: 400px;
        margin-bottom: 2rem;
    }

    .about-content {
        padding: 0 1rem;
    }

    .about-title {
        text-align: center;
    }
}

/* Força modo mobile em zoom muito alto */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    html[style*="zoom"] .about-preview .row {
        flex-direction: column;
    }

    html[style*="zoom"] .about-preview .col-md-7,
    html[style*="zoom"] .about-preview .col-md-5 {
        width: 100%;
    }
}

/* =================== SEÇÃO DEMANDAS =================== */
.demands-preview {
    position: relative;
    padding: 5rem 0;
    background: 
        linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.03) 0%, rgba(var(--color-secondary-rgb), 0.03) 100%),
        repeating-linear-gradient(45deg, 
            var(--color-light) 0px, 
            var(--color-light) 10px, 
            rgba(250, 234, 211, 0.5) 10px, 
            rgba(250, 234, 211, 0.5) 20px
        );
}

.demands-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.7));
    z-index: 1;
}

.demands-preview .container {
    position: relative;
    z-index: 2;
}

/* Estilo para os itens da lista de demandas */
.demands-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demands-list li {
    margin-bottom: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.05rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.demands-list li:hover {
    background: #fff;
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--color-accent);
}

/* Estilo para os círculos/spans */
.demands-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-right: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(var(--color-accent-rgb), 0.1);
    border-radius: 50%;
    padding: 5px;
}

.demands-list li:hover span {
    transform: scale(1.2);
    color: var(--color-accent) !important;
    background: rgba(var(--color-accent-rgb), 0.15);
}

/* Efeito de destaque no hover */
.demands-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 4px 0 0 4px;
}

.demands-list li:hover::before {
    transform: scaleY(1);
}

/* Efeito de gradiente sutil */
.demands-list li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(to left, 
        rgba(var(--color-accent-rgb), 0.03),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demands-list li:hover::after {
    opacity: 1;
}

/* Responsivo */
@media (max-width: 768px) {
    .demands-list li {
        padding: 1rem 1.2rem;
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .demands-list li span {
        min-width: 20px;
        height: 20px;
        margin-right: 12px;
        font-size: 0.9rem;
    }
}

/* Estilo para o título da seção */
.demands-title {
    color: var(--color-primary);
    position: relative;
    margin-bottom: 2rem;
}

.demands-intro {
    margin-bottom: 2rem;
    padding: 0;
    background: none;
    box-shadow: none;
}

.demands-intro p strong {
    font-size: 1.3rem;
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 600;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(var(--color-accent-rgb), 0.1);
}

.highlight-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #fff;
}

/* Responsivo */
@media (max-width: 768px) {
    .demands-intro p strong {
        font-size: 1.1rem;
    }

    .highlight-text {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

/* Ajuste no container das listas */
.demands-list-container .row {
    display: flex;
    justify-content: center;
}

.demands-list-container .col-md-6 {
    max-width: 450px;
}

/* Ajuste nos itens da lista */
.demands-list li {
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Ajuste responsivo */
@media (max-width: 992px) {
    .demands-list li {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .demands-list li {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .demands-list-container .col-md-6 {
        max-width: 100%;
    }
}

.cta-button-large {
    margin-top: 2rem;
}

/* Estilo para a página de login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 90px); /* Ajusta para o header */
    background: linear-gradient(135deg, var(--color-light) 0%, #fff 100%);
    padding: 2rem;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.login-box .form-group {
    margin-bottom: 1.5rem;
}

.login-box label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.login-box input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--color-primary);
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* Estilo para o botão de logout */
#logout-form button {
    cursor: pointer;
    color: var(--color-text);
    padding: 8px 16px;
}

#logout-form button:hover {
    color: var(--color-primary);
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}

.social-media-link {
    font-size: 2rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.social-media-link:hover {
    transform: translateY(-3px);
    color: var(--color-accent);
}

/* Responsivo */
@media (max-width: 768px) {
    .social-media-icons {
        gap: 15px;
    }
    
    .social-media-link {
        font-size: 1.8rem;
    }
}

.tcc-text {
    text-align: justify !important;
    text-indent: 2rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #333;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Manter fonte Syne para títulos */
h1, h2, .about-title, .services-title, .demands-title, .faq-title {
    font-family: 'Syne', sans-serif;
}

/* Ajustar textos para fonte do sistema */
.about-text {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.tcc-text {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.service-card-text {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.demands-list li {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Manter fonte Libre Baskerville para a seção hero */
.hero-title, .hero-texto, .hero-text {
    font-family: 'Libre Baskerville', serif;
}

/* Estilo para as badges no modal de sessões */
.sessions-table .badge,
.status-badge,
.payment-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

/* Estilos específicos para status-badge e payment-badge */
.status-badge,
.payment-badge {
    width: 100px;
    margin: 0 auto;
}

.status-badge.realizada,
.payment-badge.pago,
.sessions-table .badge-success {
    background-color: #28a745;
    color: white;
}

.status-badge.cancelada,
.payment-badge.pendente,
.sessions-table .badge-danger {
    background-color: #dc3545;
    color: white;
}

.status-badge.falta,
.status-badge.aguardando,
.sessions-table .badge-warning {
    background-color: #ffc107;
    color: #000;
}

.status-badge.agendada,
.payment-badge.cancelado,
.sessions-table .badge-info {
    background-color: #17a2b8;
    color: white;
}

/* Centralização específica para células da tabela de sessões */
.sessions-table td, 
.sessions-table th {
    text-align: center;
    vertical-align: middle;
}

/* Ajuste para as badges dentro da tabela de sessões */
.sessions-table .badge {
    width: 100px;
    margin: 0 auto;
}

/* Estilos para a Área Financeira */
.financeiro-wrapper {
    padding: 20px;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.finance-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1;
    min-width: 250px;
    margin: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.finance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.finance-card.income {
    border-top: 4px solid #28a745;
}

.finance-card.expense {
    border-top: 4px solid #dc3545;
}

.finance-card.profit {
    border-top: 4px solid #17a2b8;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-header i {
    font-size: 24px;
    margin-right: 10px;
}

.finance-card.income .card-header i {
    color: #28a745;
}

.finance-card.expense .card-header i {
    color: #dc3545;
}

.finance-card.profit .card-header i {
    color: #17a2b8;
}

.card-header h2 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.card-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-footer {
    font-size: 14px;
    color: #6c757d;
}

.filters-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.filter-group {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.filter-group label {
    margin-right: 5px;
    font-weight: 500;
}

.filter-group select,
.filter-group input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 10px;
}

.btn-apply-filters, 
.btn-clear-filters,
.btn-add-income,
.btn-add-expense,
.btn-generate-report {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn-apply-filters {
    background-color: #007bff;
    color: white;
}

.btn-clear-filters {
    background-color: #6c757d;
    color: white;
}

.btn-add-income {
    background-color: #28a745;
    color: white;
}

.btn-add-expense {
    background-color: #dc3545;
    color: white;
}

.btn-generate-report {
    background-color: #17a2b8;
    color: white;
}

.btn-apply-filters i,
.btn-clear-filters i,
.btn-add-income i,
.btn-add-expense i,
.btn-generate-report i {
    margin-right: 5px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tabs-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tabs {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tab-button {
    padding: 12px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    transition: background-color 0.2s, color 0.2s;
}

.tab-button.active {
    background-color: #ffffff;
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
}

.transactions-table th {
    background-color: #f8f9fa;
    color: #495057;
    text-align: left;
    padding: 12px 15px;
    font-weight: 600;
}

.transactions-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

.transaction-row.receita .valor {
    color: #28a745;
    font-weight: 600;
}

.transaction-row.despesa .valor {
    color: #dc3545;
    font-weight: 600;
}

.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.btn-action {
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 5px;
    font-size: 16px;
    transition: color 0.2s;
}

.btn-edit {
    color: #007bff;
}

.btn-delete {
    color: #dc3545;
}

.btn-view {
    color: #17a2b8;
}

.btn-action:hover {
    opacity: 0.8;
}

/* Estilos para os modais */
.modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-check-input {
    margin-right: 8px;
}

.button-group {
    margin-top: 20px;
    text-align: right;
}

.btn-save, 
.btn-cancel,
.btn-generate,
.btn-delete {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    border: none;
}

.btn-save, 
.btn-generate {
    background-color: #007bff;
    color: white;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
    margin-right: 10px;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

.file-info {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

/* Responsividade */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
    }
    
    .finance-card {
        margin-bottom: 15px;
    }
    
    .filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-group {
        margin-bottom: 10px;
    }
    
    .action-buttons {
        margin-top: 15px;
    }
    
    .btn-apply-filters, 
    .btn-clear-filters,
    .btn-add-income,
    .btn-add-expense,
    .btn-generate-report {
        margin: 5px 0;
    }
    
    .transactions-table {
        display: block;
        overflow-x: auto;
    }
}




