header {
    background-color: var(--branco);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    transition: opacity 1.2s ease;
}

.hero-slide-bg, .hero-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide-bg {
    background-size: cover;
    background-position: center;
}

.hero-video-wrapper video, .hero-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.hero-slide.active .hero-slide-bg {
    animation: kenBurns 7s ease-out forwards;
}

.hero-slide-bg--1 {
    background-image: url('/assets/im1.jpg');
    background-color: #000;
}

.hero-slide-bg--2 {
    background-image: url('/assets/fortalecemos-sua-empresa.jpeg');
}

.hero-slide-bg--3 {
    background-image: url('/assets/comeca-aqui.jpg');
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(25, 16, 8, 0.58) 0%, rgba(25, 16, 8, 0.28) 55%, rgba(25, 16, 8, 0.06) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    padding-top: 80px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--amarelo-suave);
    margin-bottom: 1.2rem;
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    font-size: 3.5rem;
    color: #f5ede2;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(245, 237, 226, 0.85);
    margin-bottom: 3rem;
    line-height: 1.75;
    font-weight: 300;
    max-width: 88%;
}

.hero-slide .hero-tag, .hero-slide .hero-text h2, .hero-slide .hero-text p, .hero-slide .hero-text .btn-primario {
    opacity: 0;
    transform: translateY(26px);
}

.hero-slide.active .hero-tag {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s 0.3s ease, transform 0.8s 0.3s ease;
}

.hero-slide.active .hero-text h2 {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.85s 0.5s ease, transform 0.85s 0.5s ease;
}

.hero-slide.active .hero-text p {
    opacity: 0.85;
    transform: translateY(0);
    transition: opacity 0.85s 0.68s ease, transform 0.85s 0.68s ease;
}

.hero-slide.active .hero-text .btn-primario {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.75s 0.85s ease, transform 0.75s 0.85s ease;
}

.hero-slide .btn-primario:hover {
    background-color: transparent;
    border-color: var(--branco);
    color: var(--branco);
}

.hero-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.hero-dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--dourado);
    border-color: var(--dourado);
}

.areas {
    padding: 4rem 0;
    background-color: var(--branco);
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.area-card {
    background-color: var(--bege-claro);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--dourado);
}

.area-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--terracota);
}

.area-card ul {
    margin-top: 2rem;
}

.area-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--verde);
    font-weight: 300;
}

.area-card li::before {
    content: '•';
    color: var(--dourado);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    top: -5px;
}

.area-card-link {
    display: block;
    color: inherit;
}

.area-card-link .area-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.area-card-link:hover .area-card {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(160, 120, 67, 0.12);
}

.area-card-link .area-card::after {
    content: 'Ver detalhes';
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--terracota);
    font-weight: 600;
}

.profissionais {
    padding: 4rem 0;
    background-color: var(--bege-claro);
}

.profissionais-slider {
    position: relative;
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.profissionais-viewport {
    flex: 1;
    max-width: 1000px;
    overflow: hidden;
    position: relative;
}

.profissionais-track {
    display: flex;
    align-items: center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.profissional-card {
    flex: 0 0 60%;
    max-width: 560px;
    min-width: 260px;
    background-color: var(--branco);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin: 0 1.5rem;
    opacity: 0.45;
    transform: scale(0.88);
    filter: blur(3px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.profissional-card.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.profissional-imagem {
    width: 100%;
    height: 420px;
    background-color: var(--bege);
    background-size: cover;
    background-position: center top;
}

.profissional-info {
    padding: 2.5rem 2rem;
    text-align: center;
}

.profissional-info h3 {
    font-size: 1.8rem;
    color: var(--marrom);
    margin-bottom: 0.5rem;
}

.profissional-crp {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dourado);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.profissional-info p {
    font-size: 1rem;
    color: var(--verde);
}

.profissionais-btn {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--marrom);
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profissionais-btn:hover {
    background-color: var(--dourado);
    color: var(--branco);
}

.profissionais-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.profissionais-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--bege);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.profissionais-dot.active {
    background-color: var(--dourado);
    transform: scale(1.3);
}

.metodologia {
    padding: 4rem 0;
    background-color: var(--branco);
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--bege);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    width: 22%;
    text-align: center;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background-color: var(--branco);
    border: 2px solid var(--dourado);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    color: var(--terracota);
    font-family: var(--fonte-secundaria);
}

.timeline-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--marrom);
}

