:root {
    color-scheme: light;
    --ink: #113226;
    --muted: #66766f;
    --green: #07865b;
    --green-dark: #045f3f;
    --red: #d82438;
    --paper: #fbfaf6;
    --card: #ffffff;
    --line: rgba(6, 112, 76, .16);
    --gold: #d7ba4c;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(118deg, rgba(7, 134, 91, .12) 0 10%, transparent 10%),
        repeating-linear-gradient(108deg, rgba(17, 50, 38, .035) 0 1px, transparent 1px 12px),
        var(--paper);
}

button,
input,
textarea {
    font: inherit;
}

.experience {
    width: min(1200px, calc(100% - 28px));
    margin: 0 auto;
    padding: clamp(18px, 4vw, 44px) 0 54px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(310px, 420px);
    gap: clamp(22px, 5vw, 64px);
    align-items: center;
    min-height: min(760px, calc(100vh - 44px));
}

.hero::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: min(28vw, 260px);
    height: min(34vw, 300px);
    pointer-events: none;
    background:
        linear-gradient(132deg, var(--green) 0 35%, transparent 35%),
        linear-gradient(138deg, transparent 0 17%, rgba(255, 255, 255, .92) 17% 20%, transparent 20% 25%, rgba(255, 255, 255, .88) 25% 28%, transparent 28%);
    clip-path: polygon(0 0, 100% 0, 38% 100%, 0 82%);
}

.copy {
    max-width: 700px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(74px, 12vw, 150px);
    line-height: .86;
    letter-spacing: 0;
    font-weight: 950;
}

h1 span {
    color: var(--green);
}

h1 em {
    position: relative;
    display: inline-block;
    color: var(--red);
    font-style: normal;
}

h1 em::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 4%;
    bottom: -.09em;
    height: .08em;
    border-radius: 999px;
    background: var(--green);
    transform: rotate(-2deg);
}

.lead {
    max-width: 600px;
    margin: 26px 0 0;
    color: #44554d;
    font-size: clamp(21px, 2.4vw, 31px);
    line-height: 1.18;
    font-weight: 780;
}

.notice,
.registered {
    max-width: 560px;
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 14px 32px rgba(6, 99, 66, .08);
}

.notice--error {
    border-color: rgba(216, 36, 56, .28);
    color: #9f1627;
}

.notice--success {
    border-color: rgba(7, 134, 91, .28);
    color: var(--green-dark);
}

.registered {
    display: grid;
    gap: 3px;
}

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

.google-button,
.message-form button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(4, 99, 66, .22);
    border-radius: 8px;
    background: #fff;
    color: #152018;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(6, 99, 66, .14);
    cursor: pointer;
}

.google-button {
    margin-top: 26px;
    padding: 0 22px;
}

.google-mark {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #d8dde3;
    border-radius: 50%;
    color: #4285f4;
    font-weight: 950;
}

.message-form {
    position: relative;
    display: grid;
    gap: 12px;
    max-width: 620px;
    margin-top: 26px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 18px 46px rgba(6, 99, 66, .1);
}

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

.message-form span {
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 900;
}

.message-form textarea,
.message-form input {
    width: 100%;
    border: 1px solid rgba(4, 99, 66, .2);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    outline: 0;
}

.message-form textarea {
    min-height: 92px;
    resize: vertical;
    padding: 12px;
    line-height: 1.35;
}

.message-form input {
    min-height: 50px;
    padding: 0 12px;
}

.message-form textarea:focus,
.message-form input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(7, 134, 91, .14);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
}

.message-form button {
    min-width: 170px;
    padding: 0 18px;
    background: var(--green);
    color: #fff;
}

.message-form button:disabled {
    cursor: wait;
    opacity: .7;
}

