/**
 * Página de Contato - Homenagens Especiais
 * Identidade Visual Dark & Elegante
 */

/* ===================================
   VARIÁVEIS
=================================== */

:root {
    --he-dark-bg: #1e1e1e;
    --he-dark-card: #2a2a2a;
    --he-dark-nav: #151515;
    --he-red-primary: #b31217;
    --he-red-hover: #c72a32;
    --he-red-active: #9e0f13;
    --he-rose-neon: #d05e7f;
    --he-gold-mate: #cfa97f;
    --he-text-primary: #ffffff;
    --he-text-secondary: #cccccc;
    --he-text-muted: #999999;
}

.he-contato-wrapper {
    background-color: var(--he-dark-bg);
    color: var(--he-text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   BOTÃO VOLTAR
=================================== */

.he-contato-nav {
    position: relative;
    z-index: 100;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--he-dark-bg);
}

.he-btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--he-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.he-btn-back-link:hover {
    background: rgba(179, 18, 23, 0.1);
    border-color: var(--he-red-primary);
    color: var(--he-text-primary);
    text-decoration: none;
}

.he-btn-back-link:active {
    transform: scale(0.98);
}

.he-btn-back-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.he-btn-back-link:hover .dashicons {
    transform: translateX(-2px);
}

/* ===================================
   HERO SECTION
=================================== */

.he-contato-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}

.he-contato-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.he-contato-hero__texture {
    position: absolute;
    inset: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpi2r9//38gYGAEESAAEGAAasgJOgzOKCoAAAAASUVORK5CYII=');
    opacity: 0.02;
}

.he-contato-hero__gradient {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at top left, 
        rgba(179, 18, 23, 0.3), 
        transparent 60%
    );
}

.he-contato-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.he-contato-hero__icon {
    margin-bottom: 30px;
    animation: he-float 4s ease-in-out infinite;
}

@keyframes he-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.he-contato-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(207, 169, 127, 0.5);
}

.he-highlight {
    color: var(--he-gold-mate);
    position: relative;
    display: inline-block;
}

.he-contato-hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--he-text-secondary);
}

/* Corações decorativos */
.he-contato-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.he-contato-heart {
    position: absolute;
    font-size: 24px;
    color: var(--he-rose-neon);
    opacity: 0.15;
    animation: he-heartbeat 3s ease-in-out infinite;
}

.he-contato-heart--1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.he-contato-heart--2 {
    top: 65%;
    right: 15%;
    animation-delay: 1s;
}

.he-contato-heart--3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes he-heartbeat {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.25; }
}

/* ===================================
   SECTIONS GERAIS
=================================== */

.he-contato-section {
    padding: 80px 20px;
    position: relative;
}

.he-contato-container {
    max-width: 1200px;
    margin: 0 auto;
}

.he-contato-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.he-contato-label {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--he-gold-mate);
    margin-bottom: 12px;
    font-weight: 600;
}

.he-contato-section__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--he-text-primary);
    margin-bottom: 16px;
}

.he-contato-section__intro {
    font-size: 1.125rem;
    color: var(--he-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   CANAIS DE CONTATO
=================================== */

.he-contato-canais {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
}

.he-contato-canais__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.he-contato-card {
    position: relative;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.he-contato-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(179, 18, 23, 0.4);
    border-color: var(--he-red-primary);
}

.he-contato-card__icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.he-contato-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--he-text-primary);
}

.he-contato-card__text {
    font-size: 1rem;
    color: var(--he-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.he-contato-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: var(--he-red-primary);
    color: var(--he-text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.he-contato-card__btn:hover {
    background-color: var(--he-red-hover);
    transform: scale(1.05);
    text-decoration: none;
}

.he-contato-card__btn:active {
    transform: scale(0.98);
}

.he-contato-card__btn--instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.he-contato-card__btn--instagram:hover {
    box-shadow: 0 0 20px rgba(253, 29, 29, 0.6);
}

.he-contato-card__arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.he-contato-card__btn:hover .he-contato-card__arrow {
    transform: translateX(4px);
}

.he-contato-card__badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    background: rgba(179, 18, 23, 0.2);
    border: 1px solid var(--he-red-primary);
    border-radius: 20px;
    color: var(--he-gold-mate);
}

.he-contato-card__badge--instagram {
    background: rgba(208, 94, 127, 0.2);
    border-color: var(--he-rose-neon);
}

/* Em breve */
.he-contato-card__soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 16px;
}

.he-contato-card__soon-icon {
    font-size: 1.25rem;
}

.he-contato-card__soon-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--he-text-muted);
}

/* ===================================
   FAQ RÁPIDO
=================================== */

.he-contato-faq__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.he-contato-faq-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.he-contato-faq-item:hover {
    transform: translateY(-4px);
    border-color: var(--he-red-primary);
    box-shadow: 0 8px 30px rgba(179, 18, 23, 0.3);
}

.he-contato-faq-item__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.he-contato-faq-item__question {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--he-text-primary);
    margin-bottom: 12px;
}

