/* ==========================================================================
   TOKENS
   ========================================================================== */
:root{
  --tinta: #0B1B33;        /* deep navy — dominant dark */
  --tinta-soft: #142B4D;   /* lighter navy panel */
  --papel: #FFFFFF;        /* white */
  --papel-dim: #B9C6DC;    /* pale blue-white, secondary text on navy */
  --painel: #EEF2F8;       /* pale neutral panel for light-section alternation */
  --carimbo: #2F6FED;      /* accent blue — the one accent color */
  --carimbo-dim: #1E4FB8;
  --carimbo-glow: rgba(47,111,237,.55);
  --prata: #C9CDD3;

  --display: "Bricolage Grotesque", "Inter", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --container: 1240px;
  --edge: clamp(24px, 5vw, 96px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-is-open{ overflow: hidden; }

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

::selection{ background: var(--carimbo); color: var(--papel); }

:focus-visible{
  outline: 2px solid var(--carimbo);
  outline-offset: 3px;
}

/* film grain, purely decorative, very low opacity */
.grain{
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.icon-wa{ fill: currentColor; flex-shrink: 0; }
.icon-ig{ flex-shrink: 0; vertical-align: -3px; margin-right: 2px; }
.ig-link{ display: inline-flex; align-items: center; gap: 5px; }

.mono-tag{
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .6;
}

.eyebrow{
  font-family: var(--mono);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--carimbo);
  margin: 0 0 1rem;
}

.section-title{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.015em;
}
.section-title em{ font-style: normal; font-weight: 800; color: var(--carimbo); }

.btn{
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--mono); font-weight: 700; font-size: .82rem; letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase; text-align: center; white-space: nowrap;
  padding: .95em 1.6em;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.btn .icon-wa{ display: block; }
.btn-stamp{
  background: var(--carimbo);
  color: var(--papel);
  box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 0 0 0 var(--carimbo-glow);
  animation: pulseGlow 2.4s ease-in-out infinite;
}
.btn-stamp:hover{ background: var(--carimbo-dim); transform: translateY(-2px); }
.btn-lg{ padding: 1.05em 2.1em; font-size: .85rem; }

.btn-outline{
  background: transparent; color: var(--papel);
  border-color: rgba(255,255,255,.35);
}
.btn-outline:hover{ border-color: var(--carimbo); color: var(--carimbo); transform: translateY(-2px); }

@keyframes pulseGlow{
  0%, 100%{ box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 0 0 0 var(--carimbo-glow); }
  50%{ box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 0 18px 5px var(--carimbo-glow); }
}

@media (prefers-reduced-motion: reduce){
  .btn-stamp{ animation: none; box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 0 14px 4px var(--carimbo-glow); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 14px var(--edge);
  transition: padding .3s ease;
}
/* The blurred background lives on a pseudo-element rather than directly
   on .site-header: backdrop-filter (like transform) makes an element the
   containing block for its own position:fixed descendants, which broke
   the full-screen mobile nav overlay (a fixed descendant) the moment the
   header picked up .is-scrolled after the page was scrolled. */
.site-header::before{
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom, rgba(11,27,51,.88), transparent);
  transition: background-color .3s ease;
}
.site-header.is-scrolled::before{
  background: rgba(11,27,51,.94);
  backdrop-filter: blur(6px);
}
.site-header.is-scrolled{
  padding-top: 10px; padding-bottom: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.header-inner{
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-logo{
  height: 156px; width: auto; transition: height .3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)) drop-shadow(0 0 16px rgba(47,111,237,.55));
}
.site-header.is-scrolled .brand-logo{ height: 104px; }

.main-nav{ display: flex; align-items: center; gap: 40px; margin-right: auto; margin-left: 56px; }
.main-nav a{
  font-family: var(--mono); font-weight: 600; font-size: 1.02rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--papel); opacity: .85;
  display: inline-flex; align-items: baseline; gap: 8px;
  transition: opacity .2s ease;
}
.main-nav a:hover{ opacity: 1; color: var(--carimbo); }
.nav-index{ color: var(--carimbo); font-size: .8rem; }
.main-nav .btn-stamp-mobile{ display: none; }

.btn-header{ padding: .75em 1.4em; font-size: .78rem; }

/* hamburger */
.nav-toggle{
  display: none;
  position: relative; z-index: 210;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span{
  display: block; width: 26px; height: 2px; background: var(--papel);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px){
  .brand-logo, .site-header.is-scrolled .brand-logo{ height: 64px; }
  .btn-header{ display: none; }
  .nav-toggle{ display: flex; }

  .main-nav{
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 205;
    margin: 0; gap: 0;
    background: var(--tinta);
    align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
  }
  .main-nav.is-open{
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .35s ease, transform .35s ease;
  }
  .main-nav a{
    font-size: 1.6rem; padding: 18px 0;
    opacity: 1; color: var(--papel);
  }
  .main-nav a .nav-index{ font-size: 1rem; }
  .main-nav a.btn-stamp-mobile{
    display: inline-flex; align-items: center; margin-top: 28px;
    font-size: .92rem; padding: .95em 1.9em;
  }
}

@media (prefers-reduced-motion: reduce){
  .main-nav{ transition: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  background: var(--tinta);
  color: var(--papel);
  padding: calc(var(--edge) + 130px) var(--edge) 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}

/* ambient animated glow, decorative, transform/opacity only */
.hero-glow{
  position: absolute; border-radius: 50%;
  filter: blur(70px); pointer-events: none; z-index: 0;
  mix-blend-mode: screen; opacity: .5;
}
.hero-glow--a{
  width: 560px; height: 560px; top: -160px; left: 6%;
  background: radial-gradient(circle, var(--carimbo), transparent 70%);
  animation: drift1 17s ease-in-out infinite;
}
.hero-glow--b{
  width: 440px; height: 440px; bottom: -180px; right: 10%;
  background: radial-gradient(circle, #7AA2FF, transparent 70%);
  animation: drift2 21s ease-in-out infinite;
}
/* the main attention-grabbing glow: sits centered behind both the
   headline and the photo, blue fading into a hint of the scale's gold */
.hero-glow--core{
  width: min(1100px, 92vw); height: min(1100px, 92vw);
  top: 50%; left: 52%;
  transform: translate(-50%, -54%) scale(1);
  background: radial-gradient(circle,
    rgba(122,162,255,.65) 0%,
    rgba(47,111,237,.42) 32%,
    rgba(212,175,55,.16) 58%,
    transparent 75%);
  filter: blur(90px);
  opacity: .85;
  mix-blend-mode: screen;
  animation: coreGlowPulse 7s ease-in-out infinite;
}
@keyframes drift1{
  0%, 100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(50px, 34px) scale(1.15); }
}
@keyframes drift2{
  0%, 100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-36px,-44px) scale(1.1); }
}
@keyframes coreGlowPulse{
  0%, 100%{ transform: translate(-50%, -54%) scale(1); opacity: .78; }
  50%{ transform: translate(-50%, -54%) scale(1.1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .hero-glow{ animation: none; }
}

/* law watermark, subtle texture */
.hero-watermark{
  position: absolute; z-index: 0; pointer-events: none;
  width: 640px; height: 640px;
  top: 50%; left: 60%; transform: translate(-30%, -50%);
  opacity: .1;
}

.hero-grid{
  position: relative;
  max-width: var(--container); margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  min-height: 560px;
}

.hero-text{ position: relative; z-index: 3; padding-right: 40px; }

.hero-title{
  font-family: var(--display);
  font-weight: 720;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: .98;
  letter-spacing: -0.02em;
  margin: 0 0 1.6rem;
}
.hero-title .line{ display: block; overflow: hidden; }
.line-accent{ color: var(--carimbo); font-weight: 800; }

.hero-lede{
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  max-width: 36ch;
  color: var(--papel-dim);
  margin: 0 0 2.4rem;
}
.hero-lede strong{ color: var(--papel); font-weight: 700; }

.hero-actions{ display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.hero-proof{
  display: flex; align-items: center; gap: .6em;
  font-family: var(--mono); font-size: .78rem; color: var(--papel-dim);
}
.stars{ color: var(--carimbo); letter-spacing: .05em; }

.hero-photo-wrap{
  position: relative;
  height: 100%;
  min-height: 560px;
  grid-column: 2 / 3;
  margin-left: -60px;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
}
.hero-photo{
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: brightness(.95) contrast(1.08);
}
.hero-photo-shade{
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--tinta) 0%, transparent 30%),
              linear-gradient(to top, var(--tinta) 0%, transparent 35%),
              linear-gradient(200deg, var(--carimbo) 0%, transparent 45%);
  mix-blend-mode: multiply;
  opacity: .9;
}

.hero-stamp{
  /* positioned relative to .hero-photo-wrap (its new parent) so it always
     stays anchored to the photo itself, on every breakpoint. Bottom-right
     placement keeps it clear of the wrap's angled top-left clip-path. */
  position: absolute;
  left: auto; right: 6%; top: 40%; bottom: auto;
  transform: translateY(-50%) rotate(-9deg);
  z-index: 4;
  width: 148px; height: 148px;
  border: 2px solid var(--carimbo);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  color: var(--papel);
  font-family: var(--mono);
  text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(20,43,77,.7), rgba(11,27,51,.55));
  backdrop-filter: blur(3px);
  animation: stampPulse 3.2s ease-in-out infinite;
}
.hero-stamp::before{
  content: "";
  position: absolute; inset: 9px;
  border: 1px solid var(--carimbo);
  border-radius: 50%;
  opacity: .5;
}
.stamp-ring{
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 2px dashed var(--carimbo);
  opacity: .6;
  animation: stampSpin 11s linear infinite;
}
.stamp-ring::after{
  content: "";
  position: absolute; top: -4px; left: 50%; margin-left: -4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--carimbo);
  box-shadow: 0 0 10px 3px var(--carimbo-glow);
}
.stamp-rule{ display: block; width: 26px; height: 1px; background: var(--carimbo); opacity: .55; margin: 3px 0; }
.hero-stamp span{ font-size: .6rem; letter-spacing: .14em; color: var(--carimbo); font-weight: 600; }
.hero-stamp strong{ font-family: var(--display); font-size: 2.15rem; font-weight: 800; line-height: 1; color: var(--papel); }

