@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #f3cb0a;           /* Amarelo vibrante predominante */
    --primary-light: #ffdf43;     /* Amarelo claro para hovers */
    --primary-dark: #d4aa00;      /* Amarelo escuro para bordas/sombras */

    --secondary: #f3cb0a;         /* Alias do amarelo para compatibilidade */
    
    --accent: #12338b;            /* Azul Royal das imagens para contraste */
    --accent-light: #1a4fd6;      /* Azul claro */
    --accent-dark: #06004e;       /* Azul marinho profundo para seções escuras */
    
    --accent-glow: rgba(18, 51, 139, 0.15);
    --primary-glow: rgba(243, 203, 10, 0.25);
    
    --success: #12338b;           /* Usar azul para sucesso em vez de verde */
    --error: #ef4444;             /* Vermelho para erros */
    
    --text-dark: #06004e;         /* Texto principal em azul marinho profundo para legibilidade */
    --text-light: #475569;        /* Texto secundário */
    
    --bg-light: #fefef2;          /* Fundo suave com tom levemente amarelado aquecido */
    --bg-white: #ffffff;
    --border-color: rgba(18, 51, 139, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 8px rgba(18, 51, 139, 0.04);
    --shadow-md: 0 10px 30px rgba(18, 51, 139, 0.06);
    --shadow-lg: 0 20px 40px rgba(18, 51, 139, 0.1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-dark);
    line-height: 1.2;
}

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

/* Base Layout & Grid */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--accent-dark);
    box-shadow: 0 4px 15px var(--primary-glow);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 203, 10, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 51, 139, 0.35);
}

/* Header & Navigation */
header {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: none;
}

.header-top {
    background-color: var(--accent); /* Blue background */
    color: #ffffff; /* White text for contrast */
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--accent-dark);
}

.header-top-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.header-top-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.header-top-item a {
    color: #ffffff;
    font-weight: 600;
    transition: var(--transition);
}

.header-top-item a:hover {
    color: var(--primary);
}

.header-top-left {
    justify-self: start;
}

.header-top-center {
    justify-self: center;
}

.header-top-right {
    justify-self: end;
}

.header-nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.8rem 0;
}

.header-nav-container .logo {
    justify-self: start;
}

.header-nav-container nav {
    justify-self: center;
}

.header-socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-self: end;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-btn.instagram-btn,
.social-btn.facebook-btn {
    background-color: #ffffff;
    color: #1c1917;
}

.social-btn.instagram-btn:hover,
.social-btn.facebook-btn:hover {
    background-color: var(--primary);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

.social-btn.whatsapp-btn {
    background-color: #25d366;
    color: #ffffff;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon-diamond {
    width: 48px;
    height: 48px;
    background-color: var(--primary); /* Amarelo */
    border: 3px solid var(--accent); /* Azul */
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(243, 203, 10, 0.25);
    margin: 5px;
    position: relative;
    border-radius: 4px;
}

.logo-icon-diamond span {
    transform: rotate(-45deg);
    color: var(--accent); /* Azul */
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    font-style: italic;
    display: inline-block;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.menu a {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff; /* White text for transparent header */
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary); /* Yellow indicator */
    transition: var(--transition);
}

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

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
}

/* Hero Carousel (Full Width) */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: var(--accent-dark);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 0, 78, 0.85) 0%, rgba(6, 0, 78, 0.5) 50%, rgba(6, 0, 78, 0.85) 100%);
    z-index: 1;
}

