/* ==========================================================================
   Melhor-AR — Ar Condicionado
   Folha de estilos principal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens e base
   -------------------------------------------------------------------------- */
:root {
  --navy-950: #04101e;
  --navy-900: #071c31;
  --navy-800: #0a2946;
  --navy-700: #103d63;

  --accent: #1f7cff;
  --accent-300: #9ccbff;
  --accent-700: #0a56c2;
  --accent-ink: #04101e;

  --gold: #f7c600;
  --gold-500: #ffd633;
  --gold-700: #d9a500;
  --red: #e32228;

  --ice: #eef5ff;
  --surface: #f5f8fc;
  --white: #ffffff;

  --text: #0b1f31;
  --muted: #566d85;
  --line: rgba(10, 41, 70, 0.10);

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 20px rgba(7, 28, 46, 0.07);
  --shadow-md: 0 18px 45px -24px rgba(7, 28, 46, 0.40);
  --shadow-lg: 0 34px 70px -34px rgba(7, 28, 46, 0.55);

  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

h2 {
  font-size: clamp(1.7rem, 1.15rem + 1.7vw, 2.65rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin-bottom: 0;
}

a {
  color: var(--accent-700);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--navy-800);
}

img {
  max-width: 100%;
  height: auto;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

::selection {
  background: var(--gold);
  color: var(--navy-950);
}

:focus-visible {
  outline: 3px solid rgba(31, 124, 255, 0.6);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   2. Botões
   -------------------------------------------------------------------------- */
.btn {
  --bs-btn-font-family: var(--font-display);
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-brand {
  --bs-btn-color: var(--navy-950);
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-color: var(--navy-950);
  --bs-btn-hover-bg: var(--gold-500);
  --bs-btn-hover-border-color: var(--gold-500);
  --bs-btn-active-color: var(--navy-950);
  --bs-btn-active-bg: var(--gold-700);
  --bs-btn-active-border-color: var(--gold-700);
  background-image: linear-gradient(135deg, #ffd633 0%, #f0b900 100%);
  border: 0;
  box-shadow: 0 12px 26px -14px rgba(247, 198, 0, 0.75);
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -14px rgba(247, 198, 0, 0.85);
}

.btn-brand i {
  transition: transform 0.25s ease;
}

.btn-brand:hover i {
  transform: translateX(3px);
}

.btn-ghost {
  --bs-btn-color: var(--white);
  --bs-btn-hover-color: var(--navy-950);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.92);
  --bs-btn-active-color: var(--navy-950);
  --bs-btn-active-bg: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-brand {
  --bs-btn-color: var(--navy-800);
  --bs-btn-border-color: rgba(10, 41, 70, 0.25);
  --bs-btn-hover-color: var(--navy-950);
  --bs-btn-hover-bg: var(--gold);
  --bs-btn-hover-border-color: var(--gold);
  --bs-btn-active-bg: var(--gold);
  --bs-btn-active-border-color: var(--gold);
  --bs-btn-active-color: var(--navy-950);
  border-width: 1px;
  padding-inline: 1.4rem;
}

.btn-lg {
  --bs-btn-padding-y: 0.95rem;
  --bs-btn-padding-x: 1.7rem;
  --bs-btn-font-size: 1rem;
}

.btn i {
  margin-right: 0.35rem;
}

.btn-brand i:last-child,
.btn-outline-brand i:last-child {
  margin-right: 0;
  margin-left: 0.35rem;
}

/* --------------------------------------------------------------------------
   3. Topbar e navegação
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  padding-block: 0.55rem;
}

.topbar a {
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar a:hover {
  color: var(--accent-300);
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.topbar__group span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar i {
  color: var(--gold);
}

.topbar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.topbar__social i {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.topbar__social a:hover i {
  color: var(--gold);
}

.mainnav {
  background: var(--white);
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.mainnav.is-scrolled {
  padding-block: 0.55rem;
  box-shadow: 0 14px 34px -26px rgba(7, 28, 46, 0.7);
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 46px;
}

.brand-logo-wrap {
  display: inline-flex;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: var(--white);
}

.navbar-nav {
  gap: 0.15rem;
}

.mainnav .nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  position: relative;
}

.mainnav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.mainnav .nav-link:hover,
.mainnav .nav-link.active {
  color: var(--accent-700);
}

.mainnav .nav-link:hover::after,
.mainnav .nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.62rem 1.15rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  color: var(--navy-900);
  font-size: 1.4rem;
  line-height: 1;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(31, 124, 255, 0.3);
}

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 520px at 84% 8%, rgba(31, 124, 255, 0.40), transparent 62%),
    radial-gradient(720px 460px at 8% 98%, rgba(31, 124, 255, 0.18), transparent 64%),
    linear-gradient(140deg, #04101e 0%, #071c31 52%, #0a2946 100%);
  color: var(--white);
  padding: clamp(3.25rem, 6vw, 5.5rem) 0 clamp(6rem, 9vw, 8.5rem);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.hero__glow--one {
  width: 440px;
  height: 440px;
  right: -90px;
  top: -150px;
  background: rgba(31, 124, 255, 0.35);
}

.hero__glow--two {
  width: 360px;
  height: 360px;
  left: -130px;
  bottom: -170px;
  background: rgba(247, 198, 0, 0.12);
}

.hero__deco {
  position: absolute;
  top: 50%;
  right: max(-70px, calc((100% - 1300px) / 2));
  transform: translateY(-50%) rotate(-6deg);
  width: clamp(320px, 34vw, 500px);
  height: auto;
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: blur(1px);
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 203, 255, 0.32);
  background: rgba(31, 124, 255, 0.14);
  color: var(--accent-300);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(247, 198, 0, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(247, 198, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 198, 0, 0); }
}

.hero__title {
  font-size: clamp(2.15rem, 1.35rem + 3vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 1.35rem;
  max-width: 16ch;
}

.hero__title .text-gradient {
  display: block;
  background: linear-gradient(93deg, var(--gold-500) 0%, var(--gold) 55%, #ffe27a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.hero__lead {
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.12rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__trust i {
  color: var(--gold);
  font-size: 1rem;
}

.hero__card {
  position: absolute;
  right: max(1.5rem, calc((100% - 1140px) / 2));
  bottom: 6.5rem;
  width: 320px;
  display: flex;
  gap: 0.9rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.hero__card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 1.3rem;
}

.hero__card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.hero__card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 0.55rem;
}

.hero__card a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-300);
}

.hero__card a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   5. Números
   -------------------------------------------------------------------------- */
.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -4.25rem;
  padding: 2.1rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stat {
  text-align: center;
  padding-inline: 0.75rem;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.3vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.stat__value--sm {
  font-size: clamp(1.15rem, 0.95rem + 0.85vw, 1.55rem);
  line-height: 1.15;
  margin-top: 0.35rem;
}

.stat__suffix {
  color: var(--accent-700);
}

.stat__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   6. Estruturas de seção
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.section--alt {
  background: var(--surface);
}

.section--dark {
  position: relative;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(31, 124, 255, 0.22), transparent 65%),
    radial-gradient(700px 420px at 92% 100%, rgba(31, 124, 255, 0.14), transparent 60%),
    var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head__text {
  color: var(--muted);
  font-size: 1.02rem;
  margin-top: 0.85rem;
}

.section-head--light .section-head__text {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.eyebrow--light {
  color: var(--accent-300);
}

/* --------------------------------------------------------------------------
   7. Serviços
   -------------------------------------------------------------------------- */
.service-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #8fe6ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 124, 255, 0.35);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ice);
  color: var(--accent-700);
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-card__icon {
  background: linear-gradient(140deg, #3d93ff, #1f7cff);
  color: var(--white);
  transform: translateY(-2px) rotate(-4deg);
}

.service-card h3 {
  margin-bottom: 0.15rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  flex-grow: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-top: 0.35rem;
}

.service-card__link i {
  transition: transform 0.25s ease;
}

.service-card__link:hover {
  color: var(--accent-700);
}

.service-card__link:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. Empresa
   -------------------------------------------------------------------------- */
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.about-media > img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 62%;
  height: 58%;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(31, 124, 255, 0.4);
  z-index: 0;
}

.about-media__badge {
  position: absolute;
  left: -12px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.1rem 1.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
}

.about-media__badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}

.about-media__badge span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  gap: 0.85rem;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--ice);
  color: var(--accent-700);
  font-size: 1.15rem;
}

.feature h3 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.feature p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Processo
   -------------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.process__step {
  position: relative;
  padding: 1.9rem 1.6rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.process__step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(31, 124, 255, 0.5);
}

.process__number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  margin-bottom: 0.9rem;
  padding: 0.25rem 0.6rem;
  border-radius: 7px;
  background: rgba(247, 198, 0, 0.12);
}

.process__step h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.process__step p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.66);
}

.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3.15rem;
  right: -0.75rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(247, 198, 0, 0.55);
  box-shadow: 0 0 0 5px rgba(247, 198, 0, 0.08);
  display: none;
}

