:root {
    --primary-teal: #02444a; 
    --dark-gray: #2b2e35;
    --text-gray: #4a4a4a;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.hero-section {
    display: flex;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    min-height: clamp(900px, 90vh, 1200px);
}

/* --- LADO ESQUERDO --- */
.left-content {
    width: 45%;
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.left-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.left-content p {
    color: var(--text-gray);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.btn-cta {
    background-color: var(--primary-teal);
    color: var(--white);
    border: 2px solid var(--white);
    padding: clamp(12px, 3vw, 16px) clamp(25px, 6vw, 32px);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    width: fit-content;
    transition: background 0.3s;
}

.btn-cta:hover {
    background-color: #06555a;
}

.btn-cta:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

.left-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: var(--primary-teal);
    clip-path: polygon(0 0, 100% 100%, 0% 100%);
    z-index: -1;
}

/* --- DIVISOR DIAGONAL --- */
.diagonal-separator {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 42%;
    width: 150px;
    background-color: var(--dark-gray);
    transform: skewX(-20deg);
    z-index: 1;
    border-right: 5px solid white;
}

/* --- LADO DIREITO --- */
.right-content {
    width: 55%;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-left: auto;
}

.image-area {
    height: 70%;
    width: 115%;
    background-image: url('img/car.png');
    background-size: 80%;
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
    left: -100px;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.contact-area {
    height: 40%;
    background-color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    z-index: 2;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
    width: 120%;
    left: -80px;
    padding: 20px;
}

.contact-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.contact-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px 40px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem; 
    font-weight: 700;
    font-style: italic; 
}

.contact-item small {
    font-size: 0.8em;
    opacity: 0.9;
}

.address-box {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.9rem;
    margin-top: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--dark-gray);
}

.img-logo {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
}

.nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover, .nav a:focus {
    color: var(--primary-teal);
    outline: none;
}

.header-phone {
    background-color: var(--primary-teal);
    color: var(--white);
    padding: 10px 7px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.header-phone:hover, .header-phone:focus {
    background-color: #06555a;
    outline: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

button.hamburger {
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color:var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

.services-section {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-section h2 {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    color: var(--dark-gray);
    margin-bottom: 50px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.sobre-nos {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
}

.mapa {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mapa iframe {
    width: 100%;
    max-width: clamp(600px, 80vw, 1200px);
    height: clamp(400px, 50vh, 700px);
    border: 0;
}


.mapa div p {
    margin: 10px 0;
    font-size: 1rem;
    color: var(--dark-gray);
}

.bold {
    font-weight: 700;
}

.numberPhone {
    color: var(--primary-teal);
}

.social-media {
    margin-bottom: 40px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    transition: color 0.3s;
}

.instagram-link:hover, .instagram-link:focus {
    color: var(--primary-teal);
    outline: none;
}

.instagram-icon {
    width: 30px;
    height: 30px;
}

.nos h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-weight: 700;
}

.nos p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: clamp(20px, 5vw, 30px);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}


.letreiro-container {
    background-color: var(--text-gray);
    color: var(--white);
    padding: clamp(15px, 3vw, 22px) 0;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}


.letreiro-texto {
    display: inline-block;
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 900px) {
    .hero-section { flex-direction: column; height: auto; overflow: visible; }
    .left-content, .right-content { width: 100%; }
    .left-content { padding: 76px 98px; }
    .left-content h1 { font-size: 2.5rem; }
    .diagonal-separator { display: none; }
    .image-area, .contact-area {
        width: 100%; left: 0; clip-path: none; height: 250px; padding-left: 0;
    }
    .image-area { background-size: 100%; background-position: center; }
    .contact-area { padding: 40px; height: auto; }
    .left-decoration { display: none; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
        align-items: center;
    }
    .nav.active {
        display: flex;
    }
    .nav a {
        margin: 10px 20px;
    }
    .hamburger {
        display: flex;
    }
}

@media (max-width: 600px) {
    .left-content { padding: 104px 81px; }
    .left-content h1 { font-size: 2rem; }
    .left-content p { font-size: 1rem; margin-bottom: 30px; }
    .btn-cta { padding: 12px 25px; font-size: 0.9rem; }
    .hero-section { min-height: auto; }
    .nav { display: none; }
    .hamburger { display: flex; }
    .logo span { display: none; }
    .header-phone { padding: 10px 0px; }
}


@media (min-width: 601px) and (max-width: 1024px) {
    .left-content { padding: 77px 41px; }
    .left-content h1 { font-size: 2.8rem; }
    .left-content p { font-size: 1.1rem; }
    .btn-cta { padding: 14px 28px; font-size: 1rem; }
    .services-section h2 { font-size: 2.2rem; }
    .nos h3 { font-size: 1.8rem; }
    .nos p { font-size: 1rem; }
    .image-area {
        height: 60%;
        width: 119%;
        background-size: 64%;
        left: -98px;
    }
}