.form-status {
    min-height: 18px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.fineprint {
    max-width: 560px;
    margin: 16px 0 0;
    color: #6b7b73;
    font-size: 13px;
    line-height: 1.4;
}

.counter {
    display: inline-flex;
    gap: 8px;
    margin-top: 22px;
    color: var(--muted);
    font-weight: 900;
}

.counter strong {
    color: var(--red);
}

.video-card {
    position: relative;
    display: grid;
    gap: 14px;
    justify-items: center;
    min-width: 0;
}

.video-label {
    position: absolute;
    z-index: 2;
    top: -14px;
    left: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.video-card .tiktok-embed {
    overflow: hidden;
    width: min(100%, 420px) !important;
    min-width: 280px !important;
    margin: 0 !important;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(6, 99, 66, .14);
}

.message-form--video {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin-top: -12px;
    padding: 22px;
    border: 2px solid rgba(216, 36, 56, .3);
    background:
        linear-gradient(135deg, rgba(7, 134, 91, .15), rgba(216, 36, 56, .12)),
        #fff;
    box-shadow: 0 26px 70px rgba(216, 36, 56, .14), 0 16px 48px rgba(6, 99, 66, .16);
}

.message-form--video::before {
    content: "Firma oficial";
    position: absolute;
    top: -16px;
    left: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.signature-count {
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.signature-count strong {
    color: #fff;
}

.message-form--video .signature-field span {
    color: var(--red);
    font-size: 22px;
    line-height: 1;
}

.message-form--video textarea {
    min-height: 110px;
    border-width: 2px;
    font-size: 18px;
    font-weight: 720;
}

.message-form--video .form-row {
    grid-template-columns: minmax(160px, 280px) minmax(240px, 420px);
}

.message-form--video button {
    min-height: 64px;
    background: var(--red);
    font-size: 18px;
    box-shadow: 0 18px 38px rgba(216, 36, 56, .24);
}

.message-form--video .form-status {
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 950;
}

@media (min-width: 921px) {
    .message-form--video {
        grid-template-columns: minmax(420px, 1fr) minmax(520px, .9fr);
        align-items: end;
        gap: 18px;
    }

    .signature-count {
        grid-column: 1 / -1;
    }

    .message-form--video .signature-field {
        grid-row: span 2;
    }

    .message-form--video textarea {
        min-height: 156px;
    }

    .message-form--video .form-status {
        align-self: start;
    }
}

.wall-section {
    margin-top: 22px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.wall-heading {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 0 auto 22px;
    text-align: center;
}

.wall-heading .eyebrow {
    margin: 0;
}

.wall-heading h2 {
    margin: 0;
    max-width: 720px;
    color: var(--ink);
    font-size: clamp(32px, 3.8vw, 54px);
    line-height: 1;
    letter-spacing: 0;
}

.wall-count {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(7, 134, 91, .1);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 950;
}

.message-wall {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.message-card {
    display: grid;
    min-height: 154px;
    align-content: space-between;
    grid-column: span 4;
    padding: 18px;
    border: 1px solid rgba(6, 112, 76, .16);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(6, 99, 66, .08);
}

.message-card--1,
.message-card--fresh {
    grid-column: span 6;
    background: var(--green);
    color: #fff;
}

.message-card--2 {
    background: #fff7f0;
}

.message-card--3 {
    background: #f4fbf7;
}

.message-card--4 {
    grid-column: span 6;
    background: #fff;
    border-color: rgba(216, 36, 56, .18);
}

.message-card p {
    margin: 0;
    font-size: clamp(19px, 1.7vw, 28px);
    line-height: 1.12;
    font-weight: 880;
}

.message-card footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: inherit;
    font-size: 13px;
    font-weight: 900;
}

.message-card footer span {
    opacity: .72;
}

.seed {
    width: fit-content;
    margin-bottom: 16px;
    padding: 6px 9px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    opacity: .72;
    text-transform: uppercase;
}

@media (max-width: 920px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero {
        align-items: start;
        min-height: auto;
    }

    .video-card {
        justify-items: start;
    }

    .message-wall {
        grid-template-columns: 1fr 1fr;
    }

    .message-card,
    .message-card--1,
    .message-card--4,
    .message-card--fresh {
        grid-column: span 1;
    }
}

@media (max-width: 560px) {
    .experience {
        width: min(100% - 20px, 520px);
    }

    .hero::before {
        width: 160px;
        height: 190px;
    }

    .google-button,
    .message-form button {
        width: 100%;
    }

    .form-row,
    .message-wall {
        grid-template-columns: 1fr;
    }

    .message-card {
        min-height: 150px;
    }
}
