/*
Theme Name: Truck Neo Theme
Template: hello-elementor
Version: 1.0
*/

/* Rodapé fixo no fim da página */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    background-color: #071A3A !important;
    color: #fff;
}

/* Header */
header.truck-header {
    background-color: #0a1530; /* ajuste para a cor exata do logo */
    width: 100%;
    max-width: 100%;
}

.truck-header .site-logo img,
.truck-header .custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
}

/* Menu */
.truck-header .main-menu ul.nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.truck-header .main-menu ul.nav li .nav-link {
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
}

.truck-header .main-menu ul.nav li a:hover .nav-link {
    color: #ff6a1a; /* laranja do ícone do logo */
    text-decoration: underline;
}

/* ==========================================================================
   Home SOS Veículo — colar no final do style.css do tema.
   Tudo escopado em .sos-home para não interferir no resto do site.
   ========================================================================== */

html:has(.sos-home) { scroll-behavior: smooth; }

.sos-home {
  --sos-navy: #131B2E;
  --sos-deep: #071A3A;
  --sos-title: #062052;
  --sos-ink: #0B1C30;
  --sos-muted: #5B6472;
  --sos-orange: #FD761A;
  --sos-orange-dark: #B44900;
  --sos-pale: #E5EEFF;
  --sos-border: #D3E4FE;
  --sos-bg: #F8F9FF;

  font-family: Arial, Helvetica, sans-serif;
  color: var(--sos-ink);
  background: var(--sos-bg);
  line-height: 1.6;
  overflow-x: clip;
}
.sos-home *,
.sos-home *::before,
.sos-home *::after { box-sizing: border-box; }
.sos-home img { max-width: 100%; height: auto; }

/* Seções em largura total, mesmo que o tema limite o container */
.sos-home > .sos-section,
.sos-home > .sos-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.sos-home .sos-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.sos-home .sos-section { padding: 72px 0; }
.sos-home h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.2; color: var(--sos-title); }
.sos-home h3 { margin: 0; }
.sos-home .sos-eyebrow {
  display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: bold;
  letter-spacing: .08em; text-transform: uppercase; color: var(--sos-orange-dark);
}
.sos-home .sos-lead { color: var(--sos-muted); font-size: 18px; margin: 0 0 24px; }
.sos-home .sos-fine { text-align: center; margin: 28px 0 0; font-size: 13px; color: var(--sos-muted); }

.sos-home .sos-btn {
  display: block; padding: 14px 28px; border-radius: 12px; text-align: center;
  background: var(--sos-orange); color: #fff; font-weight: bold; text-decoration: none;
}
.sos-home .sos-btn.is-outline { background: #fff; color: var(--sos-navy); border: 2px solid var(--sos-navy); }

/* Carrossel */
.sos-home .sos-hero { padding: 0; background: var(--sos-deep); }

/* O aplicativo */
.sos-home .sos-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sos-home .sos-prints { width: 100%; display: block; border-radius: 24px; }
.sos-home .sos-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sos-home .sos-features li { display: flex; gap: 14px; align-items: flex-start; }
.sos-home .sos-ico {
  flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--sos-pale);
  display: grid; place-items: center; font-size: 22px;
}
.sos-home .sos-features h3 { margin: 0 0 2px; font-size: 17px; color: var(--sos-title); }
.sos-home .sos-features p { margin: 0; color: var(--sos-muted); font-size: 15px; }

/* Planos */
.sos-home .sos-plans { background: var(--sos-bg); }
.sos-home .sos-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.sos-home .sos-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.sos-home .sos-plan {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--sos-border); border-radius: 20px; padding: 32px 28px;
}
.sos-home .sos-plan.is-featured { border: 2px solid var(--sos-orange); box-shadow: 0 18px 40px rgba(253, 118, 26, .18); }
.sos-home .sos-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sos-orange); color: #fff; font-size: 12px; font-weight: bold;
  letter-spacing: .06em; padding: 5px 14px; border-radius: 999px;
}
.sos-home .sos-plan h3 { font-size: 22px; color: var(--sos-title); }
.sos-home .sos-for { margin: 4px 0 18px; color: var(--sos-muted); font-size: 14px; }
.sos-home .sos-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.sos-home .sos-price b { font-size: 40px; line-height: 1; color: var(--sos-navy); }
.sos-home .sos-price span { color: var(--sos-muted); font-size: 14px; }
.sos-home .sos-plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; flex: 1; }
.sos-home .sos-plan li { display: flex; gap: 10px; font-size: 15px; }
.sos-home .sos-plan li::before {
  content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: #DDF6E9; color: #18794E; font-weight: bold; font-size: 13px;
  display: grid; place-items: center; margin-top: 1px;
}
.sos-home .sos-plan li.is-off { color: #9aa3b2; }
.sos-home .sos-plan li.is-off::before { content: "–"; background: #eef1f6; color: #9aa3b2; }

/* Quem somos */
.sos-home .sos-about { background: #fff; }
.sos-home .sos-about-box { max-width: 780px; text-align: center; }
.sos-home .sos-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.sos-home .sos-stat { background: var(--sos-bg); border: 1px solid var(--sos-border); border-radius: 16px; padding: 22px; }
.sos-home .sos-stat b { display: block; font-size: 30px; color: var(--sos-orange); }
.sos-home .sos-stat span { color: var(--sos-muted); font-size: 14px; }

/* Contato */
.sos-home .sos-cols-contact { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 48px; }
.sos-home .sos-info { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.sos-home .sos-info li { display: flex; gap: 14px; }
.sos-home .sos-info .sos-ico { background: var(--sos-navy); color: #fff; }
.sos-home .sos-info small { display: block; color: var(--sos-muted); }
.sos-home .sos-info strong, .sos-home .sos-info a { color: var(--sos-title); text-decoration: none; }
.sos-home .sos-form { background: #fff; border: 1px solid var(--sos-border); border-radius: 16px; padding: 28px; }

/* Contact Form 7 (e campos genéricos dentro do bloco) */
.sos-home .sos-form label { display: block; font-weight: bold; font-size: 14px; color: var(--sos-title); margin: 14px 0 6px; }
.sos-home .sos-form p:first-child label { margin-top: 0; }
.sos-home .sos-form input[type="text"],
.sos-home .sos-form input[type="email"],
.sos-home .sos-form input[type="tel"],
.sos-home .sos-form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #B2C9F5; border-radius: 10px; font: inherit;
}
.sos-home .sos-form textarea { min-height: 130px; resize: vertical; }
.sos-home .sos-form input[type="submit"],
.sos-home .sos-form button[type="submit"] {
  margin-top: 18px; width: 100%; padding: 15px; border: 0; border-radius: 12px;
  background: var(--sos-orange); color: #fff; font-weight: bold; font-size: 16px; cursor: pointer;
}
.sos-home .sos-form .wpcf7-not-valid-tip { color: #b91c1c; font-size: 13px; }
.sos-home .sos-form .wpcf7-response-output { border-radius: 10px; margin: 16px 0 0; }

.sos-copyright { text-align: center; padding: 26px 20px; margin: 0; background: #071A3A; color: #cfd8ea; font-size: 14px; }

@media (max-width: 820px) {
  .sos-home .sos-section { padding: 48px 0; }
  .sos-home h2 { font-size: 26px; }
  .sos-home .sos-cols,
  .sos-home .sos-cols-contact { grid-template-columns: 1fr; gap: 32px; }
  .sos-home .sos-plan-grid { grid-template-columns: 1fr; }
  .sos-home .sos-stats { grid-template-columns: 1fr; }
}