/* estilos/src/pages/index-page.css */
/* Estilos específicos da página inicial (landing page) */

/* Seção Hero Redesenhada */
.hero { 
    background: var(--primary-gradient); 
    color: var(--white); 
    padding: 60px 20px 80px; 
    position: relative; 
    overflow: hidden;
    width: 100%;
}

.hero::before { 
    content: '';
    position: absolute; 
    top: -50px; 
    right: -100px; 
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse { 
    0%, 100% { transform: scale(1); opacity: 0.3; } 
    50% { transform: scale(1.1); opacity: 0.5; } 
}

/* ===== NOVA SEÇÃO HERO REDESENHADA ===== */
.hero-redesigned {
    background: #072F48;
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: none;
}

.hero-redesigned::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -150px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-container-redesigned {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content-redesigned {
    text-align: left;
    padding: 20px;
}

.hero-title {
    font-family: 'Michroma', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
    color: #ACFEC0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #E9F4E6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 25px;
    color: #ACFEC0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.brand-image {
    width: min(100%, 840px);
    height: auto;
    max-height: 340px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(172, 254, 192, 0.25));
    transform: scale(1.5);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 { 
    font-size: 2.5em; 
    margin-bottom: 25px; 
    line-height: 1.2; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2); 
    font-weight: 700;
    color: var(--white);
}

.hero-content p { 
    font-size: 1.3em; 
    line-height: 1.6;
    opacity: 0.95; 
    font-weight: 300;
    margin-bottom: 0;
    color: white !important;
}

.hero-access-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.access-panel-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

body.dark-mode .access-panel-title {
    color: var(--white);
}

.hero-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px;
}

.service-card-mini {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    aspect-ratio: 1;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card-mini::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    background: var(--primary-gradient);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-mini:hover::before {
    opacity: 1;
}

.service-card-mini:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.25);
    background: white;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    color: var(--primary-purple);
    transition: all 0.3s ease;
}

