/* 1. VARIÁVEIS E RESET BÁSICO */
:root {
    --primary-color: #1e293b; /* Cinza Azulado Escuro (Primary) */
    --primary-dark: #0f172a; /* Slate 900 (Fundo Escuro) */
    --primary-light: #334155; /* Slate 700 */
    --secondary-color: #c29d53; /* Dourado Real (Ação/Destaque) */
    --secondary-light: #dfba6b; /* Dourado Claro */
    --text-color: #334155; /* Slate 700 para leitura */
    --light-text-color: #64748b; /* Slate 500 */
    --card-background: #ffffff;
    --bg-light: #f8fafc; /* Slate 50 */
    --bg-slate-100: #f1f5f9; /* Slate 100 */
    --border-color: #e2e8f0; /* Slate 200 */
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    --border-radius: 12px;
    --shadow-light: 0 10px 30px -10px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.01);
    --shadow-medium: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 1px 5px rgba(0, 0, 0, 0.02);
    --shadow-heavy: 0 30px 60px -20px rgba(15, 23, 42, 0.15);
    --shadow-gold: 0 10px 25px -5px rgba(194, 157, 83, 0.25);
    --shadow-gold-hover: 0 15px 30px -5px rgba(194, 157, 83, 0.4);

    /* Cores adicionais para benefícios/ícones */
    --icon-color-primary: #c29d53;
    --icon-color-secondary: #dfba6b;
    --icon-color-tertiary: #a38052;
    --icon-color-quaternary: #8f6e2b;

    /* Gradientes premium */
    --gold-gradient: linear-gradient(135deg, #dfba6b 0%, #c29d53 50%, #8f6e2b 100%);
    --gold-gradient-hover: linear-gradient(135deg, #eac87c 0%, #d2ad61 50%, #a07d37 100%);
    --dark-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --hero-gradient: linear-gradient(135deg, #1e2938 0%, #0d1520 100%);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

span {
    color: var(--secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Títulos das seções */
h1, h2, h3 {
    color: var(--primary-color);
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

h1 {
    font-weight: 800;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--light-text-color);
    font-weight: 600;
    margin-top: calc(-1 * var(--spacing-sm) - 10px);
    letter-spacing: 0.5px;
}

/* Seções de informação genéricas */
.info-section {
    padding: var(--spacing-xl) 0;
}
.bg-light-section {
    background-color: var(--bg-slate-100);
}

/* 2. BOTÕES GERAIS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold-gradient);
    color: white;
    padding: 16px 32px;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient-hover);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
    color: white;
}

.btn-primary:hover::before {
    opacity: 1;
}

.center-btn {
    display: block;
    margin: var(--spacing-lg) auto 0;
    max-width: 380px;
    text-align: center;
    justify-content: center;
}

.btn-nav { /* Botão de contato no nav */
    color: white !important;
    background: transparent;
    border: 1.5px solid var(--secondary-color);
    box-shadow: none;
    padding: 10px 22px;
    font-size: 0.85rem;
    border-radius: var(--border-radius);
}

.btn-nav::after {
    display: none !important; /* Remove o underline do hover do link */
}

.btn-nav:hover {
    background: var(--gold-gradient);
    border-color: transparent;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-whatsapp-hero {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.3) !important;
    border: none !important;
    color: white !important;
}

.btn-whatsapp-hero:hover {
    background: linear-gradient(135deg, #34E073 0%, #128C7E 100%) !important;
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.5) !important;
    transform: translateY(-2px) !important;
}


/* 3. CABEÇALHO (STICKY) */
.main-header {
    background-color: var(--primary-dark);
    border-bottom: 1.5px solid rgba(194, 157, 83, 0.2);
    box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.header-logo-img {
    max-height: 44px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    margin-left: var(--spacing-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
    position: relative;
    padding: 6px 0;
    letter-spacing: 0.5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease, left 0.3s ease;
}

.main-nav a:hover {
    color: var(--secondary-light);
}

.main-nav a:hover::after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #cbd5e1;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--secondary-color);
}


/* 4. SEÇÃO HERO (LANDING PAGE) */
.hero-landing-section {
    background: var(--hero-gradient);
    color: white;
    padding: 40px 0; /* Reduced vertical padding to raise title */
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    border-bottom: 1.5px solid rgba(194, 157, 83, 0.15);
}

.hero-landing-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.hero-text-form {
    flex: 0 0 58%; /* Increased width for text on desktop */
    max-width: 58%;
    min-width: 0;
    position: relative;
    z-index: 10;
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.hero-landing-content h1 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 22px;
    line-height: 1.35;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.hero-landing-content h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    margin-bottom: 35px;
    line-height: 1.7;
    color: #94a3b8;
}

.hero-subtitle strong {
    color: #e2e8f0;
}

.contact-form-hero {
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 32px;
    border-radius: var(--border-radius);
    margin-top: var(--spacing-md);
    box-shadow: var(--shadow-heavy), 0 0 0 1.5px rgba(194, 157, 83, 0.2);
    border: none;
}

.contact-form-hero input {
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    background-color: rgba(15, 23, 42, 0.45);
    color: #f8fafc;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form-hero input::placeholder {
    color: #64748b;
}

.contact-form-hero input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(15, 23, 42, 0.7);
    box-shadow: 0 0 0 3.5px rgba(194, 157, 83, 0.2);
    transform: translateY(-1px);
}

.contact-form-hero .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 18px 30px;
    letter-spacing: 1.5px;
}

.form-message {
    margin-top: 12px;
    text-align: center;
    font-weight: 600;
}

/* Define a largura do lado da imagem */
.hero-image-container {
    flex: 0 0 38%; /* Smaller container for image on desktop */
    max-width: 38%;
    min-width: 0;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* A imagem dentro do container */
.hero-main-image {
    max-width: 100%; /* Garante que a imagem se ajuste aos 50% do container */
    height: auto;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    position: relative; 
    z-index: 2; 

    /* Estilização para a parte inferior esfumaçada (manter) */
    mask-image: linear-gradient(to bottom, black 5%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 5%, transparent 100%);
    
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.hero-main-image:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

/* Animação de Entrada para Elementos do Hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline, .hero-landing-content h1, .hero-subtitle, .contact-form-hero, .hero-image-container {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-tagline { animation-delay: 0.1s; }
.hero-landing-content h1 { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.contact-form-hero { animation-delay: 0.4s; }
.hero-image-container { animation-delay: 0.2s; }

/* Estilização e Animação dos Cubos Flutuantes */
.floating-cube {
    position: absolute;
    background: linear-gradient(135deg, rgba(194, 157, 83, 0.08) 0%, rgba(30, 41, 59, 0.04) 100%);
    border: 1px solid rgba(194, 157, 83, 0.06);
    border-radius: 50%;
    filter: blur(1px);
    z-index: 1;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* Tamanhos, posições e delays para cada cubo */
.cube-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 15%;
    animation-name: float-animation-1;
    animation-delay: 0s;
}
.cube-2 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 5%;
    animation-name: float-animation-2;
    animation-delay: 3s;
    animation-duration: 18s;
}
.cube-3 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 20%;
    animation-name: float-animation-3;
    animation-delay: 6s;
    animation-duration: 16s;
}
.cube-4 {
    width: 70px;
    height: 70px;
    top: 20%;
    right: 5%;
    animation-name: float-animation-1;
    animation-delay: 9s;
    animation-duration: 20s;
}
.cube-5 {
    width: 90px;
    height: 90px;
    bottom: 30%;
    left: 25%;
    animation-name: float-animation-2;
    animation-delay: 12s;
    animation-duration: 17s;
}

.cube-6 {
    width: 100px;
    height: 100px;
    bottom: 40%;
    left: 50%;
    animation-name: float-animation-3;
    animation-delay: 14s;
    animation-duration: 17s;
}

.cube-7 {
    width: 50px;
    height: 50px;
    top: 40%;
    right: 35%;
    animation-name: float-animation-1;
    animation-delay: 4s;
    animation-duration: 22s;
}

.cube-8 {
    width: 80px;
    height: 80px;
    bottom: 5%;
    left: 45%;
    animation-name: float-animation-2;
    animation-delay: 8s;
    animation-duration: 19s;
}

/* Keyframes para animação de flutuação e movimento */
@keyframes float-animation-1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    25% { transform: translate(20px, -15px) scale(1.05); opacity: 0.9; }
    50% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    75% { transform: translate(-10px, 20px) scale(0.95); opacity: 0.7; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
}

@keyframes float-animation-2 {
    0% { transform: translate(0, 0) scale(0.9); opacity: 0.7; }
    30% { transform: translate(-25px, 10px) scale(1); opacity: 0.8; }
    60% { transform: translate(0, 0) scale(0.9); opacity: 0.7; }
    90% { transform: translate(15px, -20px) scale(1.02); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.9); opacity: 0.7; }
}

@keyframes float-animation-3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.9; }
    40% { transform: translate(10px, 25px) scale(0.98); opacity: 0.8; }
    80% { transform: translate(-20px, -10px) scale(1.03); opacity: 0.95; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
}

/* 5. SEÇÃO LOGOS DE CLIENTES */
.clients-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
    overflow: hidden;
}
.clients-section h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.clients-slider-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    position: relative;
    margin-bottom: var(--spacing-lg);
}

