/*
Theme Name: WSL Transportes
Theme URI: https://wsltransportes.com.br
Author: WSL Transportes
Author URI: https://wsltransportes.com.br
Description: Tema institucional para WSL Transportes — empresa brasileira de transporte rodoviário de cargas. Inclui páginas Nossa Missão, Sobre Nós e Política de Privacidade. Ideal para verificação no Facebook Business Manager.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wsl-transportes
Tags: business, one-column, two-columns, custom-menu, custom-logo, featured-images, translation-ready
*/

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #1a2533;
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #00713a; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.2; color: #0f2a1d; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 92%); margin-inline: auto; }

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e7ebee;
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.site-branding a { display: flex; align-items: center; gap: 12px; color: #0f2a1d; font-weight: 700; font-family: 'Poppins', sans-serif; font-size: 1.25rem; text-decoration: none; }
.site-branding .logo-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, #00713a, #fdd835);
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; }
.main-navigation a { color: #1a2533; font-weight: 500; }
.main-navigation a:hover { color: #00713a; text-decoration: none; }

.menu-toggle {
  display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: #0f2a1d;
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e7ebee; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; padding: 16px 5%; gap: 14px; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #00713a 0%, #014a26 100%);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.hero h1 { color: #fff; }
.hero p { font-size: 1.15rem; max-width: 720px; margin: 0 auto 1.6em; opacity: .92; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 8px;
  background: #fdd835; color: #0f2a1d; font-weight: 600; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.15); text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }

/* Sections */
section.block { padding: 80px 0; }
.block h2 { text-align: center; margin-bottom: .4em; }
.block .lead { text-align: center; max-width: 760px; margin: 0 auto 2.5em; color: #4a5563; font-size: 1.05rem; }

/* Mission cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: #fff; border: 1px solid #e7ebee; border-radius: 12px;
  padding: 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.card .icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: #e6f4ec; color: #00713a;
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px;
}

.bg-soft { background: #f6f9f7; }

/* Page content */
.page-content { padding: 60px 0; }
.page-content article { max-width: 820px; margin: 0 auto; }
.page-content h2 { text-align: left; margin-top: 1.5em; }
.page-content ul, .page-content ol { padding-left: 1.4em; }

/* Footer (Baseboard) */
.site-footer {
  background: #0f2a1d; color: #cdd7d2;
  padding: 60px 0 0;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid a { color: #cdd7d2; }
.footer-grid a:hover { color: #fdd835; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }

.legal-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px; padding: 22px 0;
  font-size: .85rem; color: #94a39c; text-align: center;
}
.legal-bar strong { color: #fff; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 60px 0; }
  section.block { padding: 56px 0; }
}
