/* ========================================
   Unity Contabilidade - Estilos Principais
   ======================================== */

/* ========== VARIÁVEIS ========== */

html {
    overflow-x: hidden;
}

body {
    overflow-x: clip; /* clip não cria scroll container, não bloqueia filhos no Safari iOS */
}

:root {
    --unity-primary: #5c0001;
    --unity-secondary: #393939;
    --unity-accent: #5c0001;
    --unity-light: #f7fafc;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-half {
    position: absolute;
    border: 5px solid transparent;
    border-radius: 50%;
}

.loader-half.primary {
    width: 80px;
    height: 80px;
    top: 0;
    left: 0;
    border-top-color: var(--unity-primary);
    border-right-color: var(--unity-primary);
    animation: spin-clockwise 1s linear infinite;
}

.loader-half.secondary {
    width: 50px;
    height: 50px;
    top: 15px;
    left: 15px;
    border-bottom-color: var(--unity-secondary);
    border-left-color: var(--unity-secondary);
    animation: spin-counter 1s linear infinite;
}

@keyframes spin-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-counter {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Cortina que abre no meio */
.curtain-left,
.curtain-right {
    position: fixed;
    top: 0;
    width: 50%;
    height: 100%;
    background: white;
    z-index: 9998;
    transition: transform 0.6s ease-in-out;
}

.curtain-left {
    left: 0;
}

.curtain-right {
    right: 0;
}

.curtain-left.open {
    transform: translateX(-100%);
}

.curtain-right.open {
    transform: translateX(100%);
}

/* ========== OVERRIDE BOOTSTRAP COLORS ========== */
/* Remover cantos arredondados */
.btn,
.card,
.form-control,
.form-select,
.input-group-text,
.alert,
.badge,
.nav-pills .nav-link {
    border-radius: 0 !important;
}

/* Botão Primary */
.btn-primary {
    background-color: var(--unity-primary);
    border-color: var(--unity-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #450001;
    border-color: #450001;
}

/* Botão Outline Primary */
.btn-outline-primary {
    color: var(--unity-primary);
    border-color: var(--unity-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--unity-primary);
    border-color: var(--unity-primary);
    color: white;
}

/* Botão Success (usado para CTAs) */
.btn-success {
    background-color: var(--unity-primary);
    border-color: var(--unity-primary);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #450001;
    border-color: #450001;
}

/* Botão Outline Secondary */
.btn-outline-secondary {
    color: var(--unity-secondary);
    border-color: var(--unity-secondary);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: var(--unity-secondary);
    border-color: var(--unity-secondary);
    color: white;
}

/* Text colors */
.text-primary {
    color: var(--unity-primary) !important;
}

.text-success {
    color: var(--unity-primary) !important;
}

/* Background colors */
.bg-primary {
    background-color: var(--unity-primary) !important;
}

/* Links */
a {
    color: var(--unity-primary);
}

a:hover {
    color: var(--unity-secondary);
}

/* Form focus */
.form-control:focus,
.form-select:focus {
    border-color: var(--unity-primary);
    box-shadow: 0 0 0 0.25rem rgba(92, 0, 1, 0.25);
}

/* Pagination */
.page-link {
    color: var(--unity-primary);
}

.page-link:hover {
    color: var(--unity-secondary);
}

.page-item.active .page-link {
    background-color: var(--unity-primary);
    border-color: var(--unity-primary);
}

/* ========== NAVBAR ========== */
.navbar {
    padding: 10px 0;
    transition: all 0.3s;
}

.navbar-brand {
    padding: 5px 0;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--unity-secondary);
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--unity-primary);
}

