/* CSS para o o que fazemos */

/* ================================== */
/* DESKTOP - Configuração base */
/* ================================== */

.o-que-fazemos {
    background-color: var(--branco);
    color: var(--preto-lavado-lavado);
    padding: clamp(40px, 8vw, 80px) clamp(1rem, 4vw, 20px) clamp(30px, 6vw, 50px);
    font-family: "Nebulica-ExtraLight", sans-serif;
    position: relative;
}

.texto-superior {
    text-align: center;
    margin-bottom: clamp(30px, 6vw, 60px);
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.texto-superior p {
    font-size: clamp(0.6rem, 2vw, 0.75rem);
    color: var(--preto-lavado-lavado);
    opacity: 0.6;
    letter-spacing: 0.5px;
    font-weight: 300;
    line-height: 1.8;
}

.o-que-fazemos .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: clamp(20px, 4vw, 40px);
    align-items: flex-start;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.o-que-fazemos .titulo {
    margin-bottom: 0;
    padding: 200px 0 50px 90px;
    width: 30%;
    text-align: left;
    flex-shrink: 0;
}

.o-que-fazemos .titulo h1 {
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-family: "Nebulica-ExtraLight", sans-serif;
    font-weight: 100;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -1px;
    opacity: 0.9;
    display: block;
    text-align: left;
    color: var(--preto-lavado-lavado);
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    max-width: 100%;
    height: auto;
    padding-left: 0;
}


.o-que-fazemos .titulo h1:hover {
    color: var(--amarelo-criativo);
}

.o-que-fazemos .titulo h1 .o-que-left {
    display: block;
    text-align: left;
    margin-left: 0;
    margin-bottom: 0.15em;
    position: relative;
}

.o-que-fazemos .titulo h1 .fazemos-right {
    display: block;
    text-align: left;
    margin-left: 0;
    position: relative;
    left: -1.5em;
}

.o-que-fazemos .conteudo {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 15px;
    width: 70%;
    max-width: clamp(600px, 90vw, 800px);
}

.o-que-fazemos .conteudo .item h2::before {
    content: "_";
    color: rgba(0, 0, 0, 1);
    font-weight: 900;
    margin-right: 5px;
}

.o-que-fazemos .item {
    border-top: 1.5px solid var(--preto-lavado);
    padding: clamp(25px, 4vw, 35px) 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.o-que-fazemos .item:last-child {
    border-bottom: 1.5px solid var(--preto-lavado);
}

.o-que-fazemos .item .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: clamp(10px, 2vw, 20px);
}

.o-que-fazemos .item h2 {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    text-transform: lowercase;
    color: rgba(0, 0, 0, 1);
    font-weight: 400;
    letter-spacing: 0px;
    margin: 0;
    flex: 1;
}

.o-que-fazemos .item .seta {
    position: relative;
    width: clamp(4px, 1.5vw, 6px);
    height: clamp(4px, 1.5vw, 6px);
    border: solid var(--preto-lavado);
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: clamp(10px, 2vw, 15px);
    flex-shrink: 0;
    z-index: 2;
}

.o-que-fazemos .item .seta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(16px, 5vw, 22px);
    height: clamp(16px, 5vw, 22px);
    border: 1px solid var(--preto-lavado);
    border-radius: 50%;
    transform: translate(-45%, -45%);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
}

@media (max-width:1024px){
.o-que-fazemos .container{flex-direction:column;align-items:center}
.o-que-fazemos .titulo{width:100%;text-align:center;padding:clamp(25px,6vw,50px) 0}
.o-que-fazemos .titulo h1{justify-content:center;align-items:center;text-align:center;display:flex;flex-direction:column;font-size:clamp(2.5rem, 6vw, 4.5rem)}
.o-que-fazemos .titulo h1 .o-que-left{margin-left:0;text-align:center;left:0!important;position:static!important}
.o-que-fazemos .titulo h1 .fazemos-right{margin-left:0;text-align:center;left:0!important;position:static!important}
.o-que-fazemos .conteudo{width:100%;padding-top:0}
.o-que-fazemos .item:hover .seta{transform:rotate(45deg)}
.o-que-fazemos .item:hover .item-texto{max-height:0;opacity:0;overflow:hidden}
.o-que-fazemos .item.ativo .seta{transform:rotate(-135deg)!important;transition:transform .2s ease!important}
.o-que-fazemos .item.ativo p{display:block!important;opacity:1!important;max-height:200px!important;transition:all .2s ease!important}
.o-que-fazemos .item .seta{transition:transform .2s ease!important;width:clamp(4px,1.5vw,6px)!important;height:clamp(4px,1.5vw,6px)!important}
.o-que-fazemos .item .seta::before{width:clamp(16px,5vw,22px)!important;height:clamp(16px,5vw,22px)!important}
.o-que-fazemos .item p{transition:all .2s ease!important}
}
    
@media (min-width:1025px){
.o-que-fazemos .titulo h1{font-size:4.5rem}
.o-que-fazemos .titulo h1 .fazemos-right{left:-115px}
.o-que-fazemos .item:hover .seta{transform:rotate(-135deg)}
.o-que-fazemos .item:hover p{display:block;opacity:1;max-height:200px}
}
.o-que-fazemos .item.ativo .seta{transform:rotate(-135deg)}
.o-que-fazemos .item p{display:none;font-size:.9rem;line-height:1.6;padding-top:15px;color:rgba(0,0,0,1);margin:0;max-width:90%;opacity:0;max-height:0;overflow:hidden;transition:all .3s ease}
.o-que-fazemos .item.ativo p{display:block;opacity:1;max-height:200px}
.o-que{font-family:'Nebulica-ExtraLight',sans-serif;font-weight:50;margin-bottom:15px;text-transform:uppercase;color:var(--branco)}
.item-texto{left:5rem}
