/* ═══════════════════════════════════════════════════════════
   MEGA LOCAÇÕES — main.css
   Design system: cores, tipografia, layout base, header, footer
   Direção estética: industrial/utilitário, confiável, direto.
   Mobile-first.
═══════════════════════════════════════════════════════════ */

:root {
  --blue:        #032676;
  --blue-mid:    #0a3a9e;
  --blue-light:  #e8eeff;
  --blue-light2: #f0f4ff;
  --yellow:      #FDD003;
  --yellow-dark: #c9a800;
  --yellow-text: #5a3d00;
  --white:       #FEFEFF;
  --off-white:   #F5F5F3;
  --gray-line:   #e3e3e0;
  --text:        #1C1C1C;
  --text-muted:  #555;
  --text-light:  #888;
  --wa:          #25D366;
  --wa-dark:     #1da851;

  --radius:    10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(3,38,118,.08);
  --shadow-md: 0 6px 20px rgba(3,38,118,.12);
  --shadow-lg: 0 14px 40px rgba(3,38,118,.18);

  --container: 1140px;
  --header-h:  118px; /* altura combinada do header sticky no desktop */

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', system-ui, -apple-system, sans-serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Tipografia ───────────────────────────────────────────── */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.display-xl { font-size: clamp(34px, 8vw, 64px); font-weight: 900; }
.display-lg { font-size: clamp(30px, 6vw, 48px); font-weight: 900; }
.display-md { font-size: clamp(26px, 5vw, 38px); }
.display-sm { font-size: clamp(22px, 4vw, 28px); }

.lead { font-size: clamp(17px, 2.5vw, 20px); color: var(--text-muted); line-height: 1.55; }
.muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ── Layout ───────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 56px 0; }
.section--alt { background: var(--off-white); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue .muted,
.section--blue .lead { color: rgba(255,255,255,.8); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head .lead { margin-top: 12px; }

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 13px; letter-spacing: .03em;
  padding: 6px 14px; border-radius: 100px;
}
.badge--yellow { background: var(--yellow); color: var(--yellow-text); }
.badge--blue   { background: var(--blue-light); color: var(--blue); }
.badge--loc    { background: rgba(253,208,3,.16); color: var(--yellow); border: 1px solid rgba(253,208,3,.4); }

/* ── Botões ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; font-size: 17px;
  min-height: 52px; padding: 0 28px;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-align: center; line-height: 1.1;
}
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }

.btn-primary { background: var(--yellow); color: var(--blue); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #ffd91f; box-shadow: var(--shadow-md); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-light:hover { background: #fff; color: var(--blue); }

.btn-sm { min-height: 40px; font-size: 14px; padding: 0 16px; }

/* ── Header ───────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }

.header-top { background: var(--white); border-bottom: 1px solid var(--gray-line); }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-weight: 900; font-size: 22px; color: var(--blue); letter-spacing: -.01em; }
.logo-sub { font-size: 11px; font-weight: 600; color: var(--text-light); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }

.header-nav { display: none; gap: 26px; }
.nav-link { font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; color: var(--text); padding: 4px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav-link:hover, .nav-link.active { color: var(--blue); border-color: var(--yellow); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-tel { display: none; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--blue); }

.hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: var(--blue); border: none; border-radius: 8px; cursor: pointer; padding: 0 11px; }
.hamburger span { display: block; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.header-cta-bar { background: var(--yellow); }
.header-cta-bar a { display: flex; align-items: center; justify-content: center; gap: 9px; height: 46px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 15px; color: var(--blue); letter-spacing: .01em; }

/* ── Mobile drawer ────────────────────────────────────────── */
.mobile-drawer { position: fixed; top: 0; right: -300px; width: 280px; max-width: 85vw; height: 100vh; background: var(--blue); z-index: 1200; padding: 20px; transition: right .28s ease; display: flex; flex-direction: column; }
.mobile-drawer.open { right: 0; }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-drawer-head .logo-name { color: #fff; }
.drawer-close { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }
.mobile-nav { display: flex; flex-direction: column; margin-bottom: 24px; }
.mobile-nav-link { font-family: var(--font-display); font-weight: 700; font-size: 19px; text-transform: uppercase; color: #fff; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); min-height: 48px; display: flex; align-items: center; }
.mobile-nav-link.active { color: var(--yellow); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1100; opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s; }
.drawer-overlay.open { opacity: 1; visibility: visible; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--blue); color: rgba(255,255,255,.75); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 32px; }
.footer-logo { color: #fff; font-size: 24px; display: block; margin-bottom: 12px; }
.footer-tagline { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.footer-wa-link { display: inline-flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 600; font-size: 15px; }
.footer-title { font-size: 16px; color: #fff; margin-bottom: 14px; letter-spacing: .04em; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 14px; transition: color .15s; }
.footer-links a:hover { color: var(--yellow); }
.footer-contact p { font-size: 14px; margin-bottom: 9px; line-height: 1.5; }
.footer-contact a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; font-size: 12.5px; color: rgba(255,255,255,.55); }

/* ── Floating WhatsApp ────────────────────────────────────── */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 9999; display: flex; align-items: center; gap: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s; }
.wa-float.show { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-float-btn { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--wa); border-radius: 50%; box-shadow: 0 6px 18px rgba(37,211,102,.45); animation: waPulse 8s ease-in-out infinite; }
.wa-float-label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 14px; color: #fff; background: var(--wa); padding: 0 14px 0 16px; height: 42px; display: none; align-items: center; border-radius: 100px 0 0 100px; margin-right: -8px; }
@keyframes waPulse { 0%, 92%, 100% { box-shadow: 0 6px 18px rgba(37,211,102,.45); } 95% { box-shadow: 0 6px 18px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,0); } }

/* ── Utilitários ──────────────────────────────────────────── */
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════════════
   DESKTOP / TABLET
═══════════════════════════════════════════════════════════ */
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 940px) {
  .header-nav { display: flex; }
  .header-tel { display: flex; }
  .hamburger { display: none; }
  .section { padding: 80px 0; }
}
