/* ==========================================================
   RM AR AUTOMOTIVO — BASE / COMPONENTES
   Paleta: navy, azul elétrico e verde-limão da identidade original.
   Layouts específicos: desktop.css e mobile.css.
   ========================================================== */
:root {
  color-scheme: light;
  --navy-950: #090e20;
  --navy-900: #0b1125;
  --navy-850: #101932;
  --navy-800: #142140;
  --navy-700: #1a2e4c;
  --blue: #0794ff;
  --blue-dark: #0755bf;
  --lime: #baff00;
  --lime-hover: #d0ff4c;
  --paper: #f4f7fc;
  --white: #fff;
  --ink: #121d30;
  --muted: #617089;
  --line: #dfe6f0;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --container: 1192px;
  --radius: 17px;
  --shadow-soft: 0 24px 70px rgb(9 18 38 / 9%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; min-width: 280px; font-family: var(--font-body); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--navy-900); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--arrow { width: 18px; height: 18px; }
.skip-link { position: fixed; z-index: 99999; top: 12px; left: 12px; padding: 12px 18px; background: var(--lime); color: var(--navy-900); font-weight: 700; border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.top-glow { position: absolute; top: 0; left: 0; width: 100%; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--blue), #264add 45%, var(--lime)); }

/* === Header & navigation === */
.site-header { position: sticky; z-index: 60; top: 0; background: rgb(9 14 32 / 96%); border-bottom: 1px solid rgb(255 255 255 / 8%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.header-inner { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; width: 181px; display: flex; align-items: center; }
.brand img { width: 181px; height: 50px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: 35px; }
.nav-link { color: #c2cddd; position: relative; padding: 14px 0; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link.is-active::after, .nav-link:hover::after { content: ''; width: 100%; height: 2px; position: absolute; bottom: 5px; left: 0; background: var(--blue); }
.menu-toggle, .mobile-nav { display: none; }

/* === Shared buttons and text links === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 13px 19px; border-radius: 9px; border: 1px solid transparent; font-weight: 700; font-size: 13px; letter-spacing: -.01em; line-height: 1.35; transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .icon--arrow { margin-left: 4px; transition: transform .2s ease; }
.btn:hover .icon--arrow, .service-link:hover .icon { transform: translateX(4px); }
.btn--whatsapp { background: var(--lime); color: var(--navy-950); }
.btn--whatsapp:hover, .btn--lime:hover { background: var(--lime-hover); box-shadow: 0 8px 32px rgb(186 255 0 / 18%); }
.btn--lime { background: var(--lime); color: var(--navy-950); }
.btn--large { min-height: 58px; padding: 16px 22px; font-size: 14px; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--blue-dark); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 13px; transition: color .2s ease; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link:hover { color: var(--lime); }
.text-link--lime { color: var(--lime); }

/* === Hero === */
.hero { position: relative; isolation: isolate; background: radial-gradient(circle at 85% 27%, rgb(0 105 220 / 23%), transparent 40%), linear-gradient(125deg, var(--navy-950), var(--navy-900) 51%, #0b2140 100%); color: #fff; overflow: hidden; }
.hero-grid-lines { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgb(95 172 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(95 172 255 / 4%) 1px, transparent 1px); background-size: 76px 76px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 95px); align-items: center; padding-block: 80px 100px; }
.hero-content { padding-block: 18px; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.65; }
.eyebrow--light { color: #b6cce5; }
.eyebrow-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgb(186 255 0 / 10%); }
.eyebrow-divider { width: 16px; height: 1px; background: #456080; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.018em; }
.hero h1 { margin: 28px 0 23px; font-size: clamp(52px, 5.5vw, 81px); line-height: .98; max-width: 750px; }
.text-blue { color: var(--blue); }
.hero-description { max-width: 540px; color: #c0cbdd; font-size: 15px; line-height: 1.86; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.hero-credentials { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 55px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 11%); color: #d9e5f3; font-size: 11px; font-weight: 600; }
.hero-credentials span { display: inline-flex; gap: 8px; align-items: center; }
.hero-credentials .icon { width: 16px; height: 16px; stroke: var(--lime); }
.hero-visual { min-width: 0; position: relative; padding: 9px 10px 21px 0; }
.hero-picture-frame { position: relative; isolation: isolate; max-width: 485px; aspect-ratio: 472 / 570; margin-left: auto; background: var(--navy-800); padding: 8px; border: 1px solid rgb(99 174 255 / 20%); border-radius: 22px; box-shadow: 0 24px 110px rgb(0 0 0 / 37%); }
.hero-picture-frame::after { position: absolute; z-index: -1; content: ''; inset: 30px -13px -13px 30px; border: 2px solid rgb(7 148 255 / 56%); border-radius: 18px; }
.hero-picture { width: 100%; height: 100%; border-radius: 15px; object-fit: cover; object-position: center 39%; }
.hero-visual-label { position: absolute; bottom: 42px; left: -27px; display: inline-flex; align-items: center; gap: 10px; padding: 16px 19px; background: #0e192e; border: 1px solid rgb(255 255 255 / 18%); border-radius: 7px; color: #e9f3ff; font-size: 9px; font-weight: 700; letter-spacing: .13em; box-shadow: 0 15px 40px rgb(0 0 0 / 35%); }
.hero-label-pip { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.hero-label-line { width: 15px; height: 1px; background: #7491b5; }
.hero-corner { position: absolute; z-index: -2; right: -30px; top: -18px; width: 70%; height: 70%; background: radial-gradient(circle, rgb(7 148 255 / 30%), transparent 69%); filter: blur(32px); }
.hero-bottom-rule { height: 2px; background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--blue) 66%, transparent); opacity: .7; }

/* === Specialty strip === */
.focus-strip { background: #0f1a32; color: #fff; }
.focus-strip-inner { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); align-items: stretch; }
.focus-intro, .focus-item { padding: 27px 20px; display: flex; align-items: center; }
.focus-intro { color: #8aa6c8; font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.focus-item { gap: 13px; color: #e0e8f4; border-left: 1px solid rgb(255 255 255 / 9%); font-size: 13px; font-weight: 600; }
.focus-item .icon { width: 24px; height: 24px; color: var(--blue); }

/* === Generic section typography === */
.section-pad { padding-block: 110px; }
.kicker { margin-bottom: 16px; font-size: 11px; font-weight: 800; color: var(--blue-dark); letter-spacing: .2em; line-height: 1.5; }
.kicker--lime { color: var(--lime); }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.section-header h2, .process-intro h2, .faq-copy h2 { font-size: clamp(43px, 4.15vw, 62px); line-height: 1.04; margin-bottom: 0; }
.section-header h2 span, .process-intro h2 span, .faq-copy h2 span { color: var(--blue-dark); }
.section-intro { flex: 0 1 330px; max-width: 340px; color: var(--muted); line-height: 1.8; font-size: 14px; margin: 0 0 5px; }

/* === Services === */
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.service-card { position: relative; min-width: 0; display: flex; flex-direction: column; min-height: 330px; padding: 30px; border: 1px solid #e6edf5; border-radius: 14px; background: #fff; box-shadow: 0 5px 15px rgb(12 26 48 / 2.3%); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #b8d7f8; box-shadow: var(--shadow-soft); }
.service-card-top { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; background: #eaf5ff; color: var(--blue-dark); border-radius: 15px; }
.service-icon .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.service-category { color: #8293ac; font-size: 9px; font-weight: 800; letter-spacing: .13em; margin-top: 5px; text-align: right; }
.service-card h3 { max-width: 280px; font-family: var(--font-display); font-size: 27px; line-height: 1.12; font-weight: 700; color: #172640; margin-bottom: 13px; }
.service-card p { font-size: 13px; line-height: 1.8; color: #66738a; margin-bottom: 27px; }
.service-link { margin-top: auto; border-top: 1px solid #e9eff6; padding-top: 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 800; color: var(--blue-dark); }
.service-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }

/* === Vehicle lines === */
.vehicle-section { background: radial-gradient(circle at 5% 100%, rgb(7 148 255 / 12%), transparent 41%), var(--navy-900); color: #fff; }
.vehicle-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(60px, 9vw, 130px); align-items: center; }
.vehicle-copy h2 { font-size: clamp(55px, 5vw, 74px); line-height: 1; margin-bottom: 25px; }
.vehicle-copy h2 span { color: var(--blue); }
.vehicle-copy > p:not(.kicker) { max-width: 470px; color: #bbc8dd; font-size: 14px; line-height: 1.9; margin-bottom: 32px; }
.vehicle-lines { border-top: 1px solid rgb(255 255 255 / 14%); }
.vehicle-line { display: flex; align-items: center; gap: 20px; padding: 27px 4px; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.vehicle-symbol { display: grid; place-items: center; background: rgb(7 148 255 / 15%); color: var(--blue); width: 44px; height: 44px; border-radius: 50%; }
.vehicle-symbol .icon { width: 20px; height: 20px; }
.vehicle-line h3 { font-family: var(--font-display); font-size: 30px; margin: 0 0 2px; line-height: 1.1; }
.vehicle-line p { color: #9caec5; font-size: 11px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; margin: 0; }
.vehicle-slash { margin-left: auto; color: #507ea4; font-size: 20px; }

/* === Process === */
.process-section { background: #fff; }
.process-intro { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 720px; margin: 0 auto 63px; }
.process-intro > p:not(.kicker) { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 575px; margin: 23px 0 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 31px; left: 16%; right: 16%; height: 1px; background: repeating-linear-gradient(90deg, #a6d5ff 0, #a6d5ff 9px, transparent 9px, transparent 19px); }
.process-card { position: relative; text-align: center; padding: 0 16px; }
.process-dot { margin: 0 auto 25px; width: 65px; height: 65px; border-radius: 50%; background: var(--navy-900); color: var(--lime); display: grid; place-items: center; box-shadow: 0 0 0 8px #fff; }
.process-dot .icon { width: 27px; height: 27px; }
.process-card h3 { font-family: var(--font-display); font-size: 27px; margin: 0 0 12px; }
.process-card p { max-width: 310px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* === FAQ === */
.faq-section { background: #eef3f9; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 95px; }
.faq-copy > p:not(.kicker) { max-width: 330px; color: var(--muted); font-size: 14px; line-height: 1.8; margin: 23px 0 27px; }
.faq-list { border-top: 1px solid #cfd8e4; }
.faq-list details { border-bottom: 1px solid #cfd8e4; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 14px; font-weight: 700; color: #1b2940; line-height: 1.5; padding: 24px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details > p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: -2px 36px 24px 0; }
.faq-symbol { flex: 0 0 auto; width: 28px; height: 28px; border: 1px solid #ccd6e3; border-radius: 50%; display: grid; place-items: center; position: relative; }
.faq-symbol::before, .faq-symbol::after { content: ''; position: absolute; background: var(--blue-dark); width: 10px; height: 2px; border-radius: 2px; }
.faq-symbol::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq-list details[open] .faq-symbol::after { transform: rotate(0); }

/* === Contact === */
.contact-section { background: var(--paper); padding-block: 90px; }
.contact-panel { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 408px; border-radius: 24px; background: radial-gradient(circle at 82% 48%, #124178 0, transparent 37%), linear-gradient(108deg, var(--navy-900), #0d2550); color: #fff; overflow: hidden; box-shadow: 0 25px 70px rgb(4 28 69 / 15%); }
.contact-panel::before { content: ''; position: absolute; width: 7px; background: var(--lime); left: 0; top: 0; bottom: 0; }
.contact-content { position: relative; z-index: 2; padding: 68px 75px; }
.contact-content h2 { font-size: clamp(56px, 5.4vw, 77px); line-height: .97; margin-bottom: 21px; }
.contact-content h2 span { color: var(--blue); }
.contact-content > p:not(.kicker) { max-width: 490px; color: #c3d2e5; font-size: 14px; line-height: 1.8; margin-bottom: 27px; }
.contact-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.contact-number { color: #d2e7ff; font-size: 14px; font-weight: 700; border-bottom: 1px solid rgb(255 255 255 / 32%); padding-bottom: 3px; }
.contact-number:hover { color: var(--lime); }
.contact-art { position: absolute; right: 3%; bottom: -76px; color: rgb(48 158 255 / 13%); transform: rotate(-15deg); }
.contact-art .icon { width: 415px; height: 415px; stroke-width: .7; }
.contact-rings { position: absolute; right: -9%; top: -45%; width: 620px; aspect-ratio: 1; border: 1px solid rgb(66 165 255 / 20%); border-radius: 50%; }
.contact-rings::before, .contact-rings::after { content: ''; position: absolute; inset: 55px; border: 1px solid rgb(66 165 255 / 13%); border-radius: 50%; }
.contact-rings::after { inset: 115px; }

/* === Footer === */
.site-footer { background: var(--navy-950); color: #fff; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1fr); gap: 60px; padding-block: 65px 60px; }
.footer-brand img { object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 270px; margin: 18px 0 0; color: #91a0ba; font-size: 12px; line-height: 1.8; }
.footer-col { display: flex; flex-direction: column; align-items: start; gap: 13px; }
.footer-col h2 { margin-bottom: 7px; font-family: var(--font-body); color: #fff; font-size: 12px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; }
.footer-col a, .footer-location { color: #9eafc5; font-size: 12px; line-height: 1.5; transition: color .2s ease; }
.footer-col a:hover { color: var(--lime); }
.footer-col a .icon { display: inline-block; width: 13px; height: 13px; vertical-align: middle; margin-left: 3px; }
.footer-location { display: flex; align-items: center; gap: 5px; }
.footer-location .icon { width: 15px; height: 15px; color: var(--blue); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 8%); display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 15px; }
.footer-bottom p { margin: 0; color: #7f8ea7; font-size: 11px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #a5bcd5; }
.footer-bottom a .icon { width: 15px; height: 15px; color: var(--blue); }
.footer-bottom a:hover { color: var(--lime); }

/* === Persistent WhatsApp shortcuts === */
.whatsapp-float { position: fixed; z-index: 50; right: 28px; bottom: 27px; width: 59px; height: 59px; display: grid; place-items: center; color: var(--navy-950); background: var(--lime); border: 2px solid var(--navy-950); border-radius: 50%; box-shadow: 0 8px 35px rgb(0 0 0 / 24%); transition: transform .2s ease, background .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); background: var(--lime-hover); }
.whatsapp-float .icon { width: 28px; height: 28px; }
.mobile-fixed-cta { display: none; }

/* === Motion is enhancement, never a prerequisite to content === */
.js-animations .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.js-animations .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js-animations .reveal { opacity: 1; transform: none; }
}
