/**
 * Página Sobre Nós - Homenagens Especiais
 * Identidade Visual Dark & Elegante
 */

/* ===================================
   VARIÁVEIS E RESET
=================================== */

: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-sobre-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;
}

/* ===================================
   HERO SECTION
=================================== */

.he-sobre-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 80px;
    overflow: hidden;
}

.he-sobre-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.he-sobre-hero__texture {
    position: absolute;
    inset: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpi2r9//38gYGAEESAAEGAAasgJOgzOKCoAAAAASUVORK5CYII=');
    opacity: 0.02;
}

.he-sobre-hero__gradient {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at top left, 
        rgba(179, 18, 23, 0.3), 
        transparent 60%
    );
}

.he-sobre-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.he-sobre-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-sobre-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-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--he-red-primary), 
        transparent
    );
    animation: he-shine 3s ease-in-out infinite;
}

@keyframes he-shine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.he-sobre-hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--he-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Corações decorativos */
.he-sobre-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.he-sobre-heart {
    position: absolute;
    font-size: 24px;
    color: var(--he-rose-neon);
    opacity: 0.15;
    animation: he-heartbeat 3s ease-in-out infinite;
}

.he-sobre-heart--1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.he-sobre-heart--2 {
    top: 65%;
    right: 15%;
    animation-delay: 1s;
}

.he-sobre-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-sobre-section {
    padding: 80px 20px;
    position: relative;
}

.he-sobre-container {
    max-width: 1200px;
    margin: 0 auto;
}

.he-sobre-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.he-sobre-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-sobre-section__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--he-text-primary);
}

/* ===================================
   NOSSA HISTÓRIA
=================================== */

.he-sobre-historia {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
}

.he-sobre-historia__content {
    display: grid;
    gap: 60px;
}

.he-sobre-historia__text {
    max-width: 800px;
    margin: 0 auto;
}

.he-sobre-paragraph {
    font-size: 1.125rem;
    color: var(--he-text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.he-sobre-paragraph--lead {
    font-size: 1.25rem;
    color: var(--he-text-primary);
    font-style: italic;
    border-left: 3px solid var(--he-red-primary);
    padding-left: 24px;
    margin-bottom: 32px;
}

.he-sobre-paragraph em {
    color: var(--he-gold-mate);
    font-style: italic;
}

.he-sobre-historia__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.he-sobre-stat {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.he-sobre-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(179, 18, 23, 0.4);
    border-color: var(--he-red-primary);
}

.he-sobre-stat__number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--he-red-primary);
    margin-bottom: 8px;
}

.he-sobre-stat__label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--he-gold-mate);
}

/* ===================================
   MISSÃO E VALORES
=================================== */

.he-sobre-valores__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.he-sobre-card {
    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;
    transition: all 0.3s ease;
    text-align: center;
}

.he-sobre-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 6px rgba(179, 18, 23, 0.4);
    border-color: var(--he-red-primary);
}

.he-sobre-card__icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.he-sobre-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--he-text-primary);
}

.he-sobre-card__text {
    font-size: 1rem;
    color: var(--he-text-secondary);
    line-height: 1.7;
}

.he-sobre-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.he-sobre-card__list li {
    font-size: 0.9375rem;
    color: var(--he-text-secondary);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.he-sobre-card__list li::before {
    content: '♡';
    position: absolute;
    left: 0;
    color: var(--he-red-primary);
    font-size: 1rem;
}

.he-sobre-card__list strong {
    color: var(--he-gold-mate);
}

/* ===================================
   O QUE FAZEMOS
=================================== */

.he-sobre-fazemos {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
}

.he-sobre-fazemos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.he-sobre-feature {
    position: relative;
    padding-top: 60px;
    text-align: center;
}

.he-sobre-feature__number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(179, 18, 23, 0.2);
    line-height: 1;
}

.he-sobre-feature__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--he-text-primary);
}

