/* ==========================================================================
   MC Dedetizadora e Desentupidora — sistema visual
   Paleta e tipografia derivadas do logo: preto + verde-limão metálico.
   ========================================================================== */

:root {
    --preto: #000000;
    --preto-2: #0d0d0d;
    --preto-3: #161616;
    --lima: #8cc63f;
    --lima-clara: #a8e04c;
    --lima-escura: #6fa32e;
    --areia: #f6f6f3;
    --texto: #1a1a1a;
    --texto-suave: #6b6b6b;
    --borda-clara: #e3e3de;
    --borda-escura: rgba(255, 255, 255, 0.12);
}

body {
    font-family: 'Barlow', system-ui, sans-serif;
    color: var(--texto);
}

h1, h2, h3, h4, .condensada {
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    letter-spacing: -0.01em;
}

/* --- Títulos de seção -----------------------------------------------------
   Caixa alta condensada. O traço de limão substitui o subtítulo colorido
   genérico que todo template usa. */

.rotulo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lima-escura);
}

.rotulo::before {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: var(--lima);
}

.rotulo--escuro {
    color: var(--lima);
}

.titulo-secao {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 0.98;
    text-transform: uppercase;
}

/* --- Botões --------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.9375rem 1.75rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2px;
    border: 2px solid transparent;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-lima {
    background: var(--lima);
    color: var(--preto);
    border-color: var(--lima);
}

.btn-lima:hover {
    background: var(--lima-clara);
    border-color: var(--lima-clara);
}

.btn-contorno {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-contorno:hover {
    background: #fff;
    color: var(--preto);
    border-color: #fff;
}

.btn-preto {
    background: var(--preto);
    color: #fff;
    border-color: var(--preto);
}

.btn-preto:hover {
    background: var(--lima);
    color: var(--preto);
    border-color: var(--lima);
}

/* --- Textura do hero ------------------------------------------------------
   Usada enquanto não houver foto real cadastrada. Quando o admin envia a foto
   do hero, ela é renderizada por cima e esta textura vira só o fundo. */

.hero-textura {
    background-color: var(--preto);
    background-image:
        radial-gradient(ellipse 80% 60% at 75% 40%, rgba(140, 198, 63, 0.10), transparent 70%),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.028) 0 2px,
            transparent 2px 22px
        );
}

/* --- Faixa de advertência (referência industrial) ------------------------- */

.faixa-hazard {
    height: 4px;
    background-image: repeating-linear-gradient(
        -45deg,
        var(--lima) 0 12px,
        var(--preto) 12px 24px
    );
}

/* --- Cards de serviço -----------------------------------------------------
   Duotone escuro nas fotos para que imagens de origens diferentes leiam como
   um conjunto só — e para que trocar por fotos reais depois não quebre o visual. */

.card-servico {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--borda-clara);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease;
}

.card-servico:hover {
    border-color: var(--lima);
    transform: translateY(-3px);
}

.card-servico__foto {
    position: relative;
    overflow: hidden;
    background: var(--preto);
}

.card-servico__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1) brightness(0.75);
    transition: filter .35s ease, transform .5s ease;
}

.card-servico:hover .card-servico__foto img {
    filter: grayscale(35%) contrast(1.05) brightness(0.9);
    transform: scale(1.04);
}

.card-servico__icone {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lima);
    color: var(--preto);
    font-size: 1.25rem;
}

/* --- Parceiros ------------------------------------------------------------
   Grade de logos de origens diferentes. O cinza uniformiza o conjunto; a cor
   volta no hover, então nenhuma marca aparece descaracterizada. */

.parceiro {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4.5rem;
    padding: 0 0.5rem;
}

.parceiro img {
    max-height: 100%;
    max-width: 11rem;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter .25s ease, opacity .25s ease;
}

a.parceiro:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.parceiro__nome {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.1;
    max-width: 11rem;
    color: var(--texto-suave);
    transition: color .2s ease;
}

a.parceiro:hover .parceiro__nome {
    color: var(--texto);
}

/* --- Passos numerados ----------------------------------------------------- */

.passo__numero {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--lima);
}

/* --- Formulário ----------------------------------------------------------- */

.campo {
    width: 100%;
    padding: 0.8125rem 1rem;
    background: #fff;
    border: 1px solid var(--borda-clara);
    border-radius: 2px;
    font-size: 0.9375rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.campo:focus {
    outline: none;
    border-color: var(--lima-escura);
    box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.18);
}

.rotulo-campo {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--texto-suave);
}

/* Honeypot: precisa ser invisível para gente e preenchível por robô. */
.armadilha {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Animação de entrada -------------------------------------------------- */

.revelar {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease-out, transform .55s ease-out;
}

.revelar.visivel {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .revelar {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
