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

:root {
    --primary-color: #0d6efd;
    --success-color: #25D366;
    --info-color: #17a2b8;
    --dark-bg: #000000;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100vh;
    background-color: #000000;
    color: rgba(255, 255, 255, 0.92);
}
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p,
.hero-section .lead { color: rgba(255, 255, 255, 0.95); }

/* Global headings in dark layout */
h1, h2, h3, h4, h5, h6 { color: #ffffff; }

/* Links palette */
a { color: #58c4e6; }
a:hover { color: #0dcaf0; }

/* Muted text on dark surfaces */
.text-muted { color: rgba(255, 255, 255, 0.7) !important; }

/* Replace yellow accents with blue to keep palette */
.text-warning { color: #3aa0e0 !important; }


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fundo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: 380px auto;
    z-index: -1;
    opacity: var(--bg-opacity, 0.3);
    transition: opacity 0.5s ease;
}

body.scrolled::before {
    opacity: var(--bg-opacity, 0.3);
}

.navbar {
    background-color: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: none;
    transition: all 0.5s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: none;
}

.navbar-brand-text {
    color: #17a2b8;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.navbar-brand-text:hover {
    color: #0dcaf0;
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.navbar-nav .nav-link:hover {
    color: #17a2b8 !important;
}

.btn-success {
    background-color: var(--success-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.18) 0%, rgba(27, 38, 59, 0.18) 50%, rgba(65, 90, 119, 0.18) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--overlay-opacity, 0.06));
    z-index: 1;
    transition: background 0.5s ease;
}

.hero-section.scrolled .hero-overlay {
    background: rgba(0, 0, 0, var(--overlay-opacity, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero typography refinements */
.hero-section h1 {
    letter-spacing: 0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-section p.fs-4 {
    font-weight: 600;
}

.hero-section p.fs-6 {
    line-height: 1.6;
}

/* CTA buttons - pill look */
.hero-section .btn {
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.hero-section .btn i { font-size: 1.1rem; }

.hero-section .btn-success {
    background-color: #22c15e;
}

.hero-section .btn-primary {
    background-color: #2f7ef7;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
}

/* Call button refinement */
.btn-call {
    background: linear-gradient(180deg, #2f7ef7 0%, #2467d6 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 999px !important;
    padding: 0.75rem 1.75rem !important;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 20px rgba(36, 103, 214, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none !important;
}

.btn-call i { font-size: 1.05rem; margin-right: 0.4rem; }

.btn-call:hover {
    background: linear-gradient(180deg, #3a86ff 0%, #2f7ef7 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(36, 103, 214, 0.45);
}

.btn-call:active { transform: translateY(-1px); }

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

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1.5s ease-in;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 2s ease-in;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
    padding: 1.25rem;
    border-radius: 12px;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

.feature-card i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #58c4e6 !important;
    margin-right: 8px;
}

.feature-card h4 {
    margin: 0 0 4px 0;
}

/* Accent stripe and icon color per card */
.row .col-md-4:nth-child(1) .feature-card::before,
.row .col-lg-4:nth-child(1) .feature-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(90deg, #2f7ef7, #58c4e6);
}

.row .col-md-4:nth-child(2) .feature-card::before,
.row .col-lg-4:nth-child(2) .feature-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(90deg, #22c15e, #6ee7a5);
}

.row .col-md-4:nth-child(3) .feature-card::before,
.row .col-lg-4:nth-child(3) .feature-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(90deg, #27b0c0, #58c4e6);
}

.row .col-md-4:nth-child(1) .feature-card i { color: #58c4e6 !important; }
.row .col-md-4:nth-child(2) .feature-card i { color: #2cbf77 !important; }
.row .col-md-4:nth-child(3) .feature-card i { color: #27b0c0 !important; }

@keyframes pulse-animation {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

.pulse-button {
    animation: pulse-animation 2s ease-in-out infinite;
}

.emergency-banner {
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.1) 0%, rgba(52, 58, 64, 0.1) 100%) !important;
    backdrop-filter: blur(10px);
}

.bg-light {
    background-color: rgba(248, 249, 250, 0.04) !important;
    backdrop-filter: blur(4px);
}

section:not(.hero-section):not(.emergency-banner) {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
}

.service-section {
    padding: 3rem 0;
}

.service-icon-header {
    text-align: left;
}

.service-icon-header i {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-img {
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: auto;
    object-fit: contain; /* keep full image visible across all sections */
    display: block;
    border-radius: 12px;
    aspect-ratio: 1 / 1; /* uniform square grid */
    background-color: rgba(0, 0, 0, 0.25);
}

.service-img--fixed {
    aspect-ratio: 1 / 1; /* square box */
    object-fit: contain; /* keep 100% of the photo visible */
    background-color: rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    .service-img--fixed { aspect-ratio: 4 / 3; object-fit: contain; }
}

.service-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Glass background for images */
.glass-img {
    position: relative;
}

.glass-img::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.glass-img img {
    position: relative;
    z-index: 1;
    border-radius: 12px;
}

/* Simple auto-scroll gallery strip */
.photo-strip {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.photo-track {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    animation: strip-scroll 45s linear infinite;
}

.photo-track img {
    height: 80px;
    width: 140px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.photo-track img:hover { opacity: 1; }

@keyframes strip-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Remove default horizontal rules (lines between blocos) */
hr {
    border: none !important;
    background: transparent !important;
    height: 0 !important;
}

.stat-card {
    background: rgba(13, 110, 253, 0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(13, 110, 253, 0.1);
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.22);
}

.contact-card {
    background: #1d1d26;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Contact section compact sizing */
#contato {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

#contato .display-4 {
    font-size: 2rem;
}

#contato .lead {
    font-size: 1rem;
}

#contato .contact-card {
    padding: 1.25rem;
}

#contato .contact-card i {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0dcaf0;
    background: rgba(13, 110, 253, 0.12);
    border: 1px solid rgba(13, 110, 253, 0.25);
}

#contato .contact-card h4 {
    font-size: 1.1rem;
}

#contato .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
}

#contato .btn-primary,
#contato .btn-success {
    background: transparent;
    border: 1.5px solid currentColor;
    color: inherit;
}

#contato .btn-primary { color: #3aa0e0; }
#contato .btn-success { color: #2cbf77; }

#contato .btn-primary:hover,
#contato .btn-success:hover {
    color: #0b1620;
}

#contato .btn-primary:hover { background: rgba(58, 160, 224, 0.9); }
#contato .btn-success:hover { background: rgba(44, 191, 119, 0.9); }

#contato .row.g-4 {
    row-gap: 1rem;
}

/* Contact info list */
#contato .info-list {
    display: grid;
    gap: 0.75rem;
}

#contato .info-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
}

#contato .info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.12);
    color: #3aa0e0;
    border: 1px solid rgba(13, 110, 253, 0.25);
}

#contato .info-icon.whatsapp { background: rgba(37, 211, 102, 0.12); color: #2cbf77; border-color: rgba(37, 211, 102, 0.25); }
#contato .info-icon.primary { background: rgba(13, 202, 240, 0.12); color: #3aa0e0; border-color: rgba(13, 202, 240, 0.25); }
#contato .info-icon.info { background: rgba(23, 162, 184, 0.12); color: #27b0c0; border-color: rgba(23, 162, 184, 0.25); }

#contato .info-title { font-weight: 600; margin-bottom: 2px; color: rgba(255,255,255,0.92); }
#contato .info-text { color: rgba(255, 255, 255, 0.78); }
#contato .info-link { color: #58c4e6; text-decoration: none; font-weight: 600; }
#contato .info-link:hover { text-decoration: underline; }

/* Chatbot / Fale Conosco chips */
.chatbot-container {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
}

.chatbot-header {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-body { padding: 0.9rem 1rem; }

.chatbot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chatbot-option {
    background: transparent;
    color: #58c4e6;
    border: 1px solid rgba(88, 196, 230, 0.45);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.chatbot-option i { font-size: 0.95rem; }

.chatbot-option:hover {
    background: rgba(88, 196, 230, 0.12);
    border-color: rgba(88, 196, 230, 0.6);
    color: #58c4e6;
    transform: translateY(-1px);
}

.chatbot-option.chatbot-option-custom {
    color: #2cbf77;
    border-color: rgba(44, 191, 119, 0.45);
}

.chatbot-option.chatbot-option-custom:hover {
    background: rgba(44, 191, 119, 0.12);
    border-color: rgba(44, 191, 119, 0.6);
}

@media (max-width: 575px) {
    .chatbot-option { font-size: 0.85rem; padding: 0.35rem 0.6rem; }
}

footer {
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    backdrop-filter: blur(10px);
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

footer a {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

footer a:hover {
    color: var(--info-color) !important;
    transform: scale(1.1);
    text-decoration: none !important;
}

/* Footer refinements */
.footer-title {
    font-weight: 700;
    letter-spacing: 0.3px;
    font-size: 1rem;
    margin-bottom: 0.75rem !important;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #0dcaf0 !important;
    text-decoration: underline;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    background: rgba(23, 162, 184, 0.15);
    border-color: rgba(23, 162, 184, 0.35);
}

.social-btn.whatsapp:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.social-btn.phone:hover {
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-list li {
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-top {
    padding-bottom: 0.25rem;
}

.social-btn i { font-size: 14px; }

@media (max-width: 991px) {
    footer .row { text-align: center; }
    .footer-bottom .d-flex { justify-content: center !important; }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--success-color);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
    line-height: 1;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
    text-decoration: none !important;
}

@keyframes pulse-float {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.pulse-float {
    animation: pulse-float 2s ease-in-out infinite;
}

html {
    scroll-padding-top: 80px;
}

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .navbar-nav .nav-link:last-child { border-bottom: 0; }
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: none;
        padding: 0.75rem 1rem;
        border-radius: 12px;
        margin-top: 0.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }
    .navbar-toggler { border-color: rgba(255, 255, 255, 0.3) !important; }
    .navbar-toggler:focus { box-shadow: none !important; }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-icon-header {
        text-align: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .service-img {
        height: 150px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .emergency-banner h5 {
        font-size: 0.9rem;
    }
    
    .service-img {
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .navbar-brand-text {
        font-size: 1.4rem;
    }

    /* Mobile background fixes */
    body::before {
        background-attachment: scroll;
        background-size: 300px auto;
        opacity: 0.28;
    }
    .hero-overlay { background: rgba(0, 0, 0, 0.06); }
    section:not(.hero-section):not(.emergency-banner) { background-color: rgba(255,255,255,0.02); backdrop-filter: none; }
    .bg-light { background-color: rgba(248,249,250,0.03) !important; backdrop-filter: none; }
}

