*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    color: #5A6B80;
    font-family: "PT Serif", serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background-color: #FFFFFF;
}

img {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

.container {
    width: 100%;
    margin-inline: auto;
    padding: 0 160px;
}

@media(max-width: 700px) {
    .container {
        padding: 0 24px;
    }
}

.center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-family: "PT Serif", serif;
    color: #0F2F5C;
    font-weight: 700;
}

h1 {
    font-size: clamp(32px, 3vw, 64px);
    line-height: 1.2;
    color: #FFFFFF;
    z-index: 5;
    margin-bottom: 60px;
    width: 55%;
    text-transform: uppercase;
}

h2 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 16px;
}

h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.subtitle {
    font-size: clamp(20px, 1vw, 32px);
    color: #C7CEDA;
    z-index: 5;
    width: 35%;
    margin-bottom: 40px;
}

@media(max-width: 700px) {
    h1 {
        width: 100%;
    }

    .subtitle {
        width: 100%;
    }
}

.eyebrow {
    color: #2E7D52;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 8px;
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.85;
}

.btn-primary {
    background-color: #1FAA53;
    color: #FFFFFF;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 10;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-top {
    background-color: transparent;
    box-shadow: none;
}

.site-header.is-top .logo,
.site-header.is-top .main-nav a {
    color: #FFFFFF;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #0F2F5C;
    transition: color 0.3s ease;
}

.logo-image {
    width: 70px;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0F2F5C;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #2E7D52;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0F2F5C;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.site-header.is-top .menu-toggle span {
    background-color: #FFFFFF;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media(max-width: 700px) {

}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    height: 100vh;
    overflow: hidden;
}

.hero-inner {
    width: 100%;
    height: 100%;
    position: relative;
    align-items: center;
    gap: 40px;
    background: 
        linear-gradient(180deg, #222A49 0%, rgba(34, 42, 73, 0.00) 12.19%),
        linear-gradient(90deg, rgba(34, 42, 73, 0.90) 50.03%, rgba(34, 42, 73, 0.00) 66.16%);

    .hero-text {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 0 160px;
        margin-inline: auto;
    }
    
    .hero-image {
        width: 100%;
        position: absolute;
        z-index: -10;
    }
}

@media(max-width: 700px) {
    .hero-inner {
        background: 
            linear-gradient(180deg, #222A49 0%, rgba(34, 42, 73, 0.00) 12.19%),
            linear-gradient(90deg, rgba(34, 42, 73, 0.90) 50.03%, rgba(34, 42, 73, 0.3) 66.16%);

        .hero-text {
            padding: 0 24px;
        }
        
        .hero-image {
            height: 100vh;
            object-fit: cover;
            object-position: 83% center;
        }
    }
}

/* =========================================================
   PRECATÓRIOS QUE COMPRAMOS
   ========================================================= */
.precatorios-que-compramos {
    margin-top: -90px;
    position: relative;
    z-index: 5;
}

.precatorio-cards {
    display: flex;
    gap: 32px;
}

@media(max-width: 700px) {
    .precatorio-cards {
        flex-direction: column;
    }
}

.precatorio-card {
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.precatorio-card__header {
    position: relative;
    background-color: #0F2F5C;
    border-radius: 12px 12px 0 0;
    padding: 8px 16px;
}

.precatorio-card__title {
    display: inline-block;
    color: #FFFFFF;
    font-size: 24px;
    margin-bottom: 0;
    padding: 8px 14px;
    border-radius: 6px;
}

.precatorio-card__body {
    background-color: #F7F9FC;
    border-radius: 0 0 12px 12px;
    padding: 28px 24px;
}

.precatorio-card__body p {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 94%;
}

.precatorio-card__divider {
    border: none;
    border-top: 1px solid #E2E8F0;
    margin-bottom: 16px;
}

.link-arrow {
    color: #1FAA53;
    font-weight: 700;
    font-size: 16px;
}

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.como-funciona {
    padding-block: 96px;
    background-color: #FFFFFF;
}

.como-funciona h2 {
    margin-inline: auto;
    margin-bottom: 48px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.step-card {
    background-color: #F5F7FA;
    padding: 28px;
    border: 2px solid transparent;
    border-radius: 16px;
    border: 2px solid #E1EBF4;
    background: #F8FBFD;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
}

.step-card--highlight {
    border-color: #2E7D52;
    background-color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    font-size: 28px;
    background-color: #0F2F5C;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-number-success {
    background-color: #1FAA53;
}

.step-card p {
    font-size: 16px;
}

/* =========================================================
   ESTATÍSTICAS
   ========================================================= */
.stats {
    background-color: #0F2F5C;
    padding-block: 56px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    display: block;
    color: #FFFFFF;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    color: #c1c7d3;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================================
   PORQUE ESCOLHER
   ========================================================= */
.porque-escolher {
    padding-block: 96px;
    background-color: #EAF4FC;
}

.porque-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.porque-text p {
    font-size: 16px;
    margin-bottom: 24px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.reason-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 24px;
}

.reason-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #E7F2EC;
    color: #2E7D52;
    margin-bottom: 12px;
}

.reason-icon svg {
    width: 22px;
    height: 22px;
}

.reason-item p {
    font-size: 16px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
    padding-block: 96px;
    background-color: #FFFFFF;
}

.faq-title-link {
    color: #0F2F5C;
    padding-bottom: 4px;
}

.faq-list {
    margin: 40px auto 40px;
    text-align: left;
}

.faq-item {
    background-color: #F5F7FA;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #0F2F5C;
}

.faq-item p {
    margin-top: 12px;
    font-size: 15px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background-color: #0F2F5C;
    padding-top: 48px;
    padding-bottom: 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    border-radius: 50%;
}

.footer-logo span {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}

.footer-brand p {
    color: #B9C2D6;
    font-size: 15px;
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a svg {
    width: 18px;
    height: 18px;
}

.footer-socials a:hover {
    background-color: rgba(255, 255, 255, 0.16);
}

.footer-social--whatsapp {
    background-color: #1FAA53 !important;
}

.footer-contact li {
    margin-bottom: 16px;
}

.footer-label {
    display: block;
    color: #B9C2D6;
    font-size: 15px;
    margin-bottom: 2px;
}

.footer-value {
    display: block;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
}

.footer-address {
    color: #B9C2D6;
    font-style: normal;
    font-size: 15px;
    line-height: 1.9;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #B9C2D6;
    font-size: 15px;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    color: #8B96AC;
    font-size: 13px;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-cnpj {
    color: #8B96AC;
    font-size: 13px;
}

.footer-dot {
    color: #8B96AC;
    font-size: 13px;
}

.footer-privacy {
    color: #8B96AC;
    font-size: 13px;
}

.footer-privacy:hover {
    color: #FFFFFF;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 900px) {
    .hero-inner,
    .porque-inner {
        grid-template-columns: 1fr;
    }

    .precatorio-cards,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .reasons-grid,
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav ul {
        gap: 16px;
    }
}

@media (max-width: 560px) {
    .stats-grid,
    .reasons-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: #0F2F5C;
        transition: max-height 0.3s ease;
    }

    .main-nav.is-open {
        max-height: 400px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 24px 24px;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-nav a {
        display: block;
        padding: 14px 0;
        color: #FFFFFF;
    }
}