.carousel-content-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.carousel-content {
    max-width: 650px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.carousel-slide.active .carousel-content {
    opacity: 1;
    transform: translateY(0);
}

.carousel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(243, 203, 10, 0.15);
    border: 1px solid rgba(243, 203, 10, 0.3);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.carousel-content h2 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.carousel-content h2 span {
    color: var(--primary);
}

.carousel-content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.carousel-actions {
    display: flex;
    gap: 1.25rem;
}

/* Arrows styling */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-arrow:hover {
    background-color: var(--primary);
    color: var(--accent-dark);
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.prev-arrow {
    left: 2rem;
}

.next-arrow {
    right: 2rem;
}

/* Dots styling */
.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* Floating Stats Bar */
.hero-stats-bar {
    position: relative;
    z-index: 5;
    margin-top: -50px;
    padding: 0 1.5rem;
}

.stats-bar-wrapper {
    background: var(--primary);
    border: 2px solid var(--primary-dark);
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    box-shadow: 0 8px 30px rgba(243, 203, 10, 0.35);
}

.stats-bar-wrapper .stat-item {
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
}

.stats-bar-wrapper .stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-dark);
    line-height: 1;
}

.stats-bar-wrapper .stat-label {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.accreditation-box {
    background-color: #f1f5f9;
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.accreditation-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--accent);
}

.accreditation-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(6, 0, 78, 0.8), transparent);
}

.service-image-icon {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(243, 203, 10, 0.3);
    border: 1px solid rgba(18, 51, 139, 0.1);
}

.service-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
}

.service-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Units Section */
.units-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.unit-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.unit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.unit-card h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.unit-details {
    list-style: none;
    margin-bottom: 2rem;
}

.unit-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.unit-details li strong {
    color: var(--text-dark);
}

.unit-details i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 3px;
}

.unit-actions {
    display: flex;
    gap: 1rem;
}

