/* ==========================================================================
   Campanha 39 anos PREVISC - estilos gerais
   ========================================================================== */

:root {
    --color-purple-950: #2a1768;
    --color-purple-900: #38208a;
    --color-purple-700: #5b21b6;
    --color-purple-600: #7c3aed;
    --color-purple-500: #8b5cf6;
    --color-teal-400: #2dd4bf;
    --color-teal-300: #5eead4;
    --color-teal-600: #0f9b8e;
    --color-blue-400: #3e8fd9;

    --color-bg-lavender: #eeecf8;
    --color-bg-white: #ffffff;

    --color-text-dark: #241a44;
    --color-text-body: #4d4568;
    --color-text-muted: #8a8299;

    --color-warning-bg: #fdf1de;
    --color-warning-icon: #ef9d3c;

    --gradient-brand: linear-gradient(135deg, var(--color-purple-950) 0%, #4a3ec2 30%, #3e8fd9 62%, var(--color-teal-400) 100%);
    --gradient-brand-soft: linear-gradient(120deg, #35167a 0%, #8b2fc9 48%, var(--color-teal-300) 100%);
    --gradient-purple-btn: linear-gradient(90deg, var(--color-purple-950) 0%, var(--color-purple-600) 100%);

    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-card: 0 12px 30px rgba(74, 31, 158, 0.12);
    --container-width: 1000px;
}

/* ---------- Fonte Amplesoft (todos os pesos) ---------- */

@font-face {
    font-family: 'Amplesoft';
    src: url('../fontes/AmpleSoftPro-Thin.woff2') format('woff2'),
         url('../fontes/AmpleSoftPro-Thin.woff') format('woff'),
         url('../fontes/AmpleSoftPro-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amplesoft';
    src: url('../fontes/AmpleSoftPro-ExtraLight.woff2') format('woff2'),
         url('../fontes/AmpleSoftPro-ExtraLight.woff') format('woff'),
         url('../fontes/AmpleSoftPro-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amplesoft';
    src: url('../fontes/AmpleSoftPro-Light.woff2') format('woff2'),
         url('../fontes/AmpleSoftPro-Light.woff') format('woff'),
         url('../fontes/AmpleSoftPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amplesoft';
    src: url('../fontes/AmpleSoftPro-Regular.woff2') format('woff2'),
         url('../fontes/AmpleSoftPro-Regular.woff') format('woff'),
         url('../fontes/AmpleSoftPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amplesoft';
    src: url('../fontes/AmpleSoftPro-Medium.woff2') format('woff2'),
         url('../fontes/AmpleSoftPro-Medium.woff') format('woff'),
         url('../fontes/AmpleSoftPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amplesoft';
    src: url('../fontes/AmpleSoftPro-Bold.woff2') format('woff2'),
         url('../fontes/AmpleSoftPro-Bold.woff') format('woff'),
         url('../fontes/AmpleSoftPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Amplesoft', Arial, Helvetica, sans-serif;
    color: var(--color-text-body);
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    margin: 0;
    color: var(--color-text-dark);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin: 0 0 16px;
    line-height: 1.65;
}

a {
    color: inherit;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ---------- Elementos reutilizaveis ---------- */

.section-label {
    position: relative;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-purple-700);
    padding-bottom: 8px;
    margin-bottom: 18px;
}

.section-label::after {
    content: '';
    position: absolute;
    left: 30%;
    right: 30%;
    bottom: 0;
    height: 2px;
    background-color: currentColor;
}

.section-label--center {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto 18px;
}

.section-label--light {
    color: #ffffff;
}

.section-title {
    font-size: 40px;
    color: var(--color-purple-700);
    margin-bottom: 18px;
}

.section-title--center {
    text-align: center;
}

.section-title--light {
    color: #ffffff;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background-color: var(--color-teal-400);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(53, 230, 198, 0.35);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-purple-700);
    border: 2px solid var(--color-purple-700);
}

.btn--outline:hover {
    background-color: var(--color-purple-700);
    color: #ffffff;
}

.btn--gradient {
    background: var(--gradient-purple-btn);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(74, 31, 158, 0.35);
}

.btn--block {
    width: 100%;
}

.form-submit {
    text-align: center;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: #ffffff;
    border: 1px solid #e3defa;
    border-radius: var(--radius-md);
    padding: 18px 22px;
    box-shadow: var(--shadow-card);
    max-width: 720px;
    margin: 36px auto 0;
}

.callout p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-body);
}

.callout__icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--color-teal-400);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.callout--info {
    position: relative;
    max-width: 576px;
    padding-left: 34px;
}

.callout--info .callout__icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    background-color: var(--color-purple-700);
}

.callout--info strong {
    color: var(--color-purple-700);
}

.callout--warning {
    margin: 28px auto;
    padding: 12px 20px;
    background-color: var(--color-warning-bg);
    border-color: #f6dcb4;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.callout--warning .callout__icon {
    background-color: var(--color-warning-icon);
}

.callout--warning p {
    font-size: 10.5px;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .callout--warning p {
        white-space: normal;
    }
}

/* ==========================================================================
   Header / Hero
   ========================================================================== */

.hero {
    position: relative;
    background-color: var(--color-purple-950);
    background-image: url('../img/fundo-header.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    color: #ffffff;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

.hero__bg-shapes {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.12) 0, transparent 45%),
        radial-gradient(circle at 95% 40%, rgba(255, 255, 255, 0.08) 0, transparent 40%);
    pointer-events: none;
}

.hero__top {
    display: flex;
    align-items: center;
    padding-top: 28px;
    position: relative;
    z-index: 1;
}

.brand {
    display: flex;
    align-items: center;
}

.brand__logo {
    height: 34px;
    width: auto;
}

.hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 32px;
}

.hero__text h1 {
    color: #ffffff;
    font-size: 60px;
    margin-bottom: 20px;
}

.highlight {
    color: var(--color-teal-400);
}

.hero__lead {
    font-size: 21px;
    font-weight: 500;
    color: #ffffff;
}

.hero__text p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    max-width: 480px;
}

.hero__text .btn {
    margin-top: 20px;
}

.hero__figure {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero__logo39 {
    width: 100%;
    max-width: 380px;
    height: auto;
}

/* ==========================================================================
   Premiacao
   ========================================================================== */

.premiacao {
    background-color: var(--color-bg-lavender);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.stat-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 26px 16px;
    text-align: center;
}

.stat-card__number {
    display: block;
    font-size: 50px;
    font-weight: 700;
    color: var(--color-purple-700);
    margin-bottom: 6px;
}

.stat-card__label {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.stat-card__label strong {
    color: var(--color-text-dark);
}

.sorteios-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: var(--color-purple-700);
    margin-bottom: 28px;
}

.sorteios-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 780px;
    margin: 0 auto;
}

.sorteios-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px 32px;
}

.sorteios-col li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    font-size: 17px;
    color: var(--color-text-body);
    border-bottom: 1px solid #f0edfa;
}

