:root {
    --primary-color: #0056b3;
    --secondary-color: #00a8ff;
    --text-color: #333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --padding: 60px 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body { color: var(--text-color); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: var(--padding); }
.bg-light { background-color: var(--bg-light); }

/* Header */
.main-header { background: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); }
.main-header nav ul { display: flex; gap: 20px; }
.main-header nav a:hover { color: var(--primary-color); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: var(--white); padding: 100px 0; text-align: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }
.btn-primary { background: var(--white); color: var(--primary-color); padding: 12px 30px; border-radius: 5px; font-weight: bold; transition: 0.3s; }
.btn-primary:hover { background: #eee; }

/* Services Grid */
.section-title { text-align: center; font-size: 2rem; margin-bottom: 10px; color: var(--primary-color); }
.section-subtitle { text-align: center; margin-bottom: 50px; color: #666; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--secondary-color); }
.service-card .icon { font-size: 2.5rem; margin-bottom: 15px; }
.service-card h3 { margin-bottom: 10px; color: var(--primary-color); }
.service-card p { flex-grow: 1; margin-bottom: 20px; font-size: 0.95rem; color: #555; }
.service-card .link-text { color: var(--secondary-color); font-weight: bold; font-size: 0.9rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.testimonial-card { background: var(--bg-light); padding: 25px; border-radius: 8px; font-style: italic; }
.testimonial-card strong { display: block; margin-top: 15px; font-style: normal; color: var(--primary-color); }

/* Footer */
.main-footer { background: #222; color: #fff; padding: 60px 0 20px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { margin-bottom: 20px; color: var(--secondary-color); border-bottom: 2px solid #444; display: inline-block; padding-bottom: 5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--secondary-color); }
.btn-whatsapp { display: inline-block; background: #25D366; color: #fff; padding: 10px 20px; border-radius: 5px; margin-top: 15px; font-weight: bold; }
.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 20px; font-size: 0.9rem; color: #aaa; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
}

/* --- Modal de Alta Demanda --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro transparente */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.modal-title {
    color: #d9534f; /* Vermelho suave para alerta ou use var(--primary-color) */
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.modal-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-modal-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    width: 100%;
}

.btn-modal-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.02);
}