@font-face {
    font-family: 'Bradesco Sans';
    src: url('../assets/fonts/BradescoSans-Thin-web.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bradesco Sans';
    src: url('../assets/fonts/BradescoSans-Light-web.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bradesco Sans';
    src: url('../assets/fonts/BradescoSans-Regular-web.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bradesco Sans';
    src: url('../assets/fonts/BradescoSans-Medium-web.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #5881ab;
    --pink: #e2b3b3;
    --green: #a8dfb7;
    --dark: #595959;
    --text: #595959;
    --white: #ffffff;
    --field: #efeded;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Bradesco Sans", sans-serif;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
}

.hero-section {
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 18px;
    background: var(--primary);
    color: var(--white);
}

.hero-title {
    color: var(--white);
    font-size: clamp(1rem, 1.6vw, 1.375rem);
    font-weight: normal;
    line-height: 1;
    text-transform: uppercase;
}

.with-bars {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.with-bars::before {
    content: "";
    width: 3px;
    height: 25px;
    background: var(--white);
}

.with-bars::after {
    display: none;
}

.content-panel {
    min-height: calc(100vh - 108px);
    padding: 22px 0 58px;
    margin-top: -1px;
    background: var(--white);
    border-top-right-radius: clamp(90px, 15vw, 210px);
}

.main-title {
    max-width: 1080px;
    color: var(--primary);
    font-size: clamp(2.6rem, 6.2vw, 5rem);
    font-weight: normal;
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 58px;
}

.side-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    font-size: clamp(1.125rem, 2vw, 1.75rem);
    font-weight: normal;
    line-height: 1;
    text-transform: uppercase;
}

.side-bar::before {
    content: "";
    width: clamp(70px, 8vw, 118px);
    height: 23px;
    margin-left: -96px;
    border-radius: 0 100px 100px 0;
    flex: 0 0 auto;
}

.side-bar-pink::before {
    background: var(--pink);
}

.side-bar-blue::before {
    background: var(--primary);
}

.contact-form {
    width: min(520px, 100%);
    margin: 32px 0 30px clamp(28px, 3vw, 44px);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 8px;
    border-left: 4px solid var(--primary);
}

.form-group+.form-group {
    margin-top: 12px;
}

.contact-form label {
    color: #8c8c8c;
    font-size: 0.8125rem;
    font-weight: normal;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 7px;
    background: var(--field);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    padding: 10px 16px;
    outline: none;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23595959' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 5.4 8 10.2l4.8-4.8 1 1L8 12.2 2.2 6.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.contact-form textarea {
    min-height: 74px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(88, 129, 171, 0.18);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 100px;
    padding: 11px 34px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.button:active {
    transform: translateY(0);
}

.button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.button-pink {
    margin-top: 42px;
    background: var(--pink);
    color: #422b2b; /* Accessible contrast */
}

.button-pink:hover {
    background: #d49292;
}

.button-green {
    min-height: 44px; /* Standardized to 44px */
    background: var(--green);
    color: #243e2e; /* Accessible contrast */
}

.button-green:hover {
    background: #90c8a0;
}

.whatsapp-heading {
    margin-top: 18px;
}

.whatsapp-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 30px 0 0 clamp(28px, 3vw, 44px);
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-size: 1.125rem;
    font-weight: normal;
}

.whatsapp-icon-phone {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, 1260px);
    }

    .hero-section {
        min-height: 260px;
    }

    .content-panel {
        min-height: calc(100vh - 92px);
        border-top-right-radius: 92px;
        padding-top: 28px;
    }

    .main-title {
        font-size: clamp(2.1rem, 11vw, 3.6rem);
        margin-bottom: 42px;
    }

    .side-bar::before {
        width: 58px;
        margin-left: -16px;
    }

    .contact-form,
    .whatsapp-contact {
        margin-left: 0;
    }

    .contact-form {
        width: 100%;
    }
}