* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0b2239;
    --primary-soft: #123b5f;
    --primary-dark: #06121d;
    --accent: #dba24a;
    --accent-light: #f0bc6d;
    --white: #ffffff;
    --surface: #f7f9fc;
    --surface-2: #eef3f8;
    --text: #17202a;
    --text-soft: #5f6c7b;
    --border: rgba(15, 23, 42, 0.08);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --shadow-xs: 0 2px 10px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 8px 30px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.16);
    --transition: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    --container: 1280px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
    padding: 100px 0;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-soft));
    z-index: 9999;
    transition: width 0.1s linear;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 0;
    background: rgba(6, 18, 29, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
    transition: padding var(--transition), background var(--transition);
}

header.scrolled {
    padding: 12px 0;
    background: rgba(6, 18, 29, 0.95);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: white;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(219, 162, 74, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(219, 162, 74, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 20% 30%, rgba(219,162,74,0.15), transparent 40%),
                linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--primary-soft) 100%);
    color: white;
    padding: 140px 0 80px;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.25);
    color: var(--accent);
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-stat {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat:last-child {
    border-bottom: none;
}

.hero-stat strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-stat span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.sobre {
    background: var(--white);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.sobre-texto p {
    color: var(--text-soft);
    margin-bottom: 1.2rem;
}

.mvv-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-mvv {
    background: var(--surface);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    transition: transform var(--transition);
}

.card-mvv:hover {
    transform: translateX(6px);
}

.card-mvv h3 {
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.equipe {
    background: linear-gradient(180deg, var(--surface), var(--white));
}

.equipe-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.equipe-texto {
    flex: 1;
    min-width: 280px;
}

.destaque {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--accent);
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--text);
}

.equipe-especializacoes {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.equipe-especializacoes h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.4rem;
}

.lista-especializacoes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    list-style: none;
}

.lista-especializacoes li {
    background: white;
    padding: 0.7rem 1rem;
    border-radius: 60px;
    text-align: center;
    font-weight: 500;
    transition: all var(--transition);
}

.lista-especializacoes li:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: scale(1.02);
}

.servicos {
    background: var(--surface);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    text-align: center;
    transition: all var(--transition);
}

.servico-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.servico-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(145deg, rgba(219, 162, 74, 0.12), rgba(255, 255, 255, 0.9));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform var(--transition);
}

.servico-card:hover .servico-icon {
    transform: scale(1.05);
}

.servico-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.4rem;
}

.servico-card p {
    color: var(--text-soft);
}

.resultados {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
}

.resultados h2 {
    color: white;
}

.resultados h2::after {
    background: linear-gradient(90deg, white, var(--accent));
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: center;
}

.numero-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.numero {
    font-size: 3.2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ==================== TICKER CLIENTES (CSS PURO) ==================== */
.clientes {
    background: var(--surface-2);
    overflow: hidden;
    padding: 60px 0;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: ticker 60s linear infinite; /* Velocidade suave – ajuste 40s para mais rápido */
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-slide {
    flex: 0 0 auto;
    width: 180px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: transform 0.3s ease;
}

.ticker-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.ticker-slide:hover {
    transform: translateY(-6px);
}

.ticker-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.02);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Depoimentos (mantido) */
.depoimentos {
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.depoimentos-swiper {
    padding: 20px 50px 60px;
}

.depoimento-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.depoimento-texto {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.depoimento-autor {
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.5rem;
}

.depoimento-empresa {
    font-size: 0.9rem;
    color: var(--text-soft);
}

.depoimentos-swiper .swiper-button-prev-depoimentos,
.depoimentos-swiper .swiper-button-next-depoimentos {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    backdrop-filter: none;
    border-radius: 50%;
    transition: 0.2s;
    cursor: pointer;
    z-index: 30;
}

.depoimentos-swiper .swiper-button-prev-depoimentos {
    left: 0;
}

.depoimentos-swiper .swiper-button-next-depoimentos {
    right: 0;
}

.depoimentos-swiper .swiper-button-prev-depoimentos::after,
.depoimentos-swiper .swiper-button-next-depoimentos::after {
    font-family: swiper-icons;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary);
}

.depoimentos-swiper .swiper-button-prev-depoimentos::after {
    content: 'prev';
}

.depoimentos-swiper .swiper-button-next-depoimentos::after {
    content: 'next';
}

.depoimentos-swiper .swiper-button-prev-depoimentos:hover::after,
.depoimentos-swiper .swiper-button-next-depoimentos:hover::after {
    color: var(--accent);
}

.swiper-pagination-depoimentos {
    position: relative;
    bottom: 0;
    margin-top: 24px;
    text-align: center;
}

.swiper-pagination-depoimentos .swiper-pagination-bullet-active {
    background: var(--accent);
}

.contato {
    background: var(--white);
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contato-info-box,
.contato-form-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.contato-info-box:hover,
.contato-form-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.info-contato p {
    margin: 1.2rem 0;
    color: var(--text);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 12px 26px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.8rem;
    transition: all var(--transition);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 14px 18px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition);
    background: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219, 162, 74, 0.1);
}

.btn-enviar {
    background: var(--primary);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-enviar:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.mapa {
    background: var(--surface);
    padding: 80px 0;
}

.mapa-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.mapa-container iframe {
    width: 100%;
    height: 420px;
    display: block;
}

.faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: var(--surface);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-soft);
}

footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    max-width: 500px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all var(--transition);
    color: white;
}

.social-links svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    color: var(--primary-dark);
}

.social-links a:hover svg {
    fill: var(--primary-dark);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

input:required:placeholder-shown,
textarea:required:placeholder-shown {
    border-left: 3px solid #dba24a;
    background-color: #fffef7;
}

input:required:valid:not(:placeholder-shown),
textarea:required:valid:not(:placeholder-shown) {
    border-left: 3px solid #4caf50;
    background-color: #f0fff0;
}

input:required:invalid:not(:placeholder-shown),
textarea:required:invalid:not(:placeholder-shown) {
    border-left: 3px solid #e74c3c;
    background-color: #fff0f0;
}

input[type="tel"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219, 162, 74, 0.1);
}

@media (max-width: 1100px) {
    .sobre-grid,
    .contato-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 860px) {
    section {
        padding: 80px 0;
    }
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(6, 18, 29, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.2rem;
        display: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links.show {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-stat strong {
        font-size: 2rem;
    }
    .mapa-container iframe {
        height: 280px;
    }
    .ticker-slide {
        width: 150px;
        height: 110px;
    }
    .depoimentos-swiper {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 640px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
    .numeros-grid,
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
    .ticker-slide {
        width: 130px;
        height: 90px;
    }
}