@keyframes stampSpin{ to{ transform: rotate(360deg); } }
@keyframes stampPulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(47,111,237,0); }
  50%{ box-shadow: 0 0 26px 6px rgba(47,111,237,.4); }
}
@media (prefers-reduced-motion: reduce){
  .stamp-ring{ animation: none; }
  .hero-stamp{ animation: none; box-shadow: 0 0 26px 6px rgba(47,111,237,.25); }
}

/* small continuous 3D accent orb */
.hero-orb-wrap{
  position: absolute; z-index: 4;
  width: clamp(110px, 12vw, 180px); aspect-ratio: 1;
  top: 6%; right: 1%;
  filter: drop-shadow(0 14px 30px rgba(47,111,237,.4));
}
#hero-orb-canvas{ width: 100%; height: 100%; display: block; }

@media (max-width: 900px){
  .hero{ padding-top: calc(var(--edge) + 90px); }
  .hero-grid{ grid-template-columns: 1fr; min-height: auto; padding-top: 20px; }
  .hero-text{ padding-right: 0; order: 1; }
  .hero-photo-wrap{
    grid-column: 1; order: 0;
    margin-left: 0; min-height: 320px;
    clip-path: none;
    border-radius: 4px;
    margin-bottom: 28px;
    overflow: hidden;
  }
  /* a touch of zoom crops out the studio floor visible at the bottom of
     the source photo on this box's aspect ratio, and reads as "bigger" */
  .hero-photo{ transform: scale(1.15); }
  .hero-stamp{
    left: 50%; right: auto; top: auto; bottom: 56px;
    transform: translateX(-50%) rotate(-9deg);
    width: 96px; height: 96px;
    gap: 1px;
  }
  .hero-stamp span{ font-size: .46rem; }
  .hero-stamp strong{ font-size: 1.5rem; }
  .stamp-rule{ width: 18px; margin: 1px 0; }
  .hero-orb-wrap{ top: 4%; right: 4%; }
  .hero{ padding-bottom: 32px; }
}

