/* =============================================================
   SPARTA DESENTUPIDORA - ESTILOS
   =============================================================
   Sumário:
   1. Variáveis e reset
   2. Tipografia base
   3. Container (largura máx. 1000px do conteúdo)
   4. Botões
   5. Componentes reutilizáveis (badge, cards, títulos)
   6. Topbar
   7. Cabeçalho
   8. Menu
   9. Hero / Banner
   10. Seções (serviços, quem somos, por que, cidades)
   11. CTA
   12. Rodapé
   13. WhatsApp flutuante
   14. Responsivo (media queries)
   ============================================================= */

/* ---------------------------------------------------------------
   1. VARIÁVEIS E RESET
   --------------------------------------------------------------- */
:root {
    --vermelho:      #ee1c25;
    --vermelho-esc:  #c8151c;
    --verde:         #25d366;
    --verde-esc:     #1ebe5a;
    --preto:         #1d1d1d;
    --cinza-topo:    #333333;
    --cinza-bg:      #f4f4f4;
    --cinza-card:    #f2f2f2;
    --texto:         #444444;
    --texto-claro:   #777777;
    --borda:         #e2e2e2;
    --branco:        #ffffff;

    --fonte-titulo:  'Outfit', sans-serif;
    --fonte-corpo:   'Roboto', Arial, sans-serif;

    --max-conteudo:  1000px;
    --raio:          6px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--fonte-corpo);
    color: var(--texto);
    line-height: 1.6;
    background: var(--branco);
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---------------------------------------------------------------
   2. TIPOGRAFIA BASE
   --------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--fonte-titulo);
    font-weight: 700;
    line-height: 1.1;
    color: var(--preto);
    text-transform: uppercase;
}

.text-red { color: var(--vermelho); }

/* ---------------------------------------------------------------
   3. CONTAINER (conteúdo limitado a 1000px)
   As cores/fundos das seções continuam ocupando 100% da largura;
   apenas o conteúdo interno é limitado por este container.
   --------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max-conteudo);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ---------------------------------------------------------------
   4. BOTÕES
   --------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--fonte-titulo);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 15px;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: var(--raio);
    cursor: pointer;
    transition: .2s ease;
    white-space: nowrap;
}

.btn--sm  { padding: 8px 16px;  font-size: 13px; }
.btn--lg  { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--whatsapp { background: var(--verde); color: #fff; }
.btn--whatsapp:hover { background: var(--verde-esc); }

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.8);
}
.btn--outline:hover { background: #fff; color: var(--preto); }

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.btn--outline-light:hover { border-color: #fff; }

/* ---------------------------------------------------------------
   5. COMPONENTES REUTILIZÁVEIS
   --------------------------------------------------------------- */

/* Badge (etiqueta vermelha) */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--vermelho);
    color: #fff;
    font-family: var(--fonte-titulo);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 14px;
    padding: 9px 18px;
    border-radius: var(--raio);
}
.badge--solid { font-size: 13px; }

/* Cabeçalho de seção */
.section { padding: 64px 0; }
.section--gray { background: var(--cinza-bg); }

.section__head--center { text-align: center; margin-bottom: 40px; }
.section__head--center .badge { margin-bottom: 18px; }

.section__title {
    font-size: 40px;
    letter-spacing: .5px;
}
.section__title--left { margin-bottom: 26px; }

.section__more { text-align: center; margin-top: 32px; }

.link-more {
    font-family: var(--fonte-titulo);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--vermelho);
    letter-spacing: .5px;
    font-style: italic;
}
.link-more:hover { text-decoration: underline; }

/* Grades de cards */
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }

/* Card de serviço */
.card-service {
    background: #fff;
    border: 1px solid var(--borda);
    border-top: 4px solid var(--vermelho);
    border-radius: var(--raio);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
}
.card-service__title {
    font-size: 18px;
    margin-bottom: 12px;
    min-height: 40px;
}
.card-service__text {
    font-size: 14px;
    color: var(--texto-claro);
    flex: 1;
    margin-bottom: 18px;
}

/* Card de valor (missão/visão/valores) */
.card-value {
    background: #fff;
    border: 1px solid var(--borda);
    border-top: 4px solid var(--vermelho);
    border-radius: var(--raio);
    padding: 32px 24px;
    text-align: center;
}
.card-value__icon {
    display: inline-flex;
    font-size: 34px;
    color: var(--vermelho);
    margin-bottom: 16px;
}
.card-value__title { font-size: 20px; margin-bottom: 12px; }
.card-value p { font-size: 14px; color: var(--texto-claro); }

