/**
 * DELMAT Engenharia & Tecnologia
 * Landing Page - Stylesheet
 * 
 * Cores:
 * - Primária: #00349A (azul DELMAT)
 * - Hover: #1D4ED8
 * - Texto: #0F172A (principal), #334155 (secundário)
 * - Fundos: #FFFFFF, #F1F5F9 (blocos claros)
 * 
 * Tipografia: Inter (300-700)
 * Border-radius: 16-24px
 * Breakpoints: 360px, 768px, 1024px, 1440px
 */

/* ===================================
   RESET & BASE
   =================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    background: linear-gradient(180deg, #00349A 0%, #00349A 15%, #1D4ED8 25%, #60A5FA 40%, #F1F5F9 50%, #F1F5F9 100%);
    background-attachment: fixed;
    background-size: 100% 100vh;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0F172A;
    background: linear-gradient(180deg, #00349A 0%, #00349A 15%, #1D4ED8 25%, #60A5FA 40%, #F1F5F9 50%, #F1F5F9 100%);
    background-attachment: fixed;
    background-size: 100% 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

/* Placeholder para imagens quebradas */
img:not([src]), img[src=""], img[src*="placeholder"] {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
    position: relative;
}

img:not([src]):after, img[src=""]:after {
    content: "🖼️";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    opacity: 0.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===================================
   UTILITÁRIOS
   =================================== */

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 64px;
    }
}

/* ===================================
   BOTÕES
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:focus-visible {
    outline: 2px solid #00349A;
    outline-offset: 2px;
}

.btn-primary {
    background-color: #00349A;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 52, 154, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: #00349A;
    border-color: #00349A;
}

.btn-outline:hover {
    background-color: #00349A;
    color: #FFFFFF;
}

.btn-white {
    background-color: #FFFFFF;
    color: #00349A;
    border: 2px solid transparent;
}

.btn-white:hover {
    background-color: #F0F5FF;
    color: #00349A;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===================================
   TOP BAR
   =================================== */

.topbar {
    background-color: #00349A;
    color: #FFFFFF;
    padding: 12px 0;
    font-size: 13px;
    position: relative;
    z-index: 1001;
    transition: z-index 0s;
}

.menu-open ~ .main-card-wrapper .topbar,
body.menu-open .topbar {
    z-index: 1002;
}

.topbar-content {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .topbar-content {
        justify-content: center;
    }
}