/* ==========================================================================
   MARQUEE — animated strip below the hero
   ========================================================================== */
.marquee{
  position: relative; z-index: 3;
  background: var(--carimbo); color: var(--papel);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.marquee-track{
  display: flex; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-group{
  display: flex; align-items: center; gap: 2.2rem;
  padding: 19px 2.6rem 19px 0;
  font-family: var(--display); font-weight: 800; font-size: 1.08rem; letter-spacing: -.005em;
  text-transform: uppercase; white-space: nowrap;
}
.marquee-group .sep{ opacity: .65; font-size: .8em; }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}

/* ==========================================================================
   3D SCROLL SCENE
   ========================================================================== */
.scene-section{ position: relative; background: var(--tinta); overflow: hidden; }
.scene-bg{
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 15%;
  filter: contrast(1.05);
  opacity: .38;
}
.scene-bg::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--tinta) 0%, rgba(11,27,51,.75) 40%, var(--tinta) 100%);
}
.scene-pin{
  position: relative; z-index: 1;
  height: 100svh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
#shard-canvas{
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.scene-fallback{
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(47,111,237,.18), transparent 55%);
  display: none;
}

.scene-texts{
  position: relative; z-index: 2;
  max-width: 640px; padding: 0 var(--edge);
  text-align: center;
  height: 220px;
}
.scene-text{
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.25;
  color: var(--papel);
  font-weight: 600;
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem;
  opacity: 0;
}
.scene-text .mono-tag{ color: var(--carimbo); opacity: .95; }

