/* ============================================================
   JG REFORMAS EM GERAL — identidade do cartão
   Vermelho #E33939 · Marinho #1B2A4A · Branco · tijolo · planta baixa
   Tipografia: Anton (display) + Poppins (texto) + Caveat (assinatura)
   ============================================================ */
:root {
  --red: #E33939;
  --red-dark: #B92B2B;
  --red-deep: #8f1f1f;
  --navy: #1B2A4A;
  --navy-dark: #131F38;
  --navy-deep: #0D1628;
  --navy-light: #26365C;
  --paper: #F4F1EB;         /* off-white quente, como o fundo do cartão */
  --paper-dark: #E9E4DA;
  --ink: #1d2536;
  --muted: #5b6478;
  --line: rgba(27, 42, 74, .14);
  --radius: 4px;            /* cantos retos = construção */
  --font: 'Poppins', system-ui, sans-serif;
  --display: 'Anton', Impact, sans-serif;
  --hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
::selection { background: var(--red); color: #fff; }

/* grão sutil por cima de tudo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ===== Tipografia display (estilo do "JG" 3D do cartão) ===== */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: .01em;
}
.display--dark { color: var(--navy); font-size: clamp(2rem, 4.4vw, 3.2rem); }
.display--light { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.display em {
  font-family: var(--hand);
  font-style: normal;
  text-transform: none;
  font-size: 1.15em;
  color: var(--red);
  letter-spacing: 0;
}
.display__line { display: block; }
.display__line--red {
  color: var(--red);
  text-shadow: 0 1px 0 var(--red-dark), 0 2px 0 var(--red-dark),
               0 3px 0 var(--red-deep), 0 5px 12px rgba(0,0,0,.28);
}
.stroke-red {
  color: var(--red);
  text-shadow: 0 1px 0 var(--red-dark), 0 2px 0 var(--red-deep),
               0 4px 10px rgba(185, 43, 43, .35);
}
.amp { color: var(--red); }

/* ===== Tag régua (com traços de cota) ===== */
.ruler-tag {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--red);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}
.ruler-tag i {
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.ruler-tag i::before, .ruler-tag i::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: currentColor;
}
.ruler-tag i::before { left: 0; }
.ruler-tag i::after { right: 0; }
.ruler-tag--light { color: #ff8f8f; }

/* ===== Botões ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.7rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background .18s, color .18s;
}
.btn .ico-wa { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 0 var(--red-deep), 0 10px 24px rgba(227,57,57,.35);
}
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--red-deep), 0 14px 28px rgba(227,57,57,.4); }
.btn--red:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-deep); }
/* brilho que atravessa */
.btn--red::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -80%; } 100% { left: 160%; } }
.btn--outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.02rem; }

/* ===== Topbar ===== */
.topbar {
  background: var(--navy-deep);
  color: #9fb0d0;
  font-size: .78rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .45rem 0;
  gap: 1rem;
}
.topbar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: -2px; margin-right: .3rem; }
.topbar__loc { display: inline-flex; align-items: center; }
.topbar__links { display: flex; gap: 1.3rem; }
.topbar__links a { color: #c3cfe6; text-decoration: none; display: inline-flex; align-items: center; transition: color .15s; }
.topbar__links a:hover { color: var(--red); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 3px 0 var(--red), 0 10px 30px rgba(0,0,0,.35);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: .65rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}
.brand__logo {
  width: 54px;
  height: 50px;
  display: grid;
  place-items: center;
  transition: transform .25s ease;
}
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.05); }
.brand__logo svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: .04em;
}
.brand__text small {
  color: #8fa0c4;
  font-size: .62rem;
  letter-spacing: .24em;
  font-weight: 600;
}

