/* ========================================
   RESET E VARIÁVEIS
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --preto: #111111;
    --cinza-escuro: #2c2c2c;
    --cinza-medio: #555555;
    --cinza-claro: #e0e0e0;
    --cinza-fundo: #f7f7f7;
    --branco: #ffffff;
    --amarelo: #f5c518;
    --amarelo-hover: #d9ab0c;
    --verde: #25D366;
    --verde-hover: #128C7E;
    --sombra: 0 4px 20px rgba(0,0,0,0.06);
    --sombra-hover: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 14px;
    --transicao: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--cinza-fundo);
    color: #1e1e1e;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background: var(--preto);
    color: white;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap; /* Impede que o botão pule para baixo */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px; /* Espaço entre o menu e o botão */
    margin-left: auto; /* Empurra o menu e o botão para a direita */
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #e5e5e5;
    font-weight: 500;
    font-size: .95rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transicao);
    display: block;
}

.nav-menu a:hover,
.nav-menu a.ativo {
    color: var(--branco);
    border-bottom-color: var(--amarelo);
}

/* BOTÃO WHATSAPP NO HEADER */
.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--verde);
    color: white !important;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transicao);
    border: none !important; /* Remove qualquer herança de borda */
    white-space: nowrap; /* Impede o texto de quebrar */
}

.btn-header:hover {
    background: var(--verde-hover);
    transform: translateY(-2px);
    color: white !important;
}

/* Botão hamburguer (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transicao);
}

/* ========================================
   CARROSSEL — AJUSTADO PARA PC E MOBILE
   ======================================== */
.carrossel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    aspect-ratio: 21 / 9;   /* Widescreen bonito no PC */
    max-height: 620px;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;  /* Foca no topo (rosto/produto) */
    display: block;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
    pointer-events: none;
}

.slide-conteudo {
    position: absolute;
    bottom: 15%;
    left: 8%;
    z-index: 2;
    color: white;
    max-width: 520px;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.slide-conteudo h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.15;
}

.slide-conteudo p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: .95;
}

.btn-amarelo {
    display: inline-block;
    background: var(--amarelo);
    color: #111;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    transition: var(--transicao);
}

.btn-amarelo:hover {
    background: var(--amarelo-hover);
    transform: translateY(-2px);
}

.indicadores {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 11px;
    height: 11px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transicao);
    border: none;
    padding: 0;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 22px;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    z-index: 5;
    transition: var(--transicao);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev:hover, .next:hover { background: rgba(0,0,0,0.7); }
.prev { left: 20px; }
.next { right: 20px; }

/* ========================================
   CONTEÚDO PRINCIPAL
   ======================================== */
.conteudo-pagina {
    padding: 60px 0;
    min-height: 400px;
}

.hero-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px;
}

.hero-intro h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--preto);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-intro p {
    font-size: 1.1rem;
    color: var(--cinza-medio);
}

/* Grid de cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.card-servico {
    background: white;
    border-radius: var(--radius);
    padding: 32px 26px;
    text-align: center;
    box-shadow: var(--sombra);
    transition: var(--transicao);
    border: 1px solid transparent;
}

.card-servico:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-hover);
    border-color: var(--amarelo);
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
    line-height: 1;
}

.card-servico h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--preto);
}

.card-servico p {
    color: var(--cinza-medio);
    font-size: .95rem;
}

/* Botão genérico */
.btn {
    display: inline-block;
    background: var(--preto);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transicao);
    border: none;
    cursor: pointer;
    font-size: .95rem;
}

.btn:hover {
    background: var(--cinza-escuro);
    transform: translateY(-2px);
}

/* ========================================
   FAQ com <details>
   ======================================== */
.secao-faq {
    margin-top: 60px;
}

.secao-faq h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--preto);
}

.faq {
    background: white;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--sombra);
}

.faq summary {
    background: var(--preto);
    color: white;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    position: relative;
    padding-right: 50px;
    transition: var(--transicao);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    transition: var(--transicao);
}

.faq[open] summary { background: var(--cinza-escuro); }
.faq[open] summary::after { content: '−'; }

.faq p {
    padding: 18px 22px;
    color: var(--cinza-medio);
    margin: 0;
    line-height: 1.7;
}

/* ========================================
   LINKS SEO
   ======================================== */
.seo-links {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    margin-top: 60px;
    box-shadow: var(--sombra);
}

.seo-links h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--preto);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
}

.seo-categoria h4 {
    color: var(--preto);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--amarelo);
    font-size: 1rem;
}

.seo-categoria ul { list-style: none; }

.seo-categoria li { margin: 8px 0; }

