:root {
    --green-primary: #00a899;
    --green-primary-dark: #008e82;
    --green-deep: #00422f;
    --green-deep-soft: #07533e;
    --green-light: #b5cf6e;

    --white: #ffffff;
    --black: #111111;
    --text-dark: #17201d;
    --text-muted: #5f6c67;
    --border: #dce4e1;
    --surface: #f5f8f7;

    --header-height: 76px;
    --container: 1280px;

    --shadow-card: 0 24px 70px rgba(0, 34, 25, 0.25);
    --shadow-button: 0 12px 30px rgba(0, 168, 153, 0.25);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --transition: 220ms ease;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--white);
    color: var(--text-dark);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.mobile-menu-open,
body.modal-open {
    overflow: hidden;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

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

[hidden] {
    display: none !important;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 50;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 66, 47, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-container {
    width: min(calc(100% - 48px), var(--container));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 155px;
    margin-right: auto;
}

.brand-logo {
    width: auto;
    max-width: 165px;
    max-height: 50px;
    object-fit: contain;
}

.brand-fallback {
    display: none;
    color: var(--green-deep);
    font-size: 23px;
    font-weight: 800;
}

.brand-fallback strong {
    color: var(--green-primary);
}

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.desktop-navigation a {
    position: relative;
    padding: 10px 0;
    color: #3f4945;
    font-size: 15px;
    font-weight: 600;
}

.desktop-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--green-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.desktop-navigation a:hover::after {
    transform: scaleX(1);
}

.header-whatsapp-button {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 11px;
    background: var(--green-primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 750;
    box-shadow: 0 10px 24px rgba(0, 168, 153, 0.2);
    transition:
        background var(--transition),
        transform var(--transition);
}

.header-whatsapp-button:hover {
    background: var(--green-primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-button span {
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: var(--green-deep);
    transition:
        transform var(--transition),
        opacity var(--transition);
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-navigation {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    overflow: hidden;
    isolation: isolate;
    background: var(--green-deep);
}

.hero-video {
    position: absolute;
    z-index: -4;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    z-index: -3;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 32, 23, 0.91) 0%,
            rgba(0, 43, 31, 0.74) 35%,
            rgba(0, 41, 30, 0.28) 66%,
            rgba(0, 30, 22, 0.24) 100%
        );
}

.hero-container {
    width: min(calc(100% - 48px), var(--container));
    min-height: calc(100svh - var(--header-height));
    margin: 0 auto;
    padding: 64px 0 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 510px);
    align-items: center;
    gap: clamp(54px, 8vw, 130px);
}

.hero-copy {
    max-width: 690px;
    color: var(--white);
}

.hero-eyebrow {
    width: fit-content;
    margin: 0 0 20px;
    padding: 8px 14px;
    border: 1px solid rgba(181, 207, 110, 0.55);
    border-radius: 999px;
    background: rgba(0, 66, 47, 0.48);
    color: #d9eda1;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(47px, 5.5vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-copy h1 span,
.hero-copy h1 strong {
    display: block;
}

.hero-copy h1 span {
    margin-bottom: 10px;
    font-size: 0.58em;
    font-weight: 600;
}

.hero-copy h1 strong {
    color: var(--green-light);
    font-weight: 850;
}

.hero-description {
    max-width: 610px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.58;
}

.hero-highlights {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px 25px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
}

.hero-highlights svg {
    width: 23px;
    height: 23px;
    padding: 4px;
    border-radius: 50%;
    background: var(--green-primary);
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    width: 100%;
    min-height: 430px;
    padding: clamp(27px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-card);
    color: var(--text-dark);
}

.hero-card h2 {
    margin: 0;
    color: var(--black);
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 450;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.hero-card h2 strong {
    color: var(--green-deep);
    font-weight: 850;
}

.law-modal-trigger {
    margin: 7px 0 0;
    padding: 0;
    background: transparent;
    color: var(--green-primary-dark);
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.card-description,
.calculator-description {
    margin: 20px 0 26px;
    color: var(--text-muted);
    font-size: 17px;
}

.profile-options {
    display: grid;
    gap: 13px;
}

.profile-button {
    width: 100%;
    min-height: 76px;
    padding: 12px 18px;
    border-radius: 15px;
    background: var(--green-primary);
    color: var(--white);
    cursor: pointer;
    display: grid;
    grid-template-columns: 44px 1fr 24px;
    align-items: center;
    gap: 13px;
    text-align: left;
    box-shadow: var(--shadow-button);
    transition:
        transform var(--transition),
        background var(--transition);
}

.profile-button:hover {
    background: var(--green-primary-dark);
    transform: translateY(-3px);
}

.profile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
}

.profile-icon svg {
    width: 23px;
    height: 23px;
}

.profile-button > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.profile-button strong {
    font-size: 17px;
}

.profile-button small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
}

.profile-arrow {
    width: 22px;
}

.card-kicker {
    margin: 0 0 12px;
    color: var(--green-primary-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.form-back-button {
    margin: -5px 0 20px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    color: var(--green-deep);
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
}

.form-back-button svg {
    width: 18px;
}

.selected-profile-label {
    margin: 10px 0 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.selected-profile-label strong {
    color: var(--green-primary-dark);
}


/* =========================================================
   CALCULADORA
========================================================= */

.calculator-step,
.form-step {
    animation: stepFadeIn 300ms ease both;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(9px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bill-value-field {
    display: grid;
    gap: 7px;
}

.bill-value-field label {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 780;
}

.currency-input {
    height: 62px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    overflow: hidden;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.currency-input:focus-within {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 4px rgba(0, 168, 153, 0.12);
}

.currency-input span {
    height: 100%;
    padding: 0 15px;
    background: #edf7f4;
    color: var(--green-deep);
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 850;
}

.currency-input input {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    outline: 0;
    border: 0;
    background: transparent;
    color: var(--text-dark);
    font-size: 23px;
    font-weight: 800;
}

.currency-input input::placeholder {
    color: #a4adaa;
}

.bill-value-field > small {
    color: #7a8581;
    font-size: 11px;
}

.calculator-error {
    color: #c33434 !important;
    font-weight: 700;
}

.savings-result {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid rgba(0, 168, 153, 0.16);
    border-radius: 17px;
    background:
        linear-gradient(
            135deg,
            #f0faf7 0%,
            #ffffff 100%
        );
}

.savings-main-result {
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(0, 66, 47, 0.1);
}

.savings-main-result span,
.savings-result-grid span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.savings-main-result strong {
    display: block;
    margin-top: 4px;
    color: var(--green-primary-dark);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.savings-result-grid {
    margin-top: 17px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.savings-result-grid > div {
    min-width: 0;
}

.savings-result-grid strong {
    display: block;
    margin-top: 5px;
    color: var(--green-deep);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.25;
}

.calculator-disclaimer {
    margin: 15px 0 0;
    color: #78827e;
    font-size: 10px;
    line-height: 1.55;
}

.calculator-continue-button {
    width: 100%;
    min-height: 55px;
    margin-top: 18px;
    padding: 0 20px;
    border-radius: 12px;
    background: var(--green-deep);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 850;
    transition:
        background var(--transition),
        transform var(--transition);
}

.calculator-continue-button:hover {
    background: var(--green-deep-soft);
    transform: translateY(-2px);
}

.calculator-continue-button svg {
    width: 19px;
}

.form-savings-summary {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #edf8f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.form-savings-summary span {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.form-savings-summary strong {
    color: var(--green-primary-dark);
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.lead-form {
    display: grid;
    gap: 15px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    font-size: 13px;
    font-weight: 750;
}

.form-field input {
    width: 100%;
    height: 53px;
    padding: 0 15px;
    outline: 0;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 16px;
}

.form-field input:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 4px rgba(0, 168, 153, 0.12);
}

.form-field.has-error input {
    border-color: #d64545;
}

.field-error {
    color: #c33434;
    font-size: 12px;
}

.privacy-checkbox {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 9px;
    color: var(--text-muted);
    font-size: 12px;
}

.privacy-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--green-primary);
}

.privacy-checkbox a {
    color: var(--green-primary-dark);
    font-weight: 750;
    text-decoration: underline;
}

.form-submit-button {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    border-radius: 12px;
    background: var(--green-deep);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 850;
}

.form-submit-button svg {
    width: 19px;
}

.form-security-note {
    margin: 0;
    color: #7a8581;
    font-size: 11px;
    text-align: center;
}


/* =========================================================
   TÍTULOS GERAIS
========================================================= */

.section-kicker {
    margin: 0 0 13px;
    color: var(--green-primary-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.discount-path-container,
.audience-container,
.journey-container,
.faq-container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
    padding: clamp(76px, 8vw, 124px) 0;
}

.discount-path-heading,
.audience-heading,
.journey-heading,
.faq-heading {
    max-width: 820px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    text-align: center;
}

.discount-path-heading h2,
.audience-heading h2,
.journey-heading h2,
.faq-heading h2 {
    margin: 0;
    color: var(--green-deep);
    font-size: clamp(35px, 4vw, 58px);
    font-weight: 830;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.audience-heading > p:last-child,
.journey-heading > p:last-child,
.faq-heading > p:last-child {
    max-width: 720px;
    margin: 20px auto 0;
    color: var(--text-muted);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
}


/* =========================================================
   CAMINHO
========================================================= */

.discount-path-section {
    background: var(--white);
}

.discount-path-picture,
.discount-path-image {
    display: block;
    width: 100%;
}


/* =========================================================
   QUEM ATENDEMOS
========================================================= */

.audience-section {
    background: #f5f9f7;
}

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

.audience-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(0, 50, 37, 0.08);
}

.audience-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
}

.audience-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audience-card-content {
    position: relative;
    padding: 28px;
}

.audience-card-number {
    position: absolute;
    top: -23px;
    right: 25px;
    width: 46px;
    height: 46px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--green-primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 850;
}

.audience-card h3 {
    margin: 0;
    color: var(--green-deep);
    font-size: 27px;
}

.audience-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

.audience-eligibility,
.journey-specialist-box {
    margin-top: 50px;
    padding: 30px;
    border-radius: 22px;
    background: var(--green-deep);
    color: var(--white);
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 23px;
}

.eligibility-icon,
.journey-specialist-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: var(--green-light);
    color: var(--green-deep);
    display: grid;
    place-items: center;
}

.eligibility-icon svg,
.journey-specialist-icon svg {
    width: 30px;
}

.eligibility-content h3,
.journey-specialist-content h3 {
    margin: 0;
    color: var(--green-light);
}

.eligibility-content p,
.journey-specialist-content > p:last-child {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.65;
}

.eligibility-button,
.journey-whatsapp-button {
    min-height: 52px;
    padding: 0 20px;
    border-radius: 12px;
    background: var(--green-primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 820;
}

.eligibility-button svg,
.journey-whatsapp-button svg {
    width: 18px;
}


/* =========================================================
   JORNADA
========================================================= */

.journey-section {
    background: var(--white);
}

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

.journey-card {
    min-height: 300px;
    padding: 27px;
    border: 1px solid rgba(0, 66, 47, 0.1);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 16px 42px rgba(0, 50, 37, 0.08);
}

.journey-card-top {
    display: flex;
    justify-content: space-between;
}

.journey-number {
    color: rgba(0, 66, 47, 0.17);
    font-size: 44px;
    font-weight: 900;
}

.journey-icon {
    width: 66px;
    height: 66px;
    padding: 12px;
    border-radius: 19px;
    background: #eef8f5;
}

.journey-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.journey-card h3 {
    margin: 22px 0 0;
    color: var(--green-deep);
    font-size: 23px;
}

.journey-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

.journey-specialist-kicker {
    margin: 0 0 5px;
    color: var(--green-light);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    background:
        linear-gradient(
            180deg,
            #f4f8f7 0%,
            #ffffff 100%
        );
}

.faq-container {
    max-width: 1100px;
}

.faq-list {
    display: grid;
    gap: 13px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid rgba(0, 66, 47, 0.11);
    border-radius: 17px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 50, 37, 0.05);
}

.faq-item.is-open {
    border-color: rgba(0, 168, 153, 0.35);
}

.faq-item h3 {
    margin: 0;
}

.faq-question {
    width: 100%;
    min-height: 78px;
    padding: 20px 24px;
    background: transparent;
    color: var(--green-deep);
    cursor: pointer;
    display: grid;
    grid-template-columns: 47px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 13px;
    text-align: left;
}

.faq-number {
    color: var(--green-primary);
    font-size: 14px;
    font-weight: 900;
}

.faq-question-text {
    font-size: 18px;
    font-weight: 780;
    line-height: 1.35;
}

.faq-icon {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #edf7f4;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: var(--green-primary-dark);
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
    overflow: hidden;
}

.faq-answer-content {
    padding: 0 77px 25px 84px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.faq-answer-content p {
    margin: 0;
}

.faq-answer-content p + p {
    margin-top: 13px;
}


/* =========================================================
   CTA FINAL
========================================================= */

.final-cta-section {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
}

.final-cta-background {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 30%;
}

.final-cta-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(31, 20, 5, 0.8) 0%,
            rgba(76, 40, 4, 0.47) 45%,
            rgba(76, 40, 4, 0.05) 75%
        );
}

.final-cta-container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
    padding: 80px 0;
}

.final-cta-content {
    max-width: 620px;
    color: var(--white);
}

.final-cta-kicker {
    margin: 0 0 16px;
    color: var(--green-light);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.final-cta-content h2 {
    margin: 0;
    font-size: clamp(46px, 5vw, 74px);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.final-cta-content > p:not(.final-cta-kicker) {
    max-width: 570px;
    margin: 23px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.65;
}

.final-cta-button {
    width: fit-content;
    min-height: 58px;
    margin-top: 30px;
    padding: 0 24px;
    border-radius: 14px;
    background: var(--green-primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 820;
    box-shadow: 0 16px 35px rgba(0, 67, 55, 0.25);
}

.final-cta-button:hover {
    background: var(--green-primary-dark);
    transform: translateY(-2px);
}

.final-cta-button svg {
    width: 19px;
}


/* =========================================================
   MODAL
========================================================= */

.law-modal {
    position: fixed;
    z-index: 500;
    inset: 0;
    padding: 24px;
    display: grid;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.law-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.law-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 25, 18, 0.78);
    backdrop-filter: blur(7px);
}

.law-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 690px);
    max-height: 88svh;
    overflow-y: auto;
    padding: 36px;
    border-radius: 25px;
    background: var(--white);
    box-shadow: 0 35px 100px rgba(0, 24, 17, 0.35);
}

.law-modal-close {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--green-deep);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.law-modal-close svg {
    width: 21px;
}

.law-modal-header {
    padding-right: 45px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.law-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 168, 153, 0.11);
    color: var(--green-primary-dark);
    display: grid;
    place-items: center;
}

.law-modal-icon svg {
    width: 29px;
}

.law-modal-header p {
    margin: 0;
    color: var(--green-primary-dark);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.law-modal-header h2 {
    margin: 3px 0 0;
    color: var(--green-deep);
    font-size: 35px;
}

.law-modal-content {
    margin-top: 26px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.68;
}

.law-modal-highlight {
    margin: 22px 0;
    padding: 20px;
    border-left: 4px solid var(--green-primary);
    background: #f1f8f6;
}

.law-modal-content ul {
    padding-left: 22px;
}

.law-modal-notice {
    padding: 16px 18px;
    border-radius: 13px;
    background: #fff9e9;
    color: #655525;
    font-size: 13px;
}

.law-official-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-primary-dark);
    font-weight: 820;
    text-decoration: underline;
}

.law-official-link svg {
    width: 17px;
}

.law-modal-footer-close {
    width: 100%;
    min-height: 51px;
    margin-top: 26px;
    border-radius: 12px;
    background: var(--green-deep);
    color: var(--white);
    cursor: pointer;
    font-weight: 820;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1080px) {
    .hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(370px, 460px);
        gap: 45px;
    }

    .audience-grid,
    .journey-grid {
        gap: 18px;
    }

    .audience-eligibility,
    .journey-specialist-box {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .eligibility-button,
    .journey-whatsapp-button {
        grid-column: 2;
        width: fit-content;
    }
}


@media (max-width: 900px) {
    :root {
        --header-height: 68px;
    }

    .header-container {
        width: calc(100% - 32px);
    }

    .desktop-navigation,
    .header-whatsapp-button {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .mobile-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        padding: 12px 16px 20px;
        background: var(--white);
        box-shadow: 0 20px 40px rgba(0, 42, 30, 0.13);
    }

    .mobile-navigation.is-open {
        display: grid;
        gap: 5px;
    }

    .mobile-navigation a {
        padding: 14px;
        border-radius: 10px;
        color: var(--green-deep);
        font-weight: 750;
    }

    .mobile-navigation a:last-child {
        background: var(--green-primary);
        color: var(--white);
        text-align: center;
    }

    .hero-container {
        width: calc(100% - 32px);
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-eyebrow,
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-highlights {
        justify-content: center;
    }

    .hero-card {
        width: min(100%, 590px);
        justify-self: center;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: 0 auto;
    }

    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .final-cta-section {
        min-height: 550px;
    }

    .final-cta-background {
        object-position: 60% 28%;
    }
}


@media (max-width: 700px) {
    .discount-path-container,
    .audience-container,
    .journey-container,
    .faq-container {
        width: calc(100% - 28px);
        padding: 64px 0;
    }

    .discount-path-heading h2,
    .audience-heading h2,
    .journey-heading h2,
    .faq-heading h2 {
        font-size: clamp(31px, 9vw, 43px);
    }

    .journey-grid {
        grid-template-columns: 1fr;
    }

    .audience-eligibility,
    .journey-specialist-box {
        padding: 24px 21px;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 16px;
    }

    .eligibility-button,
    .journey-whatsapp-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .savings-result-grid {
        grid-template-columns: 1fr;
    }

    .savings-result-grid > div {
        padding-top: 11px;
        border-top: 1px solid rgba(0, 66, 47, 0.08);
    }

    .faq-question {
        min-height: 72px;
        padding: 18px;
        grid-template-columns: 38px minmax(0, 1fr) 32px;
        gap: 8px;
    }

    .faq-question-text {
        font-size: 16px;
    }

    .faq-icon {
        width: 32px;
        height: 32px;
    }

    .faq-answer-content {
        padding: 0 18px 21px 64px;
        font-size: 14px;
    }

    .final-cta-section {
        min-height: 640px;
        align-items: end;
    }

    .final-cta-background {
        object-position: 67% 22%;
    }

    .final-cta-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(31, 20, 5, 0.08) 0%,
                rgba(31, 20, 5, 0.7) 60%,
                rgba(31, 20, 5, 0.95) 100%
            );
    }

    .final-cta-container {
        width: calc(100% - 28px);
        padding: 265px 0 55px;
    }

    .final-cta-content h2 {
        font-size: clamp(43px, 12vw, 58px);
    }

    .final-cta-content > p:not(.final-cta-kicker) {
        font-size: 16px;
    }

    .final-cta-button {
        width: 100%;
        padding: 0 16px;
        font-size: 15px;
    }

    .law-modal {
        padding: 14px;
        align-items: end;
    }

    .law-modal-panel {
        max-height: 92svh;
        padding: 28px 20px 22px;
        border-radius: 22px 22px 12px 12px;
    }
}


@media (max-width: 600px) {
    .brand-logo {
        max-width: 124px;
        max-height: 39px;
    }

    .hero-container {
        width: calc(100% - 28px);
        padding: 50px 0 38px;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 13.8vw, 58px);
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-card {
        min-height: 0;
        padding: 27px 20px;
        border-radius: 21px;
    }

    .hero-card h2 {
        font-size: 30px;
    }

    .profile-button {
        min-height: 70px;
        padding: 10px 14px;
        grid-template-columns: 39px 1fr 21px;
    }

    .audience-card-content {
        padding: 25px 22px;
    }

    .audience-card h3 {
        font-size: 24px;
    }

    .journey-card {
        min-height: 0;
        padding: 23px;
    }

    .form-savings-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid var(--green-light);
    outline-offset: 3px;
}

/* =========================================================
   REFINAMENTO VISUAL E ANIMAÇÕES SUTIS
========================================================= */

:root {
    --motion-fast: 180ms;
    --motion-medium: 480ms;
    --motion-slow: 760ms;
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Entrada inicial do hero */
.hero-eyebrow,
.hero-copy h1,
.hero-description,
.hero-highlights,
.hero-card {
    animation-duration: 760ms;
    animation-fill-mode: both;
    animation-timing-function: var(--motion-ease);
}

.hero-eyebrow {
    animation-name: heroFadeUp;
    animation-delay: 80ms;
}

.hero-copy h1 {
    animation-name: heroFadeUp;
    animation-delay: 150ms;
}

.hero-description {
    animation-name: heroFadeUp;
    animation-delay: 230ms;
}

.hero-highlights {
    animation-name: heroFadeUp;
    animation-delay: 310ms;
}

.hero-card {
    animation-name: heroCardIn;
    animation-delay: 180ms;
    transform-origin: center;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroCardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Elementos revelados durante a rolagem */
.js-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity var(--motion-slow) var(--motion-ease),
        transform var(--motion-slow) var(--motion-ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js-ready .reveal-on-scroll.reveal-left {
    transform: translateX(-34px);
}

.js-ready .reveal-on-scroll.reveal-right {
    transform: translateX(34px);
}

.js-ready .reveal-on-scroll.reveal-scale {
    transform: translateY(18px) scale(0.975);
}

.js-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Hover refinado para cards e imagens */
.audience-card,
.journey-card,
.faq-item,
.audience-eligibility,
.journey-specialist-box,
.savings-result {
    transition:
        transform var(--motion-medium) var(--motion-ease),
        box-shadow var(--motion-medium) var(--motion-ease),
        border-color var(--motion-medium) ease;
}

.audience-card-image img,
.discount-path-image,
.journey-icon img {
    transition: transform 650ms var(--motion-ease);
}

.profile-button,
.header-whatsapp-button,
.eligibility-button,
.journey-whatsapp-button,
.final-cta-button,
.calculator-continue-button,
.form-submit-button {
    position: relative;
    overflow: hidden;
    transition:
        transform var(--motion-fast) ease,
        box-shadow var(--motion-medium) var(--motion-ease),
        background var(--motion-fast) ease;
}

.profile-button::after,
.header-whatsapp-button::after,
.eligibility-button::after,
.journey-whatsapp-button::after,
.final-cta-button::after,
.calculator-continue-button::after,
.form-submit-button::after {
    content: "";
    position: absolute;
    top: -70%;
    left: -45%;
    width: 35%;
    height: 240%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.22),
        transparent
    );
    transform: rotate(18deg) translateX(-220%);
    transition: transform 720ms var(--motion-ease);
    pointer-events: none;
}

.profile-button > *,
.header-whatsapp-button > *,
.eligibility-button > *,
.journey-whatsapp-button > *,
.final-cta-button > *,
.calculator-continue-button > *,
.form-submit-button > * {
    position: relative;
    z-index: 1;
}

.profile-arrow,
.eligibility-button svg,
.journey-whatsapp-button svg,
.final-cta-button svg,
.calculator-continue-button svg,
.form-submit-button svg {
    transition: transform var(--motion-fast) ease;
}

.faq-question {
    transition:
        background var(--motion-fast) ease,
        color var(--motion-fast) ease;
}

.faq-icon {
    transition:
        transform var(--motion-fast) ease,
        background var(--motion-fast) ease;
}

/* Destaque ao retornar para o cadastro */
.hero-card.registration-highlight {
    animation: registrationHighlight 1.15s var(--motion-ease);
}

@keyframes registrationHighlight {
    0%, 100% {
        box-shadow: var(--shadow-card);
    }

    45% {
        box-shadow:
            0 0 0 7px rgba(181, 207, 110, 0.22),
            0 30px 80px rgba(0, 34, 25, 0.34);
    }
}

/* Feedback visual suave dos números da simulação */
.savings-result.is-updated .savings-main-result strong,
.savings-result.is-updated .savings-result-grid strong {
    animation: savingsValuePop 360ms var(--motion-ease);
}

@keyframes savingsValuePop {
    0% {
        opacity: 0.55;
        transform: translateY(5px) scale(0.985);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Reenquadramento final para preservar a cabeça da criança */
.final-cta-background {
    object-position: center 20%;
}

@media (hover: hover) and (pointer: fine) {
    .audience-card:hover,
    .journey-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 28px 65px rgba(0, 50, 37, 0.14);
    }

    .audience-card:hover .audience-card-image img {
        transform: scale(1.045);
    }

    .journey-card:hover .journey-icon img {
        transform: translateY(-3px) scale(1.055);
    }

    .audience-eligibility:hover,
    .journey-specialist-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 27px 65px rgba(0, 49, 35, 0.22);
    }

    .faq-item:hover {
        transform: translateY(-2px);
        border-color: rgba(0, 168, 153, 0.25);
        box-shadow: 0 16px 38px rgba(0, 50, 37, 0.09);
    }

    .faq-question:hover {
        background: rgba(0, 168, 153, 0.035);
    }

    .faq-question:hover .faq-icon {
        transform: scale(1.07);
        background: #e2f4ef;
    }

    .profile-button:hover::after,
    .header-whatsapp-button:hover::after,
    .eligibility-button:hover::after,
    .journey-whatsapp-button:hover::after,
    .final-cta-button:hover::after,
    .calculator-continue-button:hover::after,
    .form-submit-button:hover::after {
        transform: rotate(18deg) translateX(520%);
    }

    .profile-button:hover .profile-arrow,
    .eligibility-button:hover svg,
    .journey-whatsapp-button:hover svg,
    .final-cta-button:hover svg,
    .calculator-continue-button:hover svg,
    .form-submit-button:hover svg {
        transform: translateX(4px);
    }

    .discount-path-picture:hover .discount-path-image {
        transform: scale(1.012);
    }
}

@media (max-width: 900px) {
    .final-cta-background {
        object-position: 60% 18%;
    }
}

@media (max-width: 700px) {
    .final-cta-background {
        object-position: 67% 16%;
    }

    .js-ready .reveal-on-scroll,
    .js-ready .reveal-on-scroll.reveal-left,
    .js-ready .reveal-on-scroll.reveal-right,
    .js-ready .reveal-on-scroll.reveal-scale {
        transform: translateY(20px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow,
    .hero-copy h1,
    .hero-description,
    .hero-highlights,
    .hero-card,
    .hero-card.registration-highlight,
    .savings-result.is-updated .savings-main-result strong,
    .savings-result.is-updated .savings-result-grid strong {
        animation: none !important;
    }

    .js-ready .reveal-on-scroll,
    .js-ready .reveal-on-scroll.reveal-left,
    .js-ready .reveal-on-scroll.reveal-right,
    .js-ready .reveal-on-scroll.reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =========================================================
   AJUSTES FINAIS — HEADER E SIMULADOR
========================================================= */

.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    height: var(--header-height);
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-container {
    width: 100%;
    height: 100%;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand {
    min-width: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: auto;
    max-width: 165px;
    max-height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.22));
}

.desktop-navigation,
.header-whatsapp-button,
.mobile-menu-button,
.mobile-navigation {
    display: none !important;
}

.hero-container {
    padding-top: calc(var(--header-height) + 36px);
}

.savings-result {
    margin-top: 20px;
    padding: 20px;
}

.savings-comparison {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
}

.savings-comparison-item {
    min-width: 0;
    padding: 17px 16px;
    border: 1px solid rgba(0, 66, 47, 0.10);
    border-radius: 14px;
    background: #ffffff;
}

.savings-comparison-item span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

.savings-comparison-item strong {
    display: block;
    margin-top: 7px;
    color: var(--green-deep);
    font-size: clamp(21px, 2.4vw, 29px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.savings-comparison-highlight {
    border-color: rgba(0, 168, 153, 0.28);
    background: linear-gradient(135deg, #eaf9f5 0%, #ffffff 100%);
}

.savings-comparison-highlight strong {
    color: var(--green-primary-dark);
}

.savings-comparison-arrow {
    align-self: center;
    color: var(--green-primary);
    font-size: 25px;
    font-weight: 900;
}

@media (max-width: 700px) {
    .header-container {
        padding: 8px 16px;
    }

    .brand-logo {
        max-width: 135px;
        max-height: 46px;
    }

    .hero-container {
        padding-top: calc(var(--header-height) + 28px);
    }

    .savings-comparison {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .savings-comparison-arrow {
        justify-self: center;
        transform: rotate(90deg);
        line-height: 1;
    }

    .savings-comparison-item {
        padding: 15px;
    }
}
