/* =========================================================
   Danilo Reis — Executivo Moura Dubeux · Recife
   Identidade visual alinhada à MOURA DUBEUX
   Branco · vermelho carmim #AD1A2D · grotesca · botões-pílula
   Archivo (display) / Inter (corpo)
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Marca MD */
  --red:       #AD1A2D;
  --red-deep:  #8E1526;
  --red-tint:  #FBEDEE;
  --red-line:  #EED1D5;

  /* Neutros */
  --ink:       #0E1116;   /* texto principal / fundo escuro */
  --ink-2:     #262626;
  --gray:      #4C4C4C;   /* texto secundário */
  --gray-2:    #6E6E6E;
  --gray-3:    #B8B8B8;
  --line:      #E6E6E3;   /* divisórias claras */
  --paper:     #FFFFFF;
  --paper-2:   #F5F5F3;   /* seção alternada */
  --paper-3:   #FAFAF8;

  /* WhatsApp */
  --wpp:       #1FA855;
  --wpp-dark:  #17843F;

  /* Tipos */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1220px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --pill: 9999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- TIPOGRAFIA UTIL ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow-on-dark { color: #fff; }
.eyebrow-on-dark::before { background: var(--red); }

.section-title {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  color: var(--ink);
}
.section-title.on-dark { color: #fff; }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--gray);
  max-width: 46ch;
  margin-top: 1.5rem;
  line-height: 1.55;
}
.body-text { color: var(--gray); margin-top: 1.1rem; max-width: 52ch; }

/* ---------- BOTÕES (pílula, estilo MD) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  font-family: var(--body);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .85em 1.6em;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  touch-action: manipulation;
}
.btn-lg { padding: 1em 2em; font-size: .92rem; }

.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  font-size: .92rem;
  color: var(--red);
  margin-top: 2rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { gap: .9em; border-color: var(--red); }

/* ---------- BRAND / MONOGRAMA ---------- */
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-logo { height: 40px; width: auto; flex: 0 0 auto; display: block; }
.brand-badge { height: 44px; width: 44px; border-radius: 10px; object-fit: cover; }
.footer-logo { height: 46px; }
.footer-logo-full { height: 100px; width: auto; display: block; flex: 0 0 auto; }
.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  width: 42px; height: 42px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-2); }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 82px;
}
.nav { display: flex; gap: 2.2rem; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: .3em 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 2px; background: var(--red);
  transition: width .3s var(--ease);
}
.nav a:hover::after { width: 100%; }
.nav a:hover { color: var(--red); }

.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem var(--pad) 2rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a { font-size: 1rem; font-weight: 500; color: var(--ink); padding: 1rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border: 0; margin-top: 1rem; }
.mobile-nav.open { display: flex; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper-2) 100%);
  color: var(--ink);
  padding: 128px 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