.he-contato-faq-item__answer {
    font-size: 0.9375rem;
    color: var(--he-text-secondary);
    line-height: 1.7;
}

/* ===================================
   CTA FINAL
=================================== */

.he-contato-cta {
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(
        circle at center,
        rgba(179, 18, 23, 0.15),
        transparent 70%
    );
}

.he-contato-cta__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.he-contato-cta__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.he-contato-cta__text {
    font-size: 1.25rem;
    color: var(--he-text-secondary);
    margin-bottom: 40px;
}

.he-contato-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background-color: var(--he-red-primary);
    color: var(--he-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.he-contato-cta__btn:hover {
    background-color: var(--he-red-hover);
    transform: scale(1.05);
    text-decoration: none;
    box-shadow: 0 0 12px rgba(179, 18, 23, 0.6);
}

.he-contato-cta__btn:active {
    transform: scale(0.98);
}

.he-contato-cta__decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.he-contato-cta__heart {
    position: absolute;
    font-size: 120px;
    color: var(--he-rose-neon);
    opacity: 0.08;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: he-pulse 4s ease-in-out infinite;
}

@keyframes he-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* ===================================
   RESPONSIVIDADE
=================================== */

@media (max-width: 768px) {
    .he-contato-nav {
        padding: 16px;
    }

    .he-btn-back-link {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .he-contato-section {
        padding: 60px 20px;
    }

    .he-contato-hero {
        min-height: 50vh;
        padding: 60px 20px;
    }

    .he-contato-canais__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .he-contato-faq__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===================================
   BOTÕES DOS CARDS - CORRIGIDO
=================================== */

.he-contato-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: var(--he-red-primary);
    color: var(--he-text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* ✅ HOVER: Levanta levemente com brilho */
.he-contato-card__btn:hover {
    background-color: var(--he-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 18, 23, 0.4);
    text-decoration: none;
}

/* ✅ ACTIVE: Apenas pressiona levemente SEM MUDAR COR DE FUNDO */
.he-contato-card__btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(179, 18, 23, 0.3);
    /* NÃO muda background-color aqui */
}

/* ✅ FOCUS: Acessibilidade via teclado */
.he-contato-card__btn:focus {
    outline: 2px solid var(--he-gold-mate);
    outline-offset: 4px;
}

/* Botão do Instagram com gradiente */
.he-contato-card__btn--instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border: 2px solid transparent;
}

.he-contato-card__btn--instagram:hover {
    box-shadow: 0 4px 16px rgba(253, 29, 29, 0.5);
    transform: translateY(-2px);
    /* Mantém o gradiente no hover */
}

.he-contato-card__btn--instagram:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(253, 29, 29, 0.3);
    /* NÃO muda o gradiente */
}

/* Animação da seta */
.he-contato-card__arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.he-contato-card__btn:hover .he-contato-card__arrow {
    transform: translateX(4px);
}


/* ===================================
   GRID DOS CANAIS - CORRIGIDO
=================================== */

.he-contato-canais__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* ✅ Reduzido de 320px */
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px; /* ✅ NOVO: Padding nas laterais */
}

.he-contato-card {
    position: relative;
    padding: 40px 24px; /* ✅ Reduzido o padding horizontal de 30px para 24px */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box; /* ✅ IMPORTANTE: Garante que padding não estoura */
}

.he-contato-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(179, 18, 23, 0.4);
    border-color: var(--he-red-primary);
}



/* ===================================
   RESPONSIVIDADE MELHORADA
=================================== */

@media (max-width: 768px) {
    .he-contato-nav {
        padding: 16px;
    }

    .he-btn-back-link {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .he-contato-section {
        padding: 60px 16px; /* ✅ Reduzido de 20px para 16px */
    }

    .he-contato-hero {
        min-height: 50vh;
        padding: 60px 16px; /* ✅ Reduzido de 20px para 16px */
    }

    .he-contato-canais__grid {
        grid-template-columns: 1fr; /* ✅ Uma coluna no mobile */
        gap: 24px;
        padding: 0 16px; /* ✅ Padding consistente */
    }

    .he-contato-card {
        padding: 32px 20px; /* ✅ Padding reduzido no mobile */
    }

    .he-contato-card__btn {
        padding: 12px 24px; /* ✅ Botão menor no mobile */
        font-size: 0.9375rem;
    }

    .he-contato-faq__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px; /* ✅ Padding consistente */
    }

    .he-contato-faq-item {
        padding: 24px 20px; /* ✅ Padding reduzido no mobile */
    }
}

/* ✅ NOVO: Para telas muito pequenas (iPhone SE, etc) */
@media (max-width: 380px) {
    .he-contato-canais__grid {
        padding: 0 12px;
    }

    .he-contato-card {
        padding: 28px 16px;
    }

    .he-contato-card__btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .he-contato-card__title {
        font-size: 1.5rem;
    }

    .he-contato-card__text {
        font-size: 0.9375rem;
    }
}


