/* ============================================================================
   Seção: Área de Atendimento
   Position: 2 · Anchor: atend
   Estética: Oráculo — luxo místico escuro, dourado champagne, glassmorphism
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Wrapper da seção — usa classe injetada pela front-page
   ---------------------------------------------------------------------------- */
.flavor-section--area-atendimento {
    position: relative;
    background-color: var(--color-bg-secondary, #0D0C0A);
    padding: 100px 0 110px;
    overflow: hidden;
}

/* Gradiente de separação sutil entre seções */
.flavor-section--area-atendimento::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(201, 169, 110, 0.15) 20%,
        rgba(212, 186, 130, 0.35) 50%,
        rgba(201, 169, 110, 0.15) 80%,
        transparent 100%
    );
}

.flavor-section--area-atendimento::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(201, 169, 110, 0.08) 30%,
        rgba(201, 169, 110, 0.2) 50%,
        rgba(201, 169, 110, 0.08) 70%,
        transparent 100%
    );
}

/* ----------------------------------------------------------------------------
   Inner — contentor com max-width
   ---------------------------------------------------------------------------- */
.secao-atend__inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    z-index: 1;
}

/* ----------------------------------------------------------------------------
   Símbolo de fundo — mandala decorativa
   ---------------------------------------------------------------------------- */
.secao-atend__bg-sigil {
    position: absolute;
    top: 50%;
    right: -120px;
    width: 600px;
    height: 600px;
    transform: translateY(-50%);
    color: var(--color-cta, #C9A96E);
    pointer-events: none;
    z-index: 0;
    animation: sigil-rotate 80s linear infinite;
}

@keyframes sigil-rotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}

/* ----------------------------------------------------------------------------
   Cabeçalho da seção
   ---------------------------------------------------------------------------- */
.secao-atend__header {
    max-width: 680px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Eyebrow — linha com texto centralizado */
.secao-atend__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.secao-atend__eyebrow-line {
    flex: 1;
    height: 1px;
    max-width: 48px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.45));
}

.secao-atend__eyebrow-line:last-child {
    background: linear-gradient(90deg, rgba(201, 169, 110, 0.45), transparent);
}

.secao-atend__eyebrow-text {
    font-family: var(--font-primary, 'Outfit', sans-serif);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-cta, #C9A96E);
    white-space: nowrap;
}