/* Fundo do herói: foto do Novo Cais + véu claro para legibilidade */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-bg { width: 100%; height: 100%; border-radius: 0; }
.hero-bg::before { content: none; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(250,250,248,0.97) 0%, rgba(250,250,248,0.86) 46%, rgba(250,250,248,0.60) 100%),
    linear-gradient(180deg, rgba(250,250,248,0.5) 0%, rgba(250,250,248,0) 30%, rgba(250,250,248,0.7) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero-copy { max-width: 620px; }

/* Bloco grande = foto do Danilo, com card de identificação flutuando */
.hero-visual { position: relative; }
.hero-photo {
  aspect-ratio: 4/5;
  min-height: 0;
  border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(14,17,22,0.45);
}
img.hero-photo { width: 100%; object-fit: cover; object-position: center 22%; display: block; }
.hero-card {
  position: absolute;
  left: -20px;
  bottom: -24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 24px 50px -24px rgba(14,17,22,0.35);
  max-width: 260px;
}
.sobre-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 16px; display: block; }
.hero-card-info { padding: 0; }
.hero-card-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.01em; }
.hero-card-role { color: var(--gray); font-size: .86rem; margin-top: 2px; }
.hero-card-creci { font-family: var(--body); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-top: 8px; }

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
/* Grifo vermelho que acompanha quebras de linha (pinta cada fragmento inteiro) */
.hero-title .hl {
  color: var(--ink);
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-size: 100% 0.14em;
  background-position: 0 calc(100% - 0.05em);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-lede {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--gray);
  max-width: 56ch;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* faixa de stats */
.hero-stats { position: relative; z-index: 2; border-top: 1px solid var(--line); }
.hero-stats-inner { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4.5rem); padding-block: 1.6rem; }
.stat { display: flex; flex-direction: column; gap: .25rem; }
.stat-k { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.stat-v { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }

/* ---------- IMG PLACEHOLDERS (slot intencional até chegar a foto) ---------- */
.img-placeholder {
  position: relative;
  width: 100%;
  min-height: 0;
  height: 100%;
  background: linear-gradient(135deg, #F3EEE7 0%, #E8DFD2 100%);
  display: grid; place-items: center;
  overflow: hidden;
}
.img-placeholder::after {
  content: "";
  width: 34%; max-width: 82px; aspect-ratio: 1;
  background-color: var(--red);
  opacity: .16;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V8l7-4v4l7-3v16H3zm4-3h2v-2H7v2zm0-4h2v-2H7v2zm0-4h2V8H7v2zm6 8h2v-2h-2v2zm0-4h2v-2h-2v2zm0-4h2V9h-2v2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V8l7-4v4l7-3v16H3zm4-3h2v-2H7v2zm0-4h2v-2H7v2zm0-4h2V8H7v2zm6 8h2v-2h-2v2zm0-4h2v-2h-2v2zm0-4h2V9h-2v2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph-label { display: none; }
.img-placeholder.portrait { aspect-ratio: 4/5; min-height: 440px; }

/* ---------- SECTION BASE ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-sub { color: var(--gray); margin-top: 1.4rem; font-size: 1.1rem; max-width: 50ch; }

/* ---------- SOBRE ---------- */
.sobre { background: var(--paper); }
.diffs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.diff {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem 1.6rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.diff:hover { transform: translateY(-4px); box-shadow: 0 22px 45px -24px rgba(14,17,22,0.22); border-color: transparent; }
.diff-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--red-tint);
  color: var(--red);
  margin-bottom: 1.2rem;
}
.diff h3 { font-family: var(--display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; margin-bottom: .5rem; }
.diff p { color: var(--gray); font-size: .96rem; }
.sobre-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 2.4rem;
  border-top: 1px solid var(--line); padding-top: 1.8rem;
}
.sobre-foot-note { color: var(--gray); font-size: .96rem; }
.sobre-foot-note strong { color: var(--red); font-weight: 600; }
.sobre-foot .link-arrow { margin-top: 0; }

/* (legado — seção Sobre antiga, mantido para referência) */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.sobre-figure .img-placeholder { border-radius: 16px; }
.sobre-figure .img-placeholder::before { border-radius: 12px; }
.cred-list { list-style: none; margin-top: 2.4rem; border-top: 1px solid var(--line); }
.cred-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  color: var(--ink-2);
}
.cred-k { color: var(--red); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- PORTFÓLIO ---------- */
.portfolio { background: var(--paper-2); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(14,17,22,0.28); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4/3; }
.card-media .img-placeholder { min-height: 0; }
.card-media .img-placeholder::before { inset: 10px; }
.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: #fff;
  color: var(--red);
  padding: .4em .9em;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--pill);
}
.card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: .35rem; }
.card-loc { color: var(--gray-2); font-size: .92rem; margin-bottom: 1.3rem; }
.card-specs {
  display: flex;
  gap: 1.6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  margin-bottom: 1.3rem;
  margin-top: auto;
}
.card-specs dt { color: var(--gray-2); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .3rem; }
.card-specs dd { font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.card-cta {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .92rem;
  color: var(--red);
  transition: gap .3s var(--ease);
}
.card-cta:hover { gap: .9em; }

.portfolio-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.6rem; }
.portfolio-note { color: var(--gray-2); font-size: .95rem; }

/* ---------- MÉTODO ---------- */
.metodo { background: var(--paper); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.step { padding-top: 1.8rem; border-top: 3px solid var(--red); }
.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--red);
  display: block;
  margin-bottom: 1.2rem;
}
.step h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin-bottom: .7rem; letter-spacing: -0.01em; }
.step p { color: var(--gray); font-size: .98rem; }