/* Sombras de fade nas laterais */
.clients-slider-container::before,
.clients-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.clients-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}
.clients-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.client-logos-track {
    display: flex;
    width: calc(200px * 16); /* Total slides: 16 (8 original + 8 duplicated) */
    animation: scroll-logos 25s linear infinite;
    align-items: center;
}

.client-logos-track:hover {
    animation-play-state: paused;
}

.client-logos-track .slide {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-logos-track img {
    max-width: 130px;
    max-height: 55px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.client-logos-track img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8)); /* Translate by width of 8 slides */
    }
}

/* 6. SEÇÃO DE BENEFÍCIOS */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-card {
    background-color: var(--card-background);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1.5px solid var(--border-color);
    border-top: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(194, 157, 83, 0.2);
    border-top-color: var(--secondary-light);
}

.benefit-card i {
    font-size: 2.6rem;
    margin-bottom: 16px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.benefit-card p {
    color: var(--light-text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 7. POR QUE NOS ESCOLHER */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.why-choose-item {
    text-align: center;
    background-color: var(--card-background);
    padding: 35px var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1.5px solid var(--border-color);
    border-top: 4px solid transparent;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-choose-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(194, 157, 83, 0.15);
    border-top-color: var(--secondary-color);
}

.why-choose-item i {
    font-size: 2.6rem;
    margin-bottom: 16px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.why-choose-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.why-choose-item p {
    color: var(--light-text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 8. COMO AJUDAMOS (Serviços) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    border: 1.5px solid var(--border-color);
    border-top: 4px solid transparent;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(194, 157, 83, 0.15);
    border-top-color: var(--secondary-color);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding: 24px var(--spacing-md) 0;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--light-text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 var(--spacing-md);
    flex-grow: 1;
}

.service-card .post-read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--secondary-color);
    padding: 0 var(--spacing-md) 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-card .post-read-more:hover {
    color: var(--secondary-light);
    transform: translateX(4px);
}

/* 9. QUEM SOMOS */
.about-us-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.about-us-text {
    flex: 1;
    min-width: 300px;
}

.about-us-text h2 {
    text-align: left;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 18px;
}

.about-us-text h2::after {
    left: 0;
    transform: none;
}

.about-us-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--light-text-color);
}

.about-us-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-us-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 12px 12px 0px rgba(194, 157, 83, 0.12), var(--shadow-medium);
    border: 1px solid rgba(194, 157, 83, 0.15);
    transition: all 0.4s ease;
}

.about-us-image img:hover {
    transform: translate(-4px, -4px);
    box-shadow: 16px 16px 0px rgba(194, 157, 83, 0.18), var(--shadow-heavy);
}


/* 10. SEÇÃO DE CONTATO FINAL */
.contact-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1b263b 100%);
    border-top: 1.5px solid rgba(194, 157, 83, 0.15);
    color: white;
    padding: var(--spacing-xl) 0;
}

