/* ========================================
   AVALIAÇÕES GOOGLE AUTOMÁTICAS
   Prefixo .ag- — espelha o modelo de
   CRM de Leads (.lw-) / Criação de Sites (.cs-)
   ======================================== */

.ag-text-orange {
    color: #FF6D00 !important;
}

/* ========================================
   HERO
   ======================================== */
.ag-hero-section {
    min-height: 85vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
}

.ag-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ag-hero-content h1 {
    font-size: 46px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ag-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

.ag-hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 109, 0, 0.1);
    border: 1px solid rgba(255, 109, 0, 0.3);
    border-radius: 25px;
    color: #FF6D00;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.ag-hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.ag-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 109, 0, 0.2);
    border-radius: 25px;
}

.ag-badge-item i {
    color: #FF6D00;
    font-size: 16px;
}

.ag-badge-item span {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.ag-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ag-btn-primary,
.ag-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ag-btn-primary {
    background: linear-gradient(135deg, #FF4000, #FF8C00);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 64, 0, 0.4);
}

.ag-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 64, 0, 0.6);
    color: white;
}

.ag-btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.ag-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 109, 0, 0.5);
    color: white;
}

/* Formulário dentro do hero */
.ag-hero-form-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 60px;
}

.ag-hero-form-wrap .whatsapp-form-completo {
    margin: 0;
    max-width: 460px;
    width: 100%;
}

.ag-hero-form-wrap .whatsapp-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ag-hero-form-wrap .whatsapp-icon {
    position: static;
    font-size: 22px;
    margin-bottom: 0;
}

.ag-hero-form-wrap .whatsapp-header h2 {
    font-size: 19px;
    margin: 0;
}

.ag-hero-form-wrap .whatsapp-body {
    padding: 20px 25px;
}

.ag-hero-form-wrap .whatsapp-form {
    grid-template-columns: 1fr;
    gap: 12px;
}

.ag-hero-form-wrap .whatsapp-form label {
    font-size: 12px;
    margin-bottom: 5px;
}

.ag-hero-form-wrap .whatsapp-form input,
.ag-hero-form-wrap .whatsapp-form select,
.ag-hero-form-wrap .whatsapp-form textarea {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.ag-hero-form-wrap .whatsapp-form textarea {
    min-height: 90px;
    font-size: 12px;
    resize: none;
    overflow-y: hidden;
}

.ag-hero-form-wrap .check-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
}

.ag-hero-form-wrap .check-terms-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    min-width: 13px;
    max-width: 13px;
    padding: 0;
    margin-top: 2px;
    background: #1a1a1a;
    border: 1.5px solid rgba(255, 64, 0, 0.4);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.ag-hero-form-wrap .check-terms-label input[type="checkbox"]:checked {
    background: #FF4000;
    border-color: #FF4000;
}

.ag-hero-form-wrap .check-terms-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: -1px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.ag-hero-form-wrap .check-terms-label a {
    color: #FF8C00;
    text-decoration: underline;
}

.ag-hero-form-wrap .btn-container {
    margin-top: 2px;
}

.ag-hero-form-wrap .form-privacy-note {
    margin-top: 12px;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

.ag-hero-form-wrap .form-privacy-note a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
}

.ag-hero-form-wrap .btn-whatsapp {
    padding: 12px 20px;
    font-size: 14px;
}

.ag-hero-form-wrap .btn-whatsapp i {
    font-size: 16px;
}

/* ========================================
   SECTION HEAD (compartilhado)
   ======================================== */
.ag-section-head {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 0 20px;
}

.ag-section-head h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.65rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 14px;
    text-wrap: balance;
}

.ag-section-head p {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   BENEFÍCIOS
   ======================================== */
.ag-benefits-section {
    background: #0a0a0a;
    padding: 90px 0;
}

.ag-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.ag-benefit-card {
    --ag-c1: #FF4000;
    --ag-c2: #FF8C00;
    --ag-glow: rgba(255, 64, 0, 0.20);
    --ag-border-hover: rgba(255, 109, 0, 0.55);
    --ag-shadow-hover: rgba(255, 64, 0, 0.22);

    position: relative;
    z-index: 0;
    background: #131313;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.ag-benefit-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -70px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ag-glow) 0%, transparent 72%);
    opacity: 0.8;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ag-benefit-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.ag-benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--ag-border-hover);
    box-shadow: 0 18px 36px var(--ag-shadow-hover);
}

