/*
Theme Name: Filipe Viagens
Theme URI: https://filipeviagens.com.br
Author: Filipe Viagens
Author URI: https://filipeviagens.com.br
Description: Tema WordPress de página única para a Filipe Viagens — transporte de Passageiros Itapetininga ↔ Sorocaba. Design com paleta navy, vermelho e branco, seções de rotas, serviços, diferenciais e CTA de WhatsApp.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: filipe-viagens
Tags: one-page, business, custom-colors, custom-logo, translation-ready
*/

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Tokens ---------- */
:root {
  --navy: #172554;
  --navy-90: rgba(23, 37, 84, 0.9);
  --navy-10: rgba(23, 37, 84, 0.10);
  --brand-red: #c81f2b;
  --brand-red-10: rgba(200, 31, 43, 0.10);
  --brand-red-20: rgba(200, 31, 43, 0.20);
  --white: #ffffff;
  --surface: #f4f6fb;
  --border: #e5e7eb;
  --muted: #64748b;
}

/* ---------- Layout ---------- */
.fv-container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.fv-section { padding: 5rem 0; }
@media (min-width: 640px) { .fv-section { padding: 6rem 0; } }

/* ---------- Buttons ---------- */
.fv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; border-radius: 999px; font-weight: 600;
  transition: all .2s ease; border: 2px solid transparent;
}
.fv-btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.fv-btn-md { padding: 0.75rem 1.5rem; font-size: 1rem; }
.fv-btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.fv-btn-primary { background: var(--brand-red); color: #fff; box-shadow: 0 10px 25px -10px rgba(200,31,43,.5); }
.fv-btn-primary:hover { background: #a91824; }
.fv-btn-outline { border-color: var(--brand-red); color: var(--brand-red); background: transparent; }
.fv-btn-outline:hover { background: var(--brand-red-10); }
.fv-icon { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.fv-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,.6);
}
.fv-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; max-width: 1180px; margin: 0 auto;
}
.fv-logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.fv-logo-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.fv-logo-mark svg { width: 22px; height: 22px; }
.fv-logo-text { display: flex; flex-direction: column; line-height: 1; }
.fv-logo-text strong { font-size: 1.05rem; color: var(--navy); font-weight: 800; letter-spacing: .02em; }
.fv-logo-text span { margin-top: 2px; font-size: 0.65rem; letter-spacing: 0.25em; color: var(--brand-red); font-weight: 700; }
.fv-nav { display: none; gap: 2rem; }
.fv-nav a { font-size: 0.9rem; font-weight: 500; color: rgba(15,23,42,.8); transition: color .2s; }
.fv-nav a:hover { color: var(--brand-red); }
@media (min-width: 900px) { .fv-nav { display: inline-flex; } }

/* ---------- Hero ---------- */
.fv-hero { position: relative; background: var(--navy); padding-top: 6.5rem; overflow: hidden; }
.fv-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(200,31,43,.15), transparent 60%);
  pointer-events: none;
}
.fv-hero-grid {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: center; max-width: 1180px; margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
@media (min-width: 900px) { .fv-hero-grid { grid-template-columns: 1fr 1fr; padding: 4rem 1.25rem 5rem; } }
.fv-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85); font-size: 0.875rem;
}
.fv-hero-eyebrow .fv-icon { color: var(--brand-red); }
.fv-hero h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; margin: 1.25rem 0 1rem; }
.fv-hero h1 em { font-style: normal; color: var(--brand-red); }
.fv-hero p.lead { color: rgba(255,255,255,.72); font-size: 1.125rem; max-width: 34rem; }
.fv-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; align-items: center; }
.fv-hero-cta .fv-link {
  color: rgba(255,255,255,.85); font-weight: 500; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: .35rem;
}
.fv-hero-cta .fv-link:hover { color: #fff; }
.fv-badges { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; color: rgba(255,255,255,.6); font-size: 0.875rem; }
.fv-badges span { display: inline-flex; align-items: center; gap: .3rem; }
.fv-badges .fv-icon { color: var(--brand-red); }
.fv-hero-image { position: relative; }
.fv-hero-image img {
  width: 100%; height: auto; border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}
.fv-hero-card {
  position: absolute; left: -1rem; bottom: -1rem;
  background: rgba(23,37,84,.95); border: 1px solid rgba(255,255,255,.1);
  border-radius: 0.85rem; padding: 1rem 1.1rem; color: #fff;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 20px 45px -15px rgba(0,0,0,.5);
}
.fv-hero-card .icon {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--brand-red-20); color: var(--brand-red);
  display: inline-flex; align-items: center; justify-content: center;
}
.fv-hero-card small { color: rgba(255,255,255,.6); font-size: 0.75rem; display: block; }
.fv-hero-card strong { font-weight: 600; }