.timeline-item p {
    font-size: 0.95rem;
}

.blog {
    padding: 4rem 0;
    background-color: var(--branco);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.blog-card {
    background-color: var(--bege-claro);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-imagem {
    width: 100%;
    height: 220px;
    background-color: var(--bege);
    background-size: cover;
    background-position: center;
}

.blog-conteudo {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-categoria {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dourado);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.blog-titulo {
    font-size: 1.3rem;
    color: var(--marrom);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-resumo {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--terracota);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    align-self: flex-start;
}

.blog-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--terracota);
    transition: width 0.3s ease;
}

.blog-link:hover::after {
    width: 100%;
}

.blog-cta {
    text-align: center;
    margin-top: 4rem;
}

.depoimentos {
    padding: 8rem 0;
    background-color: var(--bege-claro);
    text-align: center;
}

.depoimento-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--branco);
    padding: 4rem;
    border-radius: 8px;
    position: relative;
}

.depoimento-box::before {
    content: '"';
    font-size: 8rem;
    color: var(--amarelo-suave);
    position: absolute;
    top: -20px;
    left: 40px;
    font-family: var(--fonte-secundaria);
    line-height: 1;
}

.depoimento-texto {
    font-family: var(--fonte-secundaria);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--verde);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.depoimento-autor {
    font-weight: 500;
    color: var(--marrom);
    letter-spacing: 1px;
}

/* COMPONENTES COMPARTILHADOS (Ambiente e CTA Final) */
.ambiente {
    padding-top: 0rem;
    padding-bottom: 4rem;
    background-color: var(--bege-claro);
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(160, 120, 67, 0.08);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--branco);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--marrom);
    font-family: var(--fonte-secundaria);
    font-size: 2rem;
    font-style: italic;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    color: var(--marrom);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: var(--branco);
    color: var(--dourado);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dot.active {
    background: var(--dourado);
    transform: scale(1.2);
}

.cta-final {
    padding: 10rem 0;
    background-color: var(--terracota);
    text-align: center;
    color: var(--branco);
}

.cta-final h2 {
    color: var(--branco);
    font-size: 3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .hero-text h2 {
        font-size: 2.8rem;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        width: 100%;
        max-width: 400px;
    }

    .carousel-slide {
        height: 400px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profissional-card {
        flex: 0 0 70%;
        margin: 0 1.2rem;
    }

    .profissional-imagem {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .hero-slide-content {
        padding-top: 70px;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .cta-final h2 {
        font-size: 2rem;
    }

    .area-card {
        padding: 2rem;
    }

    .carousel-slide {
        height: 300px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .profissionais-slider {
        display: block;
        position: relative;
        margin-top: 3rem;
    }

    .profissionais-viewport {
        width: 100%;
    }

    .profissionais-btn {
        position: absolute;
        top: 160px;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        z-index: 10;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .profissionais-btn.prev {
        left: 0;
    }

    .profissionais-btn.next {
        right: 0;
    }

    .profissional-card {
        flex: 0 0 85%;
        margin: 0 0.5rem;
        transform: scale(0.92);
    }

    .profissional-card.active {
        transform: scale(1);
    }

    .profissional-imagem {
        height: 320px;
    }

    .profissional-info {
        padding: 1.8rem 1.2rem;
    }

    .profissional-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .profissional-card {
        flex: 0 0 90%;
        margin: 0 0.25rem;
    }

    .profissionais-btn {
        width: 40px;
        height: 40px;
        top: 150px;
    }

    .profissional-imagem {
        height: 300px;
    }

    .profissionais-dots {
        gap: 8px;
    }
}