/* Clients Grid */
.clients-slider {
    background-color: var(--bg-white);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.clients-track {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

/* Contact / Ouvidoria Section */
.contact-section {
    background-color: var(--accent-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(243, 203, 10, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-section .section-title h2 {
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    position: relative;
    z-index: 5;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-block h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-block p {
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(243, 203, 10, 0.12);
    border: 1px solid rgba(243, 203, 10, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-method-item:hover .method-icon {
    background-color: var(--primary);
    color: var(--accent-dark);
    border-color: var(--primary);
}

.method-text h4 {
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.method-text p {
    color: #fff;
    margin: 0;
    font-weight: 500;
}

/* Contact Form */
.ouvidoria-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(243, 203, 10, 0.25);
}

.form-control::placeholder {
    color: #5d6b82;
}

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

/* Alert Notification (Toast) */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--bg-white);
    border-left: 5px solid var(--accent);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
    max-width: 400px;
}

.toast.show {
    transform: translateY(0);
}

.toast-success {
    border-left-color: var(--accent);
}

.toast-error {
    border-left-color: var(--error);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-success .toast-icon {
    color: var(--accent);
}

.toast-error .toast-icon {
    color: var(--error);
}

.toast-content h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Admin Styles */
.admin-body {
    background-color: #f1f5f9;
}

.admin-header {
    background-color: var(--accent-dark);
    color: #fff;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.admin-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-badge {
    background-color: var(--primary);
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-main {
    padding: 3rem 0;
    min-height: calc(100vh - 160px);
}

/* Glassmorphism Table Card */
.admin-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.admin-card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h2 {
    font-size: 1.4rem;
    color: var(--accent);
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background-color: #f8fafc;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    vertical-align: top;
}

.admin-table tr:hover {
    background-color: #f8fafc;
}

.admin-date {
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
}

.admin-msg-text {
    max-width: 350px;
    font-size: 0.9rem;
    color: #475569;
}

.action-delete {
    color: var(--error);
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.action-delete:hover {
    background-color: var(--error);
    color: #fff;
    border-color: var(--error);
}

/* Login Form Styles */

/* ===== BANNER MANAGEMENT TAB ===== */
.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.banner-slot {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.banner-thumb {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background-color: #1e293b;
}

.banner-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 10px;
}

.banner-thumb:hover .banner-thumb-overlay {
    opacity: 1;
}

.banner-change-btn {
    background: var(--primary);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.banner-change-btn:hover {
    background: var(--primary-light);
}

.banner-slot-num {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-remove-btn {
    width: 100%;
    padding: 0.5rem;
    background: #fef2f2;
    color: var(--error);
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.banner-remove-btn:hover {
    background: var(--error);
    color: #fff;
    border-color: var(--error);
}

.banner-text-block {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.banner-text-block-header {
    background: #f8fafc;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.banner-slot-label {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner-text-fields {
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 900px) {
    .banner-text-fields { grid-template-columns: 1fr; }
    .banners-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ===== END BANNER MANAGEMENT ===== */


.login-container {
    max-width: 400px;
    width: 100%;
    margin: 8rem auto;
    padding: 0 1.5rem;
}

.login-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo .logo-icon {
    margin: 0 auto 0.5rem;
}

.login-card h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.login-form .form-group {
    margin-bottom: 1.25rem;
}

.login-form label {
    color: var(--text-dark);
}

.login-form .form-control {
    background-color: #fff;
    color: var(--text-dark);
    border-color: #cbd5e1;
}

.login-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.login-alert {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* =============================================
   ADMIN — ALERTS, USER MANAGEMENT & BADGES
   ============================================= */

/* Admin Alerts */
.admin-alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    animation: alertSlideIn 0.4s ease-out;
}

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

.admin-alert-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.admin-alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* Count Badge (in card headers) */
.admin-count-badge {
    background-color: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* User Form Section */
.user-form-section {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8fafc;
}

.user-form-title {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.user-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

@media (max-width: 768px) {
    .user-form-grid {
        grid-template-columns: 1fr;
    }
}

.user-add-form .form-group label {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Form Controls for Admin (light background) */
.form-control-admin {
    background-color: #fff !important;
    color: var(--text-dark) !important;
    border: 1px solid #cbd5e1 !important;
}

.form-control-admin:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
}

select.form-control-admin {
    appearance: auto;
    cursor: pointer;
}

.btn-add-user {
    white-space: nowrap;
    padding: 0.8rem 1.5rem;
}

/* Role Badges */
.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.role-admin {
    background-color: rgba(243, 203, 10, 0.15);
    color: #b8860b;
    border: 1px solid rgba(243, 203, 10, 0.3);
}

.role-user {
    background-color: rgba(18, 51, 139, 0.08);
    color: var(--accent);
    border: 1px solid rgba(18, 51, 139, 0.15);
}

/* User Avatars */
.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-avatar-admin {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--accent-dark);
}

.user-avatar-user {
    background-color: rgba(18, 51, 139, 0.1);
    color: var(--accent);
}

/* "You" Badge */
.badge-you {
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background-color: var(--accent-dark);
    color: #94a3b8;
    padding: 5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav {
    display: block;
}

footer h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding-bottom: 0.6rem;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* =============================================
   FLOATING WHATSAPP BUTTON (FAB)
   ============================================= */

.whatsapp-fab {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25d366;
    color: #fff;
    padding: 0.85rem 1.4rem 0.85rem 1.1rem;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    max-width: 220px;
}

.whatsapp-fab i {
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.whatsapp-fab-label {
    white-space: nowrap;
    transition: all 0.3s ease;
}

.whatsapp-fab:hover {
    background: #1ebe5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab:hover i {
    transform: rotate(-10deg) scale(1.1);
}

/* Pulso de atenção */
.whatsapp-fab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    animation: fab-pulse 2.5s ease-out infinite;
    pointer-events: none;
}

@keyframes fab-pulse {
    0%   { transform: scale(1); opacity: 0.6; }
    70%  { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}

/* Em telas pequenas: mostra só o ícone */
@media (max-width: 480px) {
    .whatsapp-fab {
        padding: 1rem;
        border-radius: 50%;
        max-width: 56px;
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .whatsapp-fab-label {
        display: none;
    }

    .whatsapp-fab i {
        font-size: 1.75rem;
    }
}

/* =============================================
   RESPONSIVE STYLES — MOBILE FIRST
   ============================================= */

/* ── Tablet (≤ 992px) ── */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-slider-container {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Unit card: remove inline two-column grid on tablets */
    .unit-card[style] {
        display: block !important;
        padding: 2rem !important;
    }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {

    /* --- General --- */
    html {
        font-size: 15px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    /* --- Header Top Bar: ocultar no mobile para economizar espaço --- */
    .header-top {
        display: none;
    }

    /* --- Navigation --- */
    .header-nav-container {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 0;
        position: relative;
    }

    .header-socials {
        display: none;
    }

    header {
        top: 0;
    }

    nav {
        gap: 0;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98); /* White background on mobile */
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0 1rem;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        border-top: 2px solid var(--primary);
        z-index: 999;
    }

    .menu.menu-open {
        display: flex;
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        display: block;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        color: var(--accent-dark); /* Dark text */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .menu a::after {
        display: none;
    }

    .menu li:last-child a {
        border-bottom: none;
    }

    /* Botão WhatsApp no menu mobile */
    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 0.1); /* Translucent white */
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 1.3rem;
        cursor: pointer;
        color: #ffffff; /* White icon */
        transition: var(--transition);
    }

    .mobile-menu-toggle:hover {
        background-color: var(--primary);
        color: var(--accent-dark);
        border-color: var(--primary);
    }

    /* --- Hero Carousel --- */
    .hero-carousel {
        height: 500px;
    }

    .carousel-content h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .carousel-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .carousel-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats-bar {
        margin-top: -30px;
        padding: 0 1rem;
    }

    .stats-bar-wrapper {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .stats-bar-wrapper .stat-num {
        font-size: 1.8rem;
    }

    /* --- About Section --- */
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    /* --- Services --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* --- Location / Como Chegar --- */
    /* Override inline styles on unit-card */
    .unit-card {
        padding: 1.5rem !important;
        display: block !important;
        grid-template-columns: unset !important;
    }

    .unit-card h3 {
        font-size: 1.4rem;
    }

    .unit-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    /* Mapa: full width abaixo das infos */
    .unit-card > div[style*="height: 300px"] {
        height: 240px !important;
        margin-top: 1.5rem;
    }

    /* Inline grid dentro do .units-grid > .unit-card */
    .units-grid .unit-card > div:first-child {
        width: 100%;
    }

    /* --- Ouvidoria / Contact --- */
    .ouvidoria-card {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .contact-grid {
        gap: 2rem;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /* --- Toast --- */
    .toast {
        left: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
        bottom: 1rem;
    }

    /* --- Clients --- */
    .clients-track {
        gap: 1.5rem;
    }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
    .hero-carousel {
        height: 450px;
    }

    .carousel-content h2 {
        font-size: 1.8rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-arrow {
        left: 1rem;
    }

    .next-arrow {
        right: 1rem;
    }

    .hero-stats-bar {
        margin-top: 0;
        padding: 1.5rem;
    }

    .stats-bar-wrapper {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        background: var(--accent-dark);
        border-radius: 12px;
    }

    .stats-bar-wrapper .stat-item {
        padding-left: 1rem;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* =============================================
   PRICING / VALORES PAGE STYLES
   ============================================= */

.pricing-banner {
    background: linear-gradient(rgba(18, 51, 139, 0.8), rgba(6, 0, 78, 0.85)), url('https://images.unsplash.com/photo-1486006920555-c77dce18193b?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat;
    color: #fff;
    padding: 8rem 0 5rem;
    text-align: center;
    position: relative;
}

.pricing-banner h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pricing-banner h1 span {
    color: var(--primary);
}

.pricing-banner p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card-header {
    background-color: var(--accent); /* Dark Blue */
    padding: 1.5rem 1.2rem;
    text-align: center;
    color: #fff;
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pricing-card-header h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.pricing-card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
}

.pricing-badge {
    position: absolute;
    top: 1.2rem;
    right: -2rem;
    background: var(--primary);
    color: var(--accent-dark);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 2rem;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.pricing-price span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.pricing-card.featured .pricing-card-header {
    background-color: var(--accent-dark);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.faq-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    font-size: 1.15rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .pricing-grid {
        margin-top: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-banner h1 {
        font-size: 2.2rem;
    }
}

/* Footer WhatsApp Button */
.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25d366;
    color: #ffffff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    margin-top: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-whatsapp-btn:hover {
    background-color: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.footer-whatsapp-btn i {
    font-size: 1.1rem;
}

/* FAQ Accordion */
.faq-accordion {
    margin: 5rem auto 2rem;
    max-width: 900px;
    padding: 0 1.5rem;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    font-weight: 800;
    font-style: italic;
}

.accordion-item {
    background: #fff;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    border-left: 4px solid var(--primary);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.accordion-header {
    padding: 1.4rem 1.8rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--accent);
    font-size: 1.05rem;
    transition: background 0.3s;
    user-select: none;
}

.accordion-header i {
    color: var(--accent);
    font-size: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-content {
    padding: 0 1.8rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    background: #fff;
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
    padding: 0 1.8rem 1.4rem;
    max-height: 500px;
    border-top: 1px solid #e8ecf1;
}

.accordion-item.active .fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary);
}


/* ============================================================
   ADMIN TOP BAR — Barra de navegação administrativa unificada
   ============================================================ */
.admin-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    height: 56px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid var(--primary);
}

.admin-top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 1rem;
}

.admin-top-bar-left {
    display: flex;
    align-items: center;
}

.admin-top-bar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
}

.admin-top-bar-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--accent-dark);
    font-weight: 900;
    font-size: 0.8rem;
    font-family: var(--font-heading);
}

.admin-top-bar-logo-text {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--primary);
    font-family: var(--font-heading);
}

.admin-top-bar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.admin-top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.admin-top-bar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-top-bar-link.active {
    background: var(--primary);
    color: var(--accent-dark);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(243, 203, 10, 0.3);
}

.admin-top-bar-link i {
    font-size: 0.8rem;
}

.admin-top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-top-bar-save {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.2rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.admin-top-bar-save:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.admin-top-bar-save:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.admin-top-bar-save.saved {
    background: linear-gradient(135deg, #059669, #047857);
}

.admin-top-bar-user {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.admin-top-bar-user i {
    color: var(--primary);
}

.admin-top-bar-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    color: #f87171;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.admin-top-bar-logout:hover {
    background: rgba(248, 113, 113, 0.12);
    color: #ef4444;
}

/* ============================================================
   CMS EDITOR — Estilos de edição in-place
   ============================================================ */

/* Elementos de texto editáveis */
.cms-editable {
    position: relative;
    outline: 2px dashed transparent;
    outline-offset: 4px;
    transition: outline-color 0.2s ease, background-color 0.2s ease;
    border-radius: 4px;
    min-height: 1em;
}

.cms-editable:hover {
    outline-color: rgba(59, 130, 246, 0.4);
    cursor: text;
}

.cms-editable:focus,
.cms-editable.cms-editing {
    outline-color: var(--primary);
    outline-style: solid;
    background-color: rgba(59, 130, 246, 0.04);
}

/* Overlay de edição de imagens */
.cms-image-editable {
    position: relative !important;
}

.image-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 50;
    gap: 0.5rem;
    backdrop-filter: blur(2px);
    border-radius: inherit;
}

.cms-image-editable:hover .image-edit-overlay {
    opacity: 1;
}

.image-edit-overlay.uploading {
    opacity: 1;
    background: rgba(15, 23, 42, 0.8);
}

.image-edit-overlay.saved {
    opacity: 1;
    background: rgba(16, 185, 129, 0.85);
}

.image-edit-overlay i {
    font-size: 1.2rem;
}

/* ============================================================
   CMS TOAST — Notificações flutuantes
   ============================================================ */
.cms-toast {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 20000;
    padding: 1rem 1.8rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    backdrop-filter: blur(12px);
}

.cms-toast-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cms-toast-success {
    background: linear-gradient(135deg, #065f46, #047857);
    color: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cms-toast-error {
    background: linear-gradient(135deg, #7f1d1d, #991b1b);
    color: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.cms-toast-info {
    background: linear-gradient(135deg, #1e3a5f, #1e40af);
    color: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.cms-toast i {
    font-size: 1.1rem;
}

/* ============================================================
   Responsive — Admin Top Bar
   ============================================================ */
@media (max-width: 900px) {
    .admin-top-bar-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 0.5rem 0;
    }
    
    .admin-top-bar {
        height: auto;
    }
    
    .admin-top-bar-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-bottom: 0.5rem;
    }
    
    .admin-top-bar-link {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }
    
    .admin-top-bar-user {
        display: none;
    }
}

/* ============================================================
   ADMIN — Welcome Dashboard
   ============================================================ */
.admin-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(18, 51, 139, 0.2);
    position: relative;
    overflow: hidden;
}

.admin-welcome::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(243, 203, 10, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.admin-welcome-text h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.admin-welcome-text h2 i {
    color: var(--primary);
}

.admin-welcome-text p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
    max-width: 550px;
}

.admin-quick-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.admin-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 100px;
    text-align: center;
}

.admin-quick-btn i {
    font-size: 1.4rem;
    color: var(--primary);
}

.admin-quick-btn:hover {
    background: rgba(243, 203, 10, 0.15);
    border-color: rgba(243, 203, 10, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .admin-welcome {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .admin-welcome-text p {
        max-width: 100%;
    }
    
    .admin-welcome-text h2 {
        justify-content: center;
        font-size: 1.3rem;
    }
    
    .admin-quick-actions {
        width: 100%;
        justify-content: center;
    }
    
    .admin-quick-btn {
        flex: 1;
        min-width: auto;
    }
}

/* ============================================================
   ADMIN — Password Toggle
   ============================================================ */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-control {
    padding-right: 2.8rem;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1rem;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    border-radius: 4px;
}

.password-toggle:hover {
    color: var(--accent);
}

/* ============================================================
   ADMIN — Delete Confirmation Modal
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--error);
}

.modal-card h3 {
    font-size: 1.4rem;
    color: var(--accent-dark);
    margin-bottom: 0.75rem;
}

.modal-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-modal-cancel {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.btn-modal-cancel:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-modal-delete {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: var(--error);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-modal-delete:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* action-delete as button */
button.action-delete {
    color: var(--error);
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

button.action-delete:hover {
    background-color: var(--error);
    color: #fff;
    border-color: var(--error);
}

/* ============================================================
   ADMIN — Tabs System
   ============================================================ */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.2rem;
}

.admin-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-tab-btn:hover {
    color: var(--accent-dark);
    border-bottom-color: #cbd5e1;
}

.admin-tab-btn.active {
    color: var(--accent-dark);
    border-bottom-color: var(--primary);
}

.tab-badge {
    background-color: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-weight: 700;
}

.admin-tab-btn.active .tab-badge {
    background-color: var(--primary);
    color: var(--accent-dark);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

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

/* ============================================================
   ADMIN — Search Bar
   ============================================================ */
.table-search-bar {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    max-width: 450px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 203, 10, 0.2);
}

.search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ============================================================
   ADMIN — Ouvidoria Messages
   ============================================================ */
.message-preview {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-light);
    font-size: 0.85rem;
}

.btn-read-message {
    background: none;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-read-message:hover {
    background-color: var(--accent);
    color: #fff;
}

/* Message Modal details */
.msg-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: left;
    margin-bottom: 1.5rem;
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.msg-details-item {
    font-size: 0.9rem;
}

.msg-details-item strong {
    color: var(--text-dark);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 2px;
}

.msg-text-box {
    text-align: left;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 1.2rem;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* ===== MIDDLE BANNER (CALL TO ACTION) ===== */
.middle-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 10rem 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.middle-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 0, 78, 0.75); /* transparent dark blue overlay */
    z-index: 1;
}

.middle-banner-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.middle-banner-content {
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
}

.middle-banner-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.middle-banner-content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Middle Banner */
@media (max-width: 768px) {
    .middle-banner {
        padding: 6rem 0;
        background-attachment: scroll; /* Disable parallax on mobile */
    }
    .middle-banner-content h2 {
        font-size: 2rem;
    }
    .middle-banner-content p {
        font-size: 1rem;
    }
}

