@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-color: #E0B0B6; /* Rosa Ballet */
    --secondary-color: #F8F5F2; /* Creme Suave */
    --text-color: #4A4A4A;
    --heading-color: #2C2C2C;
    --accent-color: #D4A5A5;
    --white: #FFFFFF;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--heading-color);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header */
header {
    background-color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--heading-color);
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Hero Section / Content */
.main-content {
    padding: 60px 0;
    flex: 1;
}

.page-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--heading-color);
    animation: fadeInDown 1s ease;
}

/* Instagram Grid */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.insta-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    cursor: pointer;
}

.insta-item:nth-child(1) { animation-delay: 0.1s; }
.insta-item:nth-child(2) { animation-delay: 0.2s; }
.insta-item:nth-child(3) { animation-delay: 0.3s; }
.insta-item:nth-child(4) { animation-delay: 0.4s; }
.insta-item:nth-child(5) { animation-delay: 0.5s; }
.insta-item:nth-child(6) { animation-delay: 0.6s; }

.insta-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.insta-img-wrapper {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.insta-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-item:hover .insta-img-wrapper img {
    transform: scale(1.05);
}

.insta-icon {
    font-size: 2rem;
    color: #ccc;
    position: absolute;
}

.insta-caption {
    padding: 20px;
    font-size: 0.9rem;
    color: #666;
}

.insta-meta {
    padding: 0 20px 20px;
    font-size: 0.8rem;
    color: #999;
    display: flex;
    justify-content: space-between;
}

/* Message Box */
.message-box {
    text-align: center;
    background: var(--white);
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 50px auto;
    animation: fadeIn 1s ease;
}

.message-box h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.message-box p {
    color: #666;
    font-size: 1.1rem;
}

.dev-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

/* Login Form */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: fadeIn 0.5s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: var(--heading-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    text-align: center;
}

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

.error-msg {
    color: #e74c3c;
    background-color: #fdeaea;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

/* Dashboard */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.dashboard-table th, .dashboard-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.dashboard-table th {
    background-color: #f8f8f8;
    font-weight: 600;
    color: var(--heading-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.dashboard-table tr:hover {
    background-color: #fafafa;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-pending {
    background-color: #fff3e0;
    color: #ef6c00;
}

/* Footer */
footer {
    background-color: var(--white);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-text {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.social-links a {
    margin: 0 10px;
    color: #ccc;
    font-size: 1.2rem;
}

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

/* Estilos Administrativos Novos */
.btn-admin-action {
    background-color: #fff;
    color: var(--text-color);
    border: 1px solid #eee;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    width: auto;
    cursor: pointer;
}

.btn-admin-action i {
    font-size: 1rem;
    opacity: 0.8;
}

.btn-admin-action:hover {
    background-color: #fcfcfc;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-admin-action.btn-warning:hover { border-color: #f39c12; color: #f39c12; }
.btn-admin-action.btn-info:hover { border-color: #3498db; color: #3498db; }
.btn-admin-action.btn-success:hover { border-color: #27ae60; color: #27ae60; }
.btn-admin-action.btn-excel:hover { border-color: #1d6f42; color: #1d6f42; }
.btn-admin-action.btn-danger:hover { border-color: #e74c3c; color: #e74c3c; }

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    min-width: 200px;
    z-index: 100;
    overflow: hidden;
    padding: 5px;
}

.dropdown-menu button {
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    background: none;
    border: none;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.dropdown-menu button:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.dropdown-menu button i {
    width: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .header-actions {
        justify-content: center !important;
    }
    
    .btn-admin-action {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
        padding: 12px 10px;
    }
    
    .btn-admin-action span {
        display: inline; /* Garantir que o texto apareça no mobile se couber */
    }
    
    .admin-header-section {
        padding: 15px !important;
    }
    
    .page-title {
        text-align: center !important;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn-admin-action {
        flex: 1 1 100%;
    }
}

/* Settings Page */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--heading-color);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--white);
}
.back-btn:hover { background: #fafafa; }

.settings-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 20px;
}
.settings-header {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.settings-title { color: var(--heading-color); font-weight: 600; }
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}
.section-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}
.section-header {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}
.switch-row { display: flex; align-items: center; gap: 10px; }
.form-actions { margin-top: 12px; }
.muted { color: #666; }

.turmas-list { display: grid; gap: 10px; }
.turma-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
}

.logs-box {
    background: #0f172a;
    color: #e5e7eb;
    padding: 12px;
    border-radius: 6px;
    white-space: pre-wrap;
    max-height: 320px;
    overflow: auto;
    border: 1px solid #1f2937;
    font-family: ui-monospace, Menlo, Consolas, monospace;
}

.success-msg {
    color: #27ae60;
    background-color: #eafaf1;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #d5f5e3;
}
.error-msg {
    color: #c0392b;
    background-color: #fdecea;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px; width: 26px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
.switch input:checked + .slider { background-color: var(--primary-color); }
.switch input:focus + .slider { box-shadow: 0 0 1px var(--primary-color); }
.switch input:checked + .slider:before { transform: translateX(26px); }

.status-pill {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 18px;
    font-size: 0.85rem;
}
.status-pill.gray { background-color: #e9ecef; color: #495057; border-color: #dee2e6; }
.status-pill.blue { background-color: #e7f1ff; color: #0c5460; border-color: #b8daff; }
.status-pill.orange { background-color: #fff3cd; color: #856404; border-color: #ffeeba; }
.status-pill.on { background-color: #eafaf1; color: #27ae60; border-color: #d5f5e3; }
.status-pill.off { background-color: #fdecea; color: #c0392b; border-color: #f5c6cb; }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@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);
    }
}

/* Classes Utilitárias Dashboard */
.btn-export { background-color: #27ae60; color: white; display: inline-flex; align-items: center; gap: 8px; }
.btn-logout { background-color: #e74c3c; color: white; display: inline-flex; align-items: center; gap: 8px; }
.btn-view { background-color: var(--heading-color); color: white; }
.btn-edit { background-color: var(--primary-color); color: white; }
.btn-sm { padding: 5px 10px; font-size: 0.85rem; width: auto; display: inline-flex; align-items: center; gap: 5px; }

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

.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Responsividade Dashboard Mobile */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .page-title {
        text-align: center !important;
        margin-bottom: 10px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Transformar tabela em cards */
    .dashboard-table thead {
        display: none;
    }

    .dashboard-table {
        display: block;
        width: 100%;
        min-width: 0; /* Reset min-width para evitar scroll horizontal */
        border: none;
    }

    .dashboard-table tbody, .dashboard-table tr, .dashboard-table td {
        display: block;
        width: 100%;
    }

    .dashboard-table tr {
        margin-bottom: 20px;
        background: var(--white);
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        border: 1px solid #eee;
        overflow: hidden; /* Mantém o conteúdo dentro do card */
    }

    .dashboard-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 12px 15px;
    }
}

/* =========================================
   ABOUT PAGE STYLES (REDESIGN)
   ========================================= */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    background: linear-gradient(120deg, var(--white) 0%, #FFF0F3 100%);
    padding: 80px 0 60px;
    text-align: center;
    margin-bottom: 20px;
}

.about-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Tabs Container */
.tabs-section {
    padding-bottom: 80px;
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-link {
    background: var(--white);
    border: 2px solid #eee;
    padding: 18px 40px;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.tab-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(224, 176, 182, 0.4);
    transform: scale(1.05);
}

/* Tab Content Animation */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.section-title.center-title {
    text-align: center;
    margin-top: 60px;
}

/* About Grid (Text + Image) */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.quote-box {
    background: #FFF0F3;
    padding: 25px 30px;
    border-left: 5px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #555;
    position: relative;
}

.quote-box i {
    color: rgba(224, 176, 182, 0.5);
    font-size: 2rem;
    position: absolute;
    top: 10px;
    left: 10px;
}

.about-image-placeholder {
    background: linear-gradient(45deg, #f3f3f3, #e9e9e9);
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 20px 20px 0 rgba(224, 176, 182, 0.2);
}

.about-icon-bg {
    font-size: 10rem;
    color: var(--white);
    opacity: 0.5;
}

/* Philosophy Cards */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.phil-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.phil-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.phil-icon {
    width: 80px;
    height: 80px;
    background: #FFF0F3;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
}

.phil-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.phil-card p {
    color: #777;
    font-size: 0.95rem;
}

/* Transparency Section */
.transparency-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
}

.transparency-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.support-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    border: 1px dashed #ddd;
}

.support-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.support-item span {
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 5px;
    display: block;
}

.support-item small {
    color: #888;
}

/* Highlight Box (Sede) */
.highlight-box {
    background: linear-gradient(to right, var(--heading-color), #4a4a4a);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.highlight-icon {
    font-size: 3rem;
    color: #ffd700;
    background: rgba(255,255,255,0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.highlight-content p {
    color: #ddd;
    margin: 0;
}

/* Help Options (Steps) */
.help-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.help-card {
    position: relative;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 10px;
    background: var(--white);
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 20px;
    border: 4px solid var(--white);
}

.help-card h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.help-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact CTA */
.contact-cta {
    background: #E0F2F1;
    color: #00695C;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #B2DFDB;
}

.contact-cta h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #004D40;
}

.cta-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    font-size: 1.1rem;
}

.cta-details i {
    margin-right: 8px;
}

.cnpj-tag {
    display: inline-block;
    background: rgba(255,255,255,0.6);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 900px) {
    .about-grid, .philosophy-grid, .support-grid, .help-options {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .about-image-placeholder {
        width: 100%;
        height: 250px;
    }
    
    .highlight-box {
        flex-direction: column;
        text-align: center;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-link {
        justify-content: center;
    }

    .about-title {
        font-size: 2.5rem;
    }
}

/* Configurações (Dashboard) */
.settings-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin-top: 20px;
}
.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.settings-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    color: var(--heading-color);
}
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}
.section-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    padding: 20px;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
}
.switch-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.status-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid #eee;
    background: #f8f8f8;
    color: #666;
}
.status-pill.on {
    background-color: #eafaf1;
    color: #2e7d32;
    border-color: #d5f5e3;
}
.status-pill.off {
    background-color: #fdecea;
    color: #c0392b;
    border-color: #f5c6cb;
}
.form-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}
.turmas-list .turma-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fafafa;
    margin-bottom: 8px;
}
.turmas-empty {
    color: #666;
    font-style: italic;
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}
.logs-box {
    background: #0f172a;
    color: #e5e7eb;
    padding: 12px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    white-space: pre-wrap;
    max-height: 320px;
    overflow: auto;
    border: 1px solid #1f2937;
}
.success-msg {
    color: #27ae60;
    background-color: #eafaf1;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #d5f5e3;
}
.error-msg {
    color: #c0392b;
    background-color: #fdecea;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #f5c6cb;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
.switch input:checked + .slider {
    background-color: var(--primary-color);
}
.switch input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}
.switch input:checked + .slider:before {
    transform: translateX(26px);
}
