/* === SEÇÃO "RECEBA UMA LIGAÇÃO AGORA" - HOME CINNDI === */

.ligar {
    position: relative;
    overflow: hidden;
    padding: 46px 20px;
    background:
        radial-gradient(50% 140% at 100% 0%, rgba(96, 165, 250, .35), transparent 60%),
        radial-gradient(45% 120% at 0% 100%, rgba(52, 211, 153, .28), transparent 60%),
        linear-gradient(120deg, #1d4ed8, #2563eb 55%, #0ea5e9);
    color: #ffffff;
}

.ligar-container {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 36px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.ligar-selo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ligar-pulso {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4ade80;
}

.ligar-pulso::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #4ade80;
    animation: ligar-onda 1.8s ease-out infinite;
}

.ligar-titulo {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.ligar-sub {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    line-height: 1.55;
}

.ligar-form {
    padding: 22px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(2, 6, 23, .28);
}

.ligar-mel {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ligar-linha {
    display: flex;
    gap: 10px;
}

.ligar-campo {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 56px;
    padding: 0 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    transition: border-color .2s, background .2s;
}

.ligar-campo:focus-within {
    border-color: #2563eb;
    background: #ffffff;
    color: #2563eb;
}

.ligar-campo svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.ligar-campo input {
    flex: 1 1 0;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
}

.ligar-campo input::placeholder { color: #94a3b8; font-weight: 500; }

.ligar-botao {
    flex: 0 0 auto;
    height: 56px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(120deg, #16a34a, #22c55e);
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(34, 197, 94, .35);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.ligar-botao:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(34, 197, 94, .45); }
.ligar-botao:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }

.ligar-retorno {
    min-height: 20px;
    margin: 12px 2px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.ligar-retorno:empty { display: none; }
.ligar-ok { color: #15803d; }
.ligar-erro { color: #b91c1c; }

@keyframes ligar-onda {
    from { transform: scale(1); opacity: .7; }
    to { transform: scale(3.2); opacity: 0; }
}

@media (max-width: 900px) {
    .ligar-container { grid-template-columns: 1fr; gap: 22px; }
    .ligar-texto { text-align: center; }
}

@media (max-width: 560px) {
    .ligar { padding: 38px 16px; }
    .ligar-titulo { font-size: 26px; }
    .ligar-sub { font-size: 15px; }
    .ligar-form { padding: 16px; }
    .ligar-linha { flex-direction: column; }
    .ligar-campo { flex: 0 0 auto; }
    .ligar-botao { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ligar-pulso::after { animation: none; }
}
