/* Base Styles & Variables */
:root {
    --primary-color: #3A3363; /* Deep Purple */
    --secondary-color: #2B2544; /* Darker Purple */
    --accent-color: #F4C430; /* Brighter Honey Gold */
    --accent-hover: #DDAA15;
    --text-dark: #1F1B2E;
    --text-light: #FFFFFF;
    --text-muted: #645E7A;
    --bg-light: #FBF9F5; /* Very subtle beeswax cream */
    --bg-white: #FFFFFF;
    --bg-dark: #2B2544;
    --border-color: #E4DFED;
    --transition: all 0.3s ease;
    --font-main: 'Inter', sans-serif;
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 100;
    display: flex;
    gap: 10px;
    background: rgba(43, 37, 68, 0.7);
    padding: 8px 12px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    opacity: 1;
    color: var(--accent-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: var(--text-light); }
.text-gold { color: var(--accent-color); }
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.pb-2 { padding-bottom: 40px; }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.section-kicker {
    display: block;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 20px 0 30px 0;
}

.section-divider.center {
    margin: 20px auto 30px auto;
}

.section-divider.light {
    background-color: var(--accent-color);
    opacity: 0.8;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.bg-dark .section-title {
    color: var(--text-light);
}

.bg-dark .section-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-size: 1.2rem;
    padding: 16px 36px;
    border-radius: 50px;
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* 1. Hero Section */
.hero {
    position: relative;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 120px 0 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(243, 213, 105, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-brand {
    margin-bottom: 20px;
}

.hero-brand h1 {
    font-size: 3rem;
    letter-spacing: 4px;
    margin-bottom: 5px;
    color: var(--text-light);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 90%;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Grid Layout */
.cards-grid {
    display: grid;
    gap: 30px;
}

.cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(58, 51, 99, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    opacity: 0.1;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
}

.card:hover::before {
    transform: scale(1.3) rotate(15deg);
    opacity: 0.2;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(58, 51, 99, 0.15);
}

/* 2. Sobre Nós */
.sobre-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* 3. Pilares */
.pilar-card {
    text-align: center;
}

.pilar-card .card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 20px auto;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
}

.pilar-card:hover .card-icon {
    transform: translateY(-5px) scale(1.1);
    background-color: var(--primary-color);
    color: var(--accent-color);
}

/* 4. Como Funciona - Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1); /* Slightly more background for better separation */
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.timeline-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin-right: -10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.timeline-content h4 {
    color: var(--accent-color); /* Title in gold for contrast */
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline-content p {
    color: #FFFFFF; /* High contrast white for description */
    font-size: 1rem;
    line-height: 1.5;
}

/* 5. Para Quem É */
.profile-card {
    text-align: center;
    padding: 30px 20px;
}

.profile-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 15px auto;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(243, 213, 105, 0.3); /* Soft Gold */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.ideal-profile-banner {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 8px;
    padding: 40px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.ideal-profile-banner h3 {
    color: var(--accent-color);
    margin-bottom: 25px;
}

.ideal-profile-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.ideal-profile-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.ideal-profile-list li i {
    color: var(--accent-color);
}

/* 6. Diferenciais */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.feature-card i {
    font-size: 2rem;
    color: var(--bg-white);
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
}

.feature-card:hover i {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* 7. Documentos (Tabs) */
.tabs-wrapper {
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: rgba(0,0,0,0.02);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
    background: var(--bg-white);
}

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.doc-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.doc-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.doc-actions {
    display: flex;
    gap: 10px;
}

/* 8. Informações Importantes */
.info-alert-box {
    display: flex;
    gap: 30px;
    background-color: rgba(244, 196, 48, 0.08); /* Warm honey tint for background */
    border-left: 5px solid #EA9A24; /* Warning honey/orange instead of red */
    padding: 40px;
    border-radius: 0 8px 8px 0;
}

.info-icon i {
    font-size: 3rem;
    color: #EA9A24;
}

.info-text h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list li {
    position: relative;
    padding-left: 20px;
    font-size: 1rem;
    color: var(--text-dark);
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #E63946;
    font-weight: bold;
}

/* 9. CTA Final */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 100px 0;
}

.cta-title {
    font-size: 3rem;
    color: var(--text-light);
}

.cta-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.footer {
    background-color: var(--bg-dark); /* Matches the main theme instead of random dark blue */
    color: var(--text-light);
    padding: 60px 0 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: var(--text-light);
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-legal {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-legal p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .doc-item { flex-direction: column; align-items: flex-start; gap: 15px; }
}

@media (max-width: 768px) {
    .hero { padding: 80px 0; min-height: auto; }
    .hero-title { font-size: 2.2rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    
    .tabs-header { flex-direction: column; }
    .info-alert-box { flex-direction: column; gap: 20px; padding: 25px; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}
