/* General Styles */
:root {
    --primary-color: #007bff; /* Azul do logo */
    --secondary-color: #6c757d;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --white: #fff;
    --container-width: 1100px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em;
    font-weight: 700;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.7em;
}

p.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 1.1em;
    color: var(--secondary-color);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%); /* Pseudo-função, precisa ser implementada com JS ou SASS */
    background-color: #0056b3; /* Cor mais escura para o hover */
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: darken(var(--secondary-color), 10%);
    background-color: #5a6268;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 100px; /* Aumentado em 100% (de 50px para 100px) */
}

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

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.header-btn {
    margin-left: 30px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('imagemfundo.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card i {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    font-size: 1em;
    color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light-bg);
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.benefit-item i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-item h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--secondary-color);
}


/* Testimonials Section */
.testimonial-carousel {
    display: flex; /* Para controlar o carrossel com JS */
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.testimonial-item {
    flex: 0 0 100%; /* Cada item ocupa 100% da largura */
    padding: 40px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    font-style: italic;
    font-size: 1.1em;
    color: var(--text-color);
    transition: transform 0.5s ease-in-out; /* Para o carrossel */
}

.testimonial-item p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-item span {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-top: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}


/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    padding: 40px 0;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.contact-info p i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.3em;
    width: 25px; /* Para alinhar os ícones */
    text-align: center;
}

.contact-info p a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: var(--primary-color);
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.map-container iframe {
    width: 100%;
    display: block;
}


/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 50px 0 20px 0;
    font-size: 0.9em;
}

.main-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Para responsividade */
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.footer-logo img {
    height: 40px; /* Ajuste conforme o logo real */
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links ul li {
    margin: 0 15px 10px 15px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.social-icons a {
    color: var(--white);
    font-size: 1.5em;
    margin-left: 15px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}


/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float a:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .main-header .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-header .logo, .header-btn {
        margin-bottom: 15px;
    }
    .main-nav ul {
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }
    .main-nav ul li {
        margin: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }
    .hero-content p {
        font-size: 1.2em;
    }

    .service-cards, .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form, .contact-info {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo, .footer-links, .social-icons {
        margin-bottom: 20px;
    }
    .footer-links ul {
        flex-direction: column;
    }
    .footer-links ul li {
        margin: 5px 0;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 2em;
    }
    h3 {
        font-size: 1.5em;
    }
    .hero-section {
        padding: 100px 0;
        min-height: 500px;
    }
    .hero-content p {
        font-size: 1em;
    }
    .btn-large {
        padding: 10px 25px;
        font-size: 1em;
    }

    .service-cards, .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-header .logo img {
        height: 40px;
    }
    .main-nav ul li {
        margin: 0 10px;
        font-size: 0.9em;
    }
    .header-btn {
        margin-left: 0;
    }
    h1 {
        font-size: 1.8em;
    }
    .section-padding {
        padding: 50px 0;
    }
    .footer-links ul {
        align-items: center;
    }
    .social-icons a {
        margin: 0 8px;
    }
}