/* ============================================================
   HDC Telecom – Internet | CSS TELEFONIA
   Responsável por: telefonia fixa (ícones animados),
   telefonia móvel 5G e ícone 5G animado
   ============================================================ */

/* ===== Telefonia Fixa ===== */
.grade-telefonia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.card-telefonia {
    background: var(--branco);
    border-radius: 16px;
    padding: 36px 28px;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(18,58,107,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-telefonia:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(18,58,107,0.16);
    border-color: var(--laranja);
}

.card-telefonia .icone-tel {
    width: 84px; height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247,127,0,0.10);
    box-shadow: 0 0 24px rgba(247,127,0,0.15);
    position: relative;
}

.card-telefonia .icone-tel svg { overflow: visible; }

/* ===== Ícone telefone residencial (gancho tocando) ===== */
.gancho-tocando {
    transform-box: fill-box;
    transform-origin: center;
    animation: ganchoToca 1.1s ease-in-out infinite;
}

@keyframes ganchoToca {
    0%, 100% { transform: rotate(-7deg) translateY(0); }
    25%      { transform: rotate(7deg) translateY(-2px); }
    50%      { transform: rotate(-7deg) translateY(0); }
    75%      { transform: rotate(7deg) translateY(-2px); }
}

/* ===== Ondas de chamada ===== */
.onda-chamada {
    fill: none;
    stroke: #00a8e8;
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: ondaChama 1.4s ease-out infinite;
}

.onda-chamada.o2 { animation-delay: 0.45s; }
.onda-chamada.o3 { animation-delay: 0.9s; }

@keyframes ondaChama {
    0%   { opacity: 0; transform: scale(0.7); }
    30%  { opacity: 0.9; }
    100% { opacity: 0; transform: scale(1.25); }
}

/* ===== Ícone telefone empresarial (antigo de disco, tremendo) ===== */
.tel-base-tremendo {
    transform-box: fill-box;
    transform-origin: center;
    animation: tremeTel 0.45s linear infinite;
}

@keyframes tremeTel {
    0%   { transform: translateX(0) rotate(0); }
    25%  { transform: translateX(-2px) rotate(-1.5deg); }
    50%  { transform: translateX(2px) rotate(1.5deg); }
    75%  { transform: translateX(-2px) rotate(-1.5deg); }
    100% { transform: translateX(0) rotate(0); }
}

/* ===== Conteúdo do card de telefonia ===== */
.card-telefonia h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azul);
    margin-bottom: 10px;
}

.card-telefonia .preco-tel {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--laranja);
    margin-bottom: 6px;
}

.card-telefonia .preco-tel small { font-size: 1rem; color: var(--cinza); font-weight: 500; }

.card-telefonia ul {
    list-style: none;
    text-align: left;
    margin: 16px 0 22px;
    display: inline-block;
}

.card-telefonia ul li {
    padding: 5px 0;
    color: var(--cinza);
    font-size: 0.95rem;
}

.card-telefonia ul li::before {
    content: '✔ ';
    color: var(--verde);
    font-weight: 700;
}

.card-telefonia a {
    display: inline-block;
    background: var(--laranja);
    color: var(--branco);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 30px;
    border-radius: 50px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(247,127,0,0.35);
}

.card-telefonia a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(247,127,0,0.55);
}

/* ===== Telefonia Móvel (destaque único) ===== */
.secao-movel {
    background: linear-gradient(135deg, var(--azul) 0%, #0d2b52 100%);
    border-radius: 20px;
    padding: 48px 32px;
    color: var(--branco);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* ===== Ícone 5G animado ===== */
.icone-5g {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: flutuar5g 4s ease-in-out infinite;
}

@keyframes flutuar5g {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

.icone-5g .texto-5g {
    position: relative;
    z-index: 2;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 1;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--laranja) 0%, #ffb347 50%, var(--laranja-claro) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shimmer5g 3s ease-in-out infinite;
}

@keyframes shimmer5g {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.icone-5g .anel {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(255, 179, 71, 0.55);
    animation: anel5g 2.6s ease-out infinite;
}

.icone-5g .anel.a2 { animation-delay: 0.85s; }
.icone-5g .anel.a3 { animation-delay: 1.7s; }

@keyframes anel5g {
    0%   { transform: scale(0.45); opacity: 0.9; }
    100% { transform: scale(1.9); opacity: 0; }
}

.secao-movel h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.secao-movel .preco-movel {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: var(--laranja-claro);
    margin-bottom: 20px;
}

.secao-movel .preco-movel small { font-size: 1.1rem; color: rgba(255,255,255,0.8); font-weight: 500; }

.secao-movel ul {
    list-style: none;
    max-width: 560px;
    margin: 0 auto 28px;
    text-align: left;
    display: inline-block;
}

.secao-movel ul li {
    padding: 5px 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.98rem;
}

.secao-movel ul li::before {
    content: '✔ ';
    color: #00e676;
    font-weight: 700;
}

.movel-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn-movel {
    display: inline-block;
    background: var(--laranja);
    color: var(--branco);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 34px;
    border-radius: 50px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 18px rgba(247,127,0,0.4);
}

.btn-movel:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(247,127,0,0.6);
}

.btn-movel-outline {
    display: inline-block;
    border: 2px solid var(--azul-claro);
    color: var(--branco);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn-movel-outline:hover {
    background: var(--azul-claro);
    transform: scale(1.05);
}