@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,600;1,700&family=Montserrat:wght@400;600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #02417A;
    /* Deep navy blue */
    --accent-color: #E8121F;
    /* Vivid red */
    --success-color: #0BAD13;
    /* WhatsApp green */
    --success-hover: #099410;
    --accent-hover: #cc0f1a;
    --text-dark: #222222;
    --text-muted: #555555;
    --text-light: #ffffff;
    --bg-light-grey: #F5F5F7;
    --bg-light-green: #E9F3ED;
    --bg-dark: #2E3432;
    --border-color: #CECECE;
    --max-width: 1140px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography & Badges */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    color: inherit;
}

p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

/* Red Highlight Badge */
.destaque {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 2px 10px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
}

.destaque-italic {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 2px 10px;
    border-radius: 4px;
    display: inline-block;
    font-style: italic;
    font-weight: 800;
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: 80px 0;
    position: relative;
}

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

/* Buttons */
.btn-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-green {
    background-color: var(--success-color);
    color: var(--text-light);
}

.btn-green:hover {
    background-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(11, 173, 19, 0.4);
}

.btn-red {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-red:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(232, 18, 31, 0.4);
}

.btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    width: auto;
}

.header-phone {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    background: url('assets/hero_bg.webp') no-repeat center right;
    background-size: cover;
}

.hero-logo {
    margin-bottom: 25px;
}

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

.hero-content {
    max-width: 550px;
}

.hero-content h1 {
    font-size: 45px;
    color: #0E0E0E;
    line-height: 1.2;
    margin-bottom: 20px;
}

.destaque-red {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    color: #353535;
    margin-bottom: 15px;
}

.hero-content p strong {
    font-weight: 700;
}

/* Stressed Architect Section (Blue Background) */
.blue-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.blue-section h2 {
    font-size: 38px;
    margin-bottom: 25px;
}

.blue-section p {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.blue-section p strong {
    font-weight: 700;
    color: #ffffff;
}

.blue-section img {
    border-radius: 0;
    box-shadow: none;
}

/* Services Section */
.services-section {
    background-color: var(--bg-light-green);
}

.services-title {
    text-align: center;
    font-size: 38px;
    color: #464646;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.service-card::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    border-radius: 10px;
    background: var(--accent-color);
    box-shadow: 0 5px 15px rgba(232, 18, 31, 0.4);
    z-index: 2;
    transition: var(--transition);
}

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

.service-card:hover::before {
    width: 60px;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-icon img,
.service-icon svg {
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(20%) sepia(87%) saturate(6926%) hue-rotate(348deg) brightness(98%) contrast(98%);
}

.service-card h3 {
    font-size: 18px;
    color: #464F4C;
    font-weight: 700;
}

.services-btn-center {
    display: flex;
    justify-content: center;
}

/* Urgency/Solution Section */
.urgency-section {
    background-color: var(--bg-light-grey);
}

.urgency-section h2 {
    font-size: 38px;
    color: #464646;
    margin-bottom: 25px;
}

.urgency-section p {
    font-size: 18px;
    color: #313131;
    margin-bottom: 25px;
}

.bullets-list {
    margin-bottom: 30px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #303030;
}

.bullet-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: rgba(232, 18, 31, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 18px;
}



/* Testimonials Carousel Section (Blue BG) */
.testimonials-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 50px;
}

.carousel-container {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    align-items: center;
    /* Dynamic heights centered vertically */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 10px;
    background-color: #ffffff;
    color: var(--text-dark);
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    /* Reduced min-height to allow dynamic size */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #EEEEEE;
    width: 100%;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details h4 {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.stars-verified {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.stars {
    display: flex;
    gap: 2px;
    color: #fcb900;
}

.stars i {
    font-size: 13px;
    display: block;
}

.verified-badge {
    color: #1da1f2;
    font-size: 15px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.google-icon {
    width: 32px;
    height: 32px;
    background-color: #F5F5F7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.google-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Carousel Nav Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--text-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.carousel-btn-prev {
    left: -10px;
}

.carousel-btn-next {
    right: -10px;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Dots Pagination */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    width: 28px;
    border-radius: 5px;
    background-color: var(--accent-color);
}

/* Losses / Waste Section ("Obra parada...") */
.losses-section {
    background-color: var(--bg-light-grey);
}

.losses-section h2 {
    font-size: 38px;
    color: #464646;
    margin-bottom: 25px;
}

.losses-section p {
    font-size: 18px;
    color: #313131;
    margin-bottom: 30px;
}



/* Bullet list with cross icon */
.list-losses {
    margin-bottom: 30px;
}

.list-losses li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #303030;
}

.list-losses li::before {
    content: '✕';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-color: #FFF0F0;
    border-radius: 50%;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Losses Subgrid Highlights (Icon + Bold Title) */
.losses-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.highlight-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.highlight-box-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: #FFF0F0;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-box-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.highlight-box span {
    font-size: 15px;
    font-weight: 700;
    color: #303030;
    line-height: 1.2;
}

/* Supplier Section */
.supplier-section {
    background-color: #ffffff;
}

.supplier-section h2 {
    font-size: 38px;
    color: #464646;
    margin-bottom: 25px;
}

.supplier-section p {
    font-size: 18px;
    color: #313131;
    margin-bottom: 30px;
}

/* Regions Section */
.regions-section {
    position: relative;
    color: var(--text-light);
    background: linear-gradient(rgba(46, 52, 50, 0.9), rgba(46, 52, 50, 0.9)), url('assets/regiao.webp') no-repeat center center;
    background-size: cover;
    text-align: center;
}

.regions-section h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.regions-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.85);
}

.regions-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.region-badge {
    background-color: var(--accent-color);
    color: var(--text-light);
    font-size: 16px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.region-badge:hover {
    transform: scale(1.05);
    background-color: var(--accent-hover);
}

.region-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Footer Section */
.site-footer {
    background-color: #ffffff;
    padding-top: 80px;
    border-top: 1px solid #EEEEEE;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about .footer-logo {
    height: 55px;
    width: auto;
    margin-bottom: 25px;
}

.footer-about p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-cnpj {
    font-size: 12px;
    color: #999999;
}

.footer-contacts h3,
.footer-map h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contacts h3::after,
.footer-map h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-links-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-dark);
}

.contact-icon {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contact-links-list li a:hover {
    color: var(--primary-color);
    font-weight: 500;
}

.footer-map-iframe {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    height: 220px;
}

.footer-map-iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-copyright-bar {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

.footer-copyright-bar a {
    color: var(--text-light);
    font-weight: 600;
}

.footer-copyright-bar a:hover {
    text-decoration: underline;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--success-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(11, 173, 19, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: var(--success-hover);
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 20px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-map {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-section {
        background: url('assets/IBIMIX-MOBILE%20copiar.webp') no-repeat center top;
        background-size: cover;
        padding-top: 260px;
        padding-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .blue-section h2,
    .services-title,
    .urgency-section h2,
    .testimonials-section h2,
    .losses-section h2,
    .supplier-section h2,
    .regions-section h2 {
        font-size: 28px;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .carousel-container {
        padding: 0 20px;
    }

    .carousel-btn {
        display: none;
        /* Hide navigation arrows on mobile, use swipe/drag */
    }

    .losses-highlights {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-map {
        grid-column: span 1;
    }

    .btn-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}