.navbar-light .navbar-toggler {
    border-color: var(--unity-secondary);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(57, 57, 57, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #1c1c1c 0%, #2d0001 50%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Formas animadas de fundo */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
}
.shape-1 {
    width: 700px; height: 700px;
    top: -250px; right: -200px;
    border: 1.5px solid rgba(255,255,255,0.05);
    animation: spin-slow 40s linear infinite;
}
.shape-2 {
    width: 480px; height: 480px;
    top: -120px; right: -60px;
    border: 1.5px solid rgba(92,0,1,0.25);
    animation: spin-slow 25s linear infinite reverse;
}
.shape-3 {
    width: 220px; height: 220px;
    bottom: 60px; left: -70px;
    border: 1.5px solid rgba(255,255,255,0.06);
    animation: float-shape 9s ease-in-out infinite;
}
.shape-4 {
    width: 90px; height: 90px;
    bottom: 140px; right: 12%;
    background: rgba(92,0,1,0.12);
    border: 1px solid rgba(92,0,1,0.3);
    animation: float-shape 7s ease-in-out infinite 1.5s;
}
.shape-5 {
    width: 160px; height: 160px;
    top: 22%; left: 12%;
    border: 1px solid rgba(255,255,255,0.04);
    animation: spin-slow 50s linear infinite;
}
.shape-6 {
    width: 45px; height: 45px;
    top: 18%; right: 32%;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    animation: float-shape 11s ease-in-out infinite 3s;
    transform: rotate(45deg);
}
.shape-7 {
    width: 12px; height: 12px;
    top: 55%; left: 6%;
    background: rgba(92,0,1,0.5);
    animation: float-shape 6s ease-in-out infinite 0.5s;
}
.shape-8 {
    width: 8px; height: 8px;
    top: 35%; right: 18%;
    background: rgba(255,255,255,0.15);
    animation: float-shape 8s ease-in-out infinite 2s;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes float-shape {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-22px); }
}

/* Texto em destaque */
.text-highlight {
    color: #e8a87c;
    font-weight: inherit;
}

.hero-section .btn-accent {
    background-color: var(--unity-accent);
    border-color: var(--unity-accent);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hero-section .btn-accent:hover {
    background-color: #450001;
    border-color: #450001;
}

/* Imagem hero (mulher) — ancorada no bottom da section */
.hero-woman-wrap {
    position: absolute;
    bottom: 0;
    right: 15%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.hero-woman-wrap::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 60%;
    background: radial-gradient(ellipse at bottom, rgba(92,0,1,0.4) 0%, transparent 70%);
    filter: blur(35px);
    z-index: 0;
}
.hero-woman-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 92vh;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 0 40px rgba(0,0,0,0.6));
    display: block;
}

/* ========== SEÇÕES ========== */
section {
    padding: 80px 0;
}

.section-title {
    color: var(--unity-primary);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--unity-accent);
    margin: 15px auto 0;
}

/* ========== CARDS DE SERVIÇOS ========== */

/* Scroll horizontal de serviços */
.service-track-outer {
    position: relative;
}

.service-scroller {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.service-scroller::-webkit-scrollbar {
    display: none;
}

.service-scroller .service-card {
    flex: 0 0 83%;
    scroll-snap-align: start;
}

.service-track-outer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0.5rem;
    width: 56px;
    background: linear-gradient(to right, transparent, rgba(241,245,249,.9));
    pointer-events: none;
    z-index: 2;
}

@media (min-width: 992px) {
    .service-scroller {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 1.5rem;
        padding-bottom: 0;
    }

    .service-scroller .service-card {
        flex: unset;
        height: 100%;
    }

    .service-track-outer::after {
        display: none;
    }
}

.service-card {
    border: none;
    border-radius: 0;
    border-top: 4px solid var(--unity-primary);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--unity-primary), var(--unity-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

/* ========== DIFERENCIAIS ========== */
.differential-item {
    text-align: center;
    padding: 30px 20px;
}

.differential-item i {
    font-size: 3rem;
    color: var(--unity-accent);
    margin-bottom: 20px;
}

/* ========== SOBRE / ABOUT ========== */
.about-section {
    background-color: var(--unity-light);
}

.value-card {
    background: white;
    border-radius: 0;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--unity-primary);
    margin-bottom: 15px;
}

