/* ============================================
   EA EventAgro — Página: Anuncie Aqui
   ============================================ */

/* ─── Hero ─────────────────────────────────── */
.anc-page {
    background: var(--color-bg);
}

.anc-hero {
    background: #1B3E3C !important;
    position: relative;
    padding: 80px 0 0;
    overflow: hidden;
}

.anc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 39px, rgba(255,255,255,.04) 40px
    ), repeating-linear-gradient(
        90deg, transparent, transparent 39px, rgba(255,255,255,.04) 40px
    );
    pointer-events: none;
}

.anc-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding-bottom: 64px;
}

.anc-hero .anc-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent, #7EC13C);
    margin: 0 0 18px;
    padding: 5px 12px;
    border: 1px solid rgba(126,193,60,.45);
    border-radius: 20px;
}

.anc-hero .anc-hero-title {
    font-family: var(--font-headline);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 20px;
}

.anc-hero .anc-hero-accent {
    color: var(--color-accent, #7EC13C);
}

.anc-hero .anc-hero-sub {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    line-height: 1.65;
    color: rgba(255,255,255,.92);
    margin: 0 0 32px;
    max-width: 620px;
}

/* ─── Authority Cards no Hero ─── */
.anc-hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0 0 36px;
    max-width: 600px;
}

.anc-hero-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(126, 193, 60, 0.22);
    border-left: 3px solid var(--color-accent, #7EC13C);
    border-radius: var(--radius-md, 8px);
    transition: background 150ms ease, transform 150ms ease;
    opacity: 0;
    animation: anc-card-in 0.42s ease forwards;
}

.anc-hero-card:nth-child(1) { animation-delay: 0.55s; }
.anc-hero-card:nth-child(2) { animation-delay: 0.7s;  }
.anc-hero-card:nth-child(3) { animation-delay: 0.85s; }
.anc-hero-card:nth-child(4) { animation-delay: 1.0s;  }

@keyframes anc-card-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0);    }
}

.anc-hero-card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateX(4px);
}

.anc-hero-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(126, 193, 60, 0.16);
    border-radius: var(--radius-md, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent, #7EC13C);
    transition: background 150ms ease;
}

.anc-hero-card:hover .anc-hero-card-icon {
    background: rgba(126, 193, 60, 0.26);
}

.anc-hero-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.anc-hero-card-title {
    font-family: var(--font-display, sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    line-height: 1.2;
}

.anc-hero-card-sub {
    font-family: var(--font-display, sans-serif);
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    line-height: 1.3;
    display: block;
}

.anc-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.anc-wave {
    line-height: 0;
}

.anc-wave svg {
    display: block;
    width: 100%;
    height: 64px;
}

/* ─── Buttons ─────────────────────────────── */
.anc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    padding: 13px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.anc-btn--lime {
    background: var(--color-accent);
    color: #0F2420;
    border-color: var(--color-accent);
}

.anc-btn--lime:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #0F2420;
    transform: translateY(-1px);
}

.anc-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.55);
}

.anc-btn--ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.85);
    color: #fff;
}

.anc-btn--lg {
    padding: 16px 28px;
    font-size: var(--text-md);
}

.anc-btn--whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.anc-btn--whatsapp:hover {
    background: #1ebe5b;
    border-color: #1ebe5b;
    color: #fff;
    transform: translateY(-1px);
}

/* ─── Por que anunciar ─────────────────────── */
.anc-why {
    padding: 64px 0;
    background: var(--color-bg);
}

.anc-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.anc-why-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.anc-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: #7EC13C;
    background: var(--color-accent, #7EC13C);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F2420;
    flex-shrink: 0;
}

.anc-why-title {
    font-family: var(--font-headline);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.anc-why-text {
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ─── Section header ───────────────────────── */
.anc-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.anc-section-title {
    font-family: var(--font-headline);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--color-text);
    margin: 0 0 12px;
}

.anc-section-sub {
    font-size: var(--text-md);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ─── Formatos ─────────────────────────────── */
.anc-formats {
    padding: 64px 0 80px;
    background: var(--color-earth-light);
}

.anc-formats .anc-section-title {
    color: #1B3E3C;
}

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

.anc-fmt-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.anc-fmt-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.13);
    transform: translateY(-3px);
}