.sorteios-col li:last-child {
    border-bottom: none;
}

.sorteios-ordem {
    font-weight: 700;
    color: var(--color-purple-700);
    min-width: 26px;
}

/* ==========================================================================
   Premios
   ========================================================================== */

.premios {
    background: var(--gradient-brand-soft);
    padding: 72px 0;
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 340px));
    gap: 28px;
    justify-content: center;
}

.premio-card {
    padding: 40px 24px 32px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../img/box-produtos.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.premio-card__badge {
    display: inline-block;
    background-color: rgba(15, 8, 33, 0.55);
    border-radius: var(--radius-pill);
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.premio-card__figure {
    width: 168px;
    height: 168px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premio-card__figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.premio-card h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.premio-card p {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.premios-disclaimer {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 32px 0 0;
}

/* ==========================================================================
   Quer participar
   ========================================================================== */

.participar {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
}

.participar__bar {
    position: absolute;
    top: 14%;
    bottom: 14%;
    width: 6px;
    background: var(--gradient-brand);
    border-radius: var(--radius-pill);
}

.participar__bar--left {
    left: 32px;
}

.participar .section-title {
    color: var(--color-purple-700);
    font-size: 44px;
}

.participar .section-subtitle {
    font-size: 18px;
}

.participar__bar--right {
    right: 32px;
}

.passos {
    max-width: 620px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.passo {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.passo__numero {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    background-color: var(--color-teal-400);
}

.passo:first-child .passo__numero {
    background-color: var(--color-purple-700);
}

.passo:nth-child(2) .passo__numero {
    background-color: var(--color-blue-400);
}

.passo__conteudo h3 {
    font-size: 21px;
    color: var(--color-purple-600);
    margin-bottom: 6px;
}

.passo__conteudo p {
    margin: 0;
    font-size: 17px;
    color: var(--color-text-body);
}

.passo__conteudo strong {
    color: var(--color-text-dark);
}

.participar__cta {
    text-align: center;
}

.participar__cta .btn {
    font-size: 18px;
    padding: 16px 36px;
}

.participar__aviso {
    margin: 18px 0 0;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Formulario
   ========================================================================== */

.formulario {
    background-color: var(--color-purple-900);
    background-image: url('../img/fundo-form.png');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    padding: 88px 0 96px;
}

.form-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 50px rgba(20, 8, 50, 0.35);
    padding: 40px;
    width: 100%;
}

.form-card__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 8px;
}

.form-col {
    border: none;
    margin: 0;
    padding: 0;
}

.form-col__header {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff;
    font-family: 'Amplesoft', Arial, Helvetica, sans-serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 14px 0;
    margin-bottom: 24px;
}

.form-col__header--cliente {
    background-color: var(--color-purple-700);
}

.form-col__header--indicado {
    background-color: var(--color-teal-400);
    color: #ffffff;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-purple-700);
    margin-bottom: 6px;
}

.field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ddd7f2;
    background-color: #f8f7fd;
    font-family: inherit;
    font-size: 14px;
    color: var(--color-text-dark);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field input:focus {
    outline: none;
    border-color: var(--color-purple-600);
    background-color: #ffffff;
}

.field input.is-invalid {
    border-color: #e0554f;
    background-color: #fdf1f0;
}

.field__hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--color-text-muted);
}

.form-col--cliente .field__hint {
    color: var(--color-purple-600);
}

.form-col--indicado .field__hint {
    color: var(--color-teal-600);
}

.field__error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #d3392f;
    min-height: 14px;
}

.form-feedback {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    min-height: 20px;
}

.form-feedback.is-success {
    color: #1f8a63;
}

.form-feedback.is-error {
    color: #d3392f;
}

.form-legal {
    text-align: center;
    font-size: 11px;
    color: var(--color-text-muted);
    margin: 18px 0 0;
}

/* ==========================================================================
   Rodape
   ========================================================================== */

.rodape {
    background-color: var(--color-bg-lavender);
    padding: 56px 0 0;
}

.rodape__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.brand--footer .brand__logo {
    height: 30px;
}

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

.rodape__selo-logo {
    height: 30px;
    width: auto;
}

.rodape__contato h3 {
    color: var(--color-purple-700);
    font-size: 26px;
    margin-bottom: 18px;
}

.rodape__contato ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rodape__contato li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-purple-700);
}

.rodape__contato a {
    color: var(--color-purple-700);
    text-decoration: none;
    font-weight: 700;
}

.icone {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.rodape__assinatura {
    background-color: var(--color-purple-950);
    text-align: center;
    padding: 5px 0;
}

.rodape__assinatura img {
    display: inline-block;
    height: 22px;
    width: auto;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 960px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__figure {
        order: -1;
    }

    .hero__logo39 {
        max-width: 220px;
    }

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

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

    .form-card__columns {
        grid-template-columns: 1fr;
    }

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

    .participar__bar {
        display: none;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 26px;
    }

    .hero__text h1 {
        font-size: 30px;
    }

    .sorteios-table {
        grid-template-columns: 1fr;
    }

    .sorteios-card {
        padding: 22px 24px;
    }

    .form-card {
        padding: 24px;
    }

    .callout {
        flex-direction: row;
        padding: 16px;
    }
}
