:root {
    --primary: #9fd3e8;
    --secondary: #fbe6aa;
    --background: #1f2527;
    --foreground: #ffffff;
    --foreground-light: #e5e5e5;
    --foreground-dark: #090a0b;
    --border: #364043;
    --accent: #77c1de;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Admin Bar */
.admin-bar {
    background: #1d2327;
    color: #f0f0f1;
    padding: 0;
    font-size: 14px;
    position: relative;
    z-index: 1000;
}

.admin-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
}

.admin-bar-logo {
    font-weight: 600;
}

.admin-bar-links a {
    color: #f0f0f1;
    text-decoration: none;
    margin-left: 15px;
    font-size: 13px;
}

.admin-bar-links a:hover {
    color: var(--primary);
}

/* Header */
.site-header {
    background: var(--background);
    padding: 2rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-title {
    margin: 0;
}

.site-title a {
    color: var(--foreground);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
}

.site-title a:hover {
    color: var(--primary);
}

/* Main Content */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles */
.section-title {
    color: var(--foreground);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.section-title.center {
    text-align: center;
}

/* Separator */
.section-separator {
    border: none;
    border-top: 2px solid var(--border);
    margin: 3rem 0;
}

/* Columns */
.columns-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.column h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.small-text {
    font-size: 0.9rem;
    color: var(--foreground-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    color: var(--foreground-light);
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.feature-list li:last-child {
    border-bottom: none;
}

/* External Links */
.external-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.external-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Tools Section */
.tools-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(159, 211, 232, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.tools-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tool-button {
    display: inline-block;
    background: var(--primary);
    color: var(--background);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-bottom: 1rem;
}

.tool-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(159, 211, 232, 0.4);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin: 2rem 0;
}

.about-image {
    text-align: center;
}

.profile-image {
    width: 100%;
    max-width: 350px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--foreground-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.contact-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-item span {
    color: var(--foreground-light);
    font-size: 1rem;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--foreground-light);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 3px rgba(159, 211, 232, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.submit-button {
    background: var(--primary);
    color: var(--background);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(159, 211, 232, 0.4);
}

/* Footer */
.site-footer {
    background: var(--background);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.site-info {
    color: var(--foreground-light);
    margin-bottom: 1rem;
}

.site-info a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 0.5rem;
}

.site-info a:hover {
    color: var(--accent);
}

.site-copyright {
    color: var(--foreground-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========== MENU PRINCIPAL ========== */
.main-navigation {
    margin-top: 1rem;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.main-menu a:hover {
    color: var(--primary);
}

/* Dropdown Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.menu-item-has-children.active .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--foreground-light);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sub-menu a:hover {
    background: rgba(159, 211, 232, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
}

/* ===== CARROSSEL CORRIGIDO ===== */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    height: 400px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1 !important;
    transition: none !important;
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 4;
}

.carousel-btn-more {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--background);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    z-index: 4;
    font-size: 0.9rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    z-index: 5;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active { background: var(--primary); }

/* Responsivo */
@media (max-width: 768px) {
    .carousel-container { height: 350px; }
    .carousel-caption { bottom: 70px; font-size: 1rem; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .carousel-container { height: 250px; }
    .carousel-caption { bottom: 60px; font-size: 0.9rem; }
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===== MODAL DO CARROSSEL ATUALIZADO ===== */
.carousel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.carousel-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--background);
    border-radius: 12px;
    padding: 2rem;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.modal-text {
    padding: 1rem 0;
}

.modal-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-description {
    color: var(--foreground-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}
/* ===== CARROSSEL CAPTION CLICÁVEL ===== */
.carousel-caption.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-caption.clickable:hover {
    background: rgba(159, 211, 232, 0.3);
    transform: translateY(-2px);
}

/* ===== LINKS SOCIAIS ===== */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: var(--primary);
}

.social-link.linkedin:hover {
    background: rgba(10, 102, 194, 0.1);
    color: #0a66c2;
}

.social-link.email:hover {
    background: rgba(219, 68, 55, 0.1);
    color: #db4437;
}

.social-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.social-link svg {
    transition: all 0.3s ease;
}

.form-title h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

/* Responsivo */
@media (max-width: 768px) {
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}
/* ===== VARIÁVEIS PARA TEMA CLARO ===== */
[data-theme="light"] {
    --background: #f8f9fa;
    --foreground: #2c3e50;
    --foreground-light: #5a6c7d;
    --foreground-dark: #1a252f;
    --border: #dee2e6;
    --primary: #2c5aa0;
    --accent: #357abd;
    --secondary: #e9b949;
}

/* ===== SELETOR DE TEMA ===== */
.theme-selector {
    background: var(--background);
    color: var(--foreground);
    padding: 0;
    font-size: 14px;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.theme-selector-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.theme-logo {
    font-weight: 600;
    color: var(--foreground);
    font-size: 16px;
}

/* ===== TOGGLE SWITCH ESTILIZADO ===== */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, #667eea, #764ba2);
    transition: all 0.4s ease;
    border-radius: 34px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-slider:before {
    content: "";
    position: absolute;
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: all 0.4s ease;
    border-radius: 50%;
    z-index: 2;
}

.theme-switch input:checked + .theme-slider {
    background: linear-gradient(145deg, #ff9a9e, #fad0c4);
}

.theme-switch input:checked + .theme-slider:before {
    transform: translateX(30px);
    background: #f8f9fa;
}

/* Ícones dentro do slider */
.theme-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: all 0.4s ease;
    z-index: 1;
}

.theme-icon.sun {
    left: 8px;
    opacity: 0;
}

.theme-icon.moon {
    right: 8px;
    opacity: 1;
}

.theme-switch input:checked + .theme-slider .theme-icon.sun {
    opacity: 1;
}

.theme-switch input:checked + .theme-slider .theme-icon.moon {
    opacity: 0;
}

/* Efeito de hover */
.theme-switch:hover .theme-slider {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===== AJUSTES PARA TEMA CLARO ===== */
[data-theme="light"] .site-header {
    background: var(--background);
}

[data-theme="light"] .main-menu a {
    color: var(--foreground);
}

[data-theme="light"] .main-menu a:hover {
    color: var(--primary);
}

[data-theme="light"] .sub-menu {
    background: var(--background);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

[data-theme="light"] .sub-menu a {
    color: var(--foreground-light);
}

[data-theme="light"] .sub-menu a:hover {
    color: var(--primary);
    background: rgba(44, 90, 160, 0.05);
}

[data-theme="light"] .section-title {
    color: var(--foreground);
}

[data-theme="light"] .small-text {
    color: var(--foreground-light);
}

[data-theme="light"] .feature-list li {
    color: var(--foreground-light);
    border-bottom: 1px solid var(--border);
}

[data-theme="light"] .external-link {
    color: var(--primary);
}

[data-theme="light"] .carousel-modal {
    background: rgba(0,0,0,0.8);
}

[data-theme="light"] .modal-content {
    background: var(--background);
    color: var(--foreground);
    border: 1px solid var(--border);
}

[data-theme="light"] .modal-title {
    color: var(--primary);
}

[data-theme="light"] .modal-description {
    color: var(--foreground-light);
}

[data-theme="light"] .contact-item {
    background: rgba(44, 90, 160, 0.05);
    border-left: 3px solid var(--primary);
}

[data-theme="light"] .contact-item strong {
    color: var(--primary);
}

[data-theme="light"] .contact-item span {
    color: var(--foreground-light);
}

[data-theme="light"] .tools-section {
    background: rgba(44, 90, 160, 0.08);
    border-left: 4px solid var(--primary);
}

[data-theme="light"] .tools-section h4 {
    color: var(--primary);
}

[data-theme="light"] .social-link {
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--border);
    color: var(--foreground);
}

[data-theme="light"] .social-link:hover {
    border-color: var(--primary);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    color: var(--foreground);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    background: rgba(255,255,255,1);
    border-color: var(--primary);
}

[data-theme="light"] .site-footer {
    background: var(--background);
    border-top: 1px solid var(--border);
}

[data-theme="light"] .site-info {
    color: var(--foreground-light);
}

[data-theme="light"] .site-copyright {
    color: var(--foreground-light);
}

/* Ajuste para o carousel no tema claro */
[data-theme="light"] .carousel-caption {
    background: rgba(0,0,0,0.7);
    color: #fff;
}

[data-theme="light"] .dot {
    background: rgba(0,0,0,0.4);
}

[data-theme="light"] .dot.active {
    background: var(--primary);
}