/* ---------- DEPOIMENTO ---------- */
.quote-section { background: var(--ink); color: #fff; }
.quote-wrap { max-width: 940px; margin-inline: auto; text-align: center; }
.quote-mark { font-family: var(--display); font-weight: 800; font-size: 5rem; line-height: .6; color: var(--red); display: block; margin-bottom: 1rem; }
.pull-quote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 auto 1.8rem;
  max-width: 22ch;
}
.quote-author { color: rgba(255,255,255,0.6); font-size: .95rem; }

/* ---------- CONTATO ---------- */
.contato { background: var(--paper-2); }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.contato-intro .lead { margin-bottom: 2.2rem; }
.contato-intro .btn-red { margin-bottom: 2.4rem; }

.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.contact-list .c-k { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; align-self: center; }
.contact-list a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); word-break: break-word; }
.contact-list a:hover { border-color: var(--red); }

.contato-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.field { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-3);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .85em 1em;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}
.field .req { color: var(--red); margin-left: 2px; }
.field-error {
  display: none;
  margin-top: .1rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 500;
}
.field.has-error .field-error { display: flex; align-items: center; gap: .35em; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.form-submit { width: 100%; margin-top: .4rem; }
.form-hint { margin-top: 1rem; color: var(--gray-2); font-size: .78rem; line-height: 1.5; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: #fff; padding-block: 3.5rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem 2.5rem;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.footer-tag { color: rgba(255,255,255,0.6); font-size: .82rem; margin-top: .2rem; }
.footer-nav { display: flex; gap: 1.8rem; justify-content: center; }
.footer-nav a { font-size: .92rem; font-weight: 500; color: rgba(255,255,255,0.72); transition: color .25s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-meta { text-align: right; color: rgba(255,255,255,0.55); font-size: .8rem; line-height: 1.7; }
.footer-disclaimer { margin-top: .6rem; font-size: .72rem; color: rgba(255,255,255,0.4); max-width: 34ch; margin-left: auto; }

/* ---------- WHATSAPP FLOAT ---------- */
.wpp-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--wpp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(31,168,85,.4);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.wpp-float:hover { background: var(--wpp-dark); transform: translateY(-3px) scale(1.05); }
.wpp-float::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wpp);
  animation: ripple 2.6s var(--ease) infinite;
}
@keyframes ripple { 0%{ transform: scale(1); opacity:.6 } 100%{ transform: scale(1.8); opacity:0 } }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- FOCUS ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; width: 44px; height: 44px; }
  .header-inner { gap: 1rem; }
  .footer-brand { flex-wrap: wrap; }
  .footer-nav { flex-wrap: wrap; gap: .7rem 1.4rem; }
  .footer-meta { margin-inline: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 460px; }
  .hero-photo { aspect-ratio: 4/5; }
  .hero-card { position: static; left: auto; bottom: auto; margin-top: -40px; margin-left: 16px; max-width: 300px; }
  .diffs { grid-template-columns: 1fr 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-figure { max-width: 440px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.8rem; }
  .footer-brand, .footer-nav { justify-content: center; }
  .footer-meta { text-align: center; }
  .footer-disclaimer { margin-inline: auto; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .diffs { grid-template-columns: 1fr; }
  .sobre-foot { flex-direction: column; align-items: flex-start; }
  .cred-list li { grid-template-columns: 1fr; gap: .2rem; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .btn-block-mobile { width: 100%; }
  .portfolio-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Cards: imagem, preço e vídeo ---------- */
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-price { font-size: .95rem; color: var(--gray); margin: -.4rem 0 1.1rem; }
.card-price strong { color: var(--ink); font-weight: 600; }
.card-play {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: .45em;
  background: rgba(14,17,22,.78); color: #fff; border: 0; border-radius: var(--pill);
  padding: .55em 1em; font: 600 .78rem/1 var(--body); cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.card-play:hover { background: var(--red); transform: translateY(-2px); }
.video-modal { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1000px); width: 100%; }
.video-modal::backdrop { background: rgba(14,17,22,.85); backdrop-filter: blur(4px); }
.video-box { position: relative; background: #000; border-radius: 16px; overflow: hidden; }
.video-box video { display: block; width: 100%; max-height: 82vh; background: #000; }
.video-title { position: absolute; left: 16px; top: 12px; z-index: 2; color: #fff; font: 600 .85rem var(--body); text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.video-close { position: absolute; right: 10px; top: 8px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.video-close:hover { background: var(--red); }
