/* ==========================================================================
   SUHURT & CRUZ - DIREITO DE FAMÍLIA, SUCESSÓRIO E PATRIMONIAL
   Página de Manutenção - Design System & Stylesheet
   Cores: Dourado (#D4AF37 / Gradients), Branco (#FFFFFF), Cinza Escuro (#0B0C0E)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-main: #0A0B0E;
    --bg-surface: #121418;
    --bg-surface-elevated: #181B22;
    --bg-glass: rgba(18, 20, 24, 0.75);
    
    /* Gold Metallic System */
    --gold-primary: #D4AF37;
    --gold-light: #F5E5C0;
    --gold-dark: #A67C1E;
    --gold-gradient: linear-gradient(135deg, #C59B27 0%, #FDF4CD 25%, #D4AF37 50%, #F5E5C0 75%, #997116 100%);
    --gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(245, 229, 192, 0.05) 100%);
    --gold-glow: 0 0 25px rgba(212, 175, 55, 0.25);
    --gold-glow-intense: 0 0 40px rgba(212, 175, 55, 0.4);
    
    /* Neutral & Text */
    --text-primary: #FFFFFF;
    --text-secondary: #CBD2E1;
    --text-muted: #8E96A7;
    
    /* Borders & Shadows */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.35);
    --border-gold-strong: #D4AF37;
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    
    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   3. AMBIENT BACKGROUND & DECORATION
   -------------------------------------------------------------------------- */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(10, 11, 14, 0) 70%);
    top: -100px;
    right: -100px;
    animation: floatGlow 12s ease-in-out infinite alternate;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(166, 124, 30, 0.12) 0%, rgba(10, 11, 14, 0) 70%);
    bottom: -150px;
    left: -100px;
    animation: floatGlow 15s ease-in-out infinite alternate-reverse;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 0;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. LAYOUT CONTAINER
   -------------------------------------------------------------------------- */
.container {
    max-width: 1280px;
    width: 90%;
    margin: 0 auto;
    padding: 2.5rem 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.brand-logo {
    max-height: 54px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    transition: transform var(--transition-smooth);
}

.brand-logo:hover {
    transform: scale(1.02);
}

.header-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gold-light);
    box-shadow: var(--gold-glow);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #2ECC71;
    border-radius: 50%;
    box-shadow: 0 0 10px #2ECC71;
    animation: pulseGreen 2s infinite;
}

/* --------------------------------------------------------------------------
   6. HERO GRID SECTION
   -------------------------------------------------------------------------- */
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    margin: 3.5rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    align-self: flex-start;
    padding: 0.4rem 1rem;
    background: var(--gold-gradient-soft);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    text-transform: uppercase;
}

.badge-icon {
    color: var(--gold-primary);
}

/* Typography */
.main-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 620px;
    line-height: 1.7;
}

.subtitle strong {
    color: var(--gold-light);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. PROGRESS BOX
   -------------------------------------------------------------------------- */
.progress-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.progress-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-gradient);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.progress-title {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gold-icon {
    color: var(--gold-primary);
}

.progress-percent {
    font-weight: 700;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    width: 85%;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 10px;
    position: relative;
    animation: shimmer 3s infinite linear;
}

.progress-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pulse-text {
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   8. BUTTONS & CTA
   -------------------------------------------------------------------------- */
.cta-group {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 1.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    letter-spacing: 0.3px;
}

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

.btn-gold {
    background: var(--gold-gradient);
    color: #0A0B0E;
    border: none;
    box-shadow: var(--gold-glow);
    position: relative;
    overflow: hidden;
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.8s ease;
}

.btn-gold:hover::after {
    transform: rotate(30deg) translateX(100%);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--gold-glow-intense);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    border: 1px solid var(--border-gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   9. DIRECT CONTACT NOTE
   -------------------------------------------------------------------------- */
.direct-contact-note {
    margin-top: 0.5rem;
    padding: 1rem 1.2rem;
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid var(--gold-primary);
    border-radius: 6px;
}

.contact-note-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   10. HERO VISUAL SHOWCASE (3D GRAPHICS)
   -------------------------------------------------------------------------- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.visual-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow), var(--gold-glow);
    border-color: var(--gold-primary);
}

.primary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.secondary-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 75%;
    background: var(--bg-surface-elevated);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.card-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.showcase-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
}

.img-float-1 {
    max-height: 220px;
    animation: levitate 6s ease-in-out infinite alternate;
}

.img-float-2 {
    max-height: 120px;
    animation: levitate 7s ease-in-out infinite alternate-reverse;
}

.card-caption {
    margin-top: 1rem;
}

.card-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-light);
}

.card-caption p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.gold-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: 50%;
    z-index: 1;
    animation: rotateRing 40s linear infinite;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. CONTACT BANNER SECTION
   -------------------------------------------------------------------------- */
.contact-cards-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transition: all var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-surface-elevated);
    transform: translateY(-4px);
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--gold-gradient-soft);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.contact-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links span {
    color: var(--gold-light);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   13. KEYFRAME ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes floatGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

@keyframes levitate {
    0% { transform: translateY(0); }
    100% { transform: translateY(-14px); }
}

@keyframes rotateRing {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes shimmer {
    0% { opacity: 0.8; }
    50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.8)); }
    100% { opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        margin-top: 1rem;
    }

    .secondary-card {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: 1rem;
    }

    .gold-ring {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
        padding: 1.5rem 0;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .main-title {
        font-size: 2.1rem;
    }

    .contact-cards-section {
        grid-template-columns: 1fr;
    }

    .notify-form {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