/* Mockup illustration area */
.anc-fmt-mockup {
    background: #F4F6F8;
    padding: 20px 20px 0;
    line-height: 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.anc-fmt-mockup svg {
    width: 100%;
    height: auto;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

/* Format card body */
.anc-fmt-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.anc-fmt-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    width: fit-content;
}

.anc-fmt-badge--display {
    background: #D0E8E6;
    color: #1B3E3C;
}

.anc-fmt-badge--premium {
    background: #1B3E3C;
    color: #7EC13C;
}

.anc-fmt-badge--native {
    background: #2C5F5A;
    color: #fff;
}

.anc-fmt-badge--email {
    background: #E3F0FB;
    color: #1a5a8a;
}

.anc-fmt-badge--social {
    background: linear-gradient(135deg, #fce4ec, #e8f0fe);
    color: #6020a0;
}

.anc-fmt-name {
    font-family: var(--font-headline);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.2;
}

.anc-fmt-desc {
    font-size: var(--text-sm);
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin: 0;
}

.anc-fmt-specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    font-size: var(--text-xs);
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-top: auto;
}

.anc-fmt-specs dt {
    font-weight: 600;
    color: var(--color-text-secondary);
}

.anc-fmt-specs dd {
    margin: 0;
    color: var(--color-text);
}

.anc-fmt-pos {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: #2C5F5A;
    margin: 0;
}

.anc-fmt-pos svg {
    flex-shrink: 0;
    opacity: .7;
}

/* ─── Audiência ────────────────────────────── */
.anc-audience {
    padding: 72px 0;
    background: #1B3E3C !important;
}

.anc-audience-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.anc-audience .anc-audience-title {
    font-family: var(--font-headline);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
}

.anc-audience .anc-audience-sub {
    font-size: var(--text-base);
    color: rgba(255,255,255,.92);
    line-height: 1.65;
    margin: 0 0 28px;
}

.anc-audience-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.anc-audience .anc-audience-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--text-base);
    color: rgba(255,255,255,.92);
    line-height: 1.5;
}

.anc-audience-highlights svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.anc-audience-segments {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.anc-seg-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: background var(--transition-base);
}

.anc-seg-card:hover {
    background: rgba(255,255,255,.16);
}

.anc-audience .anc-seg-pct {
    font-family: var(--font-headline);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-accent, #7EC13C);
    line-height: 1;
    margin-bottom: 8px;
}

.anc-audience .anc-seg-label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,.95);
    line-height: 1.4;
}

/* ─── Como funciona ────────────────────────── */
.anc-steps {
    padding: 72px 0;
    background: var(--color-bg);
}

.anc-steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0 24px;
    align-items: start;
    margin-top: 8px;
}

.anc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.anc-steps .anc-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #7EC13C;
    background: var(--color-accent, #7EC13C);
    color: #0F2420;
    font-family: var(--font-headline);
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.anc-step-title {
    font-family: var(--font-headline);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.anc-step-text {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin: 0;
}

.anc-step-divider {
    width: 60px;
    height: 2px;
    background: var(--color-teal-light);
    border-radius: 1px;
    margin-top: 27px;
    flex-shrink: 0;
}

/* ─── Contato / CTA ────────────────────────── */
.anc-contact {
    padding: 80px 0;
    background-color: #0F2420;
    background: var(--color-primary-dark, #0F2420);
}

.anc-contact-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.anc-contact .anc-contact-title {
    font-family: var(--font-headline);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
}

.anc-contact .anc-contact-sub {
    font-size: var(--text-base);
    color: rgba(255,255,255,.92);
    margin: 0;
    line-height: 1.6;
}

.anc-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    min-width: 260px;
}

/* ─── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .anc-formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .anc-audience-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .anc-contact-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .anc-contact-actions {
        flex-direction: row;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .anc-hero {
        padding: 56px 0 0;
    }

    .anc-hero-cards {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .anc-hero-card:hover {
        transform: none;
    }

    .anc-why-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .anc-formats-grid {
        grid-template-columns: 1fr;
    }

    .anc-steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .anc-step-divider {
        display: none;
    }

    .anc-audience-segments {
        grid-template-columns: 1fr 1fr;
    }

    .anc-contact-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .anc-hero-title {
        font-size: 2rem;
    }

    .anc-hero-btns {
        flex-direction: column;
    }

    .anc-audience-segments {
        grid-template-columns: 1fr;
    }
}

/* ─── Popup Proposta Comercial ─────────────────────────────────────────────── */
.ea-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,36,32,.72);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(3px);
    transition: opacity .2s ease;
}

