:root {
    --primary-red: #983a32;
    --dark-text: #333;
    --light-gray-bg: #f8f9fa;
    --footer-bg: #2c2c2c;
    --text-gray: #6c757d;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 500;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* HEADER */
.main-header {
    width: 100%;
    background-color: #F6F6FB;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    min-height: 70px;
    display: flex;
    align-items: center;
}

.main-header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 12px;
    height: 70px;
}

.logo img {
    height: 18px;
    max-width: 70px;
    border-radius: 0;
    display: block;
}

.main-nav a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #b34036;
}

.main-nav ul {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-red);
    cursor: pointer;
}

/* HERO */
.hero-section {
    height: 85vh;
    width: 100%;
    position: relative;
    color: white;
    background: url('images/bannerprincipal.png') no-repeat center center/cover;
    background-position: center top 55%;
}

.hero-content {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.hero-content .text-box {
    background-color: rgba(156, 47, 37, 0.253);
    padding: 40px 30px;
    max-width: 540px;
    border-radius: 0;
    box-shadow: none;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 400;
    color: #e3cfa4;
    margin-bottom: 0.5em;
    line-height: 1.1;
}

.hero-content h1 span {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 0.5em;
}

.hero-content p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5em;
}

.cta-button {
    background-color: #fff;
    color: var(--primary-red);
    font-weight: 700;
    border-radius: 6px;
    padding: 10px 22px;
    border: none;
    font-size: 1.1rem;
    transition: background 0.2s;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #f5e9e9;
    color: var(--primary-red);
}

/* CONTENT SECTIONS */
.content-section {
    padding: 80px 0;
}

.two-columns {
    display: flex;
    align-items: center;
    gap: 60px;
}

.two-columns.reverse {
    flex-direction: row-reverse;
}

.text-column, .image-column {
    flex: 1;
}