.nav { display: flex; gap: 1.6rem; }
.nav a {
  position: relative;
  color: #d6ddec;
  text-decoration: none;
  font-weight: 500;
  font-size: .92rem;
  padding: .3rem 0;
  transition: color .15s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__cta { font-size: .88rem; padding: .6rem 1.2rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.hamburger span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ===== HERO — a cara do cartão ===== */
.hero {
  position: relative;
  background:
    /* mármore/textura clara sutil */
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.9), transparent 50%),
    linear-gradient(160deg, #FAF8F4 0%, var(--paper) 55%, var(--paper-dark) 100%);
  overflow: hidden;
}
/* grade de planta baixa no fundo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,42,74,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,42,74,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(120deg, transparent 20%, #000 70%);
}
/* canto de tijolos (como o cartão) */
.hero__brick {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(180px, 30vw, 420px);
  height: clamp(140px, 22vw, 320px);
  clip-path: polygon(38% 0, 100% 0, 100% 100%);
  background-color: var(--red-dark);
  background-image:
    /* juntas horizontais */
    repeating-linear-gradient(0deg, transparent 0 34px, #f0e8e0 34px 38px),
    /* juntas verticais fiada A */
    repeating-linear-gradient(90deg, transparent 0 72px, #f0e8e0 72px 76px),
    /* variação de tom dos tijolos */
    repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 38px, rgba(255,255,255,.05) 38px 76px);
  background-size: 100% 100%, 152px 76px, 100% 100%;
  filter: saturate(.9);
  box-shadow: inset 0 0 60px rgba(0,0,0,.25);
  z-index: 1;
}
/* planta da casa desenhando */
.hero__blueprint {
  position: absolute;
  right: 2%;
  bottom: -2%;
  width: clamp(280px, 38vw, 520px);
  opacity: .5;
  z-index: 0;
}
.hero__blueprint .draw path,
.hero__blueprint .draw circle {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  opacity: .35;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawline 5s ease forwards;
}
.hero__blueprint .draw path:nth-child(2) { animation-delay: .4s; }
.hero__blueprint .draw path:nth-child(3) { animation-delay: .8s; }
.hero__blueprint .draw path:nth-child(4) { animation-delay: 1.2s; }
.hero__blueprint .draw path:nth-child(5) { animation-delay: 1.6s; }
.hero__blueprint .draw path:nth-child(6) { animation-delay: 2.0s; }
.hero__blueprint .draw path:nth-child(7) { animation-delay: 2.3s; }
.hero__blueprint .draw path:nth-child(8) { animation-delay: 2.6s; }
.hero__blueprint .draw circle { animation-delay: 2.9s; }
.hero__blueprint .draw path:nth-child(10) { animation-delay: 3.1s; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
.hero__blueprint .cotas path { stroke: var(--red); stroke-width: 1; opacity: .5; }
.hero__blueprint .cotas text {
  font-family: var(--font);
  font-size: 13px;
  fill: var(--red);
  opacity: .7;
}

.hero__slides { position: relative; z-index: 2; }
.hero__slide { display: none; }
.hero__slide.is-active { display: block; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 2.5rem;
  min-height: 560px;
  padding: 3.2rem 0 4rem;
}

/* entrada dos elementos do slide */
.hero__slide.is-active .ruler-tag,
.hero__slide.is-active .display,
.hero__slide.is-active .hero__content p,
.hero__slide.is-active .hero__actions,
.hero__slide.is-active .hero__proof {
  animation: rise .7s cubic-bezier(.2,.7,.3,1) backwards;
}
.hero__slide.is-active .display        { animation-delay: .08s; }
.hero__slide.is-active .hero__content p{ animation-delay: .18s; }
.hero__slide.is-active .hero__actions  { animation-delay: .28s; }
.hero__slide.is-active .hero__proof    { animation-delay: .4s; }
.hero__slide.is-active .hero__photo-frame { animation: photoIn .8s cubic-bezier(.2,.7,.3,1) backwards .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; transform: translateX(40px) rotate(4deg); } to { opacity: 1; transform: rotate(1.5deg); } }

.hero__content .display {
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  color: var(--navy);
  margin-bottom: 1.2rem;
}
.hero__content p {
  color: var(--muted);
  max-width: 44ch;
  font-size: 1.02rem;
  margin-bottom: 1.7rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* prova social */
.hero__proof {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.hero__proof > span:not(.hero__proof-div) { display: flex; align-items: center; gap: .6rem; }
.hero__proof strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
}
.hero__proof em {
  font-style: normal;
  font-size: .72rem;
  line-height: 1.25;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.hero__proof-div { width: 1px; height: 34px; background: var(--line); }

/* foto com moldura estilo polaroid + fita */
.hero__photo { display: flex; justify-content: center; }
.hero__photo-frame {
  position: relative;
  background: #fff;
  padding: 12px 12px 16px;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(19, 31, 56, .3), 0 4px 14px rgba(19,31,56,.18);
  transform: rotate(1.5deg);
  transition: transform .35s ease;
  max-width: min(400px, 100%);
}
.hero__photo-frame:hover { transform: rotate(0deg) scale(1.015); }
.hero__photo-frame img { border-radius: 2px; }
.hero__photo-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 110px;
  height: 30px;
  background: rgba(227, 57, 57, .8);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  clip-path: polygon(3% 0, 97% 6%, 100% 94%, 0 100%);
}
.hero__badge {
  position: absolute;
  bottom: -20px;
  right: -18px;
  background: var(--navy);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.25;
  text-align: center;
  padding: .8rem 1rem .7rem;
  border-radius: 50%;
  width: 106px;
  height: 106px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  box-shadow: 0 10px 26px rgba(19,31,56,.4);
  border: 3px dashed rgba(255,255,255,.35);
  animation: floaty 3.5s ease-in-out infinite;
}
.hero__badge strong { font-family: var(--display); font-weight: 400; font-size: 1.05rem; color: #ffb3b3; letter-spacing: .1em; }
.hero__badge svg { width: 18px; height: 18px; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(-1deg); } }

.hero__dots {
  position: absolute;
  bottom: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 5;
}
.hero__dots button {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  border: none;
  background: rgba(27,42,74,.22);
  cursor: pointer;
  transition: background .2s, width .25s;
}
.hero__dots button.is-active { background: var(--red); width: 44px; }

/* ===== Marquee ===== */
.marquee {
  position: relative;
  background: var(--red);
  color: #fff;
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -14px 0;
  z-index: 5;
  box-shadow: 0 8px 30px rgba(185,43,43,.35);
  border-top: 3px solid var(--red-deep);
  border-bottom: 3px solid var(--red-deep);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  padding: .8rem 0;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .12em;
}
.marquee__track i { font-style: normal; font-size: .6rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 5.5rem 0; position: relative; }
.section__head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.2rem;
}
.section__head .ruler-tag { justify-content: center; }
.section__head h2 { margin-bottom: .9rem; }
.section__head p { color: var(--muted); }
.section__more { text-align: center; margin-top: 2.8rem; }

/* reveal no scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ===== Serviços ===== */
.services {
  background:
    linear-gradient(0deg, var(--paper-dark), transparent 30%),
    var(--paper);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem 1.7rem;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
/* barra vermelha que sobe no hover */
.card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(19,31,56,.14);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card__num {
  position: absolute;
  top: .9rem;
  right: 1.1rem;
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--paper-dark);
  transition: color .25s;
  line-height: 1;
}
.card:hover .card__num { color: rgba(227,57,57,.22); }
.card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  display: grid;
  place-items: center;
  background: rgba(227,57,57,.08);
  border-radius: var(--radius);
  transition: background .25s, transform .25s;
}
.card:hover .card__icon { background: var(--red); transform: rotate(-6deg); }
.card__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s;
}
.card:hover .card__icon svg { stroke: #fff; }
.card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.card p { font-size: .86rem; color: var(--muted); line-height: 1.55; }

/* ===== Antes & Depois ===== */
.section--dark {
  background:
    radial-gradient(ellipse at 80% -10%, rgba(227,57,57,.14), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 70%, var(--navy-deep) 100%);
  color: #fff;
}
/* grade blueprint no escuro */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.section--dark .section__head p { color: #a9b4cc; }
.section--dark a { color: #ff9d9d; }

/* listras de obra no topo da seção */
.projects__stripes {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 18px, var(--navy-deep) 18px 36px);
  opacity: .85;
}

.ba-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}
.ba { margin: 0; }
.ba__wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  user-select: none;
  border: 6px solid #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ba:hover .ba__wrap { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0,0,0,.55); }
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 12px rgba(0,0,0,.4);
}
.ba__handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 3px 0 var(--red-deep), 0 8px 20px rgba(0,0,0,.45);
  animation: nudge 2.6s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(calc(-50% + 5px), -50%); }
}
.ba__handle span::before {
  content: "◂ ▸";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .8rem;
  letter-spacing: .05em;
}
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
  -webkit-appearance: none;
}
.ba__label {
  position: absolute;
  top: 12px;
  z-index: 3;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .16em;
  padding: .3rem .75rem;
  background: rgba(13, 22, 40, .8);
  color: #fff;
  border-radius: 2px;
}
.ba__label--antes { left: 12px; }
.ba__label--depois { right: 12px; background: var(--red); box-shadow: 0 2px 0 var(--red-deep); }
.ba figcaption {
  position: relative;
  margin: 1.1rem auto 0;
  width: fit-content;
  font-weight: 600;
  color: #e6ebf5;
  font-size: .95rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: .45rem 1.3rem;
  border-radius: 2px;
}
/* fitinha na legenda */
.ba__tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 58px;
  height: 14px;
  background: rgba(227,57,57,.75);
  clip-path: polygon(4% 0, 96% 10%, 100% 90%, 0 100%);
}