.he-sobre-feature__text {
    font-size: 1rem;
    color: var(--he-text-secondary);
    line-height: 1.7;
}

/* ===================================
   CTA FINAL
=================================== */

.he-sobre-cta {
    text-align: center;
    padding: 100px 20px;
    position: relative;
    background: radial-gradient(
        circle at center,
        rgba(179, 18, 23, 0.15),
        transparent 70%
    );
}

.he-sobre-cta__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.he-sobre-cta__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.he-sobre-cta__text {
    font-size: 1.25rem;
    color: var(--he-text-secondary);
    margin-bottom: 40px;
}


/* ===================================
   CTA FINAL
=================================== */

.he-sobre-cta {
    text-align: center;
    padding: 100px 20px;
    position: relative;
    background: radial-gradient(
        circle at center,
        rgba(179, 18, 23, 0.15),
        transparent 70%
    );
}

.he-sobre-cta__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.he-sobre-cta__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.he-sobre-cta__text {
    font-size: 1.25rem;
    color: var(--he-text-secondary);
    margin-bottom: 40px;
}

.he-sobre-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: 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;
    box-shadow: 0 4px 15px rgba(179, 18, 23, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.he-sobre-cta__btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.he-sobre-cta__btn:hover {
    background-color: var(--he-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 18, 23, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.he-sobre-cta__btn:hover::before {
    width: 300px;
    height: 300px;
}

.he-sobre-cta__btn:active {
    background-color: var(--he-red-active);
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(179, 18, 23, 0.4);
}

.he-sobre-cta__btn svg {
    transition: transform 0.3s ease;
}

.he-sobre-cta__btn:hover svg {
    transform: translateX(4px);
}

.he-sobre-cta__btn:focus {
    outline: 3px solid var(--he-gold-mate);
    outline-offset: 4px;
}

.he-sobre-cta__decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.he-sobre-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); }
}

/* Mobile */
@media (max-width: 768px) {
    .he-sobre-cta {
        padding: 80px 20px;
    }

    .he-sobre-cta__btn {
        font-size: 1rem;
        padding: 16px 32px;
    }
}

@media (max-width: 480px) {
    .he-sobre-cta__btn {
        font-size: 0.9375rem;
        padding: 14px 28px;
        gap: 8px;
    }

    .he-sobre-cta__btn svg {
        width: 18px;
        height: 18px;
    }
}



@keyframes he-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}


/* ===================================
   BOTÃO VOLTAR AO INÍCIO
=================================== */

.he-sobre-nav {
    background-color: var(--he-dark-bg);
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.he-btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--he-text-primary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.he-btn-back-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--he-red-primary);
    color: var(--he-red-primary);
    transform: translateX(-4px);
}

.he-btn-back-link:active {
    transform: translateX(-2px) 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);
}

/* Mobile */
@media (max-width: 768px) {
    .he-sobre-nav {
        padding: 16px;
    }

    .he-btn-back-link {
        font-size: 0.875rem;
        padding: 10px 20px;
    }
}


/* ===================================
   RESPONSIVIDADE DO BOTÃO
=================================== */

@media (max-width: 768px) {
    .he-sobre-nav {
        padding: 16px;
    }

    .he-btn-back {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .he-btn-back__icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .he-btn-back__text {
        display: none; /* Esconde o texto em telas muito pequenas */
    }

    .he-btn-back {
        padding: 12px;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
    }

    .he-btn-back__icon {
        margin: 0;
    }
}



/* ===================================
   RESPONSIVIDADE
=================================== */

@media (max-width: 768px) {
    .he-sobre-section {
        padding: 60px 20px;
    }

    .he-sobre-hero {
        min-height: 60vh;
        padding: 80px 20px 60px;
    }

    .he-sobre-historia__stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .he-sobre-valores__grid,
    .he-sobre-fazemos__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .he-sobre-stat__number {
        font-size: 2.5rem;
    }
}