.contact-content {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    color: white;
    text-align: left;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 20px;
    font-weight: 800;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-md);
    color: #94a3b8;
    line-height: 1.7;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 1rem;
    color: #cbd5e1;
}

.contact-info ul li i {
    margin-right: 12px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-form {
    flex: 1;
    background-color: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(194, 157, 83, 0.2);
    box-shadow: var(--shadow-heavy);
    min-width: 350px;
}

.contact-form h3 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    color: #f8fafc;
    background-color: rgba(15, 23, 42, 0.45);
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #64748b;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(15, 23, 42, 0.7);
    box-shadow: 0 0 0 3.5px rgba(194, 157, 83, 0.2);
    transform: translateY(-1px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 18px 30px;
}


/* 11. RODAPÉ (FOOTER) */
.footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-top: 2px solid rgba(194, 157, 83, 0.15);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p, .footer-col a {
    font-size: 0.9rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--secondary-light);
    transform: translateX(4px);
}

.footer-col i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}


/* 12. BOTÃO FLUTUANTE (FAB) - WHATSAPP */
.fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Cor do WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.6);
    z-index: 999;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    animation: wa-pulse 2s infinite;
}

.fab-btn:hover {
    background-color: #1DA851; /* Tom mais escuro do verde */
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.8);
    animation: none;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* 13. RESPONSIVIDADE */