@media (max-width: 640px){
  .scene-pin{ height: 80svh; }
}

/* ==========================================================================
   ÁREAS DE ATUAÇÃO
   ========================================================================== */
.areas{ position: relative; padding: 130px var(--edge) 0; max-width: var(--container); margin: 0 auto; overflow: hidden; }
.section-head{ max-width: 640px; margin-bottom: 60px; }

.areas-watermark{
  position: absolute; z-index: 0; pointer-events: none;
  width: 460px; height: 460px;
  bottom: -100px; left: -100px;
  opacity: .07;
}

.areas-grid{
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--tinta);
  perspective: 1400px;
}
.area{
  position: relative;
  background: var(--papel);
  padding: 34px 30px;
  grid-column: span 2;
  min-height: 220px;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transition: transform .12s ease-out, box-shadow .35s ease;
  will-change: transform;
}
.area:hover{
  box-shadow: 0 26px 50px rgba(11,27,51,.16);
}
@media (prefers-reduced-motion: reduce), (hover: none){
  .area{ transform: none !important; }
}
.area-icon{ color: var(--carimbo); margin-bottom: .9em; flex-shrink: 0; }
.area-featured .area-icon{ margin-bottom: auto; }

.area h3{
  font-family: var(--display); font-weight: 700;
  font-size: 1.5rem; margin: .5em 0 .5em; letter-spacing: -0.01em;
}
.area p{ font-size: .92rem; line-height: 1.55; color: rgba(11,27,51,.72); margin: 0; }
.area .mono-tag{ opacity: .5; }

