/* ==========================================================
   Fernandes Transportes BH — folha de estilos principal
   ========================================================== */
:root {
  --navy: #0f1f4b;
  --navy-2: #172b63;
  --navy-3: #0a1534;
  --orange: #f7941d;
  --orange-2: #ff7a00;
  --orange-soft: #fff4e6;
  --green: #25d366;
  --green-2: #1ebe5b;
  --ink: #1b2233;
  --muted: #5d6578;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 31, 75, .10);
  --shadow-lg: 0 24px 60px rgba(15, 31, 75, .18);
  --container: 1200px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { color: var(--orange); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--green-2); box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }
.btn-orange { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 10px 24px rgba(247, 148, 29, .35); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 1.1em 1.9em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-3); color: #cfd6ea; font-size: .86rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--orange); }
.topbar-urgency { color: var(--orange); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.header.scrolled { box-shadow: 0 8px 24px rgba(15,31,75,.08); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 54px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-head); font-weight: 900; font-style: italic; font-size: 1.45rem; color: var(--navy); letter-spacing: .01em; }
.logo-text small { font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .32em; color: var(--orange); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav-drop > button {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: 10px 14px; border-radius: 10px; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; transition: color .2s, background .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a.active { color: var(--orange-2); background: var(--orange-soft); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop:hover > button svg, .nav-drop.open > button svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 10px; min-width: 300px; opacity: 0; visibility: hidden; transition: all .2s ease;
}
.nav-drop:hover .drop-menu, .nav-drop.open .drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .93rem; }
.drop-menu a:hover { background: var(--bg-2); color: var(--orange-2); }
.drop-menu a span.ic { width: 34px; height: 34px; border-radius: 9px; background: var(--orange-soft); color: var(--orange-2); display: grid; place-items: center; flex: none; }
.drop-menu a span.ic svg { width: 18px; height: 18px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.header-phone small { color: var(--muted); font-size: .74rem; }
.header-phone strong { font-family: var(--font-head); color: var(--navy); }
.menu-toggle { display: none; background: var(--navy); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(247,148,29,.28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(37,211,102,.12), transparent 60%),
    linear-gradient(160deg, var(--navy-3) 0%, var(--navy) 55%, var(--navy-2) 100%);
  padding: 72px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero-lead { font-size: 1.15rem; color: #d7ddef; max-width: 560px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(247,148,29,.14); color: #ffd29a; border: 1px solid rgba(247,148,29,.35);
  font-size: .85rem; font-weight: 600; margin-bottom: 18px;
}
.pill svg { width: 16px; height: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #d7ddef; }
.hero-trust svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.stars { color: #ffc23d; letter-spacing: 2px; }

.hero-visual { position: relative; min-height: 460px; }
.hero-visual .ph {
  position: absolute; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,.9);
}
.hero-visual .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .ph-1 { width: 62%; height: 72%; right: 0; top: 0; }
.hero-visual .ph-2 { width: 48%; height: 50%; left: 0; bottom: 0; }
.hero-visual .ph-3 { width: 36%; height: 36%; right: 6%; bottom: -4%; }
.float-card {
  position: absolute; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; z-index: 2;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; line-height: 1.1; }
.float-card small { color: var(--muted); font-size: .8rem; }
.fc-1 { left: 4%; top: 6%; }
.fc-1 .ic { background: var(--orange-soft); color: var(--orange-2); }
.fc-2 { right: -10px; top: 62%; animation-delay: -2.5s; }
.fc-2 .ic { background: #e7f9ee; color: var(--green-2); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; color: var(--bg); }

/* ---------- Seções ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-dark { background: linear-gradient(160deg, var(--navy-3), var(--navy)); color: #d7ddef; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #b9c2dc; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange-2); margin-bottom: 12px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }

/* ---------- Faixa de benefícios ---------- */
.trust-strip { margin-top: -70px; position: relative; z-index: 3; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.trust-item { padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-2); display: grid; place-items: center; flex: none; }
.trust-item .ic svg { width: 24px; height: 24px; }
.trust-item h3 { font-size: 1rem; margin-bottom: 4px; }
.trust-item p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Cards de serviço ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; border: 1px solid var(--line);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .thumb .tag {
  position: absolute; left: 14px; top: 14px; background: rgba(15,31,75,.85); color: #fff; font-size: .75rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.service-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card .body .ic { width: 52px; height: 52px; border-radius: 14px; margin-top: -50px; margin-bottom: 14px; position: relative;
  background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(247,148,29,.4); }
.service-card .body .ic svg { width: 26px; height: 26px; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--orange-2); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Sobre (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media .main-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.2; }
.split-media .main-img img { width: 100%; height: 100%; object-fit: cover; }
.split-media .sub-img { position: absolute; right: -24px; bottom: -30px; width: 46%; border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; }
.split-media .sub-img img { width: 100%; height: 100%; object-fit: cover; }
.exp-badge {
  position: absolute; left: -20px; top: 30px; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff;
  border-radius: 20px; padding: 18px 22px; box-shadow: 0 16px 34px rgba(247,148,29,.45); text-align: center;
}
.exp-badge strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; font-weight: 900; }
.exp-badge span { font-size: .82rem; font-weight: 600; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li svg { width: 22px; height: 22px; color: var(--green-2); flex: none; margin-top: 2px; }
.check-list.two-col { grid-template-columns: 1fr 1fr; }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
}
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--orange); line-height: 1.1; }
.stat span { color: #c9d1e8; font-size: .95rem; }

/* ---------- Passo a passo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; line-height: 1; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2)); width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(247,148,29,.35);
}
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Faixa de urgência ---------- */
.urgency-band {
  background: linear-gradient(110deg, var(--orange-2), var(--orange) 60%, #ffb347);
  color: #fff; padding: 46px 0; position: relative; overflow: hidden;
}
.urgency-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,.12);
}
.urgency-band .container { display: flex; align-items: center; justify-content: space-between; gap: 26px; position: relative; z-index: 1; }
.urgency-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.urgency-band p { margin: 0; color: #fff4e6; font-size: 1.05rem; }
.urgency-band .btn-wa { box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.countdown { display: inline-flex; gap: 8px; margin-top: 14px; }
.countdown div { background: rgba(15,31,75,.25); border-radius: 10px; padding: 8px 12px; text-align: center; min-width: 62px; }
.countdown b { display: block; font-family: var(--font-head); font-size: 1.4rem; line-height: 1; }
.countdown small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 960px; margin: 0 auto; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.testimonial .q { position: absolute; right: 24px; top: 14px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--orange-soft); }
.testimonial h3 { font-size: 1.05rem; margin-bottom: 8px; }
.testimonial p { color: var(--muted); font-style: italic; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.testimonial .who strong { display: block; color: var(--navy); }
.testimonial .who small { color: var(--muted); }

/* ---------- Áreas atendidas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.areas span {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .92rem; font-weight: 500; transition: all .2s;
}
.areas span svg { width: 14px; height: 14px; color: var(--orange-2); }
.areas span:hover { border-color: var(--orange); color: var(--orange-2); }
.section-dark .areas span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e3e8f5; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(15,31,75,.05); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-family: var(--font-head); font-weight: 700; color: var(--navy); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-2); display: grid; place-items: center; font-size: 1.3rem; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Formulário ---------- */
.quote-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.quote-card {
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 34px; border-top: 6px solid var(--orange);
}
.quote-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.quote-card .sub { color: var(--muted); margin-bottom: 22px; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); margin-top: 12px; justify-content: center; }
.form-note svg { width: 16px; height: 16px; color: var(--green-2); }

.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 16px; padding: 18px 20px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s; }
.contact-card:hover { transform: translateX(6px); }
.contact-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--orange-soft); color: var(--orange-2); }
.contact-card .ic.green { background: #e7f9ee; color: var(--green-2); }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card strong { font-family: var(--font-head); color: var(--navy); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: 20px; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  color: #fff; padding: 70px 0 90px; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(247,148,29,.3), transparent 60%),
    linear-gradient(160deg, var(--navy-3), var(--navy) 60%, var(--navy-2));
}
.page-hero .container { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero.center .container { grid-template-columns: 1fr; text-align: center; }
.page-hero.center .hero-lead { margin: 0 auto; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero.center .hero-actions { justify-content: center; }
.page-hero-img { border-radius: 22px; overflow: hidden; border: 4px solid rgba(255,255,255,.9); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: #aab4d0; margin: 0 0 16px; padding: 0; list-style: none; }
.page-hero.center .breadcrumb { justify-content: center; }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--orange); }

/* ---------- Conteúdo de serviço ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #3c4457; font-size: 1.03rem; }
.prose .check-list li { color: #3c4457; }
.prose img.inline { border-radius: var(--radius); box-shadow: var(--shadow); margin: 24px 0; width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-cta {
  background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #d7ddef; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg);
}
.side-cta h3 { color: #fff; }
.side-cta .badge-urg { display: inline-flex; gap: 6px; align-items: center; background: rgba(247,148,29,.18); color: #ffd29a; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; margin-bottom: 12px; }
.side-cta .badge-urg svg { width: 14px; height: 14px; }
.side-cta .btn { margin-top: 10px; }
.side-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-list h3 { font-size: 1.05rem; }
.side-list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .94rem; }
.side-list a:last-child { border-bottom: 0; }
.side-list a:hover { color: var(--orange-2); }
.side-list a svg { width: 16px; height: 16px; color: var(--orange); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.feature { background: var(--bg-2); border-radius: 14px; padding: 20px; border: 1px solid var(--line); }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--orange-2); display: grid; place-items: center; margin-bottom: 10px; box-shadow: 0 4px 10px rgba(15,31,75,.06); }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Valores (sobre) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.value .ic { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.value .ic svg { width: 28px; height: 28px; }
.value p { color: var(--muted); margin: 0; }
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--orange), rgba(247,148,29,.15)); }
.tl-item { position: relative; margin-bottom: 30px; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); }
.tl-item h3 { margin-bottom: 6px; }
.tl-item p { color: var(--muted); margin: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  border-radius: 28px; padding: 60px 50px; color: #fff; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(247,148,29,.45), transparent 60%),
    linear-gradient(140deg, var(--navy-3), var(--navy-2));
  box-shadow: var(--shadow-lg);
}
.cta-final h2 { color: #fff; }
.cta-final p { color: #c9d1e8; max-width: 620px; margin: 0 auto 26px; font-size: 1.08rem; }
.cta-final .hero-actions { justify-content: center; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-3); color: #aab4d0; padding: 70px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo-text strong { color: #fff; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--orange); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* ==========================================================
   WhatsApp flutuante com mensagens rotativas
   ========================================================== */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-btn {
  position: relative; width: 66px; height: 66px; border-radius: 50%; background: var(--green); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.5); transition: transform .2s;
}
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 36px; height: 36px; }
.wa-btn::before, .wa-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: wa-ring 2.4s infinite; z-index: -1;
}
.wa-btn::after { animation-delay: 1.2s; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }
.wa-badge {
  position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ff3b30; color: #fff;
  font-size: .75rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; animation: pop .4s ease;
}
@keyframes pop { 0% { transform: scale(0); } 80% { transform: scale(1.2); } 100% { transform: scale(1); } }

