/* ============================================================
   RA Films — Cinema Imobiliário Design System
   ============================================================ */

:root {
  --bg:          #0a0a0a;
  --bg-surface:  #111111;
  --bg-card:     #161616;
  --bg-card-hi:  #1e1e1e;
  --text:        #eae7e6;
  --text-muted:  #8a8886;
  --gold:        #c9a84c;
  --gold-dim:    #a88b3d;
  --gold-glow:   rgba(201,168,76,0.08);
  --outline:     rgba(234,231,230,0.08);
  --outline-hi:  rgba(234,231,230,0.18);

  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;

  --container:   1200px;
  --pad-section: 140px;
  --pad-mobile:  72px;
  --gutter:      32px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Label caps --- */
.label-caps {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Gold line --- */
.gold-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 36px;
}

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-dim); border-color: var(--gold-dim); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--outline-hi);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--lg { padding: 19px 38px; font-size: 11px; }

/* --- Seções --- */
.section { padding: var(--pad-section) 0; }
.section--dark    { background: var(--bg); }
.section--darker  { background: var(--bg-surface); }

.section__label { margin-bottom: 18px; display: block; }

.section__header { max-width: 680px; margin-bottom: 80px; }

.section__title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
}

/* ============================================================
   NAVEGAÇÃO
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--outline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1360px;
  margin: 0 auto;
}

/* LOGO FIX — size explicitly controlled here */
.nav__logo img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s;
}
.nav__logo:hover img { opacity: 1; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  padding: 10px 24px;
  border: 1px solid var(--outline-hi) !important;
  transition: border-color 0.2s, color 0.2s !important;
}
.nav__cta:hover { border-color: var(--gold) !important; color: var(--gold) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span { display: block; width: 22px; height: 1px; background: var(--text); transition: all 0.3s; }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: rgba(10,10,10,0.97);
  border-top: 1px solid var(--outline);
}
.nav__mobile a {
  padding: 18px 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--outline);
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--text); }
.nav__mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #050505;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(10,10,10,0.7) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.0) 30%, rgba(10,10,10,0.75) 75%, rgba(10,10,10,1) 100%);
}

/* Grain texture overlay */
.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) 100px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-top: 160px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.hero__eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 820px;
}

.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(234,231,230,0.72);
  max-width: 520px;
  margin-bottom: 52px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.45;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
.hero__scroll-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-lr;
}
@keyframes scrollDown {
  0%,100% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  padding: 48px 0;
}

.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid var(--outline);
}
.stat:last-child { border-right: none; }

.stat__num {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
}
.stat__num em {
  font-style: normal;
  color: var(--gold);
}

.stat__label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   PROBLEMA
   ============================================================ */
.problema__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--outline);
  border: 1px solid var(--outline);
  margin-bottom: 80px;
}

.problema__item {
  background: var(--bg);
  padding: 52px 48px;
  transition: background 0.3s;
}
.problema__item:hover { background: var(--bg-card); }

.problema__num {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 400;
  color: rgba(201,168,76,0.12);
  line-height: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.problema__item p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

.problema__resolucao {
  text-align: center;
  padding-top: 16px;
}
.problema__resolucao .gold-line { margin: 0 auto 28px; }
.problema__resolucao p {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 40px);
  font-style: italic;
  color: var(--text);
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--outline);
  border: 1px solid var(--outline);
  margin-bottom: 64px;
}

.servico-card {
  background: var(--bg-card);
  padding: 40px 36px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.servico-card::before {
  content: '';
  position: absolute;
  top: 0; left: 36px;
  width: 36px; height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.servico-card:hover { background: var(--bg-card-hi); }
.servico-card:hover::before { width: calc(100% - 36px); }

.servico-card__num {
  display: block;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 10px;
}

.servico-card__title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 14px;
}

.servico-card__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

.servicos__cta { text-align: center; }

/* ============================================================
   PORTFÓLIO PREVIEW
   ============================================================ */
.portfolio-preview {
  overflow: hidden;
  padding: var(--pad-section) 0 calc(var(--pad-section) * 0.6);
}

.portfolio-preview .section__header {
  padding: 0 var(--gutter);
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.portfolio-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 8px;
}
.portfolio-track-wrap::-webkit-scrollbar { display: none; }
.portfolio-track-wrap:active { cursor: grabbing; }

.portfolio-track {
  display: flex;
  gap: 2px;
  padding: 0 var(--gutter);
  width: max-content;
  padding-right: calc(var(--gutter) + 32px);
}

.portfolio-item {
  position: relative;
  width: 440px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--outline);
}
.portfolio-item:first-child { width: 560px; }

.portfolio-item__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
  opacity: 0.85;
}
.portfolio-item:hover .portfolio-item__img { transform: scale(1.04); opacity: 1; }

.portfolio-item__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--outline-hi);
}

.portfolio-item__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
}
.portfolio-item__cat {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.portfolio-item__label {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}

.portfolio-preview__cta {
  text-align: center;
  margin-top: 48px;
  padding: 0 var(--gutter);
}

/* ============================================================
   VÍDEO DEMONSTRAÇÃO
   ============================================================ */
.video-demo__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.video-demo__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.video-demo__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.video-demo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.video-demo__tags span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--outline);
  padding: 6px 14px;
}

/* YouTube lite embed */
.yt-lite {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border: 1px solid var(--outline);
  overflow: hidden;
  cursor: pointer;
}
.yt-lite__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.6s var(--ease-out);
}
.yt-lite:hover .yt-lite__thumb { opacity: 1; transform: scale(1.03); }