.area-featured{
  grid-column: span 4; grid-row: span 2;
  background: var(--tinta); color: var(--papel);
  padding: 46px 40px;
  justify-content: flex-end;
  overflow: hidden;
}
.area-featured-bg{
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 18%;
  filter: contrast(1.1) brightness(.85);
  opacity: .32;
}
.area-featured-bg::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(47,111,237,.35), transparent 55%),
              linear-gradient(0deg, var(--tinta) 15%, rgba(11,27,51,.4) 70%);
}
.area-featured > *:not(.area-featured-bg){ position: relative; z-index: 1; }
.area-featured:hover{ box-shadow: none; }
.area-featured h3{ font-size: 2.5rem; color: var(--papel); }
.area-featured p{ color: var(--papel-dim); max-width: 46ch; font-size: 1rem; }
.area-featured .mono-tag{ color: var(--carimbo); opacity: 1; }
.area-link{
  margin-top: 1.6em;
  font-family: var(--mono); font-weight: 600; font-size: .8rem; color: var(--carimbo);
  display: inline-block; width: fit-content;
  position: relative;
}
.area-link::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--carimbo); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.area-link:hover::after{ transform: scaleX(1); }

@media (max-width: 900px){
  .areas{ padding: 90px var(--edge) 0; }
  .areas-grid{ grid-template-columns: 1fr; }
  .area, .area-featured{ grid-column: span 1; grid-row: auto; min-height: auto; }
}

/* ==========================================================================
   MOMENTO — cinematic parallax break between ÁREAS and SOBRE
   ========================================================================== */
.momento{
  position: relative; overflow: hidden;
  background: var(--tinta);
  height: 78vh; min-height: 520px;
  display: flex; align-items: flex-end;
}
.momento-bg{
  /* taller than its own section, with the extra bled off top/bottom, so the
     yPercent:12 scroll parallax never slides the image edge into view */
  position: absolute; top: -20%; left: 0; right: 0; height: 140%;
  background-size: cover; background-position: center 25%;
  filter: contrast(1.1) brightness(.82);
  will-change: transform;
}
.momento-shade{
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--tinta) 0%, rgba(11,27,51,.6) 42%, rgba(11,27,51,.22) 72%),
    linear-gradient(100deg, rgba(11,27,51,.55) 0%, transparent 60%);
}
.momento-content{
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; width: 100%;
  padding: 0 var(--edge) 76px;
}
.momento-content .eyebrow{ color: var(--carimbo); }
.momento-line{
  font-family: var(--display); font-weight: 700; color: var(--papel);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.12; letter-spacing: -0.01em;
  max-width: 17ch; margin: 0;
}
@media (max-width: 900px){
  .momento{ height: 62vh; min-height: 420px; }
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.sobre{
  display: grid; grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 0;
  background: var(--painel);
}
.sobre-photo{ position: relative; overflow: hidden; min-height: 560px; align-self: stretch; }
.sobre-photo img{
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(1) contrast(1.05);
}
.sobre-content{ padding: 110px var(--edge); max-width: 640px; }

.pull-quote{
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 1.6rem;
  color: var(--tinta);
}
.sobre-text{ font-size: 1.02rem; line-height: 1.7; color: rgba(11,27,51,.8); margin: 0 0 1.2em; }

.sobre-stats{
  display: flex; gap: 40px; margin-top: 2.4rem;
  padding-top: 1.8rem; border-top: 1px solid rgba(11,27,51,.15);
}
.sobre-stats strong{
  display: block; font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--carimbo);
}
.sobre-stats span{ font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; opacity: .7; }

@media (max-width: 900px){
  .sobre{ grid-template-columns: 1fr; }
  .sobre-photo{ min-height: 380px; }
  .sobre-content{ padding: 60px var(--edge); }
  .sobre-stats{ flex-wrap: wrap; gap: 28px; }
}

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.depoimentos{ padding: 130px 0; background: var(--tinta); color: var(--papel); overflow: hidden; }
.depoimentos .eyebrow{ max-width: var(--container); margin: 0 auto 1rem; padding: 0 var(--edge); }

.testimonial-featured{
  max-width: var(--container); margin: 0 auto 60px;
  padding: 0 var(--edge);
  border-left: 3px solid var(--carimbo);
}
.testimonial-featured p{
  font-family: var(--display); font-weight: 640;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3;
  margin: 0 0 1rem 34px; color: var(--papel);
}
.testimonial-featured cite{
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  color: var(--papel-dim); font-style: normal;
  margin-left: 34px;
}

