.sobre-historia {
    padding: 8rem 0 6rem;
    background-color: var(--branco);
    position: relative;
    overflow: hidden;
}

.sobre-historia .container {
    max-width: 1150px;
    position: relative;
    z-index: 2;
}

.sobre-historia-decor {
    position: absolute;
    top: 50%;
    left: -150px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--bege-claro) 0%, transparent 60%);
    opacity: 0.6;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.sobre-historia-conteudo {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.sobre-historia-texto {
    position: relative;
}

.sobre-historia-texto h2 {
    font-size: 3rem;
    color: var(--marrom);
    margin-bottom: 1.8rem;
    line-height: 1.15;
}

.sobre-historia-texto p {
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--verde);
    font-weight: 300;
}

.sobre-historia-img-wrapper {
    position: relative;
    border-radius: 8px 80px 8px 80px;
    overflow: hidden;
    box-shadow: 15px 20px 60px rgba(160, 120, 67, 0.12);
}

.sobre-historia-img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sobre-historia-img-wrapper:hover .sobre-historia-img {
    transform: scale(1.04);
}

.conceito {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-color: var(--bege-claro);
}

.conceito-alternado {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.conceito-alternado .conceito-card {
    width: 48%;
    text-align: left;
    margin: 0;
}

.conceito-alternado .conceito-card:nth-child(odd) {
    align-self: flex-start;
}

.conceito-alternado .conceito-card:nth-child(even) {
    align-self: flex-end;
}

.conceito-alternado .conceito-card p {
    max-width: 100%;
}

.conceito-card {
    padding: 3.5rem 2.5rem;
    background-color: var(--branco);
    border-radius: 8px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.conceito-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(160, 120, 67, 0.08);
}

.conceito-icon {
    font-size: 2.5rem;
    color: var(--dourado);
    margin-bottom: 1.5rem;
    text-align: center;
}

.conceito-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--marrom);
    text-align: center;
}

.conceito-card--valores {
    padding: 3.5rem 2.5rem;
}

.conceito-card--valores p {
    margin-bottom: 1.5rem;
}

.valores-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.valores-lista li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--dourado);
    line-height: 1.65;
}

.valores-lista li:last-child {
    margin-bottom: 0;
}

.valores-lista li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--dourado);
    font-size: 1.2rem;
}

.valores-lista strong {
    color: var(--marrom);
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.valores-lista span {
    color: var(--verde);
    opacity: 0.95;
    font-size: 0.95rem;
}

/* COMPONENTES COMPARTILHADOS (Ambiente e CTA Final) */
.ambiente {
    padding-top: 0rem;
    padding-bottom: 4rem;
    background-color: var(--bege-claro);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 40px; /* Cria um espaço no fundo apenas para as bolinhas */
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 4rem; /* Garante que a foto não encoste nas setas laterais */
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background-color: var(--branco);
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(160, 120, 67, 0.15);
}

.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;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(160, 120, 67, 0.15);
}

.carousel-btn {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    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);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 5;
}

.carousel-btn:hover {
    background: var(--branco);
    color: var(--dourado);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: 150px;
}

.carousel-btn.next {
    right: 150px;
}

.carousel-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 5px;
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(160, 120, 67, 0.3); /* Mais escuro para dar contraste no fundo bege */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: var(--dourado);
    transform: scale(1.3);
}

.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) {
    .conceito-alternado .conceito-card {
        width: 80%;
    }

    .sobre-historia-conteudo {
        grid-template-columns: 1fr;
    }

    .sobre-historia-img-wrapper {
        border-radius: 8px 40px 8px 40px;
    }

    .sobre-historia-img {
        height: 400px;
        order: -1;
    }

    .carousel-slide {
        height: 450px;
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    .sobre-historia-texto h2 {
        font-size: 2.2rem;
    }

    .conceito-alternado .conceito-card {
        width: 100%;
        align-self: flex-start !important;
    }

    .cta-final h2 {
        font-size: 2rem;
    }

    .carousel-slide {
        height: 400px;
        padding: 0 2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-btn.prev {
        left: 0;
    }
    
    .carousel-btn.next {
        right: 0;
    }
}