html,
body {
    margin: 0;
    padding: 0;
    background-color: #01152f;
    overflow-x: hidden;
}

.navbar {
    background-color: #01152f;
}

.nav-link.active {
    color: #e2cfaf !important;
    font-size: 14px !important;
    border-bottom: 2px solid #e2cfaf;
    padding-bottom: 4px;
}

.nav-item .nav-link {
    color: #e2cfaf;
    font-family: 'Inter', serif;
    font-weight: 400;
    font-size: 16px;
}

/* ===== Hero Section ===== */
.section-main {
    min-height: 100vh;
    background-image: url('/assets/images/bg_library.png');
    background-size: cover;
    background-position: center right;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.section-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(1, 21, 47, 0.97) 0%,
        rgba(1, 21, 47, 0.82) 45%,
        rgba(1, 21, 47, 0.28) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.content-main {
    position: relative;
    z-index: 1;
    padding: 0 3rem 0 7%;
    max-width: 680px;
}

.hero-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    color: #e2cfaf;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Parkinsans', cursive;
    font-weight: 700;
    font-size: 4.75rem;
    color: #e2cfaf;
    line-height: 1.0;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    margin-bottom: 0;
}

.hero-title-sub {
    font-size: 3.4rem;
    font-weight: 400;
    opacity: 0.88;
    letter-spacing: 0.05em;
}

.hero-line {
    width: 44px;
    height: 2px;
    background: #e2cfaf;
    opacity: 0.55;
    margin: 1.85rem 0;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.68);
    letter-spacing: 0.02em;
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

