/* Divino Automático - Estilos Principais */

:root {
    --primary: #1A237E;
    --secondary: #FFC107;
    --background: #F5F5F5;
    --text: #212121;
    --text-light: #757575;
    --whatsapp: #00E676;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

/* Header e Navegação */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo strong {
    font-weight: 700;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

nav a:hover:after {
    width: 100%;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--secondary);
    color: var(--text);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-phone:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero/Banner */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #303F9F 100%);
    color: var(--white);
    padding: 8rem 0 5rem;
    margin-top: 74px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Features/Diferenciais */
.features {
    background-color: var(--white);
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px var(--shadow);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Serviços */
.services {
    background-color: var(--background);
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
    transition: var(--transition);
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px var(--shadow);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-icon img {
    width: 60px;
    height: 60px;
}

.service h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Sobre nós */
.about {
    background-color: var(--white);
    padding: 5rem 0;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.about-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Depoimentos */
.testimonials {
    background-color: var(--background);
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 12px var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: "\201C";
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author span {
    font-weight: 700;
    color: var(--primary);
}

.testimonial-author small {
    color: var(--text-light);
}

/* Contato */
.contact {
    background-color: var(--white);
    padding: 5rem 0;
}

.contact-flex {
    display: flex;
    gap: 3rem;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.2);
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item svg {
    margin-top: 3px;
}

.info-item a:hover {
    color: var(--secondary);
}

/* Localização */
.location {
    padding: 5rem 0;
    background-color: var(--background);
}

.map-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-map {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    transition: var(--transition);
}

.btn-map:hover {
    background-color: var(--secondary);
    color: var(--text);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-info p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-contact h3,
.footer-address h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-contact p,
.footer-address p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-contact a,
.footer-address a {
    color: var(--white);
}

.footer-contact a:hover,
.footer-address a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 5px rgba(37, 211, 102, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-btn .fab {
    font-size: 38px;
    color: white;
}

.whatsapp-icon-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(37, 211, 102, 0.3);
}

/* Responsividade */
@media (max-width: 992px) {
    .about-flex {
        flex-direction: column;
    }

    .contact-flex {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 8px var(--shadow);
        z-index: 1000;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li {
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .header-flex {
        position: relative;
    }

    .hero {
        margin-top: 60px;
        padding: 6rem 0 4rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .btn-phone {
        display: none;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .whatsapp-btn span {
        display: none;
    }

    .whatsapp-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}