/* Pedágio Digital - estilos globais e home */
:root {
    --black: #000;
    --ink: #000;
    --muted: #6b7280;
    --gray-1: #f3f4f6;
    --gray-2: #cbd5e1;
    --gray-3: #d1d5db;
    --brand: #ff9f1c;
    --radius: 12px;
    --radius-lg: 14px;
    --maxw: 580px;
    --bd: rgba(0,0,0,.08);
}

* { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; box-sizing: border-box; }
html { margin: 0; min-height: 100%; }
body {
    margin: 0;
    min-height: 100%;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
/* Só na página inicial: layout flex + rodapé cinza */
body.page-inicio {
    min-height: 100vh;
    background: #363636;
    display: flex;
    flex-direction: column;
}
body.page-inicio > .hero { flex: 1; min-height: 0; }
.ft-wrap {
    background: #363636;
    flex-shrink: 0;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Header home */
.site-header {
    position: relative;
    top: 0;
    z-index: 1000;
    margin-bottom: -120px;
}
.hdr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #eaf1f8; }
.brand img { height: auto; width: auto; max-height: 40px; display: block; }
.primary-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; align-items: center; }
.nav-list a { color: #eaf1f8; text-decoration: none; font-weight: 400; padding: 8px 0; }
.nav-list a:hover { text-decoration: underline; }

/* Hero home */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-debitos.png') center / cover no-repeat;
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}
.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}
.hero__right {
    width: 100%;
    max-width: 420px;
}
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
    padding: 32px 28px;
    border: 1px solid var(--bd);
}
.card__title { font-size: 1.5rem; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.card__sub { color: var(--muted); font-size: 0.95rem; margin: 0 0 20px; }
.card__form { display: flex; flex-direction: column; gap: 14px; }
.card__form .inp {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid var(--gray-3);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.card__form .inp:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, .25);
}
.placa-error { color: #dc3545; font-size: 0.85rem; display: none; }
.card__check { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; cursor: pointer; }
.card__check input { width: auto; }
.btn {
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--black);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
}
.btn:hover { background: #333; }
.btn:disabled { opacity: .7; cursor: not-allowed; }

/* Barra Central de atendimento — #111111 */
.support__container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: #111111;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    margin-top: auto;
}
.support__container:hover { background: #1a1a1a; }
.support__container .chev {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.support__container[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Rodapé — #363636 (logo + parceiros); altura só do conteúdo, não cresce pra cima */
.site-footer {
    margin-top: 0;
    padding: 24px 20px;
    background: #363636;
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
}
.ft-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.ft-brand {
    display: block;
    line-height: 0;
}
.ft-brand img {
    max-height: 40px;
    width: auto;
    height: auto;
    display: block;
}
.ft-logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}
.ft-logos li { margin: 0; }
.ft-logos img {
    max-height: 32px;
    width: auto;
    display: block;
    opacity: 0.9;
}
.ft-logos img.ft-logo-ecoro { margin-top: -6px; }
.ft-logo-fallback {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-logo { max-height: 36px; width: auto; display: inline-block; vertical-align: middle; }

@media (max-width: 600px) {
    .hero__content { justify-content: center; }
    .hero__right { max-width: 100%; }
}
