* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-header: #f1f0ec; 
    --bg-main:#e5e2da; 
    --verde-vitta: #49582c; 
    --vermelho-vitta: #8d3229;
    --vermelho-hover:  #690c03;
    --primary-green: #8B9A5B;
    --light-vitta: #ffeccc; 
    --white: #FFFFFF;

    --font-title: 'Belleza', serif;
    --font-body: 'Questrial', sans-serif;

    --container-max-width: 1200px;
    --header-height: 80px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--verde-vitta);
    background-color: var(--bg-main);
    overflow-x: hidden; 
}

.container, .content, .quote-content, .team-content {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.sobre-nos {
    position: relative;
    background-color: var(--bg-main);
}

.leaf-decoration {
    position: absolute;
    top: 10rem;
    left: 0;
    z-index: 1;
}

.leaf-decoration img {
    width: 10rem;
    height: auto;
    opacity: 0.9;
}

.content {
    max-width: 800px;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
}

h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--verde-vitta);
    font-weight: 300;
    margin-bottom: 30px;
    text-align: left;
    padding-top: 5rem;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    text-align: justify;
}

p strong {
    color: var(--primary-green);
    font-weight: 600;
}

.main-image {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0px;
}

.quote-section {
    background-color: var(--bg-main);
    padding: 8rem 20px 5rem 20px;
}

.quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
}

.quote-text {
    position: relative;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.quote-marks-left {
    position: absolute;
    top: 0;
    left: 0;
}

.quote-marks-right {
    position: absolute;
    bottom: 0;
    right: 0;
}

.quote-marks-left img,
.quote-marks-right img {
    width: 90px;
    height: auto;
    opacity: 0.7;
}

blockquote {
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    padding: 2.5rem 0 0 6rem;
    position: relative;
    text-align: center;
}

blockquote p {
    font: var(--font-title);
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 1.5rem;
}

cite {
    font-size: 0.9rem;
    color: #888;
    font-style: normal;
    font-weight: 300;
    display: block;
    margin-top: 10px;
}

.quote-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-image img {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-section {
    background-color: var(--bg-main);
    padding: 60px 0;
    padding-top: 2rem;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.integrante-wrapper {
    position: relative; 
    overflow: hidden;
}

.integrante {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; 
}

.integrante-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 58, 39, 0.8); 
    opacity: 0; 
    transition: opacity 0.3s ease;
    z-index: 2;
}

.integrante-name {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: white; 
    font-size: 15px;
    font-family: 'Questrial', sans-serif;
    text-align: center;
    opacity: 0; 
    transition: opacity 0.3s ease 0.1s; 
    z-index: 3; 
    pointer-events: none; 
}

.integrante-wrapper:hover::after {
    opacity: 1; 
}

.integrante-wrapper:hover .integrante-name {
    opacity: 1; 
}

.integrante-wrapper:hover .integrante {
    transform: scale(1.05); 
}

.team-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 450px;
}

.image-grid img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-text {
    position: relative;
}

.team-text h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--verde-vitta);
    font-weight: 300;
    margin-bottom: 20px;
}

.team-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.team-leaf-decoration {
    position: absolute;
    bottom: -50px;
    right: -3rem;
    width: 100px;
    height: auto;
}

.team-leaf-decoration img {
    width: 10rem;
    height: auto;
    opacity: 0.9;
}


@media (max-width: 1024px) {
    .leaf-decoration,
    .team-leaf-decoration {
        display: none;
    }
    
    .quote-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .quote-image {
        display: none;
    }

    blockquote {
        font-size: 1.2rem;
        padding: 20px 0;
    }

    .team-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-images {
        order: 2;
    }

    .team-text {
        order: 1;
    }

    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        text-align: center;
        padding-top: 3rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .main-image img {
        height: 300px;
    }
    
    .quote-section {
        padding: 4rem 20px 3rem 20px;
    }
}

@media (max-width: 480px) {

    blockquote {
        font-size: 1.1rem;
        padding: 10px 15px 0 15px;
    }

    .quote-marks-left {
        top: -10px;
        left: 0;
    }
    .quote-marks-right {
        bottom: -10px;
        right: 0;
    }
    .quote-marks-left img,
    .quote-marks-right img {
        width: 60px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    .main-image img {
        height: 250px;
    }
    
    .team-section {
        padding: 40px 0;
    }

    .team-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