.seo-categoria a {
    color: var(--cinza-medio);
    font-size: .9rem;
    transition: var(--transicao);
}

.seo-categoria a:hover {
    color: var(--preto);
    text-decoration: underline;
}

/* ========================================
   PÁGINA EMPRESA
   ======================================== */
.empresa-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.card-info {
    background: white;
    padding: 32px 26px;
    border-radius: var(--radius);
    box-shadow: var(--sombra);
}

.card-info h3 {
    color: var(--preto);
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.card-info p {
    color: var(--cinza-medio);
    margin-bottom: 10px;
}

.lista-check {
    list-style: none;
    padding: 0;
}

.lista-check li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--cinza-medio);
}

.lista-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--verde);
    font-weight: bold;
    font-size: 1.1rem;
}

.dados-empresa {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--sombra);
}

.dados-empresa p {
    margin-bottom: 10px;
    color: var(--cinza-medio);
}

/* ========================================
   PÁGINA CONTATO
   ======================================== */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    margin-top: 20px;
}

.card-contato {
    background: white;
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--sombra);
}

.card-contato h3 {
    color: var(--preto);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.card-contato p {
    margin-bottom: 16px;
    color: var(--cinza-medio);
    line-height: 1.6;
}

.card-contato a { color: var(--preto); font-weight: 500; }
.card-contato a:hover { text-decoration: underline; }

.mapa {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--sombra);
    min-height: 420px;
}

.mapa iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* CTA Final */
.cta-final {
    text-align: center;
    background: var(--preto);
    color: white;
    padding: 50px 30px;
    border-radius: var(--radius);
    margin-top: 50px;
}

.cta-final h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-final p {
    margin-bottom: 20px;
    opacity: .9;
}

.cta-final .btn {
    background: var(--amarelo);
    color: var(--preto);
}

.cta-final .btn:hover {
    background: var(--amarelo-hover);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--preto);
    color: #bbb;
    padding: 50px 0 30px;
    font-size: .9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-grid h4 {
    color: white;
    margin-bottom: 14px;
    font-size: 1rem;
}

.footer-grid p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-grid a { color: #ddd; }
.footer-grid a:hover { color: var(--amarelo); }

.footer-logo { margin-bottom: 14px; height: 50px; width: auto; }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    margin-bottom: 20px;
}

.social-icons a {
    color: white;
    transition: var(--transicao);
    display: inline-flex;
}

.social-icons a:hover {
    color: var(--amarelo);
    transform: translateY(-3px);
}

.footer-copy {
    text-align: center;
    font-size: .82rem;
    opacity: .75;
    margin-bottom: 4px;
}

/* ========================================
   WHATSAPP FLUTUANTE
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--verde);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 999;
    transition: var(--transicao);
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: var(--verde-hover);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 6px 30px rgba(37,211,102,0.8); }
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 900px) {
    .contato-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    /* Header */
    .header-flex { flex-wrap: wrap; }

    .menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
    }

    .nav-menu {
        width: 100%;
        order: 4;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        flex-direction: column;
        gap: 0;
    }

    .nav-menu.aberto { max-height: 400px; padding-top: 16px; }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li { width: 100%; border-bottom: 1px solid #222; }

    .nav-menu a {
        display: block;
        padding: 14px 0;
        border-bottom: none;
    }

    .btn-header {
        margin: 14px 0;
        width: 100%;
        text-align: center;
    }

    /* Carrossel mobile */
    .slide {
        aspect-ratio: 4 / 5;
        max-height: 560px;
    }

    .slide img { object-position: center; }

    .slide::after {
        background: linear-gradient(transparent 40%, rgba(0,0,0,.85) 100%);
    }

    .slide-conteudo {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        padding: 20px 20px 30px;
        background: linear-gradient(transparent, rgba(0,0,0,.9));
    }

    .slide-conteudo h2 { font-size: 1.4rem; }
    .slide-conteudo p { font-size: .95rem; margin-bottom: 14px; }
    .btn-amarelo { padding: 10px 22px; font-size: .9rem; }

    .prev, .next { width: 40px; height: 40px; font-size: 18px; padding: 0; }
    .prev { left: 10px; }
    .next { right: 10px; }

    /* Conteúdo */
    .hero-intro h1 { font-size: 1.7rem; }
    .hero-intro p { font-size: 1rem; }
    .conteudo-pagina { padding: 40px 0; }

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

@media (max-width: 480px) {
    .hero-intro h1 { font-size: 1.5rem; }
    .slide-conteudo h2 { font-size: 1.2rem; }
    .card-servico { padding: 26px 20px; }
    .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}