/* ---------- Section headings ---------- */
.fv-section-head { text-align: center; margin-bottom: 3rem; }
.fv-section-head h2 { color: var(--navy); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; }
.fv-section-head p { color: var(--muted); margin: 1rem auto 0; max-width: 42rem; font-size: 1.05rem; }

/* ---------- Routes ---------- */
.fv-routes { background: var(--white); }
.fv-routes-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .fv-routes-grid { grid-template-columns: 1fr 1fr; } }
.fv-route-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: 1rem; background: #fff;
  padding: 2rem; box-shadow: 0 1px 2px rgba(0,0,0,.03); transition: box-shadow .2s;
}
.fv-route-card:hover { box-shadow: 0 8px 24px -10px rgba(0,0,0,.15); }
.fv-route-card::after {
  content: ""; position: absolute; top: -2rem; right: -2rem; width: 6rem; height: 6rem; border-radius: 999px;
  background: var(--brand-red-10);
}
.fv-route-card.alt::after { background: var(--navy-10); }
.fv-tag {
  display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .75rem;
  border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: var(--brand-red-10); color: var(--brand-red);
}
.fv-route-card.alt .fv-tag { background: var(--navy-10); color: var(--navy); }
.fv-route-card h3 { color: var(--navy); font-size: 1.5rem; font-weight: 800; margin-top: 1rem; }
.fv-route-time { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; position: relative; }
.fv-time-badge {
  width: 64px; height: 64px; border-radius: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.35rem; color: #fff; background: var(--navy);
}
.fv-route-card.alt .fv-time-badge { background: var(--brand-red); }
.fv-route-time small { color: var(--muted); display: block; font-weight: 500; font-size: .875rem; }
.fv-route-time strong { color: #0f172a; font-size: 1.1rem; font-weight: 600; }

/* ---------- Services ---------- */
.fv-services { background: var(--surface); }
.fv-cards-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .fv-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .fv-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.fv-card {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem; padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}
.fv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.15); }
.fv-card-icon {
  width: 56px; height: 56px; border-radius: 0.85rem;
  background: var(--brand-red-10); color: var(--brand-red);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.fv-card-icon svg { width: 28px; height: 28px; }
.fv-card h3 { color: var(--navy); font-size: 1.25rem; font-weight: 800; }
.fv-card p { color: var(--muted); margin-top: .75rem; }

/* ---------- Differentials ---------- */
.fv-differentials { background: var(--white); }
.fv-card.centered { text-align: center; display: flex; flex-direction: column; align-items: center; }
.fv-card.centered .fv-card-icon { background: var(--navy); color: #fff; border-radius: 999px; }

/* ---------- Contact ---------- */
.fv-contact { background: var(--navy); text-align: center; }
.fv-contact h2 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; }
.fv-contact p { color: rgba(255,255,255,.72); max-width: 42rem; margin: 1rem auto 0; font-size: 1.05rem; }
.fv-contact-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; margin-top: 2.5rem; }
.fv-contact-actions .phone {
  color: #fff; font-size: 1.15rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: .5rem; transition: color .2s;
}
.fv-contact-actions .phone:hover { color: var(--brand-red); }
.fv-contact small { display: block; color: rgba(255,255,255,.5); margin-top: 1.5rem; font-size: .875rem; }

/* ---------- Footer ---------- */
.fv-footer { border-top: 1px solid var(--border); background: #fff; padding: 2.5rem 0; }
.fv-footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; flex-direction: column; gap: 1.25rem; align-items: center; text-align: center;
}
@media (min-width: 760px) {
  .fv-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.fv-footer small { color: var(--muted); font-size: .875rem; }
.fv-footer nav a { color: var(--muted); font-size: .875rem; font-weight: 500; margin-left: 1.25rem; transition: color .2s; }
.fv-footer nav a:first-child { margin-left: 0; }
.fv-footer nav a:hover { color: var(--brand-red); }

/* ---------- Floating WhatsApp ---------- */
.fv-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(37,211,102,.6);
}
.fv-fab svg { width: 28px; height: 28px; }
.fv-fab:hover { filter: brightness(1.05); }

/* ---------- Utilities ---------- */
.fv-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