/* animated carousel */
.testi-carousel{
  position: relative; width: 100%; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.testi-track{
  display: flex; width: max-content; gap: 28px;
  padding: 0 28px;
  animation: testiScroll 42s linear infinite;
}
.testi-carousel:hover .testi-track{ animation-play-state: paused; }

.testimonial-small{
  flex: 0 0 340px;
  background: var(--tinta-soft);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 28px 26px;
  transition: border-color .3s ease, transform .3s ease;
}
.testimonial-small:hover{ border-color: var(--carimbo); transform: translateY(-4px); }
.testimonial-small p{ font-size: .96rem; line-height: 1.6; color: var(--papel-dim); margin: 0 0 1em; min-height: 96px; }
.testimonial-small cite{ font-family: var(--mono); font-weight: 600; font-size: .74rem; color: var(--carimbo); font-style: normal; }

@keyframes testiScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .testi-track{ animation: none; flex-wrap: wrap; }
}

.testi-cta{ text-align: center; margin-top: 56px; }

@media (max-width: 900px){
  .depoimentos{ padding: 90px 0; }
  .testimonial-small{ flex-basis: 280px; }
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contato{ position: relative; background: var(--papel); overflow: hidden; }
.contato-watermark{
  position: absolute; z-index: 0; pointer-events: none;
  width: 480px; height: 480px;
  top: 50%; right: -110px; transform: translateY(-50%);
  opacity: .08;
}

.contato-grid{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr;
  max-width: var(--container); margin: 0 auto;
}
.contato-content{ padding: 130px var(--edge) 130px 0; margin-left: var(--edge); }
.contato-lede{ font-size: 1.05rem; line-height: 1.6; max-width: 42ch; color: rgba(11,27,51,.75); margin: 0 0 2.2rem; }

.contato-info{ margin-top: 3rem; display: flex; flex-direction: column; gap: 1.4rem; }
.contato-info div{ display: flex; flex-direction: column; gap: .3em; }
.contato-info dt{ font-family: var(--mono); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--carimbo); }
.contato-info dd{ margin: 0; font-size: 1rem; }
.contato-info a:hover{ color: var(--carimbo); }

.contato-photo{ position: relative; overflow: hidden; }
.contato-photo img{
  width: 100%; height: 100%; object-fit: cover; min-height: 480px;
  filter: brightness(.98) contrast(1.06);
}