/* ========== QUEM SOMOS / EQUIPE ========== */
.team-section {
    background-color: white;
}

.team-intro {
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--unity-light);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 180px;
    height: 220px;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--unity-primary);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.team-card:hover .team-photo img {
    filter: grayscale(0%);
}

.team-name {
    color: var(--unity-secondary);
    font-weight: 700;
    margin-bottom: 5px;
}

.team-role {
    color: var(--unity-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-bio {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ========== DEPOIMENTOS ========== */
.testimonial-card {
    background: white;
    border-radius: 0;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card .stars {
    color: #f6ad55;
}

/* Scroll horizontal de depoimentos */
.testimonial-track-outer {
    position: relative;
}

.testimonial-scroller {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.testimonial-scroller::-webkit-scrollbar {
    display: none;
}

.testimonial-scroller .testimonial-card {
    flex: 0 0 83%;
    scroll-snap-align: start;
}

/* Gradiente lateral indicando mais conteúdo (só mobile) */
.testimonial-track-outer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0.5rem;
    width: 56px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,.9));
    pointer-events: none;
    z-index: 2;
}

/* Desktop: grid de 3 colunas */
@media (min-width: 992px) {
    .testimonial-scroller {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 1.5rem;
        padding-bottom: 0;
    }

    .testimonial-scroller .testimonial-card {
        flex: unset;
        height: 100%;
    }

    .testimonial-track-outer::after {
        display: none;
    }
}

/* ========== DOWNLOADS ========== */
.download-card {
    border: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.download-card:hover {
    border-color: var(--unity-accent);
}

.download-card i {
    font-size: 3rem;
    color: var(--unity-primary);
    margin-bottom: 15px;
}

/* Cores de ícones de arquivos (mantém cores características) */
.download-card i.text-danger { color: #dc3545 !important; }  /* PDF */
.download-card i.text-success { color: #198754 !important; } /* Excel */
.download-card i.text-info { color: #0dcaf0 !important; }    /* Calendário */

/* Botão de download simplificado */
.download-card .btn {
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 0;
    transition: all 0.3s;
}

.download-card .btn i {
    font-size: 0.85rem !important;
    color: inherit !important;
    margin-bottom: 0 !important;
}

.download-card .btn-outline-primary:hover i {
    color: white !important;
}

/* ========== BLOG / ARTIGOS ========== */

/* Scroll horizontal de artigos */
.blog-track-outer {
    position: relative;
}

.blog-scroller {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.blog-scroller::-webkit-scrollbar {
    display: none;
}

.blog-scroller .blog-card {
    flex: 0 0 83%;
    scroll-snap-align: start;
}

.blog-track-outer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0.5rem;
    width: 56px;
    background: linear-gradient(to right, transparent, rgba(241,245,249,.9));
    pointer-events: none;
    z-index: 2;
}

@media (min-width: 992px) {
    .blog-scroller {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 1.5rem;
        padding-bottom: 0;
    }

    .blog-scroller .blog-card {
        flex: unset;
        height: 100%;
    }

    .blog-track-outer::after {
        display: none;
    }
}

.blog-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--unity-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 15px;
}

.blog-title {
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--unity-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.blog-excerpt {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--unity-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.blog-read-more:hover {
    color: var(--unity-secondary);
}

.blog-read-more i {
    transition: transform 0.3s;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* Página de Artigo Individual */
.article-header {
    background: linear-gradient(135deg, var(--unity-primary) 0%, var(--unity-secondary) 100%);
    color: white;
    padding: 120px 0 60px;
    margin-top: 56px;
}

.article-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 20px;
    border-radius: 0;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-content {
    padding: 60px 0;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.article-body h2 {
    color: var(--unity-primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body h3 {
    color: var(--unity-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    border-left: 4px solid var(--unity-primary);
    padding: 20px 30px;
    background: var(--unity-light);
    margin: 30px 0;
    font-style: italic;
    color: #4a5568;
}

.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 0;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.sidebar-card h5 {
    color: var(--unity-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--unity-light);
}

.related-post {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f7;
}

.related-post:last-child {
    border-bottom: none;
}

.related-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-left: 3px solid transparent;
    text-decoration: none;
    color: var(--unity-secondary);
    font-weight: 500;
    transition: all 0.25s ease;
    background: transparent;
    margin: 0 -25px;
    padding-left: 25px;
    padding-right: 25px;
}

.related-service-item:hover {
    border-left-color: var(--unity-primary);
    background: var(--unity-light);
    color: var(--unity-primary);
    padding-left: 30px;
}

.related-service-item i {
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.related-service-item:hover i {
    opacity: 1;
    transform: translateX(0);
}

.related-post-image {
    width: 80px;
    height: 60px;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--unity-secondary);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}

.related-post-title:hover {
    color: var(--unity-primary);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: transform 0.3s;
    text-decoration: none;
}

.share-btn:hover {
    transform: scale(1.1);
    color: white;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

/* ========== CONTATO ========== */
.contact-section {
    background: linear-gradient(135deg, var(--unity-primary) 0%, var(--unity-secondary) 100%);
    color: white;
}

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

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.07);
    border-left: 3px solid rgba(255, 255, 255, 0.25);
    transition: background 0.2s, border-color 0.2s;
}

.contact-info-row:hover {
    background: rgba(255, 255, 255, 0.13);
    border-left-color: white;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
}

.contact-info-row span {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

/* legado - mantido caso usado em outro lugar */
.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-info-card i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-form {
    background: white;
    border-radius: 0;
    padding: 40px;
    color: #333;
}

/* ========== FOOTER ========== */
footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 60px 0 20px;
}

footer .footer-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: var(--unity-accent);
    color: white;
}

/* ========== BOTÃO WHATSAPP FLUTUANTE ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

/* ========== BOTÃO VOLTAR AO TOPO ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 45px;
    height: 45px;
    background-color: var(--unity-primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1000;
    transition: all 0.3s;
}

.scroll-top:hover {
    background-color: var(--unity-secondary);
    color: white;
}



/* ---- Banner Carousel ---- */
.banner-carousel {
  width: 100%;
  height: 80vh;
  min-height: 480px;
}

.banner-carousel .carousel-inner,
.banner-carousel .carousel-item {
  height: 100%;
}

.banner-carousel .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1c1c1c;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 28, 28, .92) 0%,
    rgba(45, 0, 1, .72) 50%,
    rgba(28, 28, 28, .35) 100%
  );
}

.banner-carousel .container {
  position: relative;
  z-index: 1;
  height: 100%;
}

.banner-slide-content {
  padding: 2rem 0;
  animation: bannerFadeIn .7s ease both;
}

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

.banner-titulo {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.banner-chamada {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.75;
  margin-bottom: 1.8rem;
  max-width: 480px;
}

.banner-btn {
  background: var(--unity-primary);
  color: white;
  font-weight: 700;
  padding: .8rem 2rem;
  border-radius: 0;
  font-size: 1rem;
  border: 2px solid var(--unity-primary);
  transition: background .2s, border-color .2s, transform .15s;
  display: inline-flex;
  align-items: center;
}

.banner-btn:hover {
  background: #450001;
  border-color: #450001;
  color: white;
  transform: translateY(-2px);
}

.banner-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .5);
  border: none;
  transition: background .2s, transform .2s;
}

.banner-carousel .carousel-indicators .active {
  background-color: var(--unity-primary);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .banner-carousel {
    height: 420px;
    min-height: 420px;
  }

  .banner-slide-content {
    text-align: center;
    padding: 1.5rem;
  }

  .banner-chamada {
    max-width: 100%;
  }
}