/* ===== Sobre ===== */
.about-sec {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,255,255,.8), transparent 50%),
    var(--paper);
}
/* grade sutil também aqui */
.about-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,42,74,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,42,74,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(300deg, transparent 30%, #000 80%);
  pointer-events: none;
}
.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.about__photo {
  position: relative;
  max-width: 400px;
}
/* bloco de tijolo atrás da foto */
.about__photo-bg {
  content: "";
  position: absolute;
  inset: -22px auto auto -22px;
  width: 70%;
  height: 70%;
  background-color: var(--red-dark);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 26px, #f0e8e0 26px 29px),
    repeating-linear-gradient(90deg, transparent 0 56px, #f0e8e0 56px 59px);
  z-index: 0;
  opacity: .9;
}
.about__photo img {
  position: relative;
  z-index: 1;
  border: 8px solid #fff;
  box-shadow: 0 22px 55px rgba(19,31,56,.28);
}
.about__badge {
  position: absolute;
  z-index: 2;
  bottom: -24px;
  right: -14px;
  background: var(--navy);
  color: #fff;
  padding: .55rem 1.5rem .7rem;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 4px 0 var(--red), 0 14px 30px rgba(19,31,56,.35);
  transform: rotate(-2deg);
}
.about__sign {
  display: block;
  font-family: var(--hand);
  font-size: 1.7rem;
  line-height: 1.1;
  color: #fff;
}
.about__role { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #ffb3b3; font-weight: 600; }

.about__content h2 { margin-bottom: 1.1rem; }
.about__content p { color: var(--muted); margin-bottom: 1rem; max-width: 54ch; }
.about__list {
  list-style: none;
  margin: 1.3rem 0 1.9rem;
  display: grid;
  gap: .6rem;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 500;
  color: var(--navy);
  font-size: .95rem;
}
.about__list svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: var(--red);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 0 var(--red-deep);
}

/* ===== CTA final ===== */
.cta {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(227,57,57,.25), transparent 60%),
    linear-gradient(150deg, var(--navy) 30%, var(--navy-deep));
  color: #fff;
  padding: 5.5rem 0 5rem;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta__stripes {
  position: absolute;
  left: 0; right: 0;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 18px, var(--navy-deep) 18px 36px);
}
.cta__stripes--top { top: 0; }
.cta__inner { position: relative; }
.cta__inner .ruler-tag { justify-content: center; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.cta__hl {
  color: var(--red);
  text-shadow: 0 1px 0 var(--red-dark), 0 2px 0 var(--red-dark),
               0 3px 0 var(--red-deep), 0 6px 16px rgba(0,0,0,.4);
}
.cta p { color: #b7c1d8; margin-bottom: 2.2rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: #93a1bf;
  border-top: 3px solid var(--red);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.6rem 0;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.brand__logo--footer { width: 48px; height: 44px; }
.footer__brand p { font-size: .85rem; line-height: 1.5; }
.footer__brand strong { color: #fff; font-family: var(--display); font-weight: 400; letter-spacing: .05em; }
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__links a {
  color: #93a1bf;
  text-decoration: none;
  font-size: .87rem;
  transition: color .15s;
}
.footer__links a:hover { color: var(--red); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1rem 0;
  font-size: .76rem;
  text-align: center;
  color: #5f6d8c;
}

/* ===== WhatsApp flutuante ===== */
.whats-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.whats-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .6; }
  to { transform: scale(1.7); opacity: 0; }
}
.whats-float:hover { transform: scale(1.1); }
.whats-float svg { width: 33px; height: 33px; }

/* ===== Responsivo ===== */
@media (max-width: 960px) {
  .topbar__loc { display: none; }
  .topbar__inner { justify-content: center; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 1.2rem 4%;
    gap: 1rem;
    display: none;
    box-shadow: 0 20px 30px rgba(0,0,0,.35);
  }
  .nav.is-open { display: flex; }
  .hamburger { display: flex; }
  .header__cta { display: none; }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 5rem;
    min-height: unset;
    gap: 3.4rem;
  }
  .hero__content p { margin-inline: auto; }
  .hero__actions, .hero__proof { justify-content: center; }
  .hero__photo-frame { max-width: min(330px, 88%); }
  .hero__badge { right: -8px; }
  .hero__blueprint { opacity: .22; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 3.6rem; }
  .about__photo { margin-inline: auto; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .brand__text strong { font-size: .95rem; }
  .hero__proof { gap: 1rem; }
  .hero__proof strong { font-size: 1.6rem; }
  .marquee__track span { font-size: .9rem; }
}

/* respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
