/* =========================================
   Design System & Variables
   ========================================= */
:root {
    --bg-color: #0f1012;
    /* Very dark grayish black */
    --card-bg: rgba(25, 27, 31, 0.7);
    --card-border: rgba(255, 255, 255, 0.05);

    --text-primary: #f2f2f2;
    --text-secondary: #a0a4ab;
    --text-accent: #d4af37;
    /* Gold */
    --accent-red: #bb2222;
    /* Subtle dark red */

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
    --red-gradient: linear-gradient(135deg, #cc2b2b 0%, #991a1a 100%);
    --whatsapp-gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.0) 100%);

    /* Shadows */
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   Global Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Decoration */
.bg-decoration {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(187, 34, 34, 0.03) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 3rem 1.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* =========================================
   Header Section
   ========================================= */
.profile-header {
    text-align: center;
    animation: fadeInDown 0.8s ease-out forwards;
}

.logo-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.top-logo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    object-position: center 20%;
    /* Ajuste a posição do recorte conforme o centro da logo */
    border-radius: 50%;
    /* Recorte em formato de círculo */
    border: 3px solid var(--text-accent);
    /* Borda em dourado para destacar */
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.profile-image-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: var(--gold-gradient);
    box-shadow: var(--shadow-glow);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-color);
}

.name {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
    color: #ffffff;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.subtitle {
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.subtitle p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.subtitle p:first-child {
    color: var(--text-accent);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
}

.institutional-phrase {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
    padding: 1rem;
    border-left: 3px solid var(--text-accent);
    background: var(--card-bg);
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    background: var(--glass-gradient);
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.about-section p {
    line-height: 1.8;
}

/* =========================================
   Buttons & Links
   ========================================= */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Hover effects */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(1px);
}

.btn i {
    font-size: 1.2rem;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(40, 42, 48, 0.8);
}

.btn-whatsapp {
    background: var(--whatsapp-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.social-row {
    display: flex;
    gap: 1rem;
}

.btn-social {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
}

.btn-social:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(40, 42, 48, 0.8);
}

/* =========================================
   Structure Cards
   ========================================= */
.structure-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    font-size: 2rem;
    color: var(--text-accent);
    background: rgba(212, 175, 55, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    text-align: center;
    background: var(--glass-gradient);
    background-color: rgba(187, 34, 34, 0.05);
    /* Subtle red tint */
    border: 1px solid rgba(187, 34, 34, 0.2);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

.cta-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

.btn-whatsapp-pulse {
    background: var(--whatsapp-gradient);
    color: white;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse 2s infinite;
}

/* =========================================
   Footer
   ========================================= */
footer {
    width: 100%;
    margin-top: auto;
    padding: 2rem 1rem;
    text-align: center;
    background: rgba(10, 11, 12, 0.8);
    border-top: 1px solid var(--card-border);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-accent);
}

.footer-location {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.98);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.98);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}