* {
    font-family: "Yantramanav", sans-serif;
}

:root {
    --primary: #B20819;
    --secondary: #262626;
    --blue: #080C24;
}

html {
    scroll-padding-top: 170px;
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

.sans {
    font-family: "Public Sans", sans-serif;
}

header.scrolled .bg-white,
header.scrolled .lg\:bg-secondary {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.main-btn {
    background-color: var(--primary);
    padding: 15px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
    display: block;
    width: fit-content;
}

.main-btn:hover {
    background-color: #fff;
    color: var(--primary);
}

.hover-color {
    transition: all 0.3s ease;
}

.hover-color:hover {
    color: var(--primary);
}

.section-title {
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
}

.section-subtitle {
    all: unset;
    position: relative;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.6rem 0.8rem;
    background: transparent;
    backdrop-filter: blur(0px);
    color: var(--primary);
    border-radius: 15px;
}

.section-subtitle:before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(to top, var(--primary) 0%, transparent 67%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

div.details {
    background: url(../img/shape-2.webp);
    padding: 45px 30px;
    background-position: center;
    background-size: cover
}

section#modalidades {
    background: url(../img/modalidades-bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

section#diferenciais {
    background: url(../img/diffs-bg.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: -180px;
}

.counter-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 50px;
}

.counter-item:not(:last-child):after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    height: 100%;
    width: 4px;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background: var(--primary);
}

#contact-form input,
#contact-form textarea {
    background: #F0F1F2;
    border: transparent;
    padding: 15px 15px 15px 45px;
    /* espaço pro ícone */
    width: 100%;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form input:active,
#contact-form textarea:active {
    outline: none;
    border: none;
    box-shadow: none;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #2b2b2b;
}

.input-wrapper {
    position: relative;
}

.input-wrapper svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #2b2b2b;
    pointer-events: none;
}

.input-wrapper.textarea-wrapper svg {
    top: 18px;
    transform: none;
}

@media (max-width: 991px) {
    .counter-item {
        padding: 0 16px;
    }
}

@media (max-width: 637px) {
    section#diferenciais {
        margin-top: -35px;
    }

    .counter-item {
        padding: 30px 0;
    }

    .counter-item:not(:last-child):after {
        top: auto;
        right: auto;
        transform: none;
        bottom: 0;
        left: 50%;
        translate: -50% 0;
        height: 4px;
        width: 85%;
    }
}