.service-card-mini:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-orange);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card-mini h3 {
    font-size: 1em;
    color: var(--primary-purple);
    margin-bottom: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card-mini:hover h3 {
    color: var(--primary-orange);
}

.service-card-mini p {
    font-size: 0.75em;
    color: var(--medium-gray);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

/* Dark Mode para os cards */
/* Dark Mode para os cards - tons azuis do projeto */
body.dark-mode .service-card-mini {
    background: linear-gradient(135deg, rgba(20, 111, 138, 0.15), rgba(7, 47, 72, 0.15));
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(20, 111, 138, 0.18); /* --primary-color */
}

body.dark-mode .service-card-mini:hover {
    background: linear-gradient(135deg, rgba(20, 111, 138, 0.28), rgba(7, 47, 72, 0.28));
    box-shadow: 0 12px 40px rgba(7, 47, 72, 0.55);
    border-color: rgba(20, 111, 138, 0.5);
}

body.dark-mode .service-icon {
    color: #C4B5FD;
}

body.dark-mode .service-card-mini:hover .service-icon {
    color: #FB923C;
}

body.dark-mode .service-card-mini h3 {
    color: #F3E8FF;
}

body.dark-mode .service-card-mini:hover h3 {
    color: #FED7AA;
}

body.dark-mode .service-card-mini p {
    color: #E0E7FF;
}

/* About Section */
.about-section { 
    padding: 80px 20px; 
    text-align: center; 
    margin-bottom: 0;
}

[data-theme="dark"] .about-section {
    background-color: #072F48;
}

body.dark-mode .about-section {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

.about-section h2 { 
    font-size: 3.5em; 
    background: var(--brand-ink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px; 
    font-weight: 700;
}

.about-section p { 
    font-size: 1.3em; 
    max-width: 950px; 
    margin: 0 auto 35px auto; 
    line-height: 1.8; 
    color: var(--medium-gray); 
}

/* Pricing Interactive Section */
.pricing-interactive-section {
    padding: 40px 22px;
    background: #ffffff;
}

[data-theme="dark"] .pricing-interactive-section {
    background: #111827;
}

body.dark-mode .pricing-interactive-section {
    background: #111827; /* Compatível com dark mode */
}

.section-title {
    font-size: 2.8em;
    margin-bottom: 10px !important;
    text-align: center;
    color: var(--brand-primary, #581C87);
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    border-bottom: none !important;
}

.section-title::after {
    display: none !important;
}

body.dark-mode .section-title {
    color: #F3E8FF;
}

.identity-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border: none;
    border-bottom: none !important;
}

.identity-selector::after {
    display: none !important;
}

.identity-btn {
    padding: 14px 32px;
    border: 2px solid var(--brand-primary, #581C87);
    background: transparent;
    color: var(--brand-primary, #581C87);
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .identity-btn {
    border-color: #C4B5FD;
    color: #C4B5FD;
}

.identity-btn:hover, .identity-btn.active {
    background: var(--brand-primary, #581C87);
    color: white;
}

body.dark-mode .identity-btn:hover, body.dark-mode .identity-btn.active {
    background: #C4B5FD;
    color: #111827;
}

.plan-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.plan-content {
    display: none;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    animation: fadeInTab 0.4s ease-in-out;
}

.plan-content.active {
    display: block;
}

body.dark-mode .plan-content {
    background: #1F2937;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 0;
}

body.dark-mode .plan-header {
    border-bottom-color: transparent;
}

.plan-header h3 {
    font-size: 2em;
    color: var(--brand-primary, #581C87);
    font-family: var(--font-family-secondary);
    margin-bottom: 18px;
    padding-bottom: 5px;
}

body.dark-mode .plan-header h3 {
    color: #C4B5FD;
}

.plan-header p {
    color: #64748B;
    font-size: 1em;
    margin-top: 8px;
}

body.dark-mode .plan-header p {
    color: #9CA3AF;
}

/* Reusing price styles specific to section here */
.pricing-interactive-section .pricing-card-price {
    justify-content: center;
}
.pricing-interactive-section .pricing-card-price .currency {
    color: var(--brand-primary, #ea580c);
}
.pricing-interactive-section .pricing-card-price .amount {
    color: var(--brand-primary, #581C87);
}
.pricing-interactive-section .pricing-card-price .period {
    color: #64748B;
}

body.dark-mode .pricing-interactive-section .pricing-card-price .currency {
     color: #FDBA74;
}
body.dark-mode .pricing-interactive-section .pricing-card-price .amount {
    color: #F3E8FF;
}
body.dark-mode .pricing-interactive-section .pricing-card-price .period {
    color: #9CA3AF;
}

.plan-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 12px;
    font-size: 0.95em;
    color: #334155;
    background: #F8FAFC;
    padding: 20px;
    border-radius: 12px;
    min-height: 190px;
    aspect-ratio: auto;
}

body.dark-mode .feature-item {
    color: #E2E8F0;
    background: #374151;
}

.feature-item svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

body.dark-mode .feature-item svg {
    color: #FDBA74;
}

.plan-action {
    text-align: center;
}

.btn-cta-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-gradient, linear-gradient(135deg, #1e3a8a, #7e22ce));
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(126, 34, 206, 0.3);
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-container-redesigned {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .hero-title { font-size: 3em; }
    .hero-subtitle { font-size: 1.3em; }
    .hero-tagline { font-size: 1.05em; }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .hero-content h1 { font-size: 2.8em; }
    .hero-content p { font-size: 1.2em; }
    .hero-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .hero-redesigned { padding: 50px 20px 60px; }
    .hero-container-redesigned {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    footer {
        margin-top: 0 !important;
        transform: none !important;
    }
    .brand-image {
        width: min(100%, 360px);
        max-height: 270px;
    }
    .hero-title { font-size: 2.8em; }
    .hero-subtitle { font-size: 1.2em; }
    .hero-tagline { font-size: 1em; }
    
    .hero { padding: 50px 20px 60px; }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content h1 { font-size: 2.5em; }
    .hero-content p { font-size: 1.15em; }
    .access-panel-title { 
        font-size: 1.5em;
        margin-top: 20px;
    }
    .hero-services {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 800px;
        margin: 0 auto;
    }
    .about-section { padding: 80px 30px; }
    .about-section h2 { font-size: 3em; }
    .plan-content { padding: 30px; }
    .plan-features { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero-redesigned { padding: 40px 15px 50px; }
    .hero-redesigned::before { display: none; }
    .hero-container-redesigned {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-brand {
        order: -1;
    }
    .hero-content-redesigned {
        text-align: center;
        padding: 10px;
    }
    .hero-title { font-size: 2.2em; }
    .hero-subtitle { font-size: 1.1em; }
    .hero-tagline { font-size: 0.95em; margin-top: 20px; }
    .hero-brand { padding: 0; }
    .brand-image {
        width: min(82vw, 300px);
        max-height: 200px;
        margin: 0 auto;
    }
    
    .hero { padding: 40px 15px 50px; }
    .hero::before { display: none; }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content h1 { font-size: 2em; }
    .hero-content p { font-size: 1.05em; }
    .access-panel-title { 
        font-size: 1.4em;
        margin-top: 15px;
    }
    .hero-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
    .service-card-mini {
        padding: 25px 20px;
    }
    .service-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    .service-card-mini h3 {
        font-size: 0.9em;
        margin-bottom: 6px;
    }
    .service-card-mini p {
        font-size: 0.7em;
    }
    .about-section { padding: 36px 20px 20px; }
    .about-section h2 { font-size: 2.2em; margin-bottom: 14px; }
    .about-section p { font-size: 1.1em; margin-bottom: 14px; }
    .pricing-interactive-section { padding: 50px 15px; }
    .section-title { font-size: 2em; margin-bottom: 30px; }
    .identity-btn { font-size: 1em; padding: 10px 20px; }
    .plan-content { padding: 25px 15px; }
    .plan-header h3 { font-size: 1.8em; }
    .plan-features { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .feature-item { font-size: 0.9em; padding: 15px; min-height: 180px; }
}

@media (max-width: 576px) {
    .hero-redesigned { padding: 30px 10px 40px; }
    .hero-container-redesigned {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .hero-brand {
        order: -1;
    }
    .hero-title { font-size: 1.8em; line-height: 1.2; }
    .hero-subtitle { font-size: 1em; }
    .hero-tagline { font-size: 0.9em; margin-top: 15px; }
    .hero-content-redesigned { padding: 5px; text-align: center; }
    .hero-brand { padding: 0; }
    .brand-image {
        width: min(78vw, 270px);
        max-height: 180px;
        margin: 0 auto;
    }
    
    .hero { padding: 30px 10px 40px; }
    .hero-content h1 { font-size: 1.75em; line-height: 1.3; }
    .hero-content p { font-size: 0.95em; }
    .access-panel-title { 
        font-size: 1.2em;
        margin-top: 10px;
    }
    .hero-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }
    .service-card-mini {
        padding: 20px 15px;
    }
    .service-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }
    .service-card-mini h3 {
        font-size: 0.85em;
    }
    .service-card-mini p {
        font-size: 0.65em;
    }
    .about-section { padding: 28px 15px 14px; }
    .about-section h2 { font-size: 1.8em; margin-bottom: 12px; }
    .about-section p { font-size: 1em; line-height: 1.6; margin-bottom: 12px; }
    .section-title { transform: scale(0.9); margin-bottom: 25px; }
    .identity-selector { gap: 10px; flex-direction: column; }
    .identity-btn { font-size: 0.9em; padding: 12px 15px; width: 100%; text-align: center;}
    .plan-header h3 { font-size: 1.5em; }
    .plan-features { grid-template-columns: 1fr; }
    .feature-item { align-items: center; text-align: center; min-height: 160px; font-size: 0.85em; }
    .btn-cta-primary { width: 100%; padding: 15px 20px; box-sizing: border-box; }
}

@media (max-width: 400px) {
    .hero-redesigned { padding: 25px 10px 35px; }
    .hero-title { font-size: 1.6em; }
    .hero-subtitle { font-size: 0.95em; }
    .hero-tagline { font-size: 0.85em; }
    .brand-image {
        width: min(74vw, 240px);
        max-height: 160px;
    }

    .hero-content h1 { font-size: 1.6em; }
    .hero-content p { font-size: 0.9em; }
    .access-panel-title { font-size: 1.1em; }
    .hero-services {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .service-card-mini {
        padding: 25px 20px;
        max-width: 200px;
        margin: 0 auto;
    }
    .about-section { padding: 24px 12px 12px; }
    .about-section h2 { margin-bottom: 10px; }
    .about-section p { margin-bottom: 10px; }
    .about-section h2 { font-size: 1.6em; }
}
