/* Camada da Evos sobre a base compilada da LP da AGIS.
   Paleta: preto do logo + amarelo de destaque #F6D33C (o mesmo do site atual). */

/* ---------- utilitarios que a base da AGIS nao tinha ---------- */
.h-\[260px\] { height: 260px; }
.h-\[420px\] { height: 420px; }
.text-\[\#777\] { color: #777777; }
@media (min-width: 768px) {
    .md\:h-\[460px\] { height: 460px; }
    .md\:h-\[480px\] { height: 480px; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:min-h-\[340px\] { min-height: 340px; }
    .lg\:h-auto { height: auto; }
}

/* ---------- header: logo da Evos e mais largo que alto ---------- */
#header .header-logo { height: 2.4rem; }
#header.scrolled .header-logo { height: 2.1rem; }
@media (min-width: 480px) {
    #header .header-logo { height: 2.7rem; }
    #header.scrolled .header-logo { height: 2.3rem; }
}
@media (min-width: 1280px) {
    #header .header-logo { height: 3.2rem; }
    #header.scrolled .header-logo { height: 2.7rem; }
}

/* ---------- hero ---------- */
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { object-position: 30% 55%; }
@media (min-width: 768px) {
    .hero-media img { object-position: center 60%; }
}
.hero-stars {
    color: #FBBC04;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    line-height: 1;
}

/* ---------- banner do Câmbio Automático: a foto acompanha a altura do texto ---------- */
.cambio-media { position: relative; height: 260px; }
.cambio-media img { position: absolute; inset: 0; object-position: center 35%; }
@media (min-width: 1024px) {
    .cambio-media { height: auto; min-height: 360px; }
}

/* ---------- cards de servico com icone ---------- */
.serv-ic {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 1.1rem;
}
.serv-card h3 { min-height: 0; }

/* ---------- secao de marcas (fundo branco) ---------- */
/* amarelo sobre branco nao tem contraste: o destaque vira um sublinhado */
.marcas-lead {
    color: #111111;
    display: inline;
    background: linear-gradient(transparent 62%, rgba(246, 211, 60, 0.75) 62%);
}
.marca-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}
@media (min-width: 640px) {
    .marca-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.marca-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.375rem;
    background: #111111;
    color: #ffffff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.marca-btn .ic { color: #F6D33C; font-size: 1rem; transition: color 0.25s ease; }
.marca-btn:hover { background: #F6D33C; color: #000000; transform: translateY(-2px); }
.marca-btn:hover .ic { color: #000000; }
.marca-outra {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    margin-top: 0.5rem;
    color: #111111;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: #F6D33C;
    text-decoration-thickness: 2px;
}
.marca-outra:hover { color: #000000; text-decoration-color: #111111; }

/* ---------- imagens de secao ---------- */
.frame-top { object-position: center 18%; }

/* ---------- avaliacoes: foto do avaliador e "ler mais" ---------- */
.rv-photo {
    object-fit: cover;
    padding: 0;
    background: #e5e7eb;
}
.rv-more {
    align-self: flex-start;
    margin-top: 0.6rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    color: #1a73e8;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}
.rv-more:hover { text-decoration: underline; }

/* ---------- botoes amarelos: texto sempre preto ---------- */
.bg-gold { color: #000000; }