.hero-body {
    font-size: 0.97rem;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-hero-primary {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2.1rem;
    background-color: #e2cfaf;
    color: #01152f;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background-color: #f0e3ca;
    color: #01152f;
    box-shadow: 0 8px 28px rgba(226, 207, 175, 0.3);
    transform: translateY(-2px);
}

.btn-hero-ghost {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2.1rem;
    background: transparent;
    color: rgba(226, 207, 175, 0.75);
    border: 1px solid rgba(226, 207, 175, 0.35);
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-hero-ghost:hover {
    border-color: rgba(226, 207, 175, 0.75);
    color: #e2cfaf;
    background: rgba(226, 207, 175, 0.07);
}

/* Responsivo tablet */
@media (max-width: 991px) {
    .content-main {
        padding: 0 2.5rem 0 5%;
        max-width: 100%;
    }
    .hero-title {
        font-size: 3.6rem;
    }
    .hero-title-sub {
        font-size: 2.7rem;
    }
}

/* Responsivo mobile */
@media (max-width: 768px) {
    .section-main {
        align-items: flex-end;
        padding-bottom: 4rem;
    }
    .section-main::after {
        background: linear-gradient(
            180deg,
            rgba(1, 21, 47, 0.45) 0%,
            rgba(1, 21, 47, 0.96) 55%
        );
    }
    .content-main {
        padding: 0 1.5rem;
        max-width: 100%;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-title-sub {
        font-size: 2.1rem;
    }
    .hero-tagline,
    .hero-body {
        font-size: 0.92rem;
    }
    .btn-hero-primary,
    .btn-hero-ghost {
        width: 100%;
        text-align: center;
    }
    .hero-cta-group {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-title-sub {
        font-size: 1.75rem;
    }
}

/* Ajustes para telas menores (mobile) */
@media (max-width: 576px) {
    .navbar .navbar-collapse {
        background-color: #01152f;
        padding: 10px 15px;
    }

    .navbar .navbar-nav {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .navbar .nav-item .nav-link {
        font-size: 14px;
        padding: 10px 0;
    }

    .content-services h1,
    .content-publications h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .section-services .row,
    .section-publications .row {
        flex-wrap: wrap;
    }

    .card-services, .card-publications {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .card-services .card-body,
    .card-publications .card-body {
        height: auto !important;
        padding: 15px 10px;
    }

    .card-services .card-text,
    .card-publications .card-text {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .card-services .card-title,
    .card-publications .card-title {
        font-size: 1.4rem;
    }

    .section-main {
        height: auto;
        padding: 30px 15px 40px 15px;
    }
}

.btn-atuacao {
    background-color: #e2cfaf;
    color: #01152f;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: none;
}

/* Seção de serviços */
.section-services {
    background-color: #01152f;
    color: white;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5% 0 7% 0;
    position: relative;
}

/* Divider embaixo do título Serviços */
.content-services h1 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.8rem;
    color: #e2cfaf;
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(226, 207, 175, 0.5);
}

.content-services h1::after {
    content: "";
    position: absolute;
    width: 14rem;
    height: 4px;
    background-color: #e2cfaf;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Estilo dos cards com sombras e efeito hover */
.card-services {
    background-color: #e2cfaf;
    color: #01152f;
    width: 30rem;
    border: none;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 6px 15px rgba(194,175,143,0.3);
    cursor: pointer;
}

/* Efeito hover nos cards de serviços */
.card-services:hover {
    transform: translateY(-10px) rotate(-2deg) scale(1.05);
    box-shadow: 0 10px 25px rgba(226,207,175,0.6), 0 0 15px 5px rgba(255, 255, 255, 0.25);
}

/* Corpo dos cards de serviços */
.card-services .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 210px;
    height: auto;
    padding: 20px 22px;
}

/* Título dos cards de serviços com mesma fonte dos cards de publicações */
.card-services .card-title {
    font-family: 'Parkinsans', cursive;
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #01152f;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

/* Seção de publicações */
.section-publications {
    background: linear-gradient(135deg, #e2cfaf 0%, #f5f1e9 50%, #d4c1a4 100%);
    color: #01152f;
    font-family: 'Montserrat', sans-serif;
    padding: 5% 0;
    position: relative;
    box-shadow: 0 0 40px rgba(1, 21, 47, 0.5);
    overflow: hidden;
    animation: floatSection 20s ease-in-out infinite;
}

/* Animação de flutuação para a seção */
@keyframes floatSection {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Divider embaixo do título Publicações */
.content-publications h1 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    color: #01152f;
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 7px rgba(1, 21, 47, 0.75);
    z-index: 1;
}

.content-publications h1::after {
    content: "";
    position: absolute;
    width: 13rem;
    height: 4px;
    background-color: #01152f;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 2px;
}

.content-publications-page h1 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    color: #01152f;
    font-family: 'Parkinsans', cursive;
    font-weight: 700;
    font-size: 3.8rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 7px rgba(1, 21, 47, 0.75);
    z-index: 1;
    text-align: center;
}

/* Efeito de brilho pulsante */
.section-publications::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -40%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(194, 175, 143, 0.15), transparent 80%);
    animation: pulseGlow 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Home - Publicações Carousel Styles */
#publicationsCarousel {
    max-width: 800px;
    margin: 0 auto;
}

#publicationsCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
    margin-bottom: 10px;
}

#publicationsCarousel .card-publications {
    max-width: 100%;
    margin: 0 auto;
    border: none;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#publicationsCarousel .card-publications:hover {
    transform: translateY(-10px) scale(1.05);
}

#publicationsCarousel .card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 250px;
    object-fit: cover;
}

#publicationsCarousel .card-body {
    padding: 2rem;
}

#publicationsCarousel .card-title {
    font-family: 'Parkinsans', cursive;
    font-size: 1.6rem;
    font-weight: 700;
    color: #01152f;
    margin-bottom: 1rem;
}

#publicationsCarousel .card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4d4d4d;
    margin-bottom: 1.5rem;
}

/* Home - Publicações Carousel Controls */
#publicationsCarousel .carousel-control-prev,
#publicationsCarousel .carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin: 0px 5px;

}

#publicationsCarousel .carousel-control-prev:hover,
#publicationsCarousel .carousel-control-next:hover {
    opacity: 1;
}

#publicationsCarousel .carousel-control-prev-icon,
#publicationsCarousel .carousel-control-next-icon {
    background-color: #01152f;
    border-radius: 50%;
    padding: 0px;
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
}

/* Home - Publicações Carousel Indicators */
#publicationsCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d4c1a4;
    border: none;
    margin: 0px 5px;
    transition: background-color 0.3s ease;
}

#publicationsCarousel .carousel-indicators .active {
    background-color: #01152f;
}