.topbar-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-btn {
    padding: 6px 16px;
    border-radius: 4px;
    background-color: transparent;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.topbar-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.topbar-btn-highlight {
    background-color: #FFFFFF;
    color: #00349A;
    border-color: #FFFFFF;
}

.topbar-btn-highlight:hover {
    background-color: #F1F5F9;
    color: #00349A;
}

@media (max-width: 768px) {
    .topbar {
        font-size: 12px;
    }
    
    .topbar-links {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .topbar-btn {
        padding: 4px 12px;
        font-size: 12px;
    }
    
    /* Ocultar botões no mobile, exceto "Sou Um Fornecedor" e "Fale com um Engenheiro" */
    .topbar-btn-hide-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .topbar {
        padding: 8px 0;
    }
    
    .topbar-content {
        justify-content: center;
    }
    
    .topbar-links {
        gap: 6px;
        justify-content: center;
        width: 100%;
    }
    
    .topbar-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* ===================================
   MAIN CARD CONTAINER (estilo MSE)
   =================================== */

.main-card-wrapper {
    max-width: calc(100% - 20px);
    margin: 12px auto 80px;
    padding: 0 10px;
}

.main-card {
    background-color: #FFFFFF;
    border-radius: 40px;
    box-shadow: none;
    overflow: visible;
}

/* Desktop ultra grande - margem fina de 10px */
@media (min-width: 1600px) {
    .main-card-wrapper {
        padding: 0 10px;
        max-width: calc(100% - 20px);
    }
}

/* Desktop grande - margem fina de 10px */
@media (min-width: 1440px) and (max-width: 1599px) {
    .main-card-wrapper {
        padding: 0 10px;
        max-width: calc(100% - 20px);
    }
}

/* Desktop normal - margem fina de 10px */
@media (min-width: 1200px) and (max-width: 1439px) {
    .main-card-wrapper {
        padding: 0 10px;
        max-width: calc(100% - 20px);
    }
}

/* ===================================
   HEADER
   =================================== */

.header {
    background-color: transparent;
    box-shadow: none;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
    padding: 20px 0;
}

body.menu-open .header {
    z-index: 1002;
    background-color: transparent;
}

.header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    position: relative;
    z-index: 1002;
}

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

.header-nav {
    display: none; /* Menu sempre escondido - abre via overlay */
}

/* Menu Toggle (Hamburger) - Sempre visível */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background-color: #0F172A;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu Overlay Fullscreen (Estilo MSE) */
.menu-overlay {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #FFFFFF;
    z-index: 998;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0s 0.4s,
                opacity 0.4s ease;
    overflow-y: auto;
    will-change: transform;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    /* top e height serão calculados dinamicamente via JavaScript */
}

.menu-overlay.active {
    transform: translateY(0);
    z-index: 1000;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s 0s,
                opacity 0.4s ease;
}

.menu-overlay-content {
    min-height: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.menu-overlay-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 64px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 64px;
}

.menu-overlay-column {
    display: flex;
    flex-direction: column;
}

.menu-overlay-title {
    font-size: 20px;
    font-weight: 700;
    color: #00349A;
    margin-bottom: 24px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.menu-overlay-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-overlay-list a {
    font-size: 16px;
    color: #0F172A;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 4px 0;
}

.menu-overlay-list a:hover {
    color: #00349A;
}

.menu-overlay-column-last {
    justify-content: flex-start;
}

.menu-overlay-contact {
    margin-top: 0;
}

.menu-overlay-city {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.menu-overlay-phone {
    font-size: 16px;
    color: #334155;
    margin: 0;
}

@media (max-width: 1200px) {
    .menu-overlay-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .menu-overlay-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 32px;
    }
    
    .menu-overlay-content {
        padding-top: 80px;
    }
    
    .menu-overlay-title {
        font-size: 18px;
    }
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    min-height: auto;
    padding: 56px 0 40px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero-grid {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 72px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

/* Mobile override - must be after base rule */
@media screen and (max-width: 768px) {
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    color: #0F172A;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 17px;
    font-weight: 400;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Hero CTAs */
.hero-content {
    max-width: 100%;
    overflow: hidden;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-ctas .btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
}

.hero-ctas .btn-primary {
    background-color: #00349A;
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 52, 154, 0.24);
}

.hero-ctas .btn-primary:hover {
    background-color: #002B7F;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 52, 154, 0.32);
}

.hero-ctas .btn-outline {
    background-color: transparent;
    color: #00349A;
    border: 2px solid #00349A;
}

.hero-ctas .btn-outline:hover {
    background-color: #F0F5FF;
    transform: translateY(-2px);
}

.hero-features {
    display: none; /* Removido para ficar igual ao MSE */
}

/* Blog Card - Estilo MSE Melhorado */
/* Hero Blog - Estilo MSE com retângulos sobrepostos */
.hero-blog-wrapper {
    margin-top: 56px;
    margin-bottom: 0;
    width: 100%;
}

.hero-blog-header {
    margin-bottom: 16px;
    width: 100%;
}

.hero-blog-title-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.hero-blog-title-link:hover {
    gap: 12px;
}

.hero-blog-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.hero-blog-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-blog-title-link:hover .hero-blog-arrow {
    transform: translateX(4px);
}

/* Carousel de Blog */
.hero-blog-carousel {
    position: relative;
    width: 100%;
    overflow: visible; /* Importante para mostrar os retângulos sobrepostos */
    padding: 20px 0 0 0;
    margin-bottom: 0;
}

.hero-blog-list {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinhar à esquerda */
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Item do Blog - Retângulo sobreposto com bordas arredondadas */
.hero-blog-item {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    margin-left: -20px; /* Sobreposição */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.4s ease;
    z-index: 1;
    cursor: pointer;
}

.hero-blog-item:first-child {
    margin-left: 0; /* Primeiro item encostado à esquerda */
    z-index: 4;
}

.hero-blog-item:nth-child(2) {
    z-index: 3;
}

.hero-blog-item:nth-child(3) {
    z-index: 2;
}

.hero-blog-item:nth-child(4) {
    z-index: 1;
}

/* Garantir que os links sejam clicáveis mesmo quando sobrepostos */
.hero-blog-card {
    position: relative;
    pointer-events: auto;
}

.hero-blog-item:hover .hero-blog-card {
    pointer-events: auto;
}

/* Efeitos hover serão gerenciados pelo JavaScript para mais controle */

/* Card do Blog - Retângulo com bordas arredondadas */
.hero-blog-card {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px; /* Bordas arredondadas, não círculo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.hero-blog-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hero-blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-radius: 16px; /* Bordas arredondadas, não círculo */
    z-index: 1;
}

.hero-blog-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    z-index: 2;
}

.hero-blog-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Desktop: ajustar tamanho dos retângulos */
@media (min-width: 1024px) {
    .hero-blog-item {
        width: 110px;
        height: 85px;
        margin-left: -25px;
    }
    
    .hero-blog-item:first-child {
        margin-left: 0; /* Primeiro sempre encostado à esquerda */
    }
    
    .hero-blog-card-title {
        font-size: 13px;
    }
}

/* Mobile: ajustar tamanho e ocultar sobreposição */
@media (max-width: 1023px) {
    .hero-blog-wrapper {
        display: none; /* Ocultar em mobile por enquanto */
    }
}

/* Hero Media */
.hero-media {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .main-card-wrapper {
        padding: 0 12px;
        margin: 20px auto 60px;
    }
    
    .main-card {
        border-radius: 32px;
    }
    
    .hero-carousel .carousel-slide {
        min-width: 100% !important;
        margin-right: 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 40px 0 48px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 32px;
    }
    
    .hero-ctas {
        margin-bottom: 40px;
    }
    
    .hero-blog-card {
        max-width: 100%;
    }
    
    .carousel-case-label {
        padding: 16px 24px;
    }
    
    .case-label-text {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .main-card-wrapper {
        padding: 0 10px;
        margin: 12px auto 48px;
    }
    
    .main-card {
        border-radius: 24px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 32px 0 40px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 28px;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-blog-card {
        max-width: 100%;
    }
    
    .carousel-case-label {
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .case-label-text {
        font-size: 13px;
    }
    
    .case-label-icons {
        align-self: flex-end;
    }
    
    .case-label-icon {
        width: 26px;
        height: 26px;
    }
}

/* Extra small devices (phones, 375px and down) */
@media (max-width: 480px) {
    .main-card-wrapper {
        padding: 0 6px;
        margin: 6px auto 60px;
    }
    
    .main-card {
        border-radius: 16px;
        overflow: visible;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 16px 0 20px;
        overflow: visible;
    }
    
    .hero-section .container {
        padding: 0 16px;
        overflow: visible;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hero-content {
        padding-right: 0;
        overflow: visible;
    }
    
    .hero-title {
        font-size: 22px;
        line-height: 1.25;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .hero-ctas {
        margin-bottom: 16px;
    }
    
    .hero-ctas .btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-media {
        margin-top: 12px;
    }
    
    /* Topbar mobile */
    .topbar {
        padding: 6px 0;
    }
    
    .topbar-links {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .topbar-links .btn {
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* ===================================
   CAROUSEL (GENÉRICO)
   =================================== */

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: calc((100% - 72px) / 4);
    flex-shrink: 0;
}

/* Override para hero carousel - sempre 100% */
.hero-carousel .carousel-slide {
    min-width: 100% !important;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.8;
    border: none;
    cursor: pointer;
}

.carousel-btn:hover {
    background-color: #FFFFFF;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Controles na parte inferior para carrosséis de obras, projetos e eletrocentro */
.obras-section .carousel-controls-bottom {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 24px;
    margin-bottom: 0;
    padding: 0;
    position: relative;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

.obras-section .carousel-controls-bottom .carousel-btn {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(241, 245, 249, 0.95);
    border: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 0.8;
    visibility: visible;
    flex-shrink: 0;
}

.obras-section .carousel-controls-bottom .carousel-btn:hover {
    background-color: #FFFFFF;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.obras-section .carousel-controls-bottom .carousel-btn-prev {
    order: 1;
    margin-right: auto;
}

.obras-section .carousel-controls-bottom .carousel-btn-next {
    order: 2;
    margin-left: auto;
}

.obras-section .carousel-controls-bottom svg {
    width: 20px;
    height: 20px;
    stroke: #0F172A;
}

.carousel-btn:focus-visible {
    outline: 2px solid #00349A;
    outline-offset: 2px;
}

/* Hero carousel - botões menores e mais discretos */
.hero-carousel .carousel-btn {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

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

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

.carousel-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

/* Hero carousel - pagination dentro da imagem */
.hero-carousel .carousel-pagination {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background-color: #FFFFFF;
    width: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hero carousel - dots brancos */
.hero-carousel .carousel-dot {
    background-color: rgba(255, 255, 255, 0.6);
    width: 8px;
    height: 8px;
}

.hero-carousel .carousel-dot.active {
    background-color: #FFFFFF;
    width: 24px;
    border-radius: 4px;
}

/* Hero Carousel específico - Estilo MSE */
.slider-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden; /* Garantir que não ultrapasse as bordas */
    /* Não usar overflow: hidden aqui, apenas no .hero-carousel */
}

.hero-carousel {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden; /* Esconde o que está fora do container */
    aspect-ratio: 16 / 9; /* Proporção mais compacta */
    min-height: 400px;
    max-height: 500px;
    box-sizing: border-box;
}

.hero-carousel .carousel-track {
    display: flex;
    height: 100%;
    position: relative;
    gap: 0 !important; /* Sem gap para movimento 1:1 */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Largura será definida pelo JavaScript para acomodar todos os slides */
    /* Garantir que os slides sejam visíveis */
    align-items: stretch;
}

/* Item do Slide - Estilo MSE */
.hero-carousel .item-slide {
    position: relative;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Desktop: mostrar 1 slide completo */
@media (min-width: 1024px) {
    .hero-carousel .item-slide {
        width: 100%;
        min-width: 100%;
        margin-right: 0 !important; /* Sem margem para movimento 1:1 */
    }
}

/* Mobile: mostrar 1 slide completo */
@media (max-width: 1023px) {
    .hero-carousel .item-slide {
        min-width: 100%;
        width: 100%;
        margin-right: 0;
    }
}

/* Imagem do Slide */
.item-slide-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.item-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Máscara Preta (overlay escuro) */
.mascara-preta {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Rodapé do Item (barra de controles inferior) */
.rodape-item-slide {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 28px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rodape-item-slide .texto {
    flex: 1;
    min-width: 0;
}

.rodape-item-slide .texto .absolut {
    display: block;
}

.rodape-item-slide .text-block-5 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.4;
}

/* Botão Play */
.rodape-item-slide .play {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rodape-item-slide .play:hover {
    background-color: #FFFFFF;
    transform: scale(1.1);
}

/* Redes Sociais */
.redes-sociais-icones {
    display: flex;
    align-items: center;
    gap: 8px;
}

.redes-sociais-icones .grid {
    display: flex;
    gap: 8px;
}

.redes-sociais-icones .carousel-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.redes-sociais-icones .carousel-social-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.redes-sociais-icones .carousel-social-btn.yt {
    background-color: rgba(255, 0, 0, 0.8);
}

.redes-sociais-icones .carousel-social-btn.ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Botões de Navegação (fora do slider) */
.carousel-nav-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 30;
    pointer-events: none;
}

.carousel-nav-buttons .carousel-btn {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-nav-buttons .carousel-btn:hover {
    background-color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.carousel-nav-buttons .carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Faixa com nome do case (estilo MSE) - Na base da imagem */
.carousel-case-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 18px 28px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.case-label-text {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    flex: 1;
}

.case-label-icons {
    display: flex;
    gap: 8px;
    background-color: #E0E7FF;
    padding: 8px 16px;
    border-radius: 24px;
}

.case-label-icon {
    width: 28px;
    height: 28px;
    background-color: #00349A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-label-icon:hover {
    background-color: #1D4ED8;
    transform: scale(1.1);
}


.carousel-social-youtube {
    background-color: #FF0000;
}

.carousel-social-youtube:hover {
    background-color: #CC0000;
}

.carousel-social-linkedin {
    background-color: #0A66C2;
}

.carousel-social-linkedin:hover {
    background-color: #084D94;
}

.carousel-social-instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.carousel-social-instagram:hover {
    background: linear-gradient(45deg, #E67520, #CC1F6A, #70259E);
}

/* Ajustes para o case-label antigo (ocultar ou ajustar) */
.carousel-case-label {
    display: none; /* Ocultar o antigo, usar nova barra de controles */
}

/* Aspect ratio aplicado ao hero-carousel (incluindo padding) */
.hero-carousel {
    aspect-ratio: 3 / 2;
}

.hero-carousel .carousel-wrapper {
    position: relative;
    min-height: 0;
    width: 100%;
    height: 100%;
}

/* Fallback para navegadores antigos */
@supports not (aspect-ratio: 3 / 2) {
    .hero-carousel::before {
        content: "";
        display: block;
        padding-bottom: 66.29%; /* 700/1056 = 0.6629 -> proporção 1056x700 */
    }
    
    .hero-carousel {
        position: relative;
    }
    
    .hero-carousel::before {
        display: none;
    }
}

.hero-carousel .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    position: relative;
    will-change: transform;
    gap: 0 !important; /* Sem gap para movimento 1:1 */
}

/* Responsividade do Carousel */
@media (max-width: 1024px) {
    .carousel-slide {
        min-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        min-width: 100%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn-prev {
        left: 8px;
    }
    
    .carousel-btn-next {
        right: 8px;
    }
    
    .slider-hero {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        border-radius: 16px;
    }
    
    .hero-carousel {
        aspect-ratio: 4 / 3;
        min-height: 400px;
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }
    
    .hero-carousel .carousel-track {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-carousel .item-slide {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }
    
    .item-slide-image {
        width: 100%;
        max-width: 100%;
    }
    
    .item-slide-image img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .rodape-item-slide {
        padding: 14px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .rodape-item-slide .text-block-5 {
        font-size: 14px;
    }
    
    .rodape-item-slide .play {
        width: 36px;
        height: 36px;
    }
    
    .redes-sociais-icones .carousel-social-btn {
        width: 28px;
        height: 28px;
    }
    
    .redes-sociais-icones .carousel-social-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .carousel-nav-buttons {
        padding: 0 8px;
    }
    
    .carousel-nav-buttons .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* Tablet (iPad) - 768px a 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .slider-hero {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .hero-carousel {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-carousel .carousel-track {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-carousel .item-slide {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .item-slide-image {
        width: 100%;
        max-width: 100%;
    }
    
    .item-slide-image img {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .slider-hero {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        border-radius: 12px;
    }
    
    .hero-carousel {
        aspect-ratio: 4 / 3;
        min-height: 350px;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }
    
    .hero-carousel .carousel-track {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-carousel .item-slide {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .item-slide-image {
        width: 100%;
        max-width: 100%;
    }
    
    .item-slide-image img {
        width: 100%;
        max-width: 100%;
    }
    
    .rodape-item-slide {
        padding: 12px 16px;
    }
    
    .rodape-item-slide .text-block-5 {
        font-size: 13px;
    }
}

/* ===================================
   MAIN CONTENT
   =================================== */

.main-content {
    background-color: #FFFFFF;
}

/* ===================================
   HERO MESSAGE + OBRAS WRAPPER - ESTILO MSE
   =================================== */

.hero-message-obras-wrapper {
    background-color: #F1F5F9; /* Fundo cinza claro unificado */
    padding: 0;
    margin: 0;
}

/* ===================================
   HERO MESSAGE - ESTILO MSE
   =================================== */

.hero-message {
    padding: 80px 10px 60px;
    background-color: transparent;
    margin: 0;
}

.hero-message-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-message-content h2 {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.3;
    color: #0F172A;
    margin: 0;
}

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

.hero-message-link {
    font-size: 16px;
    font-weight: 500;
    color: #00349A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-message-link:hover {
    color: #002B7F;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-message {
        padding: 60px 10px 40px;
    }
    
    .hero-message-content h2 {
        font-size: 28px;
    }
    
    .hero-message-link {
        font-size: 14px;
    }
}

/* ===================================
   CAROUSEL SECTIONS
   =================================== */

.carousel-section {
    padding: 80px 0;
}

.carousel-section:nth-child(even) {
    background-color: #F1F5F9;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
}

.section-link {
    font-size: 16px;
    font-weight: 500;
    color: #00349A;
}

.section-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .carousel-section {
        padding: 48px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* ===================================
   OBRAS SECTION - ESTILO MSE
   =================================== */

.obras-section {
    background-color: transparent; /* Fundo herdado do wrapper */
    padding: 0 10px 80px;
    margin: 0;
}

.obras-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.obras-title {
    font-size: 48px;
    font-weight: 700;
    color: #0F172A;
    text-transform: lowercase;
    margin: 0;
    line-height: 1;
}

.obras-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #00349A;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
}

.obras-link:hover {
    gap: 12px;
    color: #002B7F;
}

.obras-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Carousel de Obras */
.obras-section .obras-carousel {
    position: relative;
    overflow: hidden;
}

.obras-section .carousel-container {
    overflow: visible;
}

.obras-section .carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.obras-section .carousel-slide {
    min-width: calc((100% - 60px) / 4);
    flex-shrink: 0;
}

@media (max-width: 1400px) {
    .obras-section .carousel-slide {
        min-width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 1024px) {
    .obras-section .carousel-slide {
        min-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {
    .obras-section .carousel-slide {
        min-width: 100%;
    }
}

/* Card de Obra - Estilo MSE */
.obra-card-mse {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    aspect-ratio: 3 / 4;
    min-height: 400px;
}

.obra-card-mse:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.obra-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.obra-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.obra-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.obra-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.2;
}

.obra-card-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.3;
}

.obra-card-plus {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #0F172A;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.obra-card-plus:hover {
    background-color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.obra-card-plus span {
    display: block;
    margin-top: -2px;
}

/* Botões de navegação da seção de obras - posicionados nas laterais na parte inferior */
.obras-section .carousel-btn {
    position: absolute;
    bottom: -60px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(241, 245, 249, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.obras-section .carousel-btn:hover {
    background-color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.obras-section .obras-btn-prev,
.obras-section .projetos-btn-prev,
.obras-section .eletrocentro-btn-prev {
    left: 20px;
}

.obras-section .obras-btn-next,
.obras-section .projetos-btn-next,
.obras-section .eletrocentro-btn-next {
    right: 20px;
}

.obras-section .carousel-btn svg {
    width: 20px;
    height: 20px;
    stroke: #0F172A;
}

.obras-section .carousel-btn svg {
    width: 20px;
    height: 20px;
    stroke: #0F172A;
}

@media (max-width: 1200px) {
    .obras-section .obras-btn-prev {
        left: 16px;
    }
    
    .obras-section .obras-btn-next {
        right: 16px;
    }
}

@media (max-width: 768px) {
    .obras-section {
        padding: 0 10px 60px;
    }
    
    .obras-title {
        font-size: 36px;
    }
    
    .obras-link {
        font-size: 12px;
    }
    
    .obra-card-title {
        font-size: 20px;
    }
    
    .obra-card-subtitle {
        font-size: 14px;
    }
    
    .obra-card-plus {
        width: 40px;
        height: 40px;
        font-size: 24px;
        bottom: 16px;
        right: 16px;
    }
}

/* ===================================
   CARROSSEL CARD
   =================================== */

.carrossel-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carrossel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.carrossel-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.carrossel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carrossel-card:hover .carrossel-card-image img {
    transform: scale(1.05);
}

.carrossel-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.carrossel-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background-color: #00349A;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
}

.carrossel-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.carrossel-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 12px;
    line-height: 1.3;
}

.carrossel-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #334155;
    margin-bottom: 12px;
}

.carrossel-card-description {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 16px;
}

.carrossel-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #00349A;
    margin-top: auto;
}

.carrossel-card-link:hover {
    gap: 10px;
}

/* ===================================
   SEGMENTOS SECTION - CARROSSEL AUTOMÁTICO MSE
   =================================== */

.segmentos-section {
    padding: 80px 0;
    background-color: #F8FAFC;
    color: #0F172A;
    overflow: hidden;
    position: relative;
}

/* Versão da seção quando inserida dentro de outra seção */
.segmentos-section-inside {
    padding: 80px 0;
    background-color: #F8FAFC;
    color: #0F172A;
    overflow: hidden;
    position: relative;
    margin: 40px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 0;
    right: 0;
}

.segmentos-section-inside .segmentos-header-wrapper {
    max-width: 1200px;
    margin: 0 auto 64px;
    padding: 0 20px;
}

/* Garantir que os carrosséis também ocupem toda a largura */
.segmentos-section-inside .segmentos-carousel-wrapper {
    width: 100vw;
    margin-left: 0;
    left: 0;
    right: 0;
}

.segmentos-header-wrapper {
    margin-bottom: 64px;
}

.segmentos-header {
    text-align: center;
    margin-bottom: 0;
}

.section-title-white {
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.segmentos-subtitle {
    font-size: 20px;
    color: #64748B;
}

/* Carrossel Automático - 2 Andares */
.segmentos-carousel-wrapper {
    overflow: hidden;
    width: 100vw;
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 24px;
    left: 0;
    right: 0;
}

.segmentos-carousel-wrapper:last-child {
    margin-bottom: 0;
}

.segmentos-carousel-track {
    display: flex;
    gap: 20px;
    animation: scrollSegmentosForward 80s linear infinite;
    will-change: transform;
    width: max-content;
}

.segmentos-carousel-track-reverse {
    animation: scrollSegmentosReverse 80s linear infinite;
}

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

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

.segmentos-carousel-slide {
    flex-shrink: 0;
    width: 300px;
}

/* Pausar animação no hover */
.segmentos-carousel-wrapper:hover .segmentos-carousel-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .segmentos-section {
        padding: 48px 0;
    }
    
    .section-title-white {
        font-size: 28px;
    }
    
    .segmentos-subtitle {
        font-size: 16px;
    }
    
    .segmentos-carousel-slide {
        width: 240px;
    }
    
    .segmentos-carousel-track {
        animation-duration: 60s;
    }
    
    .segmento-card-mse {
        padding: 16px;
        min-height: 160px;
    }
    
    .segmento-icon {
        font-size: 32px;
    }
    
    .segmento-card-title {
        font-size: 18px;
    }
    
    .segmento-card-description {
        font-size: 13px;
    }
}

/* ===================================
   SEÇÃO DE CLIENTES - LOGOS
   =================================== */

.clientes-section {
    padding: 80px 0;
    background-color: #00349A;
    color: #FFFFFF;
    overflow: hidden;
    position: relative;
}

.clientes-header-wrapper {
    margin-bottom: 64px;
}

.clientes-header {
    text-align: center;
    margin-bottom: 0;
}

.clientes-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 16px;
}

/* Carrossel Automático - 2 Andares */
.clientes-carousel-wrapper {
    overflow: hidden;
    width: 100vw;
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 24px;
    left: 0;
    right: 0;
}

.clientes-carousel-wrapper:last-child {
    margin-bottom: 0;
}

.clientes-carousel-track {
    display: flex;
    gap: 32px;
    animation: scrollClientesForward 60s linear infinite;
    will-change: transform;
    width: max-content;
}

.clientes-carousel-track-reverse {
    animation: scrollClientesReverse 60s linear infinite;
}

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

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

.clientes-carousel-slide {
    flex-shrink: 0;
    width: 200px;
}

/* Card de Cliente */
.cliente-card-mse {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px 24px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.cliente-card-mse:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.cliente-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cliente-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.cliente-card-mse:hover .cliente-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* Pausar animação no hover */
.clientes-carousel-wrapper:hover .clientes-carousel-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .clientes-section {
        padding: 48px 0;
    }
    
    .clientes-header h2 {
        font-size: 28px;
    }
    
    .clientes-subtitle {
        font-size: 16px;
    }
    
    .clientes-carousel-slide {
        width: 160px;
    }
    
    .clientes-carousel-track {
        gap: 20px;
        animation-duration: 45s;
    }
    
    .cliente-card-mse {
        padding: 24px 16px;
        min-height: 120px;
    }
    
    .cliente-logo {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .clientes-carousel-slide {
        width: 140px;
    }
    
    .cliente-card-mse {
        padding: 20px 12px;
        min-height: 100px;
    }
    
    .cliente-logo {
        max-height: 50px;
    }
}

/* ===================================
   SEGMENTO CARD - ESTILO MSE
   =================================== */

.segmento-card-mse {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 180px;
    width: 100%;
}

.segmento-card-mse:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.segmento-card-icon {
    margin-bottom: 12px;
}

.segmento-icon {
    font-size: 28px;
    display: block;
    line-height: 1;
}

.segmento-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.segmento-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
    line-height: 1.3;
}

.segmento-card-description {
    font-size: 12px;
    color: #64748B;
    line-height: 1.4;
    flex-grow: 1;
}

/* Mantém compatibilidade com card antigo */
.segmento-card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 280px;
}

/* ===================================
   SERVIÇOS SECTION
   =================================== */

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

.section-header-center {
    text-align: center;
    margin-bottom: 64px;
}

.section-subtitle {
    font-size: 18px;
    color: #334155;
    margin-top: 12px;
}

/* Container para Sticky Scroll */
.servicos-sticky-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Card Sticky - Scroll Effect */
.servico-sticky-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
}

.servico-sticky-card:last-child {
    margin-bottom: 0;
}

/* ===================================
   CARD SERVIÇO MSE (STICKY SCROLL)
   =================================== */

.servico-card-mse-sticky {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.servico-card-mse-image {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servico-card-mse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.servico-card-mse-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #FFFFFF;
    padding: 40px;
}

.servico-card-mse-title {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 32px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.servico-card-mse-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: #FFFFFF;
    color: #00349A;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.servico-card-mse-button:hover {
    background-color: #00349A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.servico-card-mse-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

@media (max-width: 768px) {
    .servicos-section {
        padding: 48px 0;
    }
    
    .servicos-sticky-container {
        min-height: calc(100vh * 3.2);
    }
    
    .servico-sticky-card {
        margin-bottom: 24px;
    }
    
    .servico-card-mse-image {
        min-height: 80vh;
    }
    
    .servico-card-mse-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .servico-card-mse-button {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* ===================================
   SERVICO CARD GRANDE
   =================================== */

.servico-card-grande {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-height: 320px;
    transition: all 0.3s ease;
}

.servico-card-grande:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.servico-card-grande:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.servico-card-grande:nth-child(even) .servico-card-image {
    order: 2;
}

.servico-card-image {
    position: relative;
    height: 100%;
}

.servico-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servico-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 52, 154, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.servico-card-content {
    padding: 48px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.servico-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.servico-card-title {
    font-size: 28px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 16px;
    line-height: 1.3;
}

.servico-card-description {
    font-size: 16px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .servico-card-grande {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .servico-card-grande:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .servico-card-grande:nth-child(even) .servico-card-image {
        order: 1;
    }
    
    .servico-card-image {
        height: 240px;
    }
    
    .servico-card-content {
        padding: 32px;
    }
}

/* ===================================
   CTA IMAGE SECTION
   =================================== */

.cta-image-section {
    position: relative;
    margin: 80px 0;
}

.cta-image-container {
    position: relative;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    margin: 0 24px;
}

.cta-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 52, 154, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.cta-image-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    width: 90%;
    max-width: 700px;
}

.cta-image-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-image-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .cta-image-section {
        margin: 48px 0;
    }
    
    .cta-image-container {
        height: 400px;
        margin: 0 16px;
    }
    
    .cta-image-content h2 {
        font-size: 28px;
    }
    
    .cta-image-content p {
        font-size: 16px;
    }
}

/* ===================================
   CONTATO SECTION
   =================================== */

.contato-section {
    padding: 80px 0;
    background-color: #F1F5F9;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

.contato-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 16px;
}

.contato-info > p {
    font-size: 18px;
    color: #334155;
    margin-bottom: 40px;
}

.contato-detalhes {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contato-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contato-item svg {
    flex-shrink: 0;
    color: #00349A;
}

.contato-item strong {
    display: block;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 4px;
}

.contato-item p, .contato-item a {
    color: #334155;
}

.contato-item a:hover {
    color: #00349A;
}

/* Form */
.contato-form {
    background-color: #FFFFFF;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #0F172A;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00349A;
    box-shadow: 0 0 0 3px rgba(0, 52, 154, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #D1FAE5;
    color: #065F46;
    display: block;
}

.form-message.error {
    background-color: #FEE2E2;
    color: #991B1B;
    display: block;
}

@media (max-width: 1024px) {
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contato-form {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .contato-section {
        padding: 48px 0;
    }
    
    .contato-info h2 {
        font-size: 28px;
    }
    
    .contato-form {
        padding: 24px;
    }
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: #0F172A;
    color: #FFFFFF;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #CBD5E1;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact li {
    font-size: 14px;
    color: #CBD5E1;
}

.footer-contact strong {
    display: block;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.footer-contact a {
    color: #CBD5E1;
}

.footer-contact a:hover {
    color: #FFFFFF;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #00349A;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #94A3B8;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 0 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ===================================
   MODAL WHATSAPP FORM
   =================================== */

.whatsapp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.whatsapp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.whatsapp-modal-content {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 640px;
    padding: 48px;
    margin: auto;
    z-index: 10001;
    max-height: 90vh;
    overflow-y: auto;
}

.whatsapp-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748B;
}

.whatsapp-modal-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.whatsapp-form-header {
    margin-bottom: 32px;
    text-align: center;
}

.whatsapp-form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
    line-height: 1.3;
}

.whatsapp-form-header p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.6;
}

.whatsapp-form-header + form {
    margin-top: 0;
}

#whatsForm .form-group {
    margin-bottom: 24px;
}

#whatsForm .form-group label {
    display: block;
    font-weight: 500;
    color: #0F172A;
    margin-bottom: 8px;
    font-size: 14px;
}

#whatsForm .form-group input,
#whatsForm .form-group textarea,
#whatsForm .form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    color: #0F172A;
}

#whatsForm .form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

#whatsForm .form-group input:focus,
#whatsForm .form-group textarea:focus,
#whatsForm .form-group select:focus {
    outline: none;
    border-color: #00349A;
    box-shadow: 0 0 0 3px rgba(0, 52, 154, 0.1);
}

#whatsForm .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.whatsapp-direct-link {
    color: #00349A;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.whatsapp-direct-link:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .whatsapp-modal-content {
        padding: 32px 24px;
        max-width: 100%;
        margin: 20px;
        border-radius: 20px;
    }
    
    .whatsapp-form-header h2 {
        font-size: 20px;
    }
    
    .whatsapp-form-header p {
        font-size: 14px;
    }
    
    .whatsapp-modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }
}

/* ===================================
   PÁGINA HERO (Compartilhado)
   =================================== */

.page-hero {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    padding: 100px 0 80px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-hero:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero:after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.page-hero-subtitle {
    font-size: 22px;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .page-hero {
        padding: 80px 0 60px;
    }
    
    .page-hero-title {
        font-size: 48px;
    }
    
    .page-hero-subtitle {
        font-size: 19px;
    }
}

@media (max-width: 575px) {
    .page-hero {
        padding: 60px 0 48px;
    }
    
    .page-hero-title {
        font-size: 36px;
        letter-spacing: -0.5px;
    }
    
    .page-hero-subtitle {
        font-size: 17px;
    }
}

/* ===================================
   SECTION TITLES & UTILITIES
   =================================== */

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.subsection-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 48px 0 24px;
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-text);
    max-width: 900px;
    margin: 0 auto 32px;
}

@media (max-width: 991px) {
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .subsection-title {
        font-size: 24px;
    }
    
    .lead {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 28px;
    }
    
    .subsection-title {
        font-size: 22px;
    }
    
    .lead {
        font-size: 16px;
    }
}

/* ===================================
   PÁGINA EMPRESA
   =================================== */

/* História */
.empresa-historia {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: relative;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.historia-content {
    position: relative;
    padding-right: 20px;
}

.historia-content .section-title {
    font-size: 44px;
    margin-bottom: 32px;
    position: relative;
}

.historia-content .section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 2px;
}

.historia-content p {
    font-size: 18px;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 24px;
}

.historia-content p strong {
    color: var(--color-primary);
    font-weight: 600;
}

.historia-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid #E2E8F0;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 24px 16px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 82, 204, 0.15);
}

.stat-number {
    display: block;
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.historia-imagem {
    position: relative;
}

.historia-imagem:before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, rgba(0, 61, 153, 0.15) 100%);
    border-radius: 20px;
    z-index: 0;
}

.historia-imagem img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .historia-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .historia-content {
        padding-right: 0;
    }
    
    .historia-content .section-title {
        font-size: 36px;
    }
    
    .historia-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-top: 48px;
        padding-top: 32px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .historia-imagem:before {
        top: -12px;
        right: -12px;
    }
}

@media (max-width: 575px) {
    .empresa-historia {
        padding: 48px 0;
    }
    
    .historia-content .section-title {
        font-size: 32px;
    }
    
    .historia-content p {
        font-size: 16px;
    }
    
    .historia-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }
    
    .stat-item {
        padding: 20px 12px;
    }
    
    .stat-number {
        font-size: 42px;
    }
}

/* Missão, Visão e Valores */
.empresa-mvv {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
    position: relative;
    overflow: hidden;
}

.empresa-mvv:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%230052CC" opacity="0.05"/></svg>') repeat;
    pointer-events: none;
}

.empresa-mvv .container {
    position: relative;
    z-index: 1;
}

.empresa-mvv .section-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.mvv-card {
    background: #FFFFFF;
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mvv-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mvv-card:hover:before {
    transform: scaleX(1);
}

.mvv-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 48px rgba(0, 82, 204, 0.18);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, rgba(0, 61, 153, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.mvv-card:hover .mvv-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #FFFFFF;
}

.mvv-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.mvv-card p, .mvv-card ul {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    text-align: left;
}

.mvv-card ul {
    list-style: none;
    padding: 0;
}

.mvv-card ul li {
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
}

.mvv-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 16px;
}

@media (max-width: 991px) {
    .empresa-mvv {
        padding: 80px 0;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 48px;
    }
    
    .mvv-card {
        padding: 40px 32px;
    }
}

/* Benefícios */
.empresa-beneficios {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.empresa-beneficios .section-title {
    font-size: 42px;
}

.empresa-beneficios .section-subtitle {
    font-size: 19px;
    color: #64748B;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 64px;
}

.beneficio-card {
    background: #FFFFFF;
    padding: 40px 36px;
    border-radius: 20px;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.beneficio-card:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.beneficio-card:hover:before {
    opacity: 1;
}

.beneficio-card:hover {
    background: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(0, 82, 204, 0.12);
    transform: translateY(-8px);
}

.beneficio-icon {
    width: 72px;
    height: 72px;
    font-size: 36px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.08) 0%, rgba(0, 61, 153, 0.12) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.beneficio-card:hover .beneficio-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scale(1.1);
}

.beneficio-titulo {
    font-size: 21px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 14px;
}

.beneficio-descricao {
    font-size: 16px;
    line-height: 1.75;
    color: #64748B;
}

.beneficios-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 64px;
}

@media (max-width: 991px) {
    .empresa-beneficios {
        padding: 80px 0;
    }
    
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        margin-top: 48px;
    }
}

@media (max-width: 575px) {
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    .beneficio-card {
        padding: 32px 28px;
    }
    
    .beneficios-cta {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Equipamentos e Frota */
.empresa-equipamentos {
    padding: 100px 0;
    background: linear-gradient(135deg, #E0E7FF 0%, #F8FAFC 100%);
}

.empresa-equipamentos .section-title {
    font-size: 42px;
}

.equipamentos-content {
    max-width: 1000px;
    margin: 0 auto 48px;
}

.equipamentos-content .lead {
    font-size: 19px;
    line-height: 1.8;
    color: #475569;
}

.equipamentos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 64px 0 48px;
}

.equipamento-item {
    background: #FFFFFF;
    padding: 36px 28px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.equipamento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 82, 204, 0.12);
}

.equipamento-icon {
    font-size: 52px;
    margin-bottom: 20px;
    display: block;
}

.equipamento-item h4 {
    font-size: 19px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 10px;
}

.equipamento-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #64748B;
}

.industrializacao {
    background: #FFFFFF;
    padding: 56px 48px;
    border-radius: 24px;
    margin-top: 64px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.industrializacao:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.industrializacao .subsection-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.industrializacao > p {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
}

.industrializacao-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.industrializacao-item {
    padding: 28px 24px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.industrializacao-item:hover {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.05) 0%, rgba(0, 61, 153, 0.08) 100%);
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.industrializacao-item strong {
    display: block;
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.industrializacao-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

@media (max-width: 991px) {
    .empresa-equipamentos {
        padding: 80px 0;
    }
    
    .equipamentos-grid,
    .industrializacao-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .industrializacao {
        padding: 40px 32px;
    }
}

@media (max-width: 575px) {
    .equipamentos-grid,
    .industrializacao-grid {
        grid-template-columns: 1fr;
    }
    
    .industrializacao {
        padding: 32px 24px;
    }
}

/* Sustentabilidade e Certificações */
.empresa-sustentabilidade {
    padding: 100px 0;
    background: linear-gradient(135deg, #003D99 0%, #0052CC 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.empresa-sustentabilidade:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.empresa-sustentabilidade .container {
    position: relative;
    z-index: 1;
}

.empresa-sustentabilidade .section-title {
    font-size: 42px;
    color: #FFFFFF;
}

.empresa-sustentabilidade .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
}

.empresa-sustentabilidade .subsection-title {
    color: #FFFFFF;
    font-size: 34px;
}

.sustentabilidade-content {
    max-width: 1000px;
    margin: 0 auto 48px;
}

.sustentabilidade-content .lead {
    font-size: 19px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.esg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin: 64px 0;
}

.esg-item {
    background: rgba(255, 255, 255, 0.12);
    padding: 40px 36px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.esg-item:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.esg-item h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.esg-item ul {
    list-style: none;
    padding: 0;
}

.esg-item ul li {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
}

.esg-item ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4BFFA5;
    font-weight: bold;
    font-size: 18px;
}

.certificacoes {
    margin-top: 80px;
}

.certificacoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 64px 0 48px;
}

.certificacao-card {
    background: #FFFFFF;
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.certificacao-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4BFFA5 0%, #00D9FF 100%);
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.certificacao-card:hover:before {
    transform: scaleX(1);
}

.certificacao-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.25);
}

.certificacao-icon {
    width: 80px;
    height: 80px;
    font-size: 40px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.08) 0%, rgba(0, 61, 153, 0.12) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.certificacao-card:hover .certificacao-icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scale(1.1) rotate(-5deg);
}

.certificacao-titulo {
    font-size: 20px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 14px;
}

.certificacao-descricao {
    font-size: 15px;
    line-height: 1.7;
    color: #64748B;
}

.sustentabilidade-cta {
    text-align: center;
    margin-top: 64px;
}

.sustentabilidade-cta .btn {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
    .empresa-sustentabilidade {
        padding: 80px 0;
    }
    
    .esg-grid,
    .certificacoes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .esg-item {
        padding: 32px 28px;
    }
}

@media (max-width: 575px) {
    .esg-grid,
    .certificacoes-grid {
        grid-template-columns: 1fr;
    }
    
    .certificacoes {
        margin-top: 60px;
    }
}

/* ===================================
   PÁGINA SERVIÇOS
   =================================== */

.servicos-intro {
    padding: 48px 0;
    background: #FFFFFF;
}

.servicos-principais {
    padding: 0 0 80px;
    background: #FFFFFF;
}

.servicos-grid-principais {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.servico-card-principal {
    background: #F8FAFC;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.servico-card-principal:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.servico-principal-imagem {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.servico-principal-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.servico-card-principal:hover .servico-principal-imagem img {
    transform: scale(1.05);
}

.servico-principal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.servico-principal-content {
    padding: 32px;
}

.servico-principal-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.servico-principal-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.servico-principal-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 20px;
}

.servico-destaques {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
}

.servico-destaques li {
    font-size: 15px;
    color: var(--color-text);
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.servico-destaques li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.servicos-diferenciais {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.diferencial-item {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.diferencial-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.diferencial-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.diferencial-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.servicos-cta,
.servico-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 48px 64px;
    border-radius: 24px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #FFFFFF;
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 991px) {
    .servicos-grid-principais {
        grid-template-columns: 1fr;
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box {
        padding: 40px 32px;
    }
    
    .cta-box h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 575px) {
    .servico-principal-imagem {
        height: 200px;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   PÁGINAS INDIVIDUAIS DE SERVIÇO
   =================================== */

.servico-hero {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    padding: 60px 0 48px;
    color: #FFFFFF;
}

.servico-breadcrumb {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.servico-breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.servico-breadcrumb a:hover {
    border-bottom-color: #FFFFFF;
}

.servico-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.servico-hero-lead {
    font-size: 20px;
    line-height: 1.7;
    max-width: 900px;
    opacity: 0.95;
}

.servico-escopo {
    padding: 80px 0;
    background: #FFFFFF;
}

.escopo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.escopo-item {
    position: relative;
    padding: 32px;
    border-radius: 20px;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.escopo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
    transition: opacity 0.3s ease;
}

.escopo-item:hover::before {
    opacity: 0.6;
}

.escopo-item-content {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    max-width: 420px;
}

.escopo-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.escopo-item p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.servico-diferenciais {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 100%);
}

.diferenciais-lista {
    max-width: 900px;
    margin: 48px auto 0;
}

.diferencial-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #FFFFFF;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.diferencial-icon-box {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.diferencial-texto h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.diferencial-texto p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
}

.servico-processo {
    padding: 80px 0;
    background: #FFFFFF;
}

.processo-timeline {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.processo-timeline:before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary) 0%, var(--color-secondary) 100%);
    z-index: 0;
}

.processo-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.processo-numero {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(0, 82, 204, 0.3);
}

.processo-step h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.processo-step p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
}

@media (max-width: 991px) {
    .servico-hero-title {
        font-size: 36px;
    }
    
    .servico-hero-lead {
        font-size: 18px;
    }
    
    .escopo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .processo-timeline {
        flex-direction: column;
    }
    
    .processo-timeline:before {
        display: none;
    }
}

@media (max-width: 575px) {
    .servico-hero-title {
        font-size: 28px;
    }
    
    .diferencial-row {
        flex-direction: column;
        padding: 24px;
    }
}

/* ===================================
   PÁGINA CASES
   =================================== */

.casos-intro {
    padding: 48px 0;
    background: #FFFFFF;
}

.casos-filtros {
    padding: 32px 0;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.filtros-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 10px 24px;
    border: 2px solid #CBD5E0;
    background: #FFFFFF;
    color: var(--color-text);
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filtro-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filtro-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

.casos-grid-section {
    padding: 64px 0;
    background: #FFFFFF;
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.caso-card {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    min-height: 360px;
    padding: 0;
    background-color: #0F172A;
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.25s ease;
    opacity: 1;
}

.caso-card:before,
.caso-card:after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.caso-card:before {
    background: linear-gradient(180deg, rgba(5, 8, 30, 0.85) 0%, rgba(5, 8, 30, 0.35) 45%, rgba(5, 8, 30, 0.08) 70%, rgba(5, 8, 30, 0.85) 100%);
    opacity: 0.95;
}

.caso-card:after {
    background: radial-gradient(circle at top center, rgba(255, 255, 255, 0.25) 0%, transparent 55%);
    opacity: 0.65;
    mix-blend-mode: screen;
}

.caso-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.42);
}

.caso-card:hover:after {
    opacity: 0.85;
}

.caso-card-link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 32px 32px 28px;
    text-decoration: none;
    color: #FFFFFF;
}

.caso-card-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.caso-card-meta {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.caso-card-meta span {
    font-weight: 500;
    letter-spacing: normal;
}

.caso-card-titulo {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    color: #FFFFFF;
}

.caso-card-footer {
    margin-top: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.caso-card-footer-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.caso-card-local {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.caso-card-local svg {
    flex-shrink: 0;
}

.caso-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
    transition: gap 0.3s ease, opacity 0.3s ease;
}

.caso-card:hover .caso-card-cta {
    gap: 10px;
    opacity: 1;
}

.caso-card-plus {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.caso-card:hover .caso-card-plus {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

.casos-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
}

@media (max-width: 1200px) {
    .casos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .casos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filtros-wrapper {
        gap: 8px;
    }
    
    .filtro-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* ===================================
   PÁGINA DE DETALHE DO CASE
   =================================== */

.caso-heading {
    padding: 80px 0 16px;
    background: #FFFFFF;
}

.caso-heading-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.caso-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.caso-back-link:hover {
    color: var(--color-primary);
}

.caso-heading h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.caso-headline {
    font-size: 18px;
    color: var(--color-text-light);
}

/* Hero Image - caso-detalhe.php */
.caso-hero-image {
    padding: 40px 20px 60px;
    background: #f8f9fa;
}

.caso-hero-image > .container {
    max-width: 80% !important;
    margin: 0 auto;
}

.caso-hero-img-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.caso-hero-img-wrapper img,
.caso-hero-img-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.caso-informacoes-modern {
    padding: 100px 0;
    background: #F8FAFC;
}

.caso-info-card {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid #E2E8F0;
}

.caso-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.caso-info-label {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-bottom: 8px;
    display: block;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status-badge.concluido {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.andamento {
    background: #FFF4E6;
    color: #A15C00;
}

.caso-metricas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin: 36px 0 32px;
}

.caso-metrica-item {
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.08) 0%, rgba(0, 61, 153, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.caso-metrica-valor {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.caso-descricao {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 32px;
}

.caso-info-list h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.caso-info-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.caso-info-list li {
    font-size: 15px;
    color: var(--color-text);
    padding-left: 26px;
    position: relative;
}

.caso-info-list li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--color-primary);
}

.caso-fotos {
    padding: 100px 0;
    background: #FFFFFF;
}

.caso-fotos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.caso-fotos-header span {
    font-size: 14px;
    color: var(--color-text-light);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.galeria-item {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-zoom {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.galeria-zoom:hover {
    background: #FFFFFF;
    transform: scale(1.1);
}

/* Lightbox */
.galeria-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.galeria-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: #FFFFFF;
    transform: scale(1.1);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.casos-relacionados {
    padding: 80px 0;
    background: #FFFFFF;
}

.casos-relacionados-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.caso-card-mini {
    background: #F8FAFC;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.caso-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.caso-card-mini a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.caso-mini-imagem {
    height: 200px;
    overflow: hidden;
}

.caso-mini-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.caso-card-mini:hover .caso-mini-imagem img {
    transform: scale(1.05);
}

.caso-card-mini h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    padding: 20px 20px 12px;
}

.caso-mini-cta {
    display: block;
    padding: 0 20px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

@media (max-width: 991px) {
    .caso-heading h1 {
        font-size: 36px;
    }
    
    .caso-hero-img-wrapper {
        width: 90%;
    }
    
    .caso-info-card {
        padding: 36px;
    }
    
    .caso-metricas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .galeria-grid,
    .casos-relacionados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .caso-heading h1 {
        font-size: 28px;
    }
    
    .caso-hero-zoom {
        height: 150vh;
    }
    
    .hero-zoom-sticky {
        top: 70px;
        height: calc(100vh - 80px);
    }
    
    .caso-hero-img-wrapper {
        width: 95%;
        border-radius: 12px;
    }
    
    .caso-info-card {
        padding: 28px;
        border-radius: 24px;
    }
    
    .caso-metricas-grid,
    .galeria-grid,
    .casos-relacionados-grid {
        grid-template-columns: 1fr;
    }
    
    .caso-info-list ul {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CLIENTE - FORMULÁRIO DE BRIEFING
   ============================================ */

.cliente-section {
    padding: 60px 0;
    min-height: calc(100vh - 300px);
}

.cliente-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

/* Coluna Esquerda: Conteúdo Emocional */
.cliente-content {
    position: sticky;
    top: 120px;
}

.cliente-title {
    font-size: 48px;
    font-weight: 700;
    color: #00349A;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cliente-subtitle {
    font-size: 18px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cliente-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
}

.cliente-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #334155;
    line-height: 1.5;
}

.cliente-icon-check {
    width: 24px;
    height: 24px;
    color: #00349A;
    flex-shrink: 0;
    margin-top: 2px;
}

.cliente-trust {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #E2E8F0;
}

.cliente-trust-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.cliente-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cliente-trust-badge {
    display: inline-block;
    padding: 10px 20px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #64748B;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cliente-trust-badge:hover {
    border-color: #00349A;
    color: #00349A;
}

/* Coluna Direita: Formulário */
.cliente-form-wrapper {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.cliente-form {
    width: 100%;
}

/* Stepper Cliente */
.cliente-stepper {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid #F1F5F9;
    width: 100%;
}

.cliente-stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.cliente-stepper-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 3px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.cliente-stepper-item.active .cliente-stepper-circle {
    background: #00349A;
    border-color: #00349A;
    box-shadow: 0 0 0 4px rgba(0, 52, 154, 0.1);
}

.cliente-stepper-item.completed .cliente-stepper-circle {
    background: #00349A;
    border-color: #00349A;
}

.cliente-stepper-number {
    font-size: 18px;
    font-weight: 700;
    color: #94A3B8;
    transition: color 0.3s ease;
    line-height: 1;
}

.cliente-stepper-item.active .cliente-stepper-number,
.cliente-stepper-item.completed .cliente-stepper-number {
    color: #FFFFFF;
}

.cliente-stepper-text {
    font-size: 14px;
    font-weight: 600;
    color: #94A3B8;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.cliente-stepper-item.active .cliente-stepper-text {
    color: #00349A;
}

.cliente-stepper-connector {
    flex: 1;
    height: 3px;
    background: #E2E8F0;
    margin: 0;
    border-radius: 2px;
    align-self: center;
    position: relative;
    top: -12px;
    min-width: 0;
}

.cliente-stepper-item.completed + .cliente-stepper-connector {
    background: linear-gradient(to right, #00349A 0%, #E2E8F0 100%);
}

/* Form Steps */
.form-step {
    display: none !important;
}

.form-step.active {
    display: block !important;
}

.form-step-title {
    font-size: 32px;
    font-weight: 700;
    color: #00349A;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.form-field-group {
    margin-bottom: 40px;
}

.form-field-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 16px;
}

/* Cards Grid - Tipo de Projeto - Espaçados */
.form-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.form-cards-grid.form-cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.form-card {
    padding: 24px 20px;
    min-height: 120px;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

.form-card:hover {
    border-color: #00349A;
    background: #F8FAFC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 52, 154, 0.1);
}

.form-card.active {
    border-color: #00349A;
    background: #EFF6FF;
    color: #00349A;
    box-shadow: 0 0 0 3px rgba(0, 52, 154, 0.1);
}

.form-card-icon {
    font-size: 32px;
    line-height: 1;
}

/* Prazo Options - Botões Grandes */
.form-prazo-options {
    display: flex;
    gap: 16px;
}

.form-prazo-option {
    flex: 1;
    padding: 20px 16px;
    min-height: 80px;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.form-prazo-option:hover {
    border-color: #00349A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 52, 154, 0.1);
}

.form-prazo-option.active {
    border-color: #00349A;
    background: #EFF6FF;
    box-shadow: 0 0 0 3px rgba(0, 52, 154, 0.1);
}

.prazo-label {
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
}

.form-prazo-option.active .prazo-label {
    color: #00349A;
}

.prazo-desc {
    font-size: 13px;
    color: #64748B;
    font-weight: 400;
}

.form-microtext {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-top: 32px;
    margin-bottom: 40px;
    font-style: italic;
}

/* Services Grid - Cards Espaçados */
.form-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.form-service-card {
    position: relative;
    padding: 24px 20px;
    min-height: 140px;
    border: 2px solid #E2E8F0;
    border-radius: 16px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

.form-service-card:hover {
    border-color: #00349A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 52, 154, 0.1);
}

.form-service-card.active {
    border-color: #00349A;
    background: #EFF6FF;
    color: #00349A;
    box-shadow: 0 0 0 3px rgba(0, 52, 154, 0.1);
}

.form-service-icon {
    font-size: 32px;
    line-height: 1;
}

.form-service-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Form Fields */
.form-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-field {
    margin-bottom: 0;
}

.form-field:last-child {
    grid-column: 1 / -1;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 16px;
    color: #1E293B;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #FFFFFF;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #00349A;
    box-shadow: 0 0 0 4px rgba(0, 52, 154, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Form Actions - Botões Grandes */
.form-step-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid #F1F5F9;
}

.form-step-actions-final {
    flex-direction: column;
    align-items: stretch;
}

.btn-next,
.btn-prev {
    min-width: 160px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-next:hover,
.btn-prev:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 52, 154, 0.2);
}

.btn-large {
    width: 100%;
    padding: 20px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    min-height: 60px;
}

.form-success-text {
    text-align: center;
    font-size: 14px;
    color: #64748B;
    margin-top: 16px;
    line-height: 1.6;
}

/* Resumo Dinâmico */
.cliente-resumo {
    position: sticky;
    top: 120px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px;
    height: fit-content;
}

.resumo-title {
    font-size: 18px;
    font-weight: 700;
    color: #00349A;
    margin-bottom: 24px;
}

.resumo-content {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

.resumo-empty {
    color: #94A3B8;
    font-style: italic;
}

.resumo-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.resumo-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.resumo-item-label {
    font-weight: 600;
    color: #64748B;
    margin-bottom: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resumo-item-value {
    color: #1E293B;
}

.resumo-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.resumo-service-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #EFF6FF;
    color: #00349A;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Responsive Cliente */
@media (max-width: 1280px) {
    /* Ajustes para telas menores */
}

@media (max-width: 1024px) {
    .cliente-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .cliente-content {
        position: static;
    }
    
    .cliente-title {
        font-size: 36px;
    }
    
    .form-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cliente-section {
        padding: 40px 0;
    }
    
    .cliente-form {
        padding: 24px;
    }
    
    .cliente-title {
        font-size: 32px;
    }
    
    .form-step-title {
        font-size: 20px;
    }
    
    .form-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-fields-grid {
        grid-template-columns: 1fr;
    }
    
    .form-step-actions {
        flex-direction: column;
    }
    
    .btn-next,
    .btn-prev {
        width: 100%;
    }
    
    .cliente-stepper {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .cliente-stepper-connector {
        display: none;
    }
    
    .cliente-stepper-item {
        flex: 0 0 auto;
    }
}

/* ============================================
   FORNECEDOR - FORMULÁRIO DE CADASTRO
   ============================================ */

.fornecedor-section {
    padding: 60px 0;
    min-height: calc(100vh - 300px);
}

.fornecedor-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

/* Coluna Esquerda: Conteúdo Emocional */
.fornecedor-content {
    position: sticky;
    top: 120px;
}

.fornecedor-title {
    font-size: 48px;
    font-weight: 700;
    color: #00349A;
    line-height: 1.2;
    margin-bottom: 24px;
}

.fornecedor-subtitle {
    font-size: 18px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 40px;
}

.fornecedor-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
}

.fornecedor-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #334155;
    line-height: 1.5;
}

.fornecedor-icon-check {
    width: 24px;
    height: 24px;
    color: #00349A;
    flex-shrink: 0;
    margin-top: 2px;
}

.fornecedor-logo {
    margin-bottom: 40px;
}

/* Coluna Direita: Formulário */
.fornecedor-form-wrapper {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.fornecedor-form {
    width: 100%;
}

/* Stepper Premium - Fornecedor */
.fornecedor-stepper {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid #F1F5F9;
    width: 100%;
}

.fornecedor-stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.fornecedor-stepper-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 3px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.fornecedor-stepper-item.active .fornecedor-stepper-circle {
    background: #00349A;
    border-color: #00349A;
    box-shadow: 0 0 0 4px rgba(0, 52, 154, 0.1);
}

.fornecedor-stepper-item.completed .fornecedor-stepper-circle {
    background: #00349A;
    border-color: #00349A;
}

.fornecedor-stepper-number {
    font-size: 18px;
    font-weight: 700;
    color: #94A3B8;
    transition: color 0.3s ease;
    line-height: 1;
}

.fornecedor-stepper-item.active .fornecedor-stepper-number,
.fornecedor-stepper-item.completed .fornecedor-stepper-number {
    color: #FFFFFF;
}

.fornecedor-stepper-text {
    font-size: 14px;
    font-weight: 600;
    color: #94A3B8;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.fornecedor-stepper-item.active .fornecedor-stepper-text {
    color: #00349A;
}

.fornecedor-stepper-connector {
    flex: 1;
    height: 3px;
    background: #E2E8F0;
    margin: 0;
    border-radius: 2px;
    align-self: center;
    position: relative;
    top: -12px;
    min-width: 0;
}

.fornecedor-stepper-item.completed + .fornecedor-stepper-connector {
    background: linear-gradient(to right, #00349A 0%, #E2E8F0 100%);
}

/* Segmented Control */
.segmented-control {
    display: flex;
    gap: 8px;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.segmented-option {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.segmented-option:hover {
    color: #00349A;
    background: rgba(0, 52, 154, 0.05);
}

.segmented-option.active {
    background: #FFFFFF;
    color: #00349A;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* Checkbox Group */
.form-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.form-checkbox-group-horizontal {
    flex-direction: row;
}

.form-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
}

.form-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00349A;
}

/* Radio Group */
.form-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.form-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
}

.form-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00349A;
}

/* Form Ambos Options */
.form-ambos-options {
    margin-top: 16px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.form-ambos-block {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid #E2E8F0;
}

.form-ambos-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-subsection-title {
    font-size: 20px;
    font-weight: 700;
    color: #00349A;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
}

.form-cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.form-field-others {
    margin-top: 16px;
}

/* Responsive Fornecedor */
@media (max-width: 1024px) {
    .fornecedor-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .fornecedor-content {
        position: static;
    }
    
    .fornecedor-title {
        font-size: 36px;
    }
    
    .form-cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .segmented-control {
        flex-direction: column;
    }
    
    .segmented-option {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .fornecedor-section {
        padding: 40px 0;
    }
    
    .fornecedor-form-wrapper {
        padding: 24px;
    }
    
    .fornecedor-title {
        font-size: 32px;
    }
    
    .form-step-title {
        font-size: 20px;
    }
    
    .form-cards-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .form-fields-grid {
        grid-template-columns: 1fr;
    }
    
    .form-step-actions {
        flex-direction: column;
    }
    
    .btn-next,
    .btn-prev {
        width: 100%;
    }
    
    .fornecedor-stepper {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .fornecedor-stepper-connector {
        display: none;
    }
    
    .fornecedor-stepper-item {
        flex: 0 0 auto;
    }
    
    .form-checkbox-group,
    .form-radio-group {
        flex-direction: column;
    }
}

/* ===================================
   LINKS TURN KEY
   =================================== */

a.turn-key-link {
    color: #00349A;
    text-decoration: underline;
    text-decoration-color: #00349A;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
    font-weight: inherit;
}

a.turn-key-link:hover {
    color: #1D4ED8;
    text-decoration-color: #1D4ED8;
}

/* Ajuste para contexto de texto branco */
.section-title-white a.turn-key-link,
.segmentos-subtitle a.turn-key-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration-color: rgba(255, 255, 255, 0.95);
}

.section-title-white a.turn-key-link:hover,
.segmentos-subtitle a.turn-key-link:hover {
    color: #fff;
    text-decoration-color: #fff;
}

/* Ajuste para contexto de texto escuro */
.beneficio-titulo a.turn-key-link,
.beneficio-descricao a.turn-key-link {
    color: #00349A;
    text-decoration-color: #00349A;
}

.beneficio-titulo a.turn-key-link:hover,
.beneficio-descricao a.turn-key-link:hover {
    color: #1D4ED8;
    text-decoration-color: #1D4ED8;
}

/* ===================================
   TURN KEY - ETAPAS GRID (5 CARDS)
   =================================== */

.turnkey-etapas-grid {
    display: grid;
    gap: 24px;
    margin-top: 3rem;
}

/* Desktop: 5 cards em uma linha (≥ 1200px) */
@media (min-width: 1200px) {
    .turnkey-etapas-grid {
        grid-template-columns: repeat(5, minmax(220px, 1fr));
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tablet: 3 cards em cima, 2 embaixo centralizados (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .turnkey-etapas-grid {
        grid-template-columns: repeat(3, minmax(260px, 1fr));
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        justify-items: stretch;
    }
    
    /* Os 3 primeiros cards ocupam as 3 colunas normalmente */
    .turnkey-etapas-grid > *:nth-child(1) {
        grid-column: 1;
    }
    
    .turnkey-etapas-grid > *:nth-child(2) {
        grid-column: 2;
    }
    
    .turnkey-etapas-grid > *:nth-child(3) {
        grid-column: 3;
    }
    
    /* Centralizar os 2 últimos cards na segunda linha */
    /* Card 4: começa na coluna 2 (deixando espaço à esquerda para centralizar) */
    .turnkey-etapas-grid > *:nth-child(4) {
        grid-column: 2;
    }
    
    /* Card 5: fica na coluna 3 (ao lado do card 4) */
    .turnkey-etapas-grid > *:nth-child(5) {
        grid-column: 3;
    }
}

/* Mobile: 1 card por linha (< 768px) */
@media (max-width: 767px) {
    .turnkey-etapas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    /* Resetar posicionamento no mobile - todos os cards ocupam a coluna 1 */
    .turnkey-etapas-grid > *:nth-child(n) {
        grid-column: 1;
    }
}


/* Obras Card Hover Effect */
.obra-card-mse.hover-dark-overlay .obra-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Initial dark overlay */
    transition: background 0.3s ease;
    z-index: 1;
}

.obra-card-mse.hover-dark-overlay:hover .obra-card-image::after {
    background: rgba(0, 0, 0, 0.6); /* Darker on hover */
}

/* Ensure content stays above overlay */
.obra-card-mse .obra-card-content {
    z-index: 2;
}

/* Make sure link is clickable */
.obra-card-mse .obra-card-plus {
    z-index: 3;
}
