:root {
    color-scheme: light;
    --bg: #f4f8fc;
    --surface: #ffffff;
    --surface-alt: #f7fbff;
    --text: #14213d;
    --muted: #5f6c7a;
    --primary: #27a9e1;
    --primary-dark: #1a86b7;
    --border: #dfe8f3;
    --shadow: 0 16px 42px rgba(9, 40, 68, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
    color: var(--text);
}

a {
    color: inherit;
}

.page-shell {
    min-height: 100vh;
    padding: 56px 20px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero {
    max-width: 860px;
    text-align: center;
    margin-bottom: 32px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(39, 169, 225, 0.12);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

h1,
h2,
p {
    margin: 0;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.16;
    margin-bottom: 12px;
}

.hero p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.product-grid {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    cursor: default;
}

/*.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(9, 40, 68, 0.16);
}*/

.product-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: grid;
    place-items: center;
}

.product-card__icon svg {
    width: 28px;
    height: 28px;
}

.product-card h2 {
    font-size: 1.35rem;
}

.product-card p {
    color: var(--muted);
    line-height: 1.7;
}

.product-card__button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: background 180ms ease;
}

.product-card__button:hover {
    background: var(--primary-dark);
}

.page--form {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-shell {
    width: min(100%, 720px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 36px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 1.9rem;
    margin-top: 8px;
}

#produto-escolhido {
    margin-top: 8px;
    color: var(--muted);
    font-size: 1rem;
}

.form-card {
    display: grid;
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
}

label {
    font-weight: 600;
    color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--surface-alt);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-alt);
}

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

button {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 180ms ease;
}

button:hover {
    background: var(--primary-dark);
}

button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.helper-text {
    margin-top: 4px;
    font-size: 0.95rem;
    color: var(--muted);
}

.confirmation-shell,
.success-shell {
    width: min(100%, 620px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 36px;
    text-align: center;
}

.confirmation-shell h1,
.success-shell h1 {
    margin-top: 8px;
    margin-bottom: 12px;
    font-size: 1.85rem;
}

.confirmation-shell p,
.success-shell p {
    color: var(--muted);
    line-height: 1.7;
}

.email-highlight {
    display: inline-block;
    margin: 12px 0 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(39, 169, 225, 0.12);
    color: var(--primary);
    font-weight: 700;
}

.code-input {
    width: min(100%, 320px);
    margin: 18px auto 0;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 1.3rem;
    letter-spacing: 0.35em;
    text-align: center;
    background: var(--surface-alt);
}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.confirmation-actions button,
.confirmation-actions a {
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    border: 0;
    font-weight: 700;
    text-decoration: none;
}

.confirmation-actions button {
    background: var(--primary);
    color: #fff;
    cursor: pointer;
}

.confirmation-actions a {
    background: #f2f7fc;
    color: var(--text);
}

.confirmation-actions button:hover {
    background: var(--primary-dark);
}

@media (max-width: 720px) {
    .page-shell {
        padding: 32px 16px;
    }

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

    .form-shell {
        padding: 24px;
    }
}