/* Home - Publicações Responsive Carousel */
@media (max-width: 768px) {
    #publicationsCarousel {
        max-width: 100%;
        margin: 0 15px;
    }

    #publicationsCarousel .card-publications {
        max-width: 100%;
        margin: 0 auto;
    }

    #publicationsCarousel .card-img-top {
        height: 200px;
    }

    #publicationsCarousel .card-body {
        padding: 1.5rem;
    }

    #publicationsCarousel .card-title {
        font-size: 1.4rem;
    }

    #publicationsCarousel .card-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    #publicationsCarousel .carousel-control-prev,
    #publicationsCarousel .carousel-control-next {
        width: 8%;
    }

    #publicationsCarousel .carousel-control-prev-icon,
    #publicationsCarousel .carousel-control-next-icon {
        padding: 0px;
        width: 12px;
        height: 12px;
        background-size: 12px 12px;
    }
}

@media (max-width: 576px) {
    #publicationsCarousel {
        margin: 0 10px;
    }

    #publicationsCarousel .card-img-top {
        height: 150px;
    }

    #publicationsCarousel .card-body {
        padding: 1rem;
    }

    #publicationsCarousel .card-title {
        font-size: 1.2rem;
    }

    #publicationsCarousel .card-text {
        font-size: 0.9rem;
    }

    #publicationsCarousel .carousel-control-prev,
    #publicationsCarousel .carousel-control-next {
        width: 10%;
    }

    #publicationsCarousel .carousel-indicators {
        margin-bottom: 0;
    }

    #publicationsCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* Blog Posts Container */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
}

/* Individual Blog Post */
.blog-post {
    display: flex;
    align-items: center;
    background-color: #fefcfb;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(1, 21, 47, 0.15);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.blog-post:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 32px rgba(1, 21, 47, 0.25);
}

/* Reverse layout for alternating posts */
.blog-post.reverse {
    flex-direction: row-reverse;
}

.blog-post.reverse .post-content {
    padding-left: 2rem;
    padding-right: 0;
}

/* Post Content */
.post-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #d4c1a4;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: #01152f;
}

.post-title {
    font-family: 'Parkinsans', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: #01152f;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4d4d4d;
    margin-bottom: 1.5rem;
}

/* Post Image */
.post-image {
    flex: 0 0 400px;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.1);
}