/* --------------------------------------------------------------------------
   10. Projetos
   -------------------------------------------------------------------------- */
.project {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-900);
  display: block;
}

.project img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 18, 31, 0.94) 0%, rgba(4, 18, 31, 0.62) 32%, rgba(4, 18, 31, 0) 62%);
  pointer-events: none;
}

.project:hover img {
  transform: scale(1.06);
}

.project__caption {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  padding: 1.6rem;
  color: var(--white);
}

.project__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(4, 16, 30, 0.55);
  border: 1px solid rgba(247, 198, 0, 0.35);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  backdrop-filter: blur(4px);
}

.project__caption h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.project__caption p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  transition: transform 0.4s ease;
}

.project:hover .project__caption p {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   11. Marcas
   -------------------------------------------------------------------------- */
.brands {
  padding-block: 2.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brands__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.brands__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.75rem;
  padding: 0;
  margin: 0;
}

.brands__list li {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  opacity: 0.55;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.brands__list li:hover {
  opacity: 1;
  color: var(--accent-700);
}

/* --------------------------------------------------------------------------
   12. Card de Instagram (instalações)
   -------------------------------------------------------------------------- */
.project-cta {
  position: relative;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.project-cta:hover .project-cta__bg {
  transform: scale(1.06);
}

.project-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 16, 30, 0.5) 0%, rgba(4, 16, 30, 0.42) 28%, rgba(4, 16, 30, 0.86) 66%, rgba(4, 16, 30, 0.96) 100%),
    linear-gradient(90deg, rgba(4, 16, 30, 0.35) 0%, rgba(4, 16, 30, 0) 65%);
}