.ea-popup-overlay[aria-hidden="true"] {
    display: none;
}

.ea-popup-dialog {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 36px 40px;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
    outline: none;
}

.ea-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    transition: background .15s;
    padding: 0;
}
.ea-popup-close:hover { background: rgba(0,0,0,.12); }

.ea-popup-header { margin-bottom: 24px; }

.ea-popup-title {
    font-family: var(--font-headline, Georgia, serif);
    font-size: 1.6rem;
    font-weight: 900;
    color: #1B3E3C;
    margin: 0 0 8px;
    line-height: 1.15;
}

.ea-popup-sub {
    font-size: .9375rem;
    color: #4A4A4A;
    margin: 0;
    line-height: 1.5;
}

/* Form fields */
.ea-proposal-form { display: flex; flex-direction: column; gap: 18px; }

.ea-form-row { display: flex; gap: 14px; }
.ea-form-row--2 > .ea-form-field { flex: 1 1 0; min-width: 0; }

.ea-form-field { display: flex; flex-direction: column; gap: 6px; }

.ea-form-field label {
    font-size: .8125rem;
    font-weight: 600;
    color: #1B3E3C;
}

.ea-form-field label span[aria-hidden] { color: #d63638; }
.ea-optional { font-weight: 400; color: #888; }

.ea-form-field input,
.ea-form-field textarea {
    font-size: .9375rem;
    padding: 10px 14px;
    border: 1.5px solid #ccd6d5;
    border-radius: 8px;
    color: #0F2420;
    background: #FAFAF7;
    transition: border-color .15s;
    font-family: var(--font-body, sans-serif);
    width: 100%;
}

.ea-form-field input:focus,
.ea-form-field textarea:focus {
    outline: none;
    border-color: #7EC13C;
    background: #fff;
}

.ea-form-field textarea { resize: vertical; min-height: 80px; }

/* Checkboxes de formato */
.ea-formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.ea-format-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 9px 12px;
    border: 1.5px solid #ccd6d5;
    border-radius: 8px;
    background: #FAFAF7;
    transition: border-color .15s, background .15s;
    font-weight: 400 !important;
    color: #0F2420 !important;
    font-size: .875rem;
}

.ea-format-option:hover {
    border-color: #7EC13C;
    background: #F2FAE8;
}

.ea-format-option input[type="checkbox"] { display: none; }

.ea-format-check {
    width: 18px;
    height: 18px;
    border: 2px solid #ccd6d5;
    border-radius: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}

.ea-format-option input:checked ~ .ea-format-check {
    background: #7EC13C;
    border-color: #7EC13C;
}

.ea-format-option input:checked ~ .ea-format-check::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.ea-format-option input:checked ~ .ea-format-label {
    font-weight: 600 !important;
    color: #1B3E3C !important;
}

.ea-format-option:has(input:checked) {
    border-color: #7EC13C;
    background: #F2FAE8;
}

/* Feedback */
.ea-proposal-feedback {
    font-size: .875rem;
    padding: 0;
    border-radius: 8px;
    min-height: 0;
    transition: all .2s;
}

.ea-proposal-feedback--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    padding: 10px 14px;
}

.ea-proposal-feedback--success {
    background: #F2FAE8;
    border: 1px solid #7EC13C;
    color: #1d8348;
    padding: 10px 14px;
}

@media (max-width: 600px) {
    .ea-popup-dialog { padding: 28px 20px; }
    .ea-form-row--2 { flex-direction: column; gap: 18px; }
    .ea-formats-grid { grid-template-columns: 1fr; }
}