/* Card "por que escolher" */
.card-why {
    background: var(--cinza-card);
    border-radius: var(--raio);
    padding: 26px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.card-why__icon { color: var(--vermelho); font-size: 26px; line-height: 1.4; }
.card-why__title { font-size: 18px; margin-bottom: 8px; }
.card-why p { font-size: 14px; color: var(--texto-claro); }

/* ---------------------------------------------------------------
   6. TOPBAR
   --------------------------------------------------------------- */
.topbar {
    background: var(--cinza-topo);
    color: #ddd;
    font-size: 13px;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar__info {
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 500;
}
.topbar__info i { margin-right: 6px; }
.topbar__contact { display: flex; align-items: center; gap: 18px; }
.topbar__phone { color: #fff; font-weight: 500; }
.topbar__phone:hover { color: var(--verde); }

/* ---------------------------------------------------------------
   7. CABEÇALHO
   --------------------------------------------------------------- */
.header { background: #fff; }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 20px;
}
.header__logo img { max-height: 70px; width: auto; }
.header__emergency { text-align: right; }
.header__emergency-label {
    display: block;
    font-size: 14px;
    color: var(--texto-claro);
    margin-bottom: 2px;
}
.header__emergency-phone {
    font-family: var(--fonte-titulo);
    font-weight: 700;
    font-size: 26px;
    color: var(--vermelho);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ---------------------------------------------------------------
   8. MENU
   --------------------------------------------------------------- */
.nav { background: var(--vermelho); }
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
}
.nav__list { display: flex; gap: 6px; }
.nav__list a {
    display: block;
    color: #fff;
    font-family: var(--fonte-titulo);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 15px;
    padding: 16px 14px;
    transition: background .2s;
}
.nav__list a:hover { background: var(--vermelho-esc); }

.nav__cta { box-shadow: 0 2px 6px rgba(0,0,0,.15); }

.nav__toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* ---------------------------------------------------------------
   9. HERO / BANNER
   A imagem de fundo é definida aqui — troque o arquivo depois.
   --------------------------------------------------------------- */
.hero {
    position: relative;
    /* Imagem de fundo do banner (adicione o arquivo em assets/images) */
    background: #222 url('../images/banner.jpg') center center / cover no-repeat;
    color: #fff;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.35) 100%);
}
.hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 90px;
}
.hero .badge { margin-bottom: 22px; }
.hero__title {
    font-size: 56px;
    color: #fff;
    margin-bottom: 18px;
}
.hero__text { font-size: 17px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.hero__text--strong { font-weight: 700; margin-bottom: 28px; }
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------
   10. SEÇÕES ESPECÍFICAS
   --------------------------------------------------------------- */

/* Quem somos */
.about__text { max-width: 920px; }
.about__text p { margin-bottom: 16px; font-size: 15px; }

/* Cidades */
.cidades {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.cidade {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    padding: 14px 26px;
    font-family: var(--fonte-titulo);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--preto);
}
.cidade i { color: var(--vermelho); }

/* ---------------------------------------------------------------
   11. CTA (faixa vermelha)
   --------------------------------------------------------------- */
.cta { background: var(--vermelho); color: #fff; }
.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 48px;
    padding-bottom: 48px;
}
.cta__title { font-size: 34px; color: #fff; margin-bottom: 6px; }
.cta__text { font-size: 16px; text-transform: uppercase; letter-spacing: .5px; }

/* ---------------------------------------------------------------
   12. RODAPÉ
   --------------------------------------------------------------- */
.footer { background: var(--preto); color: #bbb; }
.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-top: 54px;
    padding-bottom: 44px;
}
.footer__slogan {
    font-family: var(--fonte-titulo);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 20px;
}
.footer__buttons { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__title {
    color: #fff;
    font-size: 17px;
    margin-bottom: 18px;
    letter-spacing: .5px;
}
.footer__list li { margin-bottom: 10px; }
.footer__list a { font-size: 14px; transition: color .2s; }
.footer__list a:hover { color: var(--vermelho); }

.footer__bar {
    background: #111;
    padding: 16px 0;
    font-size: 13px;
    text-align: center;
}

#img-noticia{ height:100px; display:inline-block; margin-bottom:20px; margin-top:-24px; margin-left:-20px; width:calc(100% + 40px ); background-size:cover; background-position:center; }
.imagem-esquerda{ float:left;  width:300px; height:180px; background-size:cover; background-repeat:no-repeat; margin-right:20px; }

/* ---------------------------------------------------------------
   13. WHATSAPP FLUTUANTE
   --------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    background: var(--verde);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
    z-index: 999;
    transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------------------------------------------------------------
   14. RESPONSIVO
   --------------------------------------------------------------- */

/* Tablets */
@media (max-width: 900px) {
    .cards--4 { grid-template-columns: repeat(2, 1fr); }
    .cards--3 { grid-template-columns: 1fr; }
    .hero__title { font-size: 44px; }
    .section__title { font-size: 32px; }

    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__about { grid-column: 1 / -1; }
    .imagem-esquerda{ width:calc(100%); margin-right: 0px; }
}

/* Celulares */
@media (max-width: 680px) {
    .imagem-esquerda{ width:calc(100%); margin-right: 0px; }
    /* Topbar */
    .topbar__inner { justify-content: center; text-align: center; }
    .topbar__info { width: 100%; }

    /* Cabeçalho */
    .header__inner { flex-direction: column; text-align: center; }
    .header__emergency { text-align: center; }

    /* Menu vira hambúrguer */
    .nav__inner { flex-wrap: wrap; }
    .nav__toggle { display: block; order: 1; }
    .nav__cta { order: 2; }
    .nav__list {
        order: 3;
        flex-direction: column;
        width: 100%;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .nav__list.is-open { max-height: 460px; }
    .nav__list li { border-top: 1px solid var(--vermelho-esc); }
    .nav__list a { padding: 14px 4px; }

    /* Hero */
    .hero__inner { padding-top: 50px; padding-bottom: 60px; }
    .hero__title { font-size: 34px; }
    .hero__buttons .btn { width: 100%; }

    /* Seções */
    .section { padding: 44px 0; }
    .cards--4 { grid-template-columns: 1fr; }
    .card-service__title { min-height: 0; }

    /* CTA */
    .cta__inner { flex-direction: column; text-align: center; }
    .cta__title { font-size: 26px; }
    .cta .btn { width: 100%; }

    /* Rodapé */
    .footer__inner { grid-template-columns: 1fr; gap: 30px; }
    .footer__buttons .btn { width: 100%; }
}