.project-cta > span:not(.project-cta__overlay),
.project-cta > strong,
.project-cta > p {
  position: relative;
  z-index: 2;
}

.project-cta:hover {
  color: var(--white);
  transform: translateY(-4px);
  border-color: rgba(247, 198, 0, 0.5);
  box-shadow: var(--shadow-md);
}

.project-cta__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 1.6rem;
  margin-bottom: auto;
}

.project-cta__tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.project-cta strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.project-cta p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.project-cta p span {
  color: var(--accent-300);
}

.project-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.35rem;
}

.project-cta__link i {
  transition: transform 0.25s ease;
}

.project-cta:hover .project-cta__link i {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   12b. Diferenciais
   -------------------------------------------------------------------------- */
.value-card {
  height: 100%;
  padding: 1.9rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 124, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ice);
  color: var(--accent-700);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.values-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.4rem 1.75rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px dashed rgba(10, 41, 70, 0.18);
}

.values-cta p {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy-800);
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq .accordion-item:last-child {
  margin-bottom: 0;
}

.faq .accordion-button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius-sm) !important;
  gap: 1rem;
  line-height: 1.45;
  transition: color 0.25s ease, background 0.25s ease;
}

.faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq .accordion-button:focus-visible {
  outline: 3px solid rgba(31, 124, 255, 0.55);
  outline-offset: -6px;
  border-radius: var(--radius-sm);
}

.faq .accordion-button:not(.collapsed) {
  color: var(--accent-700);
  background: rgba(238, 245, 255, 0.6);
  box-shadow: none;
}