/* Button */
.post-content .btn-atuacao {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: #e2cfaf;
    color: #01152f !important;
    border: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.post-content .btn-atuacao:hover {
    background-color: #d4c1a4;
    color: #01152f !important;
    box-shadow: 0 6px 12px rgba(194, 175, 143, 0.4);
    transform: translateY(-2px);
}

/* Fade-in Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for multiple posts */
.blog-post:nth-child(1) { animation-delay: 0.1s; }
.blog-post:nth-child(2) { animation-delay: 0.2s; }
.blog-post:nth-child(3) { animation-delay: 0.3s; }
.blog-post:nth-child(4) { animation-delay: 0.4s; }
.blog-post:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 991px) {
    .blog-post {
        flex-direction: column !important;
    }

    .blog-post.reverse .post-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .post-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .post-content {
        padding: 1.5rem;
    }

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

    .post-excerpt {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-publications {
        padding: 3% 3% 5% 3%;
    }

    .content-publications h1 {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    .blog-posts {
        gap: 2rem;
    }

    .post-content {
        padding: 1rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-title {
        font-size: 1.3rem;
    }

    .post-excerpt {
        font-size: 0.95rem;
    }

    .post-image {
        height: 150px;
    }
}

/* Rodapé */
.footer {
    background-color: #01152f !important;
    color: #e2cfaf !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(226, 207, 175, 0.8);
    padding: 50px 0;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.5s ease;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Alinhar o h5 do contato com o h5 das redes sociais */
.footer .col-md-4:nth-child(3) h5 {
    align-self: center;
}

@media (min-width: 768px) {
    .footer .col-md-4 {
        align-items: flex-start;
    }
}

.footer .footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer .social-links a {
    background-color: rgba(226, 207, 175, 0.15);
    padding: 0.6rem 0.8rem;
    border-radius: 50%;
    color: #e2cfaf;
    transition: all 0.4s ease;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(226, 207, 175, 0.4);
}

.footer .social-links a:hover {
    background-color: rgba(226, 207, 175, 0.15) !important;
    color: #01152f !important;
    box-shadow: 0 0 15px #e2cfaf;
    transform: scale(1.3) rotate(10deg);
    transition: transform 0.4s ease;
}

.footer h5 {
    font-family: 'Parkinsans', cursive;
    font-weight: 700;
    font-size: 1.7rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.footer p {
    position: relative;
    z-index: 1;
    margin: 0.25rem 0;
}

.footer a {
    color: #e2cfaf !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fefcfb !important;
    text-shadow: 0 0 5px #e2cfaf, 0 0 10px #e2cfaf;
}

.footer ul.list-unstyled {
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer ul.list-unstyled li a {
    font-weight: 500;
    letter-spacing: 0.04em;
    display: block;
    padding: 2px 0;
}

.footer .text-white {
    color: #e2cfaf !important;
}

/* Linha horizontal do rodapé */
.footer hr {
    border-color: rgba(226,207,175,0.3);
    margin: 30px 0;
}

/* Parágrafo centralizado do rodapé */
.footer .text-center p {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

/* Estilo dos ícones sociais */
.footer a .fab {
    font-size: 1.4rem;
    vertical-align: middle;
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.footer a:hover .fab {
    transform: scale(1.3);
}

/* Ajustes responsivos do rodapé */
@media (max-width: 767px) {
    .footer {
        padding: 40px 20px;
        border-radius: 0;
    }
    .footer .container > .row > div {
        margin-bottom: 30px;
        text-align: center;
    }
}

/* Seção de profissionais */
.section-professionals {
    background: linear-gradient(135deg, #01152f 0%, #0a1f3d 100%);
    color: white;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5% 0;
    position: relative;
    overflow: hidden;
}

.section-professionals::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(226, 207, 175, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(0, -60px) rotate(180deg); }
    75% { transform: translate(-30px, -30px) rotate(270deg); }
}

/* Título da seção profissionais */
.content-professionals h1 {
    font-family: 'Parkinsans', cursive;
    color: #e2cfaf;
    font-weight: 700;
    font-size: 3.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(226, 207, 175, 0.5);
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.8rem;
}

/* Cards dos profissionais */
.card-profissionais {
    background-color: #fff;
    color: #01152f;
    width: 18rem;
    border: none;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.card-profissionais:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-profissionais img {
    height: 300px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.card-profissionais:hover img {
    transform: scale(1.1);
}

.card-profissionais .card-body {
    padding: 1.5rem;
}

.card-profissionais .card-title {
    font-family: 'Parkinsans', cursive;
    font-size: 1.5rem;
    color: #01152f;
    margin-bottom: 0.5rem;
}

.card-profissionais .card-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #4d4d4d;
}

/* Fade-in animation for professionals cards */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Responsividade para profissionais */
@media (max-width: 991px) {
    .card-profissionais {
        width: 100%;
        max-width: 18rem;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .section-professionals {
        padding: 3% 1rem;
    }

    .content-professionals h1 {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    .card-profissionais {
        width: 100%;
        margin-bottom: 1rem;
    }

    .card-profissionais img {
        height: 150px;
    }
}

/* Seção Sobre Nós */
.section-about-us {
    padding: 6% 0;
    font-family: 'Montserrat', sans-serif;
    color: #01152f;
    background: linear-gradient(135deg, #e2cfaf 20%, #f5f1e9 80%);
    overflow: hidden;
}

.content-about-us {
    max-width: 1200px;
}

/* Imagem dupla institucional */
.about-img-dupla {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(107, 76, 44, 0.22);
}

.about-img-dupla img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.about-img-dupla:hover img {
    transform: scale(1.03);
}

/* Texto */
.about-text {
    padding-left: 1rem;
}

.about-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #8a6040;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.about-title {
    font-family: 'Parkinsans', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: #6b4c2c;
    margin-bottom: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.about-divider {
    width: 55px;
    height: 3px;
    background: linear-gradient(to right, #6b4c2c, rgba(107, 76, 44, 0.25));
    border-radius: 2px;
    margin-bottom: 1.75rem;
}

.about-paragraph {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4d3b1a;
    margin-bottom: 1.25rem;
    text-align: left;
}

.btn-about-cta {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    background-color: #6b4c2c;
    color: #f5f1e9;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-about-cta:hover {
    background-color: #5a3f25;
    color: #f5f1e9;
    box-shadow: 0 6px 16px rgba(107, 76, 44, 0.35);
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 991px) {
    .section-about-us {
        padding: 4rem 0;
    }
    .about-text {
        padding-left: 0;
        padding-top: 0.5rem;
    }
    .about-title {
        font-size: 2.4rem;
    }
    .about-img-dupla img {
        height: 340px;
    }
}

@media (max-width: 576px) {
    .section-about-us {
        padding: 3rem 0;
    }
    .about-title {
        font-size: 2rem;
    }
    .about-paragraph {
        font-size: 1rem;
    }
    .about-img-dupla img {
        height: 240px;
    }
}

/* Seção Áreas de Atuação */
.section-areas-atuacao {
    background: linear-gradient(135deg, #fef7e3 30%, #d7c5a8 90%);
    padding: 5% 0;
    font-family: 'Montserrat', sans-serif;
    color: #423a16;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.content-areas-atuacao {
    max-width: 1200px;
    width: 100%;
}

.content-areas-atuacao h1 {
    font-family: 'Parkinsans', cursive;
    font-size: 3.8rem;
    font-weight: 700;
    color: #6b4c2c;
    text-align: center;
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.12);
}

.content-areas-atuacao .section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: #7a5c38;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
    letter-spacing: 0.02em;
}

/* Cards das áreas de atuação */
.card-practice-areas {
    background-color: #e2cfaf;
    color: #423a16;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(104, 75, 32, 0.3);
    border: none;
    width: 100%;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-practice-areas:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 14px 30px rgba(104, 75, 32, 0.5);
}

.card-practice-areas .card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
}

.card-practice-areas .card-title {
    font-family: 'Parkinsans', cursive;
    font-size: 1.8rem;
    color: #6b4c2c;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    text-align: center;
}

.card-practice-areas .card-text {
    font-size: 1.15rem;
    color: #6b4c2c;
    line-height: 1.5;
    text-align: center;
}

/* Responsividade */
@media (max-width: 991px) {
    .card-practice-areas {
        max-width: 100%;
        margin: 0 auto;
        height: auto;
    }

    .card-practice-areas .card-body {
        height: auto;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .content-areas-atuacao h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Seção de avaliações dos clientes */
.section-testimonials {
    background: linear-gradient(135deg, #f8f9fa 30%, #e9ecef 90%);
    padding: 5% 0;
    font-family: 'Montserrat', sans-serif;
    color: #01152f;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Divider embaixo do título Avaliações */
.content-testimonials h1 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    color: #01152f;
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    z-index: 1;
}

.content-testimonials h1::after {
    content: "";
    position: absolute;
    width: 10rem;
    height: 4px;
    background-color: #e2cfaf;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Cards das avaliações */
.card-testimonials {
    background-color: #ffffff;
    color: #01152f;
    border: none;
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    width: 100%;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

/* Efeito hover nos cards de avaliações */
.card-testimonials:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Corpo dos cards de avaliações */
.card-testimonials .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.5rem;
    height: auto;
    position: relative;
    z-index: 2;
}

/* Estrelas */
.stars {
    font-size: 1.5rem;
    color: #ffc107;
    text-align: center;
}

/* Blockquote */
.blockquote {
    font-style: italic;
    text-align: center;
    margin: 0;
}

.blockquote p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Footer do blockquote */
.blockquote-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 1rem;
}

/* Responsividade */
@media (max-width: 991px) {
    .card-testimonials {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .content-testimonials h1 {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    .card-testimonials .card-body {
        padding: 1.5rem 1rem;
    }

    .stars {
        font-size: 1.2rem;
    }

    .blockquote p {
        font-size: 0.9rem;
    }
}

/* Seção de contato */
.section-contato {
    background: linear-gradient(135deg, #01152f 0%, #e2cfaf 100%);
    padding: 5% 0;
    font-family: 'Montserrat', sans-serif;
    color: #fefcfb;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.section-contato::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(226, 207, 175, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.content-contato h1 {
    color: #e2cfaf;
    font-family: 'Parkinsans', cursive;
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.card-contato {
    background-color: rgba(255, 255, 255, 0.95);
    color: #01152f;
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.card-contato:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.card-contato .card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.icon-contato {
    font-size: 3rem;
    color: #e2cfaf;
    margin-bottom: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.card-contato:hover .icon-contato {
    color: #01152f;
    transform: scale(1.2);
}

.card-contato .card-title {
    font-family: 'Parkinsans', cursive;
    font-size: 1.5rem;
    font-weight: 600;
    color: #01152f;
    margin-bottom: 0.5rem;
}

.card-contato .card-text {
    font-size: 1rem;
    color: #4d4d4d;
    text-align: center;
}

/* Responsividade para contato */
@media (max-width: 991px) {
    .content-contato h1 {
        font-size: 2.5rem;
    }

    .card-contato .card-body {
        height: auto;
        padding: 1.5rem 1rem;
    }

    .icon-contato {
        font-size: 2.5rem;
    }

    .card-contato .card-title {
        font-size: 1.3rem;
    }

    .card-contato .card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-contato {
        padding: 3% 1rem;
    }

    .content-contato h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .card-contato {
        margin-bottom: 1rem;
    }

    .card-contato .card-body {
        padding: 1rem;
    }

    .icon-contato {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .card-contato .card-title {
        font-size: 1.1rem;
    }

    .card-contato .card-text {
        font-size: 0.85rem;
    }
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
    text-decoration: none !important;
    outline: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: white;
    font-size: 28px;
}

/* Ícone do WhatsApp no Footer */
.footer-whatsapp-icon {
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.footer-whatsapp-icon:hover {
    transform: scale(1.2);
}

.footer-whatsapp-icon i {
    color: #25d366;
    font-size: 24px;
}

/* Centralizar ícone do WhatsApp no footer */
.whatsapp-icon {
    margin-right: 0 !important;
    color:#e2cfaf;
}

/* Ajuste responsivo do ícone do Whatsapp */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float i {
        font-size: 24px;
    }

    .footer-whatsapp-icon i {
        font-size: 20px;
    }
}

/* ===== Section Equipe Home ===== */
.section-team-home {
    background: linear-gradient(160deg, #01152f 0%, #0a2040 60%, #01152f 100%);
    padding: 6% 0;
    position: relative;
    overflow: hidden;
}

.section-team-home::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(226, 207, 175, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.content-team-home {
    position: relative;
    z-index: 1;
}

.team-home-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #e2cfaf;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 0.75rem;
}

.team-home-title {
    font-family: 'Parkinsans', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    color: #e2cfaf;
    margin-bottom: 1rem;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.4);
}

.team-home-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Team Card */
.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(226, 207, 175, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(226, 207, 175, 0.3);
    border-color: rgba(226, 207, 175, 0.35);
}

.team-card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.team-card-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(25%);
}

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

.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1, 21, 47, 0.88) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-card-overlay {
    opacity: 1;
}

.btn-team-overlay {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1.75rem;
    border: 1.5px solid #e2cfaf;
    color: #e2cfaf;
    background: transparent;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-team-overlay:hover {
    background: #e2cfaf;
    color: #01152f;
}

.team-card-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.team-card-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(226, 207, 175, 0.6);
    margin-bottom: 0.35rem;
}

.team-card-name {
    font-family: 'Parkinsans', cursive;
    font-size: 1.7rem;
    font-weight: 700;
    color: #e2cfaf;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.team-card-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.team-area-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(226, 207, 175, 0.08);
    border: 1px solid rgba(226, 207, 175, 0.18);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .team-home-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .section-team-home {
        padding: 3rem 0;
    }
    .team-home-title {
        font-size: 1.9rem;
    }
    .team-card-name {
        font-size: 1.4rem;
    }
    .team-card-body {
        padding: 1.25rem;
    }
}