@media (max-width: 900px){
  .contato-grid{ grid-template-columns: 1fr; }
  .contato-content{ padding: 90px var(--edge); margin-left: 0; }
  .contato-photo img{ min-height: 320px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{
  position: relative;
  background: var(--tinta); color: var(--papel-dim);
  overflow: hidden;
}
.footer-watermark{
  position: absolute; z-index: 0; pointer-events: none;
  width: 420px; height: 420px;
  bottom: -120px; right: -80px;
  opacity: .06;
}

.footer-inner{
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  padding: 90px var(--edge) 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p{ font-size: .92rem; line-height: 1.6; max-width: 34ch; margin: 18px 0 20px; color: var(--papel-dim); }
.footer-brand-mark{ display: flex; align-items: center; gap: 14px; }
.footer-logo{ height: 46px; width: auto; }
.footer-brand-name{
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  color: var(--papel); letter-spacing: -0.005em; line-height: 1.15;
  display: flex; flex-direction: column;
}
.footer-brand-name em{
  font-style: normal; font-family: var(--mono); font-weight: 500;
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--carimbo); margin-top: 3px;
}
.footer-social{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-weight: 600; font-size: .8rem; color: var(--carimbo);
  letter-spacing: .04em;
}
.footer-social .icon-ig{ vertical-align: 0; margin-right: 0; }
.footer-social:hover{ text-decoration: underline; }

.footer-col{ display: flex; flex-direction: column; gap: 12px; }
.footer-heading{
  font-family: var(--mono); font-weight: 600; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--papel); margin: 0 0 6px; opacity: .9;
}
.footer-col a, .footer-col span{
  font-size: .92rem; color: var(--papel-dim);
  transition: color .2s ease;
}
.footer-col a:hover{ color: var(--carimbo); }

.footer-bottom{
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  padding: 26px var(--edge) 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.footer-bottom p{ font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; margin: 0; }
.footer-top{
  font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--papel-dim);
  transition: color .2s ease;
}
.footer-top:hover{ color: var(--carimbo); }

.footer-credit{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .03em; color: var(--papel-dim);
  transition: color .2s ease;
}
.footer-credit:hover{ color: var(--papel); }
.footer-credit-logo{ height: 28px; width: auto; display: inline-block; vertical-align: middle; }

@media (max-width: 900px){
  .footer-inner{ grid-template-columns: 1fr 1fr; gap: 40px 24px; padding: 70px var(--edge) 50px; }
  .footer-brand{ grid-column: span 2; }
  /* stack and add clearance so nothing sits under the fixed WhatsApp FAB */
  .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 110px; }
}
@media (max-width: 560px){
  .footer-inner{ grid-template-columns: 1fr; }
  .footer-brand{ grid-column: span 1; }
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.fab{
  position: fixed; right: 26px; z-index: 250;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: none; cursor: pointer;
  box-shadow: 0 10px 26px rgba(11,27,51,.35);
  opacity: 0; transform: translateY(18px) scale(.85);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease, background-color .25s ease, box-shadow .25s ease;
}
.fab.is-visible{ opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
body.nav-is-open .fab{ opacity: 0; pointer-events: none; }

.fab-wa{
  bottom: 26px; height: 60px;
  border-radius: 999px;
  padding: 0 22px 0 18px;
  background: linear-gradient(150deg, #F5F7FA 0%, #D7DBE1 45%, #9AA1AC 100%);
  color: var(--tinta);
  text-decoration: none;
  gap: 10px;
  animation: fabSilverGlow 2.4s ease-in-out infinite;
}
.fab-wa:hover{ transform: translateY(-4px) scale(1.04); }
.fab-wa .icon-wa{ position: relative; z-index: 1; flex-shrink: 0; }
.fab-label{
  position: relative; z-index: 1;
  font-family: var(--mono); font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}

.fab-ring{
  position: absolute; inset: 0; border-radius: inherit;
  background: var(--prata);
  animation: fabPulse 2.6s ease-out infinite;
}
@keyframes fabPulse{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(1.8); opacity: 0; }
}
@keyframes fabSilverGlow{
  0%, 100%{ box-shadow: 0 10px 26px rgba(11,27,51,.35), 0 0 0 0 rgba(201,205,211,.7); }
  50%{ box-shadow: 0 10px 30px rgba(11,27,51,.4), 0 0 22px 8px rgba(201,205,211,.85); }
}
@media (prefers-reduced-motion: reduce){
  .fab-wa{ animation: none; box-shadow: 0 10px 26px rgba(11,27,51,.35), 0 0 18px 6px rgba(201,205,211,.5); }
}

.fab-top{
  bottom: 104px; width: 50px; height: 50px;
  background: var(--tinta-soft); color: var(--papel);
  border: 1px solid rgba(255,255,255,.16);
}
.fab-top:hover{ background: var(--carimbo); border-color: var(--carimbo); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(47,111,237,.4); }

@media (prefers-reduced-motion: reduce){
  .fab{ transition: opacity .3s ease; }
  .fab.is-visible{ transform: none; }
  .fab-ring{ animation: none; opacity: .3; }
}
@media (max-width: 640px){
  .fab-wa{ height: 52px; padding: 0 16px 0 14px; gap: 6px; right: 18px; bottom: 30px; }
  .fab-label{ font-size: .72rem; font-weight: 800; }
  .fab-top{ width: 44px; height: 44px; right: 22px; bottom: 98px; }
}

/* ==========================================================================
   REVEAL BASE STATES (JS adds .is-visible / handles reduced motion)
   ========================================================================== */
[data-reveal]{ will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1 !important; transform: none !important; }
}