.faq .accordion-button::after,
.faq .accordion-button:not(.collapsed)::after {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  background-color: rgba(31, 124, 255, 0.12);
  background-image:
    linear-gradient(#0a56c2, #0a56c2),
    linear-gradient(#0a56c2, #0a56c2);
  background-size: 10px 2px, 2px 10px;
  background-position: center, center;
  background-repeat: no-repeat;
  transform: none;
  transition: background-size 0.25s ease, background-color 0.25s ease;
}

.faq .accordion-button:not(.collapsed)::after {
  background-image:
    linear-gradient(#0a56c2, #0a56c2),
    linear-gradient(#0a56c2, #0a56c2);
  background-size: 10px 2px, 2px 0;
  background-color: rgba(31, 124, 255, 0.2);
}

.faq .accordion-body {
  padding: 0.25rem 3.4rem 1.35rem 1.4rem;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
  background: transparent;
}

/* --------------------------------------------------------------------------
   14. Contato
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  background:
    radial-gradient(760px 480px at 0% 0%, rgba(31, 124, 255, 0.26), transparent 62%),
    radial-gradient(760px 520px at 100% 100%, rgba(31, 124, 255, 0.16), transparent 60%),
    var(--navy-900);
  overflow: hidden;
}

.contact h2,
.contact h3 {
  color: var(--white);
}

.contact-panel {
  padding-right: clamp(0rem, 2vw, 1.5rem);
}

.contact-panel h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.35rem);
  margin-bottom: 1rem;
}

.contact-panel__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  margin-bottom: 2rem;
  max-width: 42ch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1.15rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-list__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent);
  font-size: 1.05rem;
}

.contact-list__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 0.1rem;
}

.contact-list a,
.contact-list span:not(.contact-list__icon):not(.contact-list__label) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-list a:hover {
  color: var(--accent-300);
}

.contact-panel__social {
  display: flex;
  gap: 0.6rem;
}

.contact-panel__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contact-panel__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
  transform: translateY(-2px);
}

.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-lg);
}

.quote-card h3 {
  color: var(--navy-900);
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  margin-bottom: 0.4rem;
}

.quote-card__hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text);
  padding: 0.72rem 0.95rem;
  border-radius: 11px;
  border: 1px solid rgba(11, 39, 64, 0.16);
  background-color: #fbfdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control::placeholder {
  color: #9aabbd;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(31, 124, 255, 0.14);
  color: var(--text);
}

textarea.form-control {
  resize: vertical;
  min-height: 96px;
}

.consent {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-start;
  padding-left: 0;
}

.consent .form-check-input {
  flex-shrink: 0;
  width: 1.05em;
  height: 1.05em;
  margin-top: 0.28em;
  margin-left: 0;
  border: 1px solid rgba(11, 39, 64, 0.3);
  border-radius: 4px;
  cursor: pointer;
}

.consent .form-check-input:checked {
  background-color: var(--accent-700);
  border-color: var(--accent-700);
}

.consent .form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(31, 124, 255, 0.14);
  border-color: var(--accent);
}

.consent .form-check-label {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.consent .invalid-feedback {
  flex-basis: 100%;
  margin-left: calc(1.05em + 0.6rem);
}

.quote-card__note {
  margin-top: 0.75rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.quote-card .btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.quote-card .btn-brand i {
  margin: 0;
  font-size: 1.1rem;
}

.success-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.1rem;
  margin-bottom: 0;
  font-size: 0.87rem;
  border: 1px solid rgba(25, 135, 84, 0.25);
  background: #edf9f1;
  color: #13653f;
  border-radius: 11px;
  padding: 0.8rem 1rem;
}

.success-alert i {
  font-size: 1.05rem;
  margin-top: 0.1rem;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: #d9534f;
  box-shadow: none;
  background-image: none;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: rgba(11, 39, 64, 0.16);
  background-image: none;
}

.was-validated .form-control:invalid:focus,
.was-validated .form-select:invalid:focus {
  box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.14);
}

/* --------------------------------------------------------------------------
   15. Rodapé
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  padding-block: clamp(3rem, 5vw, 4.5rem) 1.5rem;
  font-size: 0.89rem;
}

.footer .brand-logo {
  height: 42px;
}

.footer .brand-logo-wrap {
  padding: 0.65rem 0.9rem;
}

.footer__text {
  margin-top: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 34ch;
}

.footer__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer__links,
.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.footer__links a:hover {
  color: var(--accent-300);
  padding-left: 3px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.footer__contact i {
  color: var(--accent);
  font-size: 0.95rem;
  margin-top: 0.12rem;
  flex-shrink: 0;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.58);
}

.footer__contact a:hover {
  color: var(--accent-300);
}

.footer__social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
}

/* --------------------------------------------------------------------------
   16. Ações flutuantes
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.whatsapp-float {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 14px 28px -12px rgba(37, 211, 102, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 32px -12px rgba(37, 211, 102, 0.95);
}

.back-to-top {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-800);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}

/* --------------------------------------------------------------------------
   17. Animações de entrada
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   18. Responsividade
   -------------------------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .mainnav .nav-link {
    padding-inline: 0.6rem;
    font-size: 0.87rem;
  }

  .mainnav .nav-link::after {
    left: 0.6rem;
    right: 0.6rem;
  }

  .nav-cta {
    padding-inline: 0.9rem;
    font-size: 0.84rem;
  }

  .brand-logo {
    height: 40px;
  }
}

@media (max-width: 1199.98px) {
  .hero {
    padding-bottom: clamp(6rem, 10vw, 8rem);
  }

  .hero__deco {
    right: -110px;
    opacity: 0.14;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 72px;
  }

  .mainnav {
    padding-block: 0.7rem;
  }

  .mainnav .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.9rem 0.25rem 0.5rem;
    border-top: 1px solid var(--line);
  }

  .navbar-nav {
    gap: 0;
    margin-bottom: 0.75rem;
  }

  .mainnav .nav-link {
    padding: 0.7rem 0.35rem;
    font-size: 0.98rem;
    border-radius: 6px;
  }

  .mainnav .nav-link::after {
    display: none;
  }

  .mainnav .nav-link.active {
    color: var(--accent-700);
    background: rgba(31, 124, 255, 0.08);
    padding-left: 0.75rem;
  }

  .nav-cta {
    display: block;
    text-align: center;
    padding-block: 0.8rem;
  }

  .hero__title {
    max-width: 100%;
  }

  .hero__card {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem 0.5rem;
    padding: 1.9rem 1.25rem;
    margin-top: -3.5rem;
  }

  .stat + .stat {
    border-left: 0;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .about-media {
    max-width: 520px;
    margin-inline: auto;
  }

  .about-media > img {
    aspect-ratio: 4 / 3.6;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-panel {
    padding-right: 0;
  }

  .contact-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .footer__text {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 0.97rem;
  }

  .hero {
    padding-top: 2.75rem;
    padding-bottom: 5.5rem;
  }

  .hero__deco {
    width: 320px;
    right: -100px;
    top: 42%;
    opacity: 0.13;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    gap: 0.75rem 1.15rem;
    font-size: 0.8rem;
  }

  .stats {
    margin-top: -3rem;
    border-radius: var(--radius);
  }

  .section-head {
    text-align: left;
  }

  .section-head--center {
    text-align: center;
  }

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

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

  .project img {
    aspect-ratio: 4 / 3.6;
  }

  .brands__list {
    gap: 0.8rem 1.75rem;
  }

  .brands__list li {
    font-size: 0.95rem;
  }

  .values-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .values-cta .btn {
    width: 100%;
  }

  .faq .accordion-button {
    font-size: 0.94rem;
    padding: 1.05rem 1.15rem;
    gap: 0.65rem;
  }

  .faq .accordion-body {
    padding: 0 2.9rem 1.15rem 1.15rem;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .about-media__badge {
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.85rem 1.15rem;
  }

  .about-media__badge strong {
    font-size: 1.6rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.35rem;
  }

  .floating-actions {
    right: 1rem;
    bottom: 1rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }
}

@media (max-width: 575.98px) {
  .stats {
    padding: 1.6rem 1rem;
    gap: 1.4rem 0.25rem;
  }

  .stat {
    padding-inline: 0.35rem;
  }

  .stat__label {
    font-size: 0.74rem;
  }

  .stat__value--sm {
    font-size: 1.05rem;
  }

  .hero__title {
    font-size: clamp(2rem, 1.5rem + 3.5vw, 2.6rem);
  }
}

/* --------------------------------------------------------------------------
   19. Acessibilidade — movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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