@media (max-width: 900px) {
    .main-nav {
        display: flex;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        flex-direction: column;
        background-color: var(--primary-dark);
        position: absolute;
        top: 76px; /* Altura exata do header */
        left: 0;
        width: 100%;
        padding: var(--spacing-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .main-nav a {
        margin: 8px 0;
        padding: 10px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .main-nav a:last-child {
        border-bottom: none;
    }
    .main-nav .btn-nav {
        margin-top: 12px;
        color: white !important;
        background: var(--gold-gradient);
        border: none;
        box-shadow: var(--shadow-gold);
    }
    .main-nav .btn-nav:hover {
        background: var(--gold-gradient-hover);
        box-shadow: var(--shadow-gold-hover);
    }
    
    .menu-toggle {
        display: block;
    }

    /* HERO Section */
    .hero-landing-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-form {
        flex: 0 0 100%;
        max-width: 100%;
        order: 1;
    }
    .hero-image-container {
        flex: 0 0 100%;
        max-width: 100%;
        order: 2;
        margin-bottom: var(--spacing-md);
        justify-content: center;
    }
    .hero-main-image {
        max-width: 250px; /* Make image smaller on mobile */
        margin: 0 auto;
    }
    .hero-landing-content h1 {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 1.0rem;
    }

    /* Outras seções */
    h2 {
        font-size: 2rem;
    }
    .info-section {
        padding: var(--spacing-lg) 0;
    }

    .clients-slider-container {
        padding: 10px 0;
    }
    .client-logos-track .slide {
        width: 150px;
    }
    .client-logos-track img {
        max-width: 100px;
        max-height: 40px;
    }
    @keyframes scroll-logos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 8));
        }
    }

    .about-us-content {
        flex-direction: column;
        text-align: center;
    }
    .about-us-text h2 {
        text-align: center;
    }
    .about-us-text .btn-primary {
        margin: var(--spacing-md) auto;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
    }
    .contact-info, .contact-form {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    .contact-info h2 {
        text-align: center;
    }
    .contact-info ul {
        text-align: left;
        display: inline-block; /* Para centralizar a lista ul */
    }
    .contact-info ul li {
        justify-content: flex-start;
    }

    /* Rodapé */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3 {
        margin-top: var(--spacing-md);
        color: white; /* Para destacar mais no footer escuro */
    }
    .footer-col p, .footer-col a {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduz espaçamento geral no mobile */
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .fab-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
}

@media (max-width: 500px) {
    .hero-landing-content h1 {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .btn-primary {
        padding: 14px 24px;
        font-size: 0.85rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-gold);
    }
    .contact-form-hero h3, .contact-form h3 {
        font-size: 1.4rem;
    }
}

/* 14. SEÇÃO PÁGINA DE OBRIGADO (THANK YOU PAGE) */
.thank-you-section {
    background-color: var(--card-background); /* Fundo branco ou claro */
    padding: var(--spacing-xl) 0;
    text-align: center;
    min-height: 70vh; /* Garante que o conteúdo ocupe a maior parte da tela */
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-section .container {
    max-width: 800px; /* Limita a largura do texto para melhor leitura */
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50; /* Verde de sucesso (pode ajustar para um verde mais Licitte se preferir) */
    margin-bottom: var(--spacing-md);
}

.thank-you-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.thank-you-message {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.thank-you-subtext {
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin-bottom: var(--spacing-lg);
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap; /* Garante que os botões quebrem em telas menores */
}

/* Novo estilo de botão secundário (para o "Ver Nossos Serviços") */
.btn-secondary-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    cursor: pointer;
}

.btn-secondary-action:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.trust-message {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px dashed #eee;
    color: var(--light-text-color);
    font-style: italic;
}

/* Responsividade para a Thank You Page */
@media (max-width: 600px) {
    .success-icon {
        font-size: 4rem;
    }
    .thank-you-section h2 {
        font-size: 2rem;
    }
    .thank-you-message {
        font-size: 1rem;
    }
    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* 6. SEÇÃO DE DEPOIMENTOS */
.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--spacing-md);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonials-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-card {
    flex: 0 0 330px;
    scroll-snap-align: start;
    background-color: var(--card-background);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1.5px solid var(--border-color);
    border-left: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(194, 157, 83, 0.2);
    border-left-color: var(--secondary-light);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.testimonial-rating i {
    font-size: 1.1rem;
    margin-right: 2px;
}

.testimonial-rating span {
    color: var(--text-color);
    margin-left: 5px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--light-text-color);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    text-align: left;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--secondary-color);
}

.author-name {
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.author-title {
    font-size: 0.85rem;
    color: var(--light-text-color);
}

@media (max-width: 600px) {
    .testimonial-card {
        flex: 0 0 85vw;
    }
}

/* 7. SEÇÃO NÚMEROS DE SUCESSO */
.success-metrics-section {
    background-color: var(--bg-slate-100);
    color: var(--primary-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-top: 1.5px solid var(--border-color);
    border-bottom: 1.5px solid var(--border-color);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.metric-item {
    background-color: var(--card-background);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.metric-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(194, 157, 83, 0.15);
}

.metric-value {
    display: block;
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.5px;
    line-height: 1.4;
}


/* 12. CHAT WIDGET (CONCIERGE DE LICITAÇÕES) */

/* Botão Flutuante (FAB) */
.chat-fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-gold);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: chat-pulse 2s infinite;
}

.chat-fab-btn:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--shadow-gold-hover);
    animation: none;
}

