/* ============================================ */
/* RAIO EXPRESS - preto + amarelo raio          */
/* ============================================ */
:root {
    --yellow: #ffc400;
    --yellow-dark: #e0a800;
    --bg: #0b0b0d;
    --bg-2: #121216;
    --card: #17171c;
    --line: rgba(255, 255, 255, 0.09);
    --text: #f2f2f2;
    --muted: #a3a3ad;
    --font-body: 'Poppins', sans-serif;
    --font-title: 'Barlow Condensed', 'Poppins', sans-serif;
    --header-h: 72px;
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }

.section__header { text-align: center; margin-bottom: 3rem; }
.section__subtitle { display: inline-block; color: var(--yellow); font-weight: 600; font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: .5rem; }
.section__title { font-family: var(--font-title); font-size: 2.8rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.section__description { color: var(--muted); max-width: 640px; margin: 1rem auto 0; }
.highlight { color: var(--yellow); }

/* Botões */
.btn { display: inline-block; padding: .85rem 1.8rem; border-radius: 50px; border: 2px solid transparent; font-family: var(--font-body); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; text-align: center; cursor: pointer; transition: all .3s ease; }
.btn-primary { background: var(--yellow); color: #111; box-shadow: 0 0 22px rgba(255, 196, 0, .3); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 0 32px rgba(255, 196, 0, .5); }
.btn-secondary { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-dark { background: #111; color: var(--yellow); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-small { padding: .55rem 1.2rem; font-size: .78rem; }
.btn-block { display: block; width: 100%; }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(11, 11, 13, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-title); font-size: 1.6rem; font-weight: 800; letter-spacing: 1px; }
.nav__logo b, .footer__logo b { color: var(--yellow); }
.nav__logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nav__menu { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; list-style: none; gap: 1.4rem; }
.nav__link { text-decoration: none; color: var(--muted); font-size: .85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; transition: color .2s; }
.nav__link:hover, .nav__link.active-link { color: var(--yellow); }
.nav__toggle, .nav__close { display: none; background: none; border: none; color: var(--yellow); font-size: 1.8rem; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); position: relative; overflow: hidden;
    background: radial-gradient(circle at 80% 30%, rgba(255, 196, 0, .18), transparent 45%), radial-gradient(circle at 10% 90%, rgba(255, 196, 0, .08), transparent 40%), var(--bg); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, transparent 0 60px, rgba(255, 196, 0, .035) 60px 62px); pointer-events: none; }
.hero__container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.hero__tag { display: inline-block; padding: .35rem 1rem; border: 1px solid rgba(255, 196, 0, .4); border-radius: 50px; background: rgba(255, 196, 0, .08); color: var(--yellow); font-size: .75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.hero__brand { margin-top: 1.2rem; color: var(--muted); letter-spacing: 3px; text-transform: uppercase; font-size: .85rem; }
.hero__title { font-family: var(--font-title); font-size: 4.6rem; font-weight: 800; line-height: 1; text-transform: uppercase; margin: .6rem 0 1rem; }
.hero__description { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 2rem; }
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__quote { color: var(--muted); font-style: italic; border-left: 3px solid var(--yellow); padding-left: 1rem; max-width: 460px; }
.hero__visual { display: flex; justify-content: center; }
.bolt { width: min(280px, 60%); fill: var(--yellow); filter: drop-shadow(0 0 30px rgba(255, 196, 0, .7)); animation: pulse 3s ease-in-out infinite; }

/* Grids e cards */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; transition: all .3s ease; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.card:hover { transform: translateY(-8px); border-color: rgba(255, 196, 0, .5); box-shadow: 0 14px 36px rgba(0, 0, 0, .5), 0 0 26px rgba(255, 196, 0, .12); }
.card:hover::before { transform: scaleX(1); }
.card__icon { font-size: 2.6rem; margin-bottom: .8rem; }
.card__title { font-family: var(--font-title); font-size: 1.5rem; text-transform: uppercase; margin-bottom: .4rem; }
.card__text { color: var(--muted); font-size: .95rem; }
.card__uf { display: inline-block; font-family: var(--font-title); font-size: 3rem; font-weight: 800; color: var(--yellow); line-height: 1; margin-bottom: .5rem; }

.valores, .atuacao { background: var(--bg-2); }
.servicos { background: var(--bg); }
.atuacao__nota { text-align: center; margin-top: 2rem; color: var(--muted); }

/* Frota */
.frota { margin-top: 3rem; }
.frota__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.frota__item:hover { border-color: rgba(255, 196, 0, .5); transform: translateY(-10px); }
.frota__item img { width: 100%; height: auto; object-fit: contain; transition: transform 0.3s ease; }
.frota__item:hover img { transform: scale(1.08); }
.frota__body { padding: 1.2rem; }
.frota__body h3 { font-family: var(--font-title); font-size: 1.6rem; text-transform: uppercase; color: var(--yellow); margin-bottom: .4rem; }
.frota__body p { color: var(--muted); }


/* Sobre */
.sobre { background: var(--bg-2); }
.sobre__container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.sobre__content p { color: var(--muted); margin-bottom: 1rem; }
.sobre__missao strong { color: var(--yellow); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1rem; text-align: center; }
.stat__num { display: block; font-family: var(--font-title); font-size: 3rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.stat__label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }

/* Recrutamento */
.recrutamento { background: var(--yellow); color: #111; padding: 2.5rem 0; }
.recrutamento__box { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.recrutamento h2 { font-family: var(--font-title); font-size: 2.2rem; font-weight: 800; }
.recrutamento p { font-weight: 500; }

/* Contato */
.contato { background: var(--bg); }
.contato__container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contato__info { display: flex; flex-direction: column; gap: 1rem; }
.info-item { display: flex; gap: 1rem; padding: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: all .3s; }
.info-item:hover { border-color: var(--yellow); transform: translateX(6px); }
.info-item > span { font-size: 1.6rem; }
.info-item h4 { font-family: var(--font-title); font-size: 1.3rem; text-transform: uppercase; color: var(--yellow); }
.info-item p { color: var(--muted); font-size: .92rem; }
.info-item a { text-decoration: none; }
.info-item p a:hover { color: var(--yellow); }
.info-item .btn { margin-top: .5rem; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.form h3 { font-family: var(--font-title); font-size: 1.8rem; text-transform: uppercase; }
.form label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; color: var(--muted); }
.form input, .form select, .form textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; color: var(--text); font-family: var(--font-body); font-size: .95rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 196, 0, .15); }

/* Footer */
.footer { background: #070708; border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; }
.footer__container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer__logo { font-family: var(--font-title); font-size: 2rem; font-weight: 800; text-decoration: none; }
.footer__sub { color: var(--yellow); font-size: .75rem; letter-spacing: 3px; margin-bottom: .8rem; }
.footer__text, .footer__list li, .footer__list a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.footer__tags { margin-top: .8rem; font-size: .75rem; letter-spacing: 2px; color: var(--yellow); }
.footer__title { font-family: var(--font-title); font-size: 1.3rem; text-transform: uppercase; color: var(--yellow); margin-bottom: .8rem; }
.footer__list { list-style: none; }
.footer__list li { margin-bottom: .4rem; }
.footer__list a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 1.2rem; text-align: center; color: var(--muted); font-size: .85rem; }

/* Flutuantes */
.whats { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.whats__bubble { background: #fff; color: #111; padding: .5rem .9rem; border-radius: 12px; font-size: .78rem; line-height: 1.25; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.whats__icon { width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 0 24px rgba(37, 211, 102, .55); animation: pulse 2.5s ease-in-out infinite; }
.scroll-top { position: fixed; right: 28px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--yellow); color: #111; font-size: 1.4rem; cursor: pointer; z-index: 90; opacity: 0; visibility: hidden; transition: all .3s; }
.scroll-top.show { opacity: 1; visibility: visible; }

/* Animações */
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.fade-in-up { animation: fadeInUp .6s ease-out; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Responsivo */
@media (max-width: 992px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: 3.4rem; }
    .hero__container, .sobre__container, .contato__container { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
}
@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .section__title { font-size: 2.2rem; }
    .nav__toggle { display: block; }
    .nav__menu { position: fixed; top: 0; right: -100%; width: 78%; height: 100vh; flex-direction: column; justify-content: center; background: rgba(11, 11, 13, .97); border-left: 1px solid var(--line); transition: right .35s ease; }
    .nav__menu.show-menu { right: 0; }
    .nav__list { flex-direction: column; text-align: center; gap: 1.4rem; }
    .nav__close { display: block; position: absolute; top: 1rem; right: 1.2rem; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding: 7rem 0 4rem; }
    .hero__title { font-size: 2.8rem; }
    .footer__container { grid-template-columns: 1fr; }
    .recrutamento__box { flex-direction: column; text-align: center; }
    .whats__bubble { display: none; }
}

img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none; /* evita "salvar imagem" no toque longo (iOS) */
}

/* ============================================================
   CORREÇÕES DE MOBILE — "tudo cortado" no celular
   ------------------------------------------------------------
   Causa medida em 390px de largura:
     documento = 411px  (21px mais largo que a tela)
   Com isso o navegador do celular corta a borda direita da
   página inteira, na seção de contato.

   Origem: as colunas do grid (.contato__container) e os campos
   do formulário não podem encolher abaixo do próprio conteúdo.
   Um input tem largura intrínseca (~325px); somando o padding
   do card, a coluna vira 391px e empurra tudo para a direita.
   ============================================================ */

/* 1) Colunas do grid podem encolher abaixo do conteúdo */
.contato__container > *,
.sobre__container > *,
.hero__container > * {
    min-width: 0;
}

/* 2) Campos ocupam a largura disponível, em vez do tamanho natural.
      Caixas de marcação (checkbox/radio) ficam de fora: esticá-las
      com width:100% deformava o aceite da LGPD no formulário de vaga. */
.form input:not([type="checkbox"]):not([type="radio"]),
.form select,
.form textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: block;
}

/* 3) Nada estoura a tela horizontalmente em nenhuma seção */
html,
body {
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* 4) Textos longos (e-mail, endereço, telefone) quebram em vez de empurrar */
.info-item,
.info-item > div,
.footer__text,
.footer__list li,
.footer__contact li {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* 5) Grade de contato vira uma coluna antes, para não apertar */
@media (max-width: 992px) {
    .contato__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .form {
        padding: 1.5rem 1.25rem;
    }
}

/* 6) Ajustes finos de celular */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Títulos grandes demais quebravam feio em telas pequenas */
    .hero__title {
        font-size: 2.3rem;
        line-height: 1.05;
    }
    .section__title {
        font-size: 1.85rem;
        line-height: 1.15;
    }

    /* Cards internos com respiro menor, para o texto caber */
    .info-item {
        padding: .9rem;
        gap: .75rem;
    }
    .info-item h4 {
        font-size: 1.1rem;
    }

    /* O botão do WhatsApp não pode vazar do card */
    .info-item .btn {
        width: 100%;
        font-size: .74rem;
        padding: .6rem .8rem;
        white-space: normal;
        line-height: 1.25;
    }

    /* Campos com fonte de 16px evitam o zoom automático do iPhone */
    .form input:not([type="checkbox"]):not([type="radio"]),
    .form select,
    .form textarea {
        font-size: 16px;
        padding: .8rem .85rem;
    }

    /* Estatísticas em 2 colunas, sem número gigante estourando */
    .stat__num {
        font-size: 2.4rem;
    }

    .form h3 {
        font-size: 1.5rem;
    }
}

/* 7) Telas muito estreitas (iPhone SE, 320px) */
@media (max-width: 360px) {
    .hero__title { font-size: 2rem; }
    .section__title { font-size: 1.65rem; }
    .nav__logo { font-size: 1.3rem; }
    .nav__logo-img { width: 36px; height: 36px; }
    .stat__num { font-size: 2.1rem; }
}

/* 8) No toque não existe hover: o deslocamento de 6px do card
      fazia o conteúdo sair da tela. Limitado ao desktop. */
@media (hover: none) {
    .info-item:hover {
        transform: none;
        border-color: var(--line);
    }
}

/* ============================================================
   NÚMEROS DE TELEFONE CLICÁVEIS
   Antes o número aparecia como texto morto (ex.: o título
   "LIGUE AGORA: (49) ...") e só o botão ao lado ligava.
   Agora todo número disca, e herdando a cor do contexto —
   sem o azul padrão de link do navegador.
   ============================================================ */

a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

a[href^="tel:"]:hover,
a[href^="tel:"]:focus-visible {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* No faixa amarela (.recrutamento) o destaque precisa ser escuro */
.recrutamento a[href^="tel:"]:hover,
.recrutamento a[href^="tel:"]:focus-visible {
    color: #000;
}

/* O número dentro do título "LIGUE AGORA" mantém o tamanho do h2 */
h2 .link-ligar {
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: border-color .2s ease;
}
h2 .link-ligar:hover {
    border-bottom-color: currentColor;
    text-decoration: none;
}

/* Área de toque confortável no celular */
@media (max-width: 768px) {
    a[href^="tel:"] {
        display: inline-block;
        padding: .12rem 0;
    }
}

/* ============================================================
   AVISO DE LIGAÇÃO — aparece só quando o discador não abre
   (computador, navegador interno de app, aparelho sem telefone)
   ============================================================ */
#avisoLigar {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    animation: avisoSurgir .2s ease;
}

@keyframes avisoSurgir {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.avisoLigar__caixa {
    position: relative;
    background: var(--card, #16161a);
    border: 1px solid rgba(255, 196, 0, .35);
    border-radius: 16px;
    padding: 2rem 1.6rem 1.6rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}

.avisoLigar__fechar {
    position: absolute;
    top: .6rem;
    right: .8rem;
    background: none;
    border: 0;
    color: var(--muted, #9a9aa8);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    padding: .2rem .4rem;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.avisoLigar__fechar:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.avisoLigar__rotulo {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow, #ffc400);
    margin: 0 0 .6rem;
}

.avisoLigar__numero {
    font-family: var(--font-title, sans-serif);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 .8rem;
    letter-spacing: .5px;
}

.avisoLigar__texto {
    font-size: .88rem;
    line-height: 1.55;
    color: var(--muted, #9a9aa8);
    margin: 0 0 1.2rem;
}

.avisoLigar__acoes {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.avisoLigar__copiar,
.avisoLigar__whats {
    display: block;
    width: 100%;
    padding: .85rem 1rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, background .2s, color .2s;
}

.avisoLigar__copiar {
    background: transparent;
    border: 2px solid rgba(255, 196, 0, .5);
    color: var(--yellow, #ffc400);
}
.avisoLigar__copiar:hover {
    background: rgba(255, 196, 0, .12);
    transform: translateY(-1px);
}

.avisoLigar__whats {
    background: var(--yellow, #ffc400);
    border: 2px solid var(--yellow, #ffc400);
    color: #111;
}
.avisoLigar__whats:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 420px) {
    .avisoLigar__numero { font-size: 1.75rem; }
    .avisoLigar__caixa { padding: 1.7rem 1.2rem 1.3rem; }
}

/* Confirmação visual do botão "Copiar número" */
.avisoLigar__copiar.is-copiado {
    background: var(--yellow, #ffc400);
    border-color: var(--yellow, #ffc400);
    color: #111;
}
