/* POSTULATE ========================================================= */
#intro {
    margin-top: 89px;
    padding: var(--paddingMedium) 0;
    background-color: var(--gris-2);
}

#intro h1 {
    font-size: clamp(3rem, 12.3vw, 7.8rem);
    line-height: 1.2em;
    font-weight: 800;
    max-width: 700px;
}

@media screen and (max-width: 800px) {
    #intro {
        margin-top: 0;
    }
}

/* VIDEO */
#video {
    background-color: var(--gris-2);
}

#video .videoWrapper {
    max-width: min(1100px, calc(100% - 20px));
    margin-inline: auto; }

#video .wrapper {
    flex: 1;
    height: 0;
    position: relative;
    padding-bottom: 56.6%;
    height: 0;
    width: 100%;
    border-radius: var(--radiusV);
    overflow: hidden;
}

#video .wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent !important;
}

/* BÃšSQUEDAS */
#search {
    background-color: var(--gris-2);
    padding: var(--paddingMedium) 0 0 0;
}

#search h2 {
    font-size: clamp(2rem, 7vw, 3.8rem);
    line-height: 1.2em;
    margin-bottom: 1em;
    text-align: center;
}

#search #offers > li {
    border-radius: calc(var(--radiusV) * 0.7);
    transition: box-shadow 0.3s;
    padding-bottom: 20px;
}

#search #offers > li:not(:last-child) {
    margin-bottom: max(2.0vw, 30px);
}

/* #search #offers > li:nth-child(1) {
    background-color: var(--dorado-3);
} */
#search #offers li.erp {
    background-color: var(--coral-2);
}

#search #offers li.agro {
    background-color: var(--verde-2);
}

#search #offers li.hcm {
    background-color: var(--purpura-3);
}

#search #offers li.owner {
    background-color: var(--dorado-3);
}

#search #offers li.backend {
    background-color: var(--azul-3);
}

#search #offers li.frontend {
    background-color: var(--azul-3);
}

#search #offers li.infraestructura {
    background-color: var(--dorado-3);
}

#search #offers li.funcional {
    background-color: var(--dorado-2);
}

/* #search #offers > li:nth-child(2) {
    background-color: var(--verde-2);
} */
/* 
#search #offers > li:nth-child(3) {
    background-color: var(--purpura-3);
}

#search #offers > li:nth-child(4) {
    background-color: var(--verde-3);
}

#search #offers > li:nth-child(5) {
    background-color: var(--coral-2);
}

#search #offers > li:nth-child(6) {
    background-color: var(--azul-3);
}

#search #offers > li:nth-child(7) {
    background-color: var(--dorado-1);
}

#search #offers > li:nth-child(8) {
    background-color: var(--coral-3);
}

#search #offers > li:nth-child(9) {
    background-color: var(--azul-4);
} */
#search #offers > li.future {
    background-color: #FFF;
    margin-top: 5.0em;
    padding-bottom: 20px;
}

#search #offers > li:hover {
    box-shadow: 0 0 10px rgb(0 0 0 / 0.3);
}

#search #offers .title {
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#search #offers .future .title {
    padding: 20px 20px 0 20px;
}

#search #offers .title h3 {
    font-weight: 700;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    line-height: 1.3em;
    /* flex: 1; */
}

#search #offers .future .title h3 {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

#search #offers li .title i {
    font-size: 30px;
    color: #000;
    transition: all 0.2s;
    margin-left: 0;
    transform: rotate(90deg);
}

#search #offers li.expanded .title i {
    transform: rotate(-90deg);
}

#search #offers .datasheet {
    padding: 0 20px 0 20px;
    font-weight: 600;
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    line-height: 1.2em;
}

#search #offers .datasheet p {
    position: relative;
    padding-left: 1.2em;
    flex-wrap: wrap;
}

#search #offers .datasheet p:not(:last-child) {
    margin-bottom: .5em;
}

#search #offers .datasheet p i {
    position: absolute;
    left: 0;
    top: .1em;
}

#search #offers .datasheet p span {
    white-space: nowrap;
}

#search #offers .description {
    display: none;
}

#search #offers .description {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows ease-in-out 300ms;
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    line-height: 1.5em;
}

#search #offers li.expanded .description {
    grid-template-rows: 1fr;
}

#search #offers .description > div {
    overflow: hidden;
    padding: 0 20px 0 20px;
}

#search #offers .description .wrapper {
    margin-top: 10px;
    padding: 20px min(100px, 5%);
    background: #fff;
    border-radius: calc(var(--radiusV) * 0.3);
}

#search #offers .future .description .wrapper {
    padding-bottom: 0;
}

#search #offers .description h4 {
    margin-bottom: .5em;
}

#search #offers .description p:not(:last-child), #search #offers .future .description p:not(:last-child) {
    margin-bottom: 1.5em;
}

#search #offers .description ul:not(:last-child) {
    margin-bottom: 1em;
}

#search #offers .future .description p {
    text-align: center;
    font-weight: 500;
    font-size: clamp(1.3rem, 2.5vw, 1.4rem);
    line-height: 1.3em;
    max-width: 730px;
    margin: 0 auto 0 auto;
}

#search #offers .description ul li {
    position: relative;
    padding-left: 1.2em;
}

#search #offers .description ul li:not(:last-child) {
    margin-bottom: .5em;
}

#search #offers .description ul li i {
    position: absolute;
    top: 0.2em;
    left: 0;
}

/* CALL TO ACTION */
#future {
    background-color: var(--gris-2);
    padding: var(--paddingMedium) 0 0 0;
}

#future #people .title h3 {
    text-align: center;
    font-weight: 700;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    line-height: 1.3em;
    /* flex: 1; */
}

#future .title i {
    transform: rotate(90deg);
}

#future {
    background-color: white;
}

#future #people {
    border-radius: calc(var(--radiusV) * 0.7);
    transition: box-shadow 0.3s;
    padding-bottom: 2em;
}

#future #people > li:not(:last-child) {
    margin-bottom: 2.5em;
}

#future #people .description .wrapper p:not(:last-child) {
    margin-bottom: 1.3em;
}

#cta {
    background-color: var(--gris-2);
    padding: var(--paddingMedium) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cta p {
    font-weight: 600;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    line-height: 1.3em;
    text-align: center;
    max-width: min(800px, calc(100% - 20px));
    margin-bottom: 1.5em;
}

#cta p.thanks {
    font-weight: 700;
    max-width: min(600px, calc(100% - 20px));
    margin-bottom: 0;
}

#cta p.thanks span {
    white-space: nowrap;
}

#cta a {
    background-color: var(--dorado-2);
    font-size: clamp(1.0rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--marino);
    padding: 0.5em 1em 0.55em 1em;
    border-radius: 1.3em;
    margin-bottom: 1.8em;
    transition: all .2s;
}

#cta a:hover {
    background-color: var(--dorado-1);
}
