/* =========================================================
   FE Mobilidade, Landing Page Transfer em Fortaleza
   Arquivo: assets/css/style.css
   Foco: performance, mobile first, conversão e acessibilidade
========================================================= */

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

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-strong);
  background: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  color: #fff;
  background: rgba(204, 139, 72, 0.55);
}

:root {
  --font-title: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --bg-page: #f7f3ed;
  --bg-dark: #091018;
  --bg-dark-2: #111a25;
  --bg-soft: #fffaf3;
  --bg-card: rgba(255, 255, 255, 0.78);

  --text-strong: #101820;
  --text-body: #40505c;
  --text-muted: #6c7a84;
  --text-light: rgba(255, 255, 255, 0.82);

  --brand: #c9893d;
  --brand-2: #f3c170;
  --brand-3: #785122;
  --green: #25d366;
  --line: rgba(16, 24, 32, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 10px 28px rgba(9, 16, 24, 0.1);
  --shadow-md: 0 20px 55px rgba(9, 16, 24, 0.16);
  --shadow-lg: 0 30px 90px rgba(9, 16, 24, 0.25);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 42px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(68px, 8vw, 108px) 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--bg-dark);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(201, 137, 61, 0.26);
  border-radius: var(--radius-pill);
  color: var(--brand-2);
  background: rgba(201, 137, 61, 0.11);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, #f5d18d 0%, #c9893d 52%, #f7c16d 100%);
  box-shadow: 0 14px 34px rgba(201, 137, 61, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 20px 44px rgba(201, 137, 61, 0.34);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-full {
  width: 100%;
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.75;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(9, 16, 24, 0.78), rgba(9, 16, 24, 0.24));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(9, 16, 24, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 176px;
  height: auto;
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(37, 211, 102, 0.16);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 900;
}

.header-cta i {
  color: var(--green);
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 46px);
  padding-bottom: clamp(50px, 7vw, 90px);
  color: #fff;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 16, 24, 0.94) 0%, rgba(9, 16, 24, 0.8) 42%, rgba(9, 16, 24, 0.58) 100%),
    url("../img/bg-hero.webp") center / cover no-repeat;
  opacity: 0.88;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(12px);
}

.hero::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 120px;
  background: rgba(201, 137, 61, 0.24);
}

.hero::after {
  width: 480px;
  height: 480px;
  left: -170px;
  bottom: -210px;
  background: rgba(37, 211, 102, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero h1,
.section-head h2,
.proof-copy h2,
.contact-copy h2 {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 3.7vw, 3.9rem);
  line-height: 0.92;
}

.hero-lead {
  max-width: 660px;
  color: var(--text-light);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 800;
}

.trust-row i {
  color: var(--brand-2);
}

.hero-visual {
  justify-self: end;
  width: min(100%, 420px);
}

.ratio-4x5 {
  aspect-ratio: 4 / 5;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 14px;
  border-radius: 18px;
  color: #fff;
  background: rgba(9, 16, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.86rem;
  font-weight: 900;
}

.services {
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 137, 61, 0.14), transparent 32%),
    linear-gradient(180deg, #f7f3ed 0%, #fffaf3 100%);
}

.section-head {
  max-width: 810px;
  display: grid;
  gap: 14px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.services .eyebrow,
.proof .eyebrow,
.contact .eyebrow {
  color: var(--brand-3);
  background: rgba(201, 137, 61, 0.14);
}

.section-head h2 {
  color: var(--text-strong);
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
  line-height: 0.96;
}

.section-head p,
.proof-copy p,
.contact-copy p {
  max-width: 680px;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.78;
}

.service-list {
  display: grid;
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.service-card-reverse .service-media {
  order: 2;
}

.service-media {
  overflow: hidden;
  border-radius: 28px;
  background: #151d28;
  box-shadow: var(--shadow-sm);
}

.service-media img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
}

.service-content {
  display: grid;
  gap: 16px;
  padding: clamp(4px, 2vw, 20px);
}

.service-number {
  width: fit-content;
  display: inline-flex;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  color: var(--brand-3);
  background: rgba(201, 137, 61, 0.14);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-content h3 {
  max-width: 560px;
  font-family: var(--font-title);
  color: var(--text-strong);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

.service-content p {
  color: var(--text-body);
  line-height: 1.75;
}

.service-content ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.service-content li {
  display: flex;
  gap: 10px;
  color: var(--text-body);
  font-size: 0.94rem;
  font-weight: 650;
}

.service-content li i {
  color: var(--brand);
  margin-top: 5px;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 900;
}

.text-link i {
  color: var(--brand);
  transition: transform 0.2s var(--ease);
}

.text-link:hover i {
  transform: translateX(4px);
}

.proof {
  color: #fff;
  background:
    radial-gradient(circle at 76% 8%, rgba(201, 137, 61, 0.2), transparent 32%),
    linear-gradient(135deg, #091018 0%, #121d2a 58%, #091018 100%);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.78fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.proof-copy {
  display: grid;
  gap: 18px;
}

.proof-copy h2,
.contact-copy h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.4rem);
  line-height: 0.96;
}

.proof-copy p {
  color: var(--text-light);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metrics div {
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.metrics strong {
  color: var(--brand-2);
  font-family: var(--font-title);
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 700;
}

.faq-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.faq-card h3 {
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  cursor: pointer;
  color: #fff;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--brand-2);
  font-weight: 900;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 18px 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  font-size: 0.94rem;
}

.contact {
  background:
    radial-gradient(circle at 86% 14%, rgba(201, 137, 61, 0.16), transparent 34%),
    linear-gradient(180deg, #fffaf3 0%, #f7f3ed 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.contact-list a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-body);
  text-decoration: none;
  font-weight: 800;
}

.contact-list i {
  width: 20px;
  color: var(--brand);
}

.lead-form {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.form-head {
  display: grid;
  gap: 3px;
  margin-bottom: 6px;
}

.form-head strong {
  font-family: var(--font-title);
  color: var(--text-strong);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.form-head span {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.lead-form label {
  color: var(--text-strong);
  font-size: 0.86rem;
  font-weight: 900;
}

.lead-form input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 24, 32, 0.13);
  border-radius: 16px;
  color: var(--text-strong);
  background: #fff;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lead-form input:focus {
  border-color: rgba(201, 137, 61, 0.56);
  box-shadow: 0 0 0 4px rgba(201, 137, 61, 0.12);
}

.lead-form input.is-invalid {
  border-color: #be3131;
  box-shadow: 0 0 0 4px rgba(190, 49, 49, 0.1);
}

.field-error {
  min-height: 16px;
  color: #be3131;
  font-size: 0.75rem;
  font-weight: 800;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.site-footer {
  padding: 42px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background: #091018;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 26px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}

.footer-grid p {
  max-width: 480px;
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.86rem;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: var(--brand-2);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.32);
}

.floating-whatsapp i {
  font-size: 1.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(201, 137, 61, 0.44);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .proof-grid,
  .contact-grid,
  .service-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-self: start;
    width: min(100%, 390px);
  }

  .service-card-reverse .service-media {
    order: 0;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand img {
    width: 150px;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 44px;
    justify-content: center;
    padding-inline: 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 32px);
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.65rem);
    line-height: 0.94;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .trust-row span {
    width: calc(50% - 5px);
    justify-content: center;
    text-align: center;
  }

  .hero-visual {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section-head h2,
  .proof-copy h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .service-card,
  .lead-form,
  .faq-card {
    border-radius: 28px;
  }

  .service-media img {
    min-height: 260px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}