/* Título principal */
.secao-atend__title {
    font-family: var(--font-display, 'Cormorant Garamond', 'Georgia', serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text-primary, #F2EDE7);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.secao-atend__title em {
    font-style: italic;
    color: var(--color-cta, #C9A96E);
    display: block;
}

.secao-atend__title-greeting {
    display: block;
    font-size: 0.55em;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-secondary, #A09889);
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

/* Subtítulo */
.secao-atend__subtitle {
    font-family: var(--font-primary, 'Outfit', sans-serif);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary, #A09889);
    margin: 0;
    max-width: 560px;
}

/* ----------------------------------------------------------------------------
   Grade de cards
   ---------------------------------------------------------------------------- */
.secao-atend__grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr 1fr;
    gap: 18px;
    margin-bottom: 56px;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

/* ----------------------------------------------------------------------------
   Card base
   ---------------------------------------------------------------------------- */
.secao-atend__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 32px 28px 28px;
    background: rgba(18, 16, 14, 0.7);
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 14px;
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: default;

    /* Reveal inicial */
    opacity: 0;
    animation: card-reveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.secao-atend__card:nth-child(1) { animation-delay: 0.1s; }
.secao-atend__card:nth-child(2) { animation-delay: 0.22s; }
.secao-atend__card:nth-child(3) { animation-delay: 0.34s; }

@keyframes card-reveal {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.secao-atend__card:hover {
    transform: translateY(-5px);
}

/* Glow de hover — camada de cor por categoria */
.secao-atend__card-glow {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.secao-atend__card--chat .secao-atend__card-glow {
    background: radial-gradient(ellipse at top left, rgba(120, 160, 220, 0.06) 0%, transparent 65%);
}

.secao-atend__card--chamadas .secao-atend__card-glow {
    background: radial-gradient(ellipse at top, rgba(201, 169, 110, 0.07) 0%, transparent 70%);
}

.secao-atend__card--compras .secao-atend__card-glow {
    background: radial-gradient(ellipse at top right, rgba(123, 174, 127, 0.06) 0%, transparent 65%);
}

.secao-atend__card:hover .secao-atend__card-glow { opacity: 1; }

/* Barra lateral colorida ao hover */
.secao-atend__card::before {
    content: '';
    position: absolute;
    top: 20%; bottom: 20%; left: 0;
    width: 2px;
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.secao-atend__card--chat::before {
    background: linear-gradient(to bottom, rgba(120, 160, 220, 0.7), rgba(80, 120, 200, 0.3));
}

.secao-atend__card--chamadas::before {
    background: linear-gradient(to bottom, #D4BA82, #C9A96E);
}

.secao-atend__card--compras::before {
    background: linear-gradient(to bottom, rgba(123, 174, 127, 0.7), rgba(80, 140, 90, 0.3));
}

.secao-atend__card:hover::before { opacity: 1; }

/* ── Card destaque (chamadas) ── */
.secao-atend__card--featured {
    border-color: rgba(201, 169, 110, 0.22);
    background: rgba(20, 18, 15, 0.85);
    box-shadow:
        0 0 0 1px rgba(201, 169, 110, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(201, 169, 110, 0.04);
}

.secao-atend__card--featured:hover {
    border-color: rgba(201, 169, 110, 0.38);
    box-shadow:
        0 0 0 1px rgba(201, 169, 110, 0.1),
        0 28px 80px rgba(0, 0, 0, 0.45),
        0 0 100px rgba(201, 169, 110, 0.08);
}

/* Ornamento decorativo no card destaque */
.secao-atend__card-ornament {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    color: var(--color-cta, #C9A96E);
    pointer-events: none;
    animation: ornament-spin 40s linear infinite;
    opacity: 0.6;
}

@keyframes ornament-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ----------------------------------------------------------------------------
   Ícone do card
   ---------------------------------------------------------------------------- */
.secao-atend__card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.secao-atend__card--chat .secao-atend__card-icon-wrap {
    background: rgba(120, 160, 220, 0.08);
    border: 1px solid rgba(120, 160, 220, 0.14);
    color: rgba(160, 195, 240, 0.85);
}

.secao-atend__card--chamadas .secao-atend__card-icon-wrap {
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.2);
    color: var(--color-cta, #C9A96E);
}

.secao-atend__card--compras .secao-atend__card-icon-wrap {
    background: rgba(123, 174, 127, 0.08);
    border: 1px solid rgba(123, 174, 127, 0.14);
    color: rgba(150, 200, 155, 0.85);
}

.secao-atend__card:hover .secao-atend__card-icon-wrap {
    transform: scale(1.07);
}

.secao-atend__card--chat:hover .secao-atend__card-icon-wrap {
    box-shadow: 0 0 20px rgba(120, 160, 220, 0.18);
}

.secao-atend__card--chamadas:hover .secao-atend__card-icon-wrap {
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.22);
}

.secao-atend__card--compras:hover .secao-atend__card-icon-wrap {
    box-shadow: 0 0 20px rgba(123, 174, 127, 0.18);
}

/* ----------------------------------------------------------------------------
   Corpo do card
   ---------------------------------------------------------------------------- */
.secao-atend__card-body {
    flex: 1;
}

.secao-atend__card-title {
    font-family: var(--font-display, 'Cormorant Garamond', 'Georgia', serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary, #F2EDE7);
    margin: 0 0 10px;
    letter-spacing: 0.005em;
}

.secao-atend__card-desc {
    font-family: var(--font-primary, 'Outfit', sans-serif);
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-secondary, #A09889);
    margin: 0 0 18px;
}

/* Lista de recursos */
.secao-atend__card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.secao-atend__card-list li {
    font-family: var(--font-primary, 'Outfit', sans-serif);
    font-size: 0.8rem;
    color: rgba(160, 152, 137, 0.75);
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
}

.secao-atend__card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.secao-atend__card--chat .secao-atend__card-list li::before {
    background: rgba(120, 160, 220, 0.5);
}

.secao-atend__card--chamadas .secao-atend__card-list li::before {
    background: rgba(201, 169, 110, 0.6);
}

.secao-atend__card--compras .secao-atend__card-list li::before {
    background: rgba(123, 174, 127, 0.5);
}

/* ----------------------------------------------------------------------------
   Badge de status no card
   ---------------------------------------------------------------------------- */
.secao-atend__card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    padding: 5px 10px;
    font-family: var(--font-primary, 'Outfit', sans-serif);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary, #A09889);
    background: rgba(242, 237, 231, 0.04);
    border: 1px solid rgba(242, 237, 231, 0.07);
    border-radius: 20px;
    width: fit-content;
}

.secao-atend__card-badge--featured {
    color: var(--color-cta, #C9A96E);
    background: rgba(201, 169, 110, 0.07);
    border-color: rgba(201, 169, 110, 0.15);
}

.secao-atend__card-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4DB87A;
    animation: badge-pulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}

.secao-atend__card-badge-dot--gold {
    background: var(--color-cta, #C9A96E);
}

.secao-atend__card-badge-dot--muted {
    background: rgba(160, 152, 137, 0.5);
    animation: none;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(77, 184, 122, 0.5); }
    50%       { box-shadow: 0 0 0 4px rgba(77, 184, 122, 0); }
}

/* ----------------------------------------------------------------------------
   Faixa de estatísticas
   ---------------------------------------------------------------------------- */
.secao-atend__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 36px 40px;
    background: rgba(14, 13, 11, 0.6);
    border: 1px solid rgba(201, 169, 110, 0.09);
    border-radius: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 52px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Brilho dourado sutil nas laterais */
.secao-atend__stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(201, 169, 110, 0.2) 30%, rgba(201, 169, 110, 0.4) 50%, rgba(201, 169, 110, 0.2) 70%, transparent 95%);
}

.secao-atend__stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.secao-atend__stat-number {
    font-family: var(--font-display, 'Cormorant Garamond', 'Georgia', serif);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--color-text-primary, #F2EDE7);
    line-height: 1;
    letter-spacing: -0.02em;
}

.secao-atend__stat-label {
    font-family: var(--font-primary, 'Outfit', sans-serif);
    font-size: 0.75rem;
    color: var(--color-text-secondary, #A09889);
    letter-spacing: 0.02em;
    line-height: 1.3;
    max-width: 120px;
}

.secao-atend__stat-divider {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, rgba(201, 169, 110, 0.2), transparent);
    flex-shrink: 0;
    margin: 0 8px;
}

/* ----------------------------------------------------------------------------
   CTA principal
   ---------------------------------------------------------------------------- */
.secao-atend__cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.secao-atend__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: var(--font-primary, 'Outfit', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0B0A09;
    background: linear-gradient(135deg, #D4BA82 0%, #C9A96E 50%, #B8944F 100%);
    border-radius: 50px;
    overflow: hidden;
    transition:
        transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.3s ease;
    box-shadow:
        0 4px 24px rgba(201, 169, 110, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.secao-atend__cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 40px rgba(201, 169, 110, 0.4),
        0 2px 0 rgba(255, 255, 255, 0.12) inset;
}

.secao-atend__cta:active {
    transform: translateY(0) scale(0.99);
}

/* Shimmer animado no botão */
.secao-atend__cta-shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 100%
    );
    animation: cta-shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cta-shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

.secao-atend__cta-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.85;
}

.secao-atend__cta-text {
    position: relative;
    z-index: 1;
}

.secao-atend__cta-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.secao-atend__cta:hover .secao-atend__cta-arrow {
    transform: translateX(4px);
}

/* Hint abaixo do CTA */
.secao-atend__cta-hint {
    font-family: var(--font-primary, 'Outfit', sans-serif);
    font-size: 0.775rem;
    color: rgba(160, 152, 137, 0.5);
    letter-spacing: 0.02em;
    margin: 0;
}

/* ============================================================================
   RESPONSIVO
   ============================================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .secao-atend__grid {
        grid-template-columns: 1fr 1fr;
    }

    .secao-atend__card--featured {
        grid-column: 1 / -1;
        flex-direction: row;
        gap: 28px;
        align-items: flex-start;
    }

    .secao-atend__card--featured .secao-atend__card-icon-wrap {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .secao-atend__bg-sigil {
        width: 400px;
        right: -80px;
    }

    .secao-atend__stats {
        flex-wrap: wrap;
        gap: 24px;
        padding: 28px 24px;
    }

    .secao-atend__stat-divider { display: none; }

    .secao-atend__stat {
        flex: 1 1 40%;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .flavor-section--area-atendimento {
        padding: 72px 0 80px;
    }

    .secao-atend__inner {
        padding: 0 20px;
    }

    .secao-atend__header {
        margin-bottom: 40px;
    }

    .secao-atend__grid {
        grid-template-columns: 1fr;
    }

    .secao-atend__card--featured {
        flex-direction: column;
        gap: 0;
    }

    .secao-atend__card--featured .secao-atend__card-icon-wrap {
        margin-bottom: 20px;
    }

    .secao-atend__bg-sigil {
        width: 300px;
        right: -100px;
        opacity: 0.5;
    }

    .secao-atend__stats {
        padding: 24px 20px;
        gap: 20px;
    }

    .secao-atend__stat {
        flex: 1 1 45%;
    }

    .secao-atend__stat-number {
        font-size: 1.9rem;
    }

    .secao-atend__cta {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

    .secao-atend__eyebrow {
        justify-content: flex-start;
    }

    .secao-atend__eyebrow-line { display: none; }
}

/* Focus visible — acessibilidade */
.secao-atend__cta:focus-visible {
    outline: 2px solid var(--color-cta, #C9A96E);
    outline-offset: 3px;
}