:root {
    --bg: #f4f1ea;
    --surface: #ffffff;
    --text: #17221c;
    --muted: #5e6862;
    --dark: #10231a;
    --green: #1f6a45;
    --green-dark: #174d34;
    --red: #a53737;
    --gold: #c7a75c;
    --line: #d9ddd8;
    --shadow: 0 24px 70px rgba(16, 35, 26, 0.13);
    --radius: 24px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 241, 234, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(23, 34, 28, 0.08);
}

.navbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}

.brand-text small {
    color: var(--muted);
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 0.94rem;
    font-weight: 650;
}

.nav-links > a:not(.button):hover {
    color: var(--green);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.lang-switch a:hover {
    color: var(--green);
}

.lang-switch a.active {
    background: var(--green);
    color: white;
}

.lang-flag {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(23, 34, 28, 0.12);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 15px;
    background: var(--surface);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 90px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(31, 106, 69, 0.08);
    top: -230px;
    right: -120px;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--green);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #a9d2bc;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.08;
}

h1 {
    margin-bottom: 26px;
    max-width: 780px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 5.7rem);
    font-weight: 500;
    letter-spacing: -0.05em;
}

h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.3rem;
}

.hero-lead {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid var(--green);
    border-radius: 999px;
    background: var(--green);
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--green-dark);
    box-shadow: 0 12px 30px rgba(31, 106, 69, 0.18);
}

.button-ghost {
    background: transparent;
    color: var(--green);
}

.button-small {
    min-height: 42px;
    padding: 9px 17px;
}

.button-full {
    width: 100%;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.trust-row span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
}

.hero-panel {
    position: relative;
    padding: 38px;
    border-radius: var(--radius);
    background: var(--dark);
    color: white;
    box-shadow: var(--shadow);
}

.hero-panel h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.panel-kicker {
    color: #a9d2bc;
    font-weight: 700;
}

.flag-line {
    display: flex;
    align-items: center;
    margin-bottom: 34px;
}

.flag-line span {
    display: block;
    height: 7px;
}

.flag-line .green { width: 32px; background: #198754; }
.flag-line .white { width: 32px; background: #fff; }
.flag-line .red { width: 32px; background: #c83434; }
.flag-line .connector { width: 58px; height: 1px; margin: 0 13px; background: rgba(255,255,255,.35); }
.flag-line .brazil { width: 32px; background: #178b4d; }
.flag-line .yellow { width: 32px; background: #f2c94c; }
.flag-line .blue { width: 32px; background: #2457a7; }

.check-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    color: #dfe9e3;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8fd2ac;
    font-weight: 900;
}

.metrics {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.metrics article {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 30px;
}

.metrics article + article {
    border-left: 1px solid var(--line);
}

.metrics strong {
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.7rem;
    font-weight: 500;
}

.metrics span {
    color: var(--muted);
}

.section {
    padding: 105px 0;
}

.section-heading {
    max-width: 800px;
    margin-bottom: 46px;
}

.section-heading p {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.05rem;
}

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

.card {
    min-height: 280px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    transition: 180ms ease;
}

.card:hover {
    transform: translateY(-4px);
    background: var(--surface);
    box-shadow: 0 18px 45px rgba(16, 35, 26, 0.09);
}

.card-number {
    display: block;
    margin-bottom: 48px;
    color: var(--red);
    font-weight: 850;
    letter-spacing: 0.1em;
}

.card p,
.market-grid p {
    color: var(--muted);
}

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

.split {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 90px;
    align-items: start;
}

.section-dark p {
    color: #c8d7cf;
}

.steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.steps li > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #a9d2bc;
}

.steps h3 {
    margin-bottom: 6px;
}

.steps p {
    margin: 0;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.market-grid article {
    min-height: 210px;
    padding: 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.45);
}

.section-muted {
    background: #e8ebe6;
}

.about-grid {
    align-items: center;
}

.about-copy {
    font-size: 1.08rem;
}

.about-copy p {
    margin: 0 0 20px;
}

.contact-section {
    background: var(--green-dark);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 75px;
    align-items: start;
}

.contact-grid > div > p {
    color: #d7e4dc;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 36px;
}

.contact-detail a {
    color: #bce3cb;
}

.contact-form {
    padding: 30px;
    border-radius: var(--radius);
    background: white;
    color: var(--text);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cfd7d2;
    border-radius: 12px;
    padding: 13px 14px;
    background: #fbfcfb;
    color: var(--text);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(31, 106, 69, 0.12);
}

textarea {
    resize: vertical;
}

.checkbox {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.86rem;
}

.checkbox input {
    margin-top: 3px;
}

.captcha-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}

.captcha-row label {
    flex: 1;
    margin-bottom: 0;
}

.captcha-visual {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.captcha-image {
    display: block;
    border-radius: 10px;
    border: 1px solid #cfd7d2;
}

.captcha-refresh {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #cfd7d2;
    border-radius: 10px;
    background: #fbfcfb;
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
}

.captcha-refresh:hover {
    border-color: var(--green);
    color: var(--green);
}

.alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
}

.alert-success {
    background: #e5f5ea;
    color: #155d34;
}

.alert-error {
    background: #fde8e8;
    color: #8a2525;
}

.site-footer {
    padding: 35px 0;
    background: #08140e;
    color: white;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark-footer {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.site-footer p {
    margin: 4px 0;
    color: #b8c7bf;
}

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

    .nav-links {
        position: absolute;
        top: 84px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .lang-switch {
        align-self: flex-start;
        margin-top: 6px;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

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

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

    .metrics article + article {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 650px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand-text small {
        display: none;
    }

    .hero {
        padding-top: 70px;
    }

    h1 {
        font-size: 3.25rem;
    }

    .cards,
    .market-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
    }

    .captcha-row {
        flex-direction: column;
        align-items: stretch;
    }

    .section {
        padding: 80px 0;
    }

    .hero-panel,
    .contact-form {
        padding: 24px;
    }
}