.ag-benefit--automatico {
    --ag-c1: #2E7CF6;
    --ag-c2: #6FB1FC;
    --ag-glow: rgba(46, 124, 246, 0.20);
    --ag-border-hover: rgba(46, 124, 246, 0.55);
    --ag-shadow-hover: rgba(46, 124, 246, 0.22);
}

.ag-benefit--confianca {
    --ag-c1: #00B368;
    --ag-c2: #5CE8A6;
    --ag-glow: rgba(0, 179, 104, 0.20);
    --ag-border-hover: rgba(0, 179, 104, 0.55);
    --ag-shadow-hover: rgba(0, 179, 104, 0.22);
}

.ag-benefit--universal {
    --ag-c1: #00A8C4;
    --ag-c2: #6FE3F5;
    --ag-glow: rgba(0, 168, 196, 0.20);
    --ag-border-hover: rgba(0, 168, 196, 0.55);
    --ag-shadow-hover: rgba(0, 168, 196, 0.22);
}

.ag-benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ag-c1), var(--ag-c2));
    border-radius: 14px;
    box-shadow: 0 8px 20px var(--ag-glow);
    margin-bottom: 22px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ag-benefit-card:hover .ag-benefit-icon {
    transform: scale(1.08) rotate(-4deg);
}

.ag-benefit-icon i {
    font-size: 24px;
    color: #ffffff;
}

.ag-benefit-card h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.ag-benefit-card p {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* Revelação em cascata — só ativa quando o JS confirma suporte */
body.ag-js .ag-benefit-card,
body.ag-js .ag-fit-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.ag-js .ag-benefit-card.is-visible,
body.ag-js .ag-fit-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    body.ag-js .ag-benefit-card,
    body.ag-js .ag-fit-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================
   COMO FUNCIONA
   ======================================== */
.ag-steps-section {
    background: #0a0a0a;
    padding: 90px 0;
}

.ag-steps-grid {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.ag-step-card {
    flex: 1;
    background: #131313;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.ag-step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 109, 0, 0.4);
}

.ag-step-number {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF4000, #FF8C00);
    border-radius: 50%;
    color: #ffffff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(255, 64, 0, 0.3);
}

.ag-step-card h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.ag-step-card p {
    font-family: "DM Sans", sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* ========================================
   ONDE ENCAIXAR NO SITE
   ======================================== */
.ag-fit-section {
    background: #0a0a0a;
    padding: 90px 0;
}

.ag-fit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.ag-fit-card {
    background: #131313;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 26px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.ag-fit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 109, 0, 0.4);
}

.ag-fit-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 109, 0, 0.1);
    border: 1px solid rgba(255, 109, 0, 0.3);
    border-radius: 14px;
}

.ag-fit-icon i {
    font-size: 22px;
    color: #FF8C00;
}

.ag-fit-card h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.ag-fit-card p {
    font-family: "DM Sans", sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   CTA FINAL
   ======================================== */
.ag-cta-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #140900 100%);
    padding: 90px 0;
}

.ag-cta-inner {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.ag-cta-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF4000, #FF8C00);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(255, 64, 0, 0.3);
}

.ag-cta-icon i {
    font-size: 28px;
    color: #ffffff;
}

.ag-cta-inner h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 14px;
    text-wrap: balance;
}

.ag-cta-inner p {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 32px;
}

.ag-cta-inner .ag-btn-primary {
    display: inline-flex;
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 1200px) {
    .ag-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .ag-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ag-steps-grid {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .ag-hero-section {
        min-height: auto;
        padding: 30px 0 30px;
    }

    .ag-hero-content h1 {
        font-size: 32px;
    }

    .ag-hero-form-wrap {
        order: -1;
        padding-right: 0;
        justify-content: center;
    }

    .ag-hero-form-wrap .whatsapp-form-completo {
        max-width: 100%;
    }

    .ag-benefits-section,
    .ag-steps-section,
    .ag-fit-section,
    .ag-cta-section {
        padding: 60px 0;
    }

    .ag-benefits-grid {
        grid-template-columns: 1fr;
    }

    .ag-fit-grid {
        grid-template-columns: 1fr;
    }
}