.wa-bubble {
  position: relative; width: 300px; max-width: calc(100vw - 44px); background: #fff; border-radius: 18px 18px 4px 18px;
  box-shadow: 0 18px 50px rgba(15,31,75,.25); overflow: hidden; cursor: pointer;
  opacity: 0; transform: translateY(14px) scale(.96); transform-origin: bottom right; pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.9,.3,1.3);
}
.wa-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075e54; color: #fff; }
.wa-bubble-head .av { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; position: relative; flex: none; }
.wa-bubble-head .av svg { width: 26px; height: 20px; }
.wa-bubble-head .av::after { content: ""; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid #075e54; }
.wa-bubble-head strong { display: block; font-size: .9rem; line-height: 1.1; }
.wa-bubble-head small { font-size: .74rem; color: #c9efe7; }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; opacity: .8; cursor: pointer; font-size: 1.3rem; line-height: 1; padding: 4px; }
.wa-close:hover { opacity: 1; }
.wa-bubble-body {
  padding: 14px; min-height: 86px;
  background-color: #ece5dd;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 12px 12px;
}
.wa-msg {
  background: #fff; border-radius: 0 12px 12px 12px; padding: 10px 12px 18px; font-size: .92rem; line-height: 1.45; color: #1b2233;
  position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: msg-in .35s ease;
}
.wa-msg b { color: #075e54; }
.wa-msg .time { position: absolute; right: 10px; bottom: 4px; font-size: .68rem; color: #8a8f99; }
.wa-msg .tag-urg { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; }
.tag-urg.preco { background: #e7f9ee; color: #128c4a; }
.tag-urg.urgente { background: #ffe9e7; color: #d93025; }
.tag-urg.info { background: var(--orange-soft); color: #c4660a; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wa-typing { display: inline-flex; gap: 4px; background: #fff; border-radius: 0 12px 12px 12px; padding: 12px 14px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa0a6; animation: typing 1.2s infinite; }
.wa-typing i:nth-child(2) { animation-delay: .15s; }
.wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.wa-bubble-foot { padding: 10px 14px; background: #f0f0f0; display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #075e54; font-weight: 700; }
.wa-bubble-foot svg { width: 18px; height: 18px; }
.wa-progress { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--green); width: 0; }
.wa-progress.run { animation: prog linear forwards; }
@keyframes prog { to { width: 100%; } }

/* Barra fixa mobile */
.mobile-bar { display: none; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 118px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px;
    box-shadow: 0 20px 40px rgba(15,31,75,.15); max-height: calc(100vh - 118px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .header.scrolled .nav { inset: 78px 0 auto 0; max-height: calc(100vh - 78px); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.02rem; }
  .drop-menu { position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 0 8px; min-width: 0; display: none; opacity: 1; visibility: visible; }
  .nav-drop.open .drop-menu { display: block; transform: none; }
  .nav-drop:hover .drop-menu { transform: none; }
  .nav .btn { margin-top: 10px; }
  .hero .container, .page-hero .container, .split, .quote-wrap { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 100px; }
  .hero-visual { min-height: 360px; max-width: 520px; width: 100%; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .split-media { max-width: 520px; margin: 0 auto 30px; }
  .testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .section { padding: 70px 0; }
  .container { padding: 0 16px; }
  .topbar-info span.mail { display: none; }
  .topbar-urgency { display: none; }
  .services-grid, .trust-grid, .steps, .feature-grid, .form-grid, .footer-grid, .check-list.two-col { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .hero-visual { min-height: 300px; }
  .fc-2 { right: 0; }
  .split-media .sub-img { right: -6px; }
  .exp-badge { left: -6px; }
  .quote-card { padding: 24px 18px; }
  .cta-final { padding: 44px 22px; }
  .hero-actions .btn { width: 100%; }
  .urgency-band .container { flex-direction: column; align-items: flex-start; }
  .urgency-band .btn { width: 100%; }
  .page-hero { padding: 50px 0 70px; }
  .wa-float { right: 14px; bottom: 78px; }
  .wa-btn { width: 58px; height: 58px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
    box-shadow: 0 -6px 20px rgba(15,31,75,.15);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 10px; font-family: var(--font-head); font-weight: 700; color: #fff; }
  .mobile-bar a svg { width: 20px; height: 20px; }
  .mobile-bar .call { background: var(--navy); }
  .mobile-bar .wa { background: var(--green); }
}
