:root {
  color-scheme: light;
  --ink: #172b53;
  --ink-dark: #112141;
  --paper: #f8f7f0;
  --white: #fff;
  --line: #d8dcd9;
  --body: #34425a;
  --green: #2faa52;
  --green-ink: #18753a;
  --yellow: #f0e92e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --header-height: 71px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body, a, button { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }
a { color: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 40; padding: 12px 18px; background: var(--yellow); font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 48px, 1200px); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; background: var(--white); border-bottom: 1px solid #e9ebea; transition: background .2s, color .2s, border-color .2s; }
.site-header.on-intro { background: transparent; border-color: transparent; color: var(--white); }
.header-inner { min-height: 70px; display: flex; align-items: center; gap: 32px; }
.brand { position: relative; display: block; flex: 0 0 auto; width: 132px; }
.brand img { width: 100%; height: auto; }
.brand-light { position: absolute; inset: 0; opacity: 0; }
.on-intro .brand-light { opacity: 1; }
.on-intro .brand-color { opacity: 0; }
.on-intro :focus-visible { outline-color: var(--yellow); }
.desktop-nav { display: flex; gap: clamp(15px, 2.4vw, 32px); margin-left: auto; align-items: center; }
.desktop-nav a { text-decoration: none; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-contact { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 18px; min-height: 42px; background: var(--green-ink); color: var(--white); text-decoration: none; font-size: .85rem; font-weight: 700; border-radius: 4px; }
.header-contact:hover { background: #11582c; }
.header-contact-number { flex-shrink: 0; gap: 12px; padding-block: 8px; }
.header-contact-copy { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.header-contact-copy > span { font-size: .7rem; font-weight: 400; }
.header-contact-copy strong { font-size: .88rem; white-space: nowrap; }
.on-intro .header-contact { background: rgba(17,33,65,.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.on-intro .header-contact:hover { background: var(--ink); }

/* A complete service choice is visible before the first scroll. */
.conversion-hero { padding-bottom: 28px; background: var(--paper); }
.intro-banner { position: relative; padding-top: var(--header-height); overflow: hidden; isolation: isolate; background: var(--ink-dark); color: var(--white); }
.intro-photo { position: absolute; right: 0; bottom: -40px; height: 125%; aspect-ratio: 2079 / 756; z-index: -2; mask-image: linear-gradient(90deg, transparent, #000 32%); }
.intro-banner::before { position: absolute; inset: 0 0 auto; height: calc(var(--header-height) + 30px); z-index: -1; content: ''; background: linear-gradient(180deg, rgba(17,33,65,.65), rgba(17,33,65,.2) 75%, transparent); }
.intro-banner::after { position: absolute; inset: 0; z-index: -1; content: ''; background: linear-gradient(90deg, #112141 10%, rgba(17,33,65,.94) 36%, rgba(17,33,65,.3) 74%); }
.intro-copy { padding-block: clamp(32px, 5vh, 52px); }
.intro-label { margin-bottom: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: #efecab; }
.intro-copy h1 { max-width: 750px; margin-bottom: 16px; font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1.13; letter-spacing: -.035em; }
.intro-copy h1 span { color: var(--yellow); }
.intro-copy > p:last-child { margin-bottom: 0; font-size: 1rem; line-height: 1.5; }
.service-picker { padding-top: 27px; }
.service-picker h2 { margin-bottom: 6px; font-size: 1.5rem; letter-spacing: -.025em; }
.picker-instruction { margin-bottom: 19px; color: var(--body); font-size: .95rem; }
.service-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-option { display: flex; flex-direction: column; align-items: flex-start; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; box-shadow: 0 3px 12px rgba(17,33,65,.025); transition: border-color .2s, box-shadow .2s, transform .2s; }
.service-option:hover { border-color: var(--green-ink); box-shadow: 0 6px 20px rgba(17,33,65,.1); transform: translateY(-3px); }
.service-option:focus-visible { outline-offset: 3px; }
.service-photo { width: 100%; height: 112px; object-fit: cover; object-position: center 56%; border-radius: 5px 5px 0 0; }
[data-service="regularizacao"] .service-photo { object-position: center 67%; }
[data-service="alteracao"] .service-photo { object-position: center 61%; }
.service-option h3 { margin: 15px 18px 8px; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.02em; }
.service-option p { margin: 0 18px 14px; min-height: 2.8em; color: var(--body); font-size: .87rem; line-height: 1.4; }
.service-action { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: auto 18px 0; padding: 12px 0; border-top: 1px solid #e1e8e2; color: var(--green-ink); font-size: .82rem; font-weight: 700; }
.service-action > span { font-size: 1.15rem; }
.help-contact { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; width: fit-content; min-height: 44px; margin: 16px auto 0; padding: 8px 14px; text-decoration: none; font-size: .88rem; line-height: 1.45; }
.help-contact strong { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.private-note { margin: 5px 0 0; text-align: center; color: #536078; font-size: .75rem; line-height: 1.5; }

.section-label { margin: 0 0 20px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; color: var(--green-ink); }
.section { padding: 80px 0; }
.section h2 { margin-bottom: 0; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.14; letter-spacing: -.035em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 15px 21px; font-size: .88rem; font-weight: 700; text-decoration: none; border-radius: 4px; transition: background .2s, color .2s; }
.button span { font-size: 1.18rem; line-height: 1; }
.button-primary, .button-yellow { background: var(--yellow); color: var(--ink-dark); }
.button-primary:hover, .button-yellow:hover { background: var(--white); }
.button-outline { border: 1px solid var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #31568c; }

.process { background: var(--white); border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(55px, 8vw, 120px); align-items: center; }
.process-intro > p:not(.section-label) { max-width: 470px; margin: 21px 0 26px; color: var(--body); line-height: 1.65; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 17px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li > span { padding-top: 3px; color: var(--green-ink); font-size: .8rem; font-weight: 800; }
.steps h3 { margin: 0 0 7px; font-size: 1.07rem; }
.steps p { margin: 0; color: var(--body); font-size: .94rem; line-height: 1.5; }

/* The former hero is now the third section, in the normal document flow. */
.transport-story { position: relative; isolation: isolate; overflow: hidden; height: clamp(440px, 68svh, 660px); background: var(--ink-dark); color: var(--white); }
.story-picture, .scene-frame, .story-canvas, .scene-tint { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-frame { object-fit: cover; object-position: center; }
.story-canvas { opacity: 0; transition: opacity .2s; }
.story-canvas.is-ready { opacity: 1; }
.scene-tint { background: linear-gradient(90deg, rgba(7,22,43,.93), rgba(7,22,43,.75) 35%, rgba(7,22,43,.15) 78%); }
.story-content { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; }
.story-content .section-label { color: var(--yellow); }
.story-content h2 { max-width: 600px; margin-bottom: 20px; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.12; letter-spacing: -.035em; }
.story-content > p:not(.section-label) { max-width: 390px; margin-bottom: 26px; line-height: 1.6; }
.story-content :focus-visible { outline-color: var(--yellow); }

.course-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 85px); padding: clamp(35px, 5vw, 64px); background: var(--yellow); }
.course-copy { display: flex; flex-direction: column; align-items: flex-start; }
.course-copy .section-label { color: var(--ink); }
.course-copy > p:not(.section-label) { margin: 24px 0; line-height: 1.6; }
.course-list-wrap { align-self: center; }
.course-small { margin-bottom: 18px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.course-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(23,43,83,.3); }
.course-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 55px; padding-block: 10px; border-bottom: 1px solid rgba(23,43,83,.3); font-size: .96rem; font-weight: 700; }
.course-list li span { font-size: .7rem; }
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 100px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 72px; padding: 18px 0; cursor: pointer; font-size: 1rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--green-ink); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 30px 23px 0; color: var(--body); font-size: .94rem; line-height: 1.6; }
.faq-list details a { text-underline-offset: 3px; }
.final-cta { background: var(--ink); color: var(--white); padding: 72px 0; }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta .section-label { color: var(--yellow); }
.final-cta h2 { margin-bottom: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.15; letter-spacing: -.025em; }
.final-cta p:last-child { margin: 21px 0 0; color: #dde3ed; line-height: 1.6; }
.button-yellow { flex: 0 0 auto; }
.site-footer { background: #0d1930; color: var(--white); }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding: 48px 0; }
.footer-brand { max-width: 320px; }
.footer-brand > a { display: inline-block; }
.footer-brand img { width: 180px; height: auto; }
.footer-main p { margin: 16px 0 0; color: #bec6d6; line-height: 1.65; font-size: .86rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-links h2 { margin: 0 0 4px; font-size: .95rem; line-height: 1.3; }
.footer-contact { font-style: normal; }
.footer-links a { color: #e3e8ef; text-decoration: none; font-size: .85rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; border-top: 1px solid rgba(255,255,255,.17); padding: 21px 0 82px; }
.footer-bottom p { max-width: 550px; margin: 0; color: #b8c3d4; font-size: .75rem; line-height: 1.55; }
.floating-whatsapp { position: fixed; right: 23px; bottom: 23px; z-index: 10; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--green-ink); color: var(--white); box-shadow: 0 9px 25px rgba(9,42,29,.2); }
.floating-whatsapp:hover { background: #11582c; }
.floating-whatsapp.over-services { visibility: hidden; pointer-events: none; }
.floating-whatsapp svg { width: 30px; height: 30px; }

.simple-header { position: relative; }
.simple-header .header-inner { justify-content: space-between; }
.simple-main { padding: 80px 0 100px; }
.simple-main article { max-width: 780px; }
.simple-main h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.03em; }
.simple-main h2 { margin: 35px 0 12px; font-size: 1.5rem; }
.simple-main p, .simple-main li { color: var(--body); line-height: 1.75; }
.simple-main a { text-underline-offset: 3px; }

@media (min-width: 701px) {
  .intro-photo { background: url('assets/intro-road-extended.webp?v=6c80999ad78a') center / 100% 100% no-repeat; }
}
@media (max-width: 1000px) {
  .service-option h3, .service-option p, .service-action { margin-inline: 14px; }
  .service-option h3 { font-size: 1.05rem; }
}
@media (max-width: 800px) {
  :root { --header-height: 61px; }
  .container { width: min(100% - 36px, 1200px); }
  .header-inner { min-height: 60px; gap: 12px; }
  .brand { width: 108px; }
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; min-height: 40px; padding: 10px 14px; font-size: .8rem; }
  .header-contact-number { padding: 7px 10px; gap: 8px; }
  .header-contact-copy strong { font-size: .8rem; }
  .header-contact-copy > span { font-size: .65rem; }
  .footer-main { flex-wrap: wrap; gap: 28px 36px; }
  .section { padding: 56px 0; }
  .process-grid, .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .final-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 32px); }
  .conversion-hero { padding-bottom: 20px; }
  .intro-banner::after { background: linear-gradient(110deg, #112141, #213a60); }
  .intro-copy { padding-block: 22px; }
  .intro-label { margin-bottom: 10px; font-size: .61rem; letter-spacing: .07em; }
  .intro-copy h1 { margin-bottom: 11px; font-size: clamp(1.5rem, 6.2vw, 2.1rem); line-height: 1.12; text-wrap: initial; }
  .intro-copy > p:last-child { font-size: .82rem; }
  .service-picker { padding-top: 20px; }
  .service-picker h2 { font-size: 1.2rem; }
  .picker-instruction { margin-bottom: 14px; font-size: .85rem; }
  .service-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-photo { height: 78px; }
  .service-option h3, .service-option p, .service-action { margin-inline: 12px; }
  .service-option h3 { font-size: 1rem; margin-top: 11px; margin-bottom: 7px; text-wrap: initial; }
  .service-option p { margin-bottom: 10px; font-size: .79rem; }
  .service-action { padding: 10px 0; font-size: .75rem; }
  .service-action > span { font-size: 1rem; }
  .help-contact { margin-top: 12px; font-size: .8rem; gap: 3px 6px; padding: 6px 0; }
  .private-note { margin-top: 3px; font-size: .7rem; }
  .section h2 { font-size: 2rem; }
  .section-label { margin-bottom: 14px; }
  .process-intro > p:not(.section-label) { margin: 17px 0 22px; font-size: .94rem; }
  .steps li { padding: 18px 0; }
  .transport-story { height: 600px; }
  .scene-tint { background: linear-gradient(180deg, rgba(7,22,43,.89), rgba(7,22,43,.73) 50%, rgba(7,22,43,.1)); }
  .story-content { justify-content: flex-start; padding-top: 48px; }
  .story-content h2 { max-width: 350px; font-size: 2rem; margin-bottom: 15px; }
  .story-content > p:not(.section-label) { max-width: 310px; font-size: .91rem; margin-bottom: 20px; }
  .course-panel { grid-template-columns: 1fr; width: 100%; gap: 32px; padding: 45px 24px; }
  .courses { padding: 0; }
  .course-list li { font-size: .9rem; }
  .final-cta { padding: 55px 0; }
  .footer-main, .footer-bottom { flex-direction: column; }
  .footer-main { padding: 40px 0 32px; }
  .footer-bottom { gap: 14px; padding-bottom: 94px; }
  .floating-whatsapp { right: 15px; bottom: 15px; width: 50px; height: 50px; }
  .simple-main { padding: 50px 0 70px; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .intro-copy { padding-block: 16px; }
  .intro-label { margin-bottom: 8px; font-size: .57rem; }
  .intro-copy h1 { font-size: clamp(1.4rem, 6vw, 1.8rem); margin-bottom: 8px; }
  .intro-copy > p:last-child { font-size: .77rem; }
  .service-picker { padding-top: 14px; }
  .picker-instruction { margin-bottom: 10px; }
  .service-photo { height: 51px; }
  .service-option h3 { font-size: .95rem; margin: 10px 10px 7px; min-height: 2.4em; }
  .service-option p { display: none; }
  .service-action { margin-inline: 10px; }
  .service-action { padding: 9px 0; font-size: .7rem; }
  .help-contact { margin-top: 8px; }
}
@media (min-width: 701px) and (max-height: 650px) {
  .intro-copy { padding-block: 20px; }
  .intro-copy h1 { font-size: 1.8rem; margin-bottom: 10px; }
  .intro-label { margin-bottom: 8px; }
  .service-picker { padding-top: 18px; }
  .service-photo { height: 80px; }
}
@media (min-width: 701px) and (max-height: 500px) {
  .intro-copy { padding-block: 15px; }
  .intro-label { display: none; }
  .intro-copy h1 { font-size: 1.5rem; }
  .intro-copy h1 br { display: none; }
  .intro-copy > p:last-child { font-size: .82rem; }
  .service-picker { padding-top: 14px; }
  .service-picker h2 { font-size: 1.2rem; }
  .picker-instruction { font-size: .82rem; margin-bottom: 12px; }
  .service-photo { height: 60px; }
  .service-option h3 { margin-top: 10px; }
  .service-option p { display: none; }
  .service-action { padding-block: 10px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
