/* Hero Form - Formulário no topo da página */

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Breadcrumb */
.mdpacordos p {
    margin: 0;
    padding: 15px 0;
}

.mdpacordos a {
    text-decoration: none !important;
    font-size: 16px !important;
    font-style: normal !important;
    transition: opacity 0.3s ease;
}

.mdpacordos a:first-child {
    color: #2563eb !important;
    font-weight: 500;
}

.mdpacordos a:not(:first-child) {
    color: #64748b !important;
}

.mdpacordos a:hover {
    opacity: 0.7;
}

/* Conteúdo principal do hero */
.hero-content-wrapper {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.hero-content-wrapper h1 {
    margin-bottom: 25px;
    color: #1e293b;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #1e293b;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-benefits {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1100px;
}

.hero-benefits li {
    flex: 1;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
    text-align: left;
    position: relative;
    border-left: 4px solid #1e3a8a;
    transition: all 0.3s ease;
}

.hero-benefits li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Formulário em largura total */
.hero-form-full-width {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 35px 40px;
    margin: 40px auto;
    max-width: 1200px;
}

.hero-form-header-full {
    text-align: center;
    margin-bottom: 30px;
}

.hero-form-header-full h3 {
    color: #1e3a8a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-form-header-full p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

/* Formulário com campos lado a lado */
.hero-form-content-full .hs-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-form-content-full .hs-form fieldset {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-form-content-full .hs-form-field {
    flex: 1 1 calc(20% - 12px);
    min-width: 180px;
    margin-bottom: 0 !important;
}

.hero-form-content-full .hs-form-field.hs-fieldtype-booleancheckbox,
.hero-form-content-full .hs-form-field.hs-fieldtype-radio {
    flex: 1 1 100%;
}

.hero-form-content-full .hs-submit {
    flex: 1 1 100%;
    margin-top: 10px !important;
}

/* Wrapper do botão de scroll */
.hero-scroll-wrapper {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-cta-subtitle,
.topoemp_background .hero-cta-subtitle,
.hero-scroll-wrapper .hero-cta-subtitle {
    margin-top: 8px !important;
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    width: 100% !important;
    text-align: center !important;
}

/* Botão de navegação no hero */
.hero-scroll-wrapper .nav-button-container {
    margin: 0;
}

.hero-scroll-wrapper .nav-button {
    margin: 0;
    padding: 20px 32px;
    font-size: 16px;
}

/* Botão de scroll para funcionalidades IA */
.hero-scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #f59e0b;
    color: #ffffff !important;
    padding: 20px 48px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 0;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.hero-scroll-btn:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    color: #ffffff !important;
}

.hero-scroll-btn:visited,
.hero-scroll-btn:active,
.hero-scroll-btn:focus {
    color: #ffffff !important;
}

.hero-scroll-btn svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.hero-form-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
}

.hero-form-header {
    margin-bottom: 25px;
    text-align: center;
}

.hero-form-header h3 {
    color: #1e3a8a;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-form-header p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Conteúdo do formulário */
.hero-form-content {
    margin-bottom: 20px;
}

/* Customização do formulário HubSpot no hero */
.hero-form-content .hs-form {
    font-family: inherit;
}

.hero-form-content .hs-form-field {
    margin-bottom: 18px;
}

.hero-form-content .hs-form-field label {
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.hero-form-content .hs-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.3s ease;
}

.hero-form-content .hs-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.hero-form-content .hs-button {
    width: 100%;
    background: #1e3a8a;
    color: #ffffff;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.hero-form-content .hs-button:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.hero-form-content .hs-error-msgs {
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
}

.hero-form-content .hs-error-msg {
    color: #dc2626;
    font-size: 13px;
}

/* Footer do formulário */
.hero-form-footer {
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.hero-form-footer p {
    color: #1e3a8a;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: 500;
    padding: 10px 12px;
    background: #eff6ff;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 1400px) {
    .hero-form-content-full .hs-form-field {
        flex: 1 1 calc(33.333% - 10px);
        min-width: 200px;
    }
}

@media (max-width: 1200px) {
    .hero-form-full-width {
        padding: 30px 35px;
    }

    .hero-form-header-full h3 {
        font-size: 26px;
    }

    .hero-form-content-full .hs-form-field {
        flex: 1 1 calc(50% - 8px);
        min-width: 220px;
    }
}

@media (max-width: 1200px) {
    .hero-content-wrapper h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-benefits {
        gap: 20px;
    }

    .hero-benefits li {
        padding: 20px;
    }
}

@media (max-width: 968px) {
    .hero-content-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-content-wrapper h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 20px;
        max-width: 600px;
    }

    .hero-benefits li {
        font-size: 15px;
        padding: 20px;
    }

    .hero-scroll-btn {
        font-size: 20px;
        padding: 18px 40px;
    }

    .hero-form-full-width {
        padding: 25px 20px;
    }

    .hero-form-header-full h3 {
        font-size: 24px;
    }

    .hero-form-header-full p {
        font-size: 15px;
    }

    .hero-form-content-full .hs-form-field {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-content-wrapper h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-benefits {
        gap: 15px;
    }

    .hero-benefits li {
        font-size: 14px;
        padding: 18px;
    }

    .hero-scroll-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .hero-scroll-btn {
        font-size: 16px;
        padding: 16px 28px;
        gap: 10px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        width: 100%;
        justify-content: center;
    }

    .hero-scroll-btn svg {
        width: 20px;
        height: 20px;
    }

    .hero-scroll-wrapper .nav-button {
        width: 100%;
        max-width: 320px;
        padding: 16px 24px;
        font-size: 14px;
    }

    .hero-scroll-wrapper .nav-overlay {
        width: 90%;
        max-width: 320px;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0;
    }

    .hero-form-full-width {
        padding: 20px 15px;
        border-radius: 8px;
    }

    .hero-form-header-full h3 {
        font-size: 22px;
    }

    .hero-form-header-full p {
        font-size: 14px;
    }

    .hero-form-footer p {
        font-size: 12px;
        padding: 8px 10px;
    }

    .hero-form-content .hs-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .hero-form-content .hs-button {
        padding: 12px 20px;
        font-size: 15px;
    }
}