@keyframes chat-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(194, 157, 83, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(194, 157, 83, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(194, 157, 83, 0);
    }
}

.chat-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ff3b30;
    color: white;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 1;
    border: 2px solid white;
}

/* Container do Chat */
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    height: 520px;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    z-index: 9998;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(194, 157, 83, 0.2);
    transition: all 0.3s ease;
}

.chat-container.active {
    display: flex;
}

/* Header */
.chat-header {
    background-color: var(--primary-dark);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(194, 157, 83, 0.2);
}

.close-chat-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-chat-btn:hover {
    opacity: 1;
}

/* Body (Área de Mensagens) */
.chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: var(--bg-light);
}

/* Estilo das Mensagens */
.chat-message {
    display: flex;
    margin-bottom: 15px;
    max-width: 85%;
}

.message-bot {
    justify-content: flex-start;
    align-self: flex-start;
}

.message-user {
    justify-content: flex-end;
    align-self: flex-end;
    margin-left: auto;
}

.message-bot p {
    background-color: white;
    color: var(--text-color);
    padding: 12px 16px;
    border-radius: 0 14px 14px 14px;
    box-shadow: var(--shadow-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-user p {
    background-color: var(--primary-light);
    color: white;
    padding: 12px 16px;
    border-radius: 14px 14px 0 14px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer / Input Area */
.chat-footer {
    display: flex;
    padding: 12px;
    border-top: 1px solid var(--border-color);
    background-color: white;
    align-items: center;
}

#chatInput {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-right: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
    background-color: #f8fafc;
}

#chatInput:focus {
    background-color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(194, 157, 83, 0.15);
}

#chatInput:disabled {
    background-color: #f7f7f7;
    cursor: not-allowed;
}

#sendChatBtn {
    background: var(--gold-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}

#sendChatBtn:hover:not(:disabled) {
    background: var(--gold-gradient-hover);
    box-shadow: var(--shadow-gold-hover);
}

#sendChatBtn:disabled {
    background-color: #ccc;
    background-image: none;
    cursor: not-allowed;
    box-shadow: none;
}

#sendChatBtn i {
    font-size: 15px;
    transform: rotate(45deg);
    margin-left: -2px;
    margin-top: 1px;
}

/* Responsividade */
@media (max-width: 500px) {
    .chat-container {
        width: 92vw;
        height: 75vh;
        right: 4vw;
        bottom: 95px;
    }
}

/* AJUSTES NO HEADER DO CHAT */
.chat-agent-info {
    display: flex;
    align-items: center;
}

.agent-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid white;
}

.agent-name {
    font-weight: bold;
    font-size: 0.95rem;
    line-height: 1.2;
    color: white;
}

.agent-status-line {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.85);
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: #82ff86;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(130, 255, 134, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(130, 255, 134, 0); }
    100% { box-shadow: 0 0 0 0 rgba(130, 255, 134, 0); }
}

/* Digitando */
.typing-indicator {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 10px 15px;
    border-radius: 0 14px 14px 14px;
    width: 55px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.typing-indicator span {
    width: 5px;
    height: 5px;
    margin: 0 1.5px;
    background-color: #aaa;
    border-radius: 50%;
    opacity: 0;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
.typing-indicator span:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.2; }
    40% { transform: scale(1.1); opacity: 1; }
}

.whatsapp-chat-button-outside {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 10px 18px;
    margin-top: 8px;
    border-radius: 20px; 
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.whatsapp-chat-button-outside:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}

.whatsapp-chat-button-outside i {
    margin-left: 6px;
    font-size: 1rem;
}

.chat-message.message-bot {
    display: flex;
    align-items: flex-start;
    max-width: 90%;
    margin-right: auto;
}

.message-agent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.message-bot p {
    margin: 0;
}

.typing-indicator-wrapper {
    margin-left: 40px;
}

/* 15. CUSTOM SCROLLBAR FOR WEB PAGE */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: rgba(194, 157, 83, 0.3);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(194, 157, 83, 0.5);
}