.text-column p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* COVERAGE SECTION */
.coverage-section {
    padding: 80px 0;
    background: var(--light-gray-bg) url('images/placeholder-bg-faded.png') no-repeat center center/cover;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* PARTNERS */
.partners-section {
    padding: 60px 0;
}

.logos-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logos-grid img {
    height: 45px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logos-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA FINAL */
.final-cta-section {
    padding: 80px 0;
    background: var(--light-gray-bg);
}

.final-cta-section .image-column img {
    transform: scaleX(-1);
    border-radius: 0;
}

.cta-text {
    padding-left: 40px;
}

.cta-text h2 {
    font-size: 2.2rem;
    line-height: 1.4;
}

.cta-button-red {
    background-color: var(--primary-red);
    color: white;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button-red:hover {
    background-color: #b34036;
    transform: translateY(-3px);
}

/* BANNER COBERTURA */
.banner-cobertura {
    width: 100%;
    min-height: 420px;
    background: url('images/cobertura.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
}

.banner-cobertura-content {
    background: rgba(152, 58, 50, 0.85);
    padding: 40px 30px;
    margin-left: 60px;
    max-width: 540px;
}

.banner-cobertura-content h2, .banner-cobertura-content h3 {
    color: #fff;
}

.banner-cobertura-content ul {
    list-style: disc inside;
    color: #fff;
    margin-bottom: 20px;
}

.banner-cobertura-content p {
    color: #fff;
    font-size: 1.1rem;
}

/* FOOTER */
.main-footer {
    background-color: var(--footer-bg, #222);
    color: white;
    padding: 28px 0;
    margin-top: 0;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
}

.main-footer .footer-left,
.main-footer .mini-map,
.main-footer .footer-nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-footer .footer-nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
}

.main-footer .footer-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-footer .footer-left .logo-bg {
    background: #232323;
    padding: 24px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    display: inline-block;
}

.main-footer .footer-left img {
    max-width: 320px;
    height: auto;
    display: block;
}

.main-footer .mini-map {
    flex: 1;
    min-width: 300px;
}

.main-footer .mini-map iframe {
    width: 100%;
    height: 140px;
    border: 0;
    border-radius: 8px;
}

.main-footer .footer-nav {
    flex: 1;
    min-width: 200px;
}

.main-footer .footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-footer .footer-nav ul li a {
    color: white;
    text-decoration: none;
}

.main-footer .footer-nav ul li a:hover {
    text-decoration: underline;
}

.footer-banner {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 16px;
    font-size: 0.95rem;
}

.footer-banner a {
    color: #e63946;
    text-decoration: underline;
}

/* Boto flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    font-size: 2.2rem;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.08);
}

/* MENU DESKTOP */
@media (min-width: 901px) {
    .main-nav {
        display: block !important;
        position: static;
        background: transparent;
        width: auto;
        box-shadow: none;
    }
    .main-nav ul {
        flex-direction: row;
        gap: 32px;
        align-items: center;
        justify-content: flex-end;
    }
    .main-nav ul li {
        border: none;
        padding: 0;
        margin: 0;
        width: auto;
        text-align: left;
    }
    .main-nav a {
        display: inline-block;
        width: auto;
        color: var(--primary-red);
        background: none;
        padding: 0;
    }
}

/* MENU MOBILE */
@media (max-width: 900px) {
    .main-header {
        background: #ffffff;
        padding: 8px 0;
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }

    .main-header .container {
        padding: 0 8px;
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
    }

    .logo img {
        height: 16px;
        max-width: 60px;
    }

    .menu-toggle {
        display: block;
        margin-left: 4px;
        font-size: 1.4rem;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 20px 0;
        margin: 0;
        align-items: center;
    }

    .main-nav ul li {
        width: 100%;
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .main-nav a {
        color: var(--primary-red);
        display: block;
        width: 100%;
        font-size: 1.1rem;
    }

    .main-nav a:hover {
        color: #b34036;
    }

    .header-icons {
        display: none;
    }
}

/* AJUSTES GERAIS PARA MOBILE */
@media (max-width: 600px) {
    body, html {
        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
        overflow-x: hidden;
    }
    .container {
        padding: 0 6px !important;
        margin: 0 auto !important;
        width: 100%;
        max-width: 100% !important;
    }
    .main-header .container,
    .main-footer .container {
        padding: 0 6px !important;
        width: 100%;
        max-width: 100% !important;
    }
    .main-header .container {
        justify-content: flex-start;
        gap: 4px;
    }
    .logo img {
        height: 14px;
        max-width: 50px;
    }
    .menu-toggle {
        font-size: 1.3rem;
        margin-left: 2px;
    }
    .hero-section,
    .content-section,
    .coverage-section,
    .partners-section,
    .final-cta-section,
    .banner-cobertura {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        max-width: 100% !important;
    }
    .two-columns,
    .two-columns.reverse {
        gap: 12px !important;
        margin: 0 !important;
    }
    .text-column, .image-column {
        padding: 0 !important;
        margin: 0 !important;
    }
    .main-footer .footer-left img {
        max-width: 90% !important;
    }
    .mini-map iframe {
        width: 90% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .logos-carousel {
        gap: 16px !important;
        padding: 10px 0 !important;
    }
    .logo-item {
        min-width: 100px !important;
        max-width: 120px !important;
        height: 60px !important;
    }
    .logo-item img {
        max-height: 60px !important;
    }
    .footer-banner {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .main-nav ul li {
        padding: 10px 15px;
    }
    .main-nav a {
        font-size: 1rem;
    }
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    .main-footer .container {
        flex-direction: column;
        text-align: center;
    }
    .main-footer .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .main-footer .mini-map {
        margin: 20px 0;
    }
    .main-header .container {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    .hero-content {
        padding: 0 5%;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content h1 span {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 10px 18px;
    }
    .two-columns,
    .two-columns.reverse {
        flex-direction: column !important;
        gap: 30px;
    }
    .cta-text {
        padding: 0;
        text-align: center;
    }
    .banner-cobertura {
        padding: 40px 20px;
        flex-direction: column;
        align-items: center;
    }
    .banner-cobertura-content {
        margin: 0;
        max-width: 100%;
        padding: 30px 20px;
        text-align: center;
    }
    .logos-grid {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.logos-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 40px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.logo-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    max-width: 200px;
    height: 100px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.logo-item img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.logo-item:hover img {
    transform: scale(1.1);
}

.logos-carousel::-webkit-scrollbar {
    display: none;
}

.mini-map {
    margin-top: 20px;
    text-align: center;
}

.mini-map iframe {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FOOTER RESPONSIVO */
@media (max-width: 768px) {
    .main-footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .main-footer .footer-left,
    .main-footer .mini-map,
    .main-footer .footer-nav {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .main-footer .footer-nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .main-footer .mini-map iframe {
        height: 120px;
    }
    .main-footer .footer-left img {
        max-width: 160px;
    }
}