.yt-lite__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.5) 0%, transparent 60%);
}

.yt-lite__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(10,10,10,0.75);
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
  padding-left: 3px;
}
.yt-lite:hover .yt-lite__play {
  background: rgba(201,168,76,0.9);
  border-color: var(--gold);
  color: #0a0a0a;
  transform: translate(-50%, -50%) scale(1.1);
}

/* iframe injected by JS */
.yt-lite iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-demo__caption {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 9px;
}

/* ============================================================
   DESTAQUE — ACOMPANHAMENTO
   ============================================================ */
.destaque__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.destaque__title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.destaque__text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.destaque__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}
.destaque__list li {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.destaque__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--gold);
}

.destaque__image { position: relative; }

.destaque__img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--outline);
  position: relative;
}
.destaque__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  transition: transform 0.8s var(--ease-out), opacity 0.4s;
}
.destaque__image:hover .destaque__img-wrap img { transform: scale(1.03); opacity: 1; }

.destaque__img-wrap.no-img {
  background: linear-gradient(160deg, var(--bg-card) 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.destaque__img-wrap.no-img::after {
  content: 'Imagem de obra em breve';
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--outline-hi);
}

.destaque__img-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--bg-surface);
  border: 1px solid var(--outline);
  padding: 16px 20px;
}
.destaque__img-badge .label-caps { margin-bottom: 4px; display: block; }
.destaque__img-badge strong {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  display: block;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais .section__header { max-width: 760px; }

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--outline);
  border: 1px solid var(--outline);
}

.diferencial {
  background: var(--bg-surface);
  padding: 44px 36px;
  transition: background 0.3s;
}
.diferencial:hover { background: var(--bg-card); }

.diferencial__icon {
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.9;
}

.diferencial h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}
.diferencial p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   PROCESSO
   ============================================================ */
.processo .section__header { max-width: 560px; }

.processo__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.processo__step {
  padding: 0 32px 0 0;
  position: relative;
}

.processo__num {
  display: block;
  font-size: 10px;
  color: var(--gold);
  margin-bottom: 16px;
}

.processo__line {
  width: 100%;
  height: 1px;
  background: var(--outline);
  margin-bottom: 28px;
  position: relative;
}
.processo__line::before {
  content: '';
  position: absolute;
  left: 0; top: -3.5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
}

.processo__step h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}
.processo__step p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  position: relative;
  padding: 140px 0 160px;
  text-align: center;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-surface);
}
.cta-final__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, var(--gold-glow) 0%, transparent 70%);
}

.cta-final__inner {
  position: relative;
  z-index: 1;
}
.cta-final__inner .gold-line { margin: 0 auto 40px; }

.cta-final__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.5vw, 70px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.cta-final__sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 56px;
}

.cta-final__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--outline);
  padding: 60px 0 52px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

/* FOOTER LOGO FIX */
.footer__logo img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

.footer__tagline { color: var(--text-muted); font-size: 10px; }

.footer__nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__nav a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--text); }

.footer__social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__social-link:hover { color: var(--gold); }
.footer__social-link svg { flex-shrink: 0; }

.footer__copy {
  font-size: 10px;
  color: rgba(234,231,230,0.2);
  letter-spacing: 0.06em;
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 50px; height: 50px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA
   ============================================================ */
[data-fade] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
[data-fade].visible { opacity: 1; transform: translateY(0); }
[data-fade]:nth-child(2) { transition-delay: 0.1s; }
[data-fade]:nth-child(3) { transition-delay: 0.2s; }
[data-fade]:nth-child(4) { transition-delay: 0.3s; }
[data-fade]:nth-child(5) { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1100px) {
  .diferenciais__grid  { grid-template-columns: repeat(2, 1fr); }
  .processo__steps     { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .stats-bar__inner    { flex-wrap: wrap; }
  .stat                { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--outline); }
  .stat:nth-child(odd)  { border-right: 1px solid var(--outline); }
  .stat:last-child, .stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

@media (max-width: 900px) {
  :root { --pad-section: 88px; --gutter: 24px; }
  .servicos__grid      { grid-template-columns: repeat(2, 1fr); }
  .video-demo__inner   { grid-template-columns: 1fr; gap: 48px; }
  .destaque__inner     { grid-template-columns: 1fr; gap: 56px; }
  .destaque__image { order: -1; }
  .destaque__img-badge { left: 0; }
  .problema__grid  { grid-template-columns: 1fr; }
  .portfolio-item  { width: 340px; }
  .portfolio-item:first-child { width: 440px; }
}

@media (max-width: 768px) {
  :root { --pad-section: 72px; --gutter: 20px; }
  .nav__links  { display: none; }
  .nav__toggle { display: flex; }
  .hero__headline { font-size: clamp(36px, 10vw, 58px); }
  .servicos__grid  { grid-template-columns: 1fr; }
  .diferenciais__grid { grid-template-columns: 1fr; }
  .processo__steps { grid-template-columns: 1fr; }
  .processo__step  { padding: 0 0 36px; }
  .processo__line  { display: none; }
  .stat { flex: 0 0 100%; border-right: none; }
  .cta-final__actions { flex-direction: column; align-items: center; }
  .cta-final__actions .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .problema__item { padding: 36px 28px; }
  .portfolio-item, .portfolio-item:first-child { width: 280px; }
}
