:root {
    --primary-color: #0d1e37; 
    --secondary-color: #5ab1db; 
    --text-dark: #333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #0d1e37;
    --star-color: #ffc107; 
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3 {
    margin-bottom: 0.8em;
    font-weight: 700;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
    color: var(--secondary-color);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

#main-header {
    background-color: var(--text-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 80px;
}

#navbar ul {
    list-style: none;
    display: flex;
}

#navbar ul li a {
    padding: 15px 20px;
    display: block;
    color: var(--primary-color);
    font-weight: 600;
}

#navbar ul li a:hover {
    color: var(--secondary-color);
}

.cta-whatsapp {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color var(--transition-speed);
}

.cta-whatsapp:hover {
    background-color: #3f90b9;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: var(--primary-color);
    cursor: pointer;
}

#hero {
    background: url('assets/background1.png') no-repeat center center/cover;
    height: auto;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content-wrapper { 
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 60px 15px; 
    position: relative; 
    z-index: 10; 
}

.hero-text {
    color: var(--secondary-color);
    flex: 1; 
    max-width: 60%; 
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 30, 55, 0.7); 
}


#hero h1 {
    font-size: 2.3em;
    margin-bottom: 15px;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-video-container {
    flex: 0 0 auto;
    width: 280px; 
    height: 450px; 
    position: relative;
    overflow: hidden;
    border-radius: 5px; 
    box-shadow: none; 
    margin-left: auto;
    margin-right: auto;
}

.hero-video-container video { 
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.quem-somos-flex-wrapper {
    display: flex;
    gap: 40px; 
    align-items: center; 
    max-width: 1000px; 
    margin: 40px auto 0 auto; 
    text-align: left; 
}

.quem-somos-text {
    flex: 1; 
    max-width: none; 
    margin: 0;    
}

.quem-somos-image-container {
    flex: 0 0 350px; 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.quem-somos-image-container .full-width-image.portrait {
    width: 100%;
    height: auto;
    display: block;
}

.quem-somos-content p {
    margin-bottom: 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.servico-card {
    background: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.servico-card i {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.servico-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.diferenciais-flex-wrapper {
    display: flex;
    gap: 40px; 
    align-items: flex-start; 
    max-width: 1400px; 
    margin: 0 auto; 
}

.diferenciais-image-container {
    flex: 0 0 450px; 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.diferenciais-image-container .full-width-image {
    width: 100%;
    height: auto;
    display: block;
}

.diferenciais-list {
    flex: 1;
    max-width: none;
    margin: 0 auto;
}

.diferenciais-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr; 
    gap: 15px;
}

.diferenciais-list ul li {
    background: var(--bg-light);
    padding: 20px; 
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.diferenciais-list ul li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.3em;
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.inverted-color {
    color: var(--text-light) !important;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 49%; 
    min-width: 300px; 
    margin: 10px;
    padding: 30px;
    background: #51719c; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.stars i {
    color: var(--star-color);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.reviewer-info {
    display: flex;
    align-items: center;
    justify-content: center; 
    margin-top: 20px;
}

.reviewer-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    object-fit: cover;
    margin-right: 15px;
    border: 1.5px solid var(--secondary-color);
}

.reviewer-info div {
    text-align: left;
}

.reviewer-detail {
    font-size: 0.8em;
    color: #aaa; 
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.reviewer-name {
    font-weight: bold;
    color: var(--secondary-color);
}

.testimonial-card {
    flex: 10 0 50%; 
    margin: 10px 10;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    font-size: 1.5em;
    padding: 10px;
    cursor: pointer;
    z-index: 50;
    border-radius: 50%;
    transition: background var(--transition-speed);
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev { left: 0; }
.next { right: 0; }

/* CONTATO */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.contact-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.contact-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-card h3 {
    color: var(--secondary-color);
}

.contact-card.primary-contact {
    border: 2px solid var(--secondary-color);
}

.social-links a {
    margin: 0 10px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.social-links a i {
    font-size: 1em;
    margin-right: 5px;
    color: var(--primary-color);
}

.full-width {
    grid-column: 1 / -1;
}

#main-footer {
    background-color: #222;
    color: #ccc;
    font-size: 0.9em;
}

#main-footer a {
    color: var(--secondary-color);
}

.footer-content {
    padding: 40px 15px;
    border-bottom: 1px solid #333;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-info {
    max-width: 500px;
}

.footer-info h4 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-bottom {
    padding: 15px 0;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

@media (max-width: 992px) {
    
    .mobile-hidden {
        display: none !important;
    }

    /* Navegação */
    #navbar {
        position: fixed;
        top: 80px; 
        right: 0;
        width: 250px;
        height: 100%;
        background-color: var(--primary-color);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
        transform: translateX(100%); 
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        padding-top: 20px;
    }
    
    #navbar.open {
        transform: translateX(0); 
    }

    #navbar ul {
        flex-direction: column;
        align-items: flex-start;
    }

    #navbar ul li a {
        color: var(--text-light);
        width: 100%;
        border-bottom: 1px solid #1f375a;
    }

    #navbar ul li a:hover {
        background-color: var(--secondary-color);
        color: var(--primary-color);
    }
    
    #menu-toggle {
        display: block;
    }

    /* Hero Section */
    #hero {
        height: auto;
        min-height: 60vh;
    }
    #hero h1 {
        font-size: 2em;
    }

    .hero-content-wrapper {
        flex-direction: column; 
        text-align: center;
        padding: 40px 15px;
    }

    .hero-text {
        max-width: 100%; 
        order: 2; 
    }

    .hero-video-container {
        width: 100%; 
        max-width: 300px; 
        height: 480px; 
        margin-bottom: 30px;
        order: 1;

        margin-left: auto;
        margin-right: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .quem-somos-flex-wrapper {
        flex-direction: column;
        text-align: center; 
    }

    .quem-somos-image-container {
        flex: auto;
        width: 100%;
        max-width: 300px; 
        margin: 0 auto 30px auto; 
        order: 1; 
    }

    .quem-somos-text {
        order: 2; 
        width: 100%;
    }

    .servicos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .diferenciais-flex-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px; 
    }

    .diferenciais-image-container {
        flex: auto;
        width: 100%;
        max-width: 400px; 
        margin: 0 auto; 
        order: 1; 
    }

    .diferenciais-list {
        order: 2; 
        width: 100%; 
        max-width: 500px; 
        margin: 0 auto; 
    }

    .diferenciais-list ul li {
        text-align: left;
        padding: 15px; 
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .testimonial-card {
        flex: 0 0 100%; 
        margin: 10px 0;
    }
    
    .carousel-button {
        display: none; 
    }
}

@media (max-width: 576px) {
    
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; }
    
    .hero-content {
        padding: 10px;
    }
    
    .btn {
        padding: 10px 20px;
    }

    .diferenciais-list ul li {
        font-size: 1em; 
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}