/* ============================================
   LINEA PRIMA — style.css
   ============================================ */

:root {
  --azul:    #193C71;
  --marfim:  #F7F1E8;
  --greige:  #D8C7B5;
  --madeira: #8A6547;
  --bronze:  #B58A57;
  --grafite: #2F3438;
  --white:   #FFFFFF;

  --serif: 'Prata', Georgia, serif;
  --sans:  'Montserrat', sans-serif;

  --max-w: 1200px;
  --narrow-w: 800px;
  --gap: 24px;
  --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--grafite);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; color: var(--bronze); }

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.22;
}

.h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
  color: var(--grafite);
}
.h2--white  { color: var(--white); }
.h2--center { text-align: center; }
.h2--large  { font-size: clamp(2rem, 4vw, 3.2rem); }

p { font-size: 1rem; margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* --- Containers --- */
.container        { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 48px); }
.container--narrow{ max-width: 800px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 48px); }

/* --- Sections --- */
.section          { padding: 100px 0; }
.section--marfim  { background: var(--marfim); }
.section--azul    { background: var(--azul); }
.section--white   { background: var(--white); }
.section--greige  { background: var(--greige); }
.section--cta-final { padding: 120px 0; }

/* --- Section label --- */
.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.9rem;
}
.section-label--light  { color: rgba(215,199,181,0.8); }
.section-label--center { text-align: center; }

/* --- Filete (thin decorative line) --- */
.filete {
  width: 48px;
  height: 1.5px;
  margin-bottom: 2rem;
  border: none;
  display: block;
}
.filete--bronze  { background: var(--bronze); }
.filete--madeira { background: var(--madeira); }
.filete--center  { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.22s ease,
              box-shadow 0.22s ease;
  border-radius: 2px;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.13), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 150%; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition-duration: 0.08s;
}

.btn--bronze {
  background: var(--bronze);
  color: var(--white);
  border-color: var(--bronze);
}
.btn--bronze:hover {
  background: transparent;
  color: var(--bronze);
}

.btn--azul {
  background: var(--azul);
  color: var(--white);
  border-color: var(--azul);
}
.btn--azul:hover {
  background: transparent;
  color: var(--azul);
}

.btn--outline-azul {
  background: transparent;
  color: var(--azul);
  border-color: var(--azul);
}
.btn--outline-azul:hover {
  background: var(--azul);
  color: var(--white);
}

.btn--sm { padding: 10px 20px; font-size: 0.78rem; }
.btn--lg { padding: 18px 36px; font-size: 0.9rem; }
.btn--xl { padding: 20px 44px; font-size: 1rem; }

.section__cta-center { text-align: center; margin-top: 3rem; }

.cta-final__inner .btn { align-self: center; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav--scrolled {
  background: var(--white);
  box-shadow: 0 1px 20px rgba(25,60,113,0.09);
  padding: 13px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.nav__logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition), height var(--transition);
}
.nav--scrolled .nav__logo img {
  filter: none;
  height: 42px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
}
.nav__links a:hover                    { color: var(--bronze); }
.nav--scrolled .nav__links a           { color: var(--grafite); }
.nav--scrolled .nav__links a:hover     { color: var(--azul); }
.nav--scrolled .nav__links a.btn       { color: var(--white); }
.nav--scrolled .nav__links a.btn:hover { color: var(--white); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.nav--scrolled .nav__hamburger span { background: var(--grafite); }

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #183265;
}

.hero__overlay { display: none; }

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  align-items: stretch;
  max-width: none;
}

.hero__text {
  max-width: none;
  padding-right: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero__visual {
  position: relative;
  overflow: visible;
  align-self: stretch;
  margin-left: calc(-25% - 100px);
  z-index: 1;
}

.hero__blueprint {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: relative;
  top: -15%;
}

/* fade left para fundir com fundo azul */
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #183265 0%, transparent 30%);
  z-index: 1;
  pointer-events: none;
}

.hero__img-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  flex-shrink: 0;
}
.hero__img-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.hero__img-frame::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1.5px solid rgba(181,138,87,0.55);
  pointer-events: none;
  z-index: 1;
}
.hero__img-frame figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 20px 16px;
  background: linear-gradient(transparent, rgba(25,60,113,0.72));
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-family: var(--sans);
  font-weight: 600;
}

.hero__eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.5rem;
}

.hero__h1 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 1.75rem;
}
.hero__h1 em { color: var(--bronze); }

.hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.25rem;
  padding-right: 20%;
}

.hero__support {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
}

.hero__region {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  z-index: 2;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ============================================
   SPLIT LAYOUT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split--reverse .split__image { order: -1; }

.split__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 2px;
}

.split__text p { opacity: 0.85; }
.split__text .btn { margin-top: 0.5rem; }

/* ============================================
   COMPARAÇÃO
   ============================================ */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2.5rem 0 2rem;
}

.comparison__card {
  padding: 36px 32px;
  border-radius: 2px;
}
.comparison__card--neutral {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
}
.comparison__card--premium {
  background: rgba(181,138,87,0.1);
  border: 1px solid rgba(181,138,87,0.4);
}

.comparison__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.comparison__card--premium .comparison__title { border-bottom-color: rgba(181,138,87,0.3); }

.comparison__list { display: flex; flex-direction: column; gap: 11px; }

.comparison__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}

.comparison__item::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 1px;
}
.comparison__item--no::before  { content: '✕'; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.35); }
.comparison__item--yes::before { content: '✓'; background: var(--bronze); color: var(--white); }

.comparison__phrase {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   DOR PRÁTICA
   ============================================ */
.dor__intro {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.dor__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.dor__item {
  padding: 18px 0 18px 22px;
  border-left: 2px solid var(--bronze);
  border-bottom: 1px solid rgba(138,101,71,0.12);
  font-size: 1rem;
  color: var(--grafite);
  transition: border-left-width var(--transition), padding-left var(--transition), color var(--transition);
}
.dor__item:last-child { border-bottom: none; }
.dor__item:hover {
  border-left-width: 4px;
  padding-left: 28px;
  color: var(--madeira);
}

.dor__closing {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--madeira);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.ambientes__sub {
  text-align: center;
  color: rgba(47,52,56,0.65);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.ambientes__tags--inline {
  display: block;
  font-size: 0.83rem;
  color: var(--madeira);
  letter-spacing: 0.04em;
  line-height: 2.2;
  margin-top: 0.25rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 2rem 0;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  will-change: transform;
  transform: translateZ(0);
}

.gallery__item:nth-child(1)  { grid-column: span 2; aspect-ratio: 2 / 1; } /* L1: cols 1-2 */
.gallery__item:nth-child(8)  { grid-column: span 2; aspect-ratio: 2 / 1; } /* L2: cols 4-5 */
.gallery__item:nth-child(11) { grid-column: span 2; aspect-ratio: 2 / 1; } /* L3: cols 3-4 */
.gallery__item:nth-child(14) { grid-column: span 2; aspect-ratio: 2 / 1; } /* L4: cols 2-3 */
.gallery__item:nth-child(20) { grid-column: span 2; aspect-ratio: 2 / 1; } /* L5: cols 4-5 */

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  will-change: transform;
  transform: translateZ(0);
  image-rendering: auto;
}
.gallery__item:hover img { transform: scale(1.06); }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  cursor: zoom-out;
}
.lightbox__img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  transform: scale(0.94);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lightbox.open .lightbox__img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  padding: 8px;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 3.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
  padding: 12px 18px;
  transition: opacity 0.2s;
  user-select: none;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* ── / Lightbox ── */

/* ============================================
   PREMIUM
   ============================================ */
.premium__destaque {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--madeira);
  border-left: 2px solid var(--bronze);
  padding-left: 20px;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* ============================================
   MOTIVOS
   ============================================ */
.motivos__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 2.5rem 0;
}

.motivos__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--bronze);
  transition: background var(--transition), transform 0.25s ease,
              border-left-width 0.25s ease, padding-left 0.25s ease;
}
.motivos__item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}

.motivos__icon {
  color: var(--bronze);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.motivos__item > span:last-child {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================
   PROCESSO
   ============================================ */
.processo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 2.5rem 0;
}

.processo__card {
  background: var(--white);
  padding: 40px 28px;
  border-top: 3px solid var(--bronze);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-top-color 0.35s ease;
}
.processo__card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 48px rgba(25,60,113,0.12);
  border-top-color: var(--azul);
}

.processo__num {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.75;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.processo__card:hover .processo__num {
  opacity: 1;
  transform: scale(1.06) translateY(-2px);
}

.processo__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--grafite);
  margin-bottom: 0.75rem;
}

.processo__desc {
  font-size: 0.875rem;
  color: rgba(47,52,56,0.65);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   ATENDIMENTO REGIONAL
   ============================================ */
.regiao__text {
  text-align: center;
  color: rgba(47,52,56,0.72);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.regiao__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pill {
  display: inline-block;
  padding: 8px 20px;
  border: 1.5px solid var(--madeira);
  color: var(--grafite);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 100px;
  transition: background var(--transition), color var(--transition),
              transform 0.22s ease, box-shadow 0.22s ease;
}
.pill:hover {
  background: var(--madeira);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(138,101,71,0.22);
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-final__sub {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  margin: 1.5rem 0 2.5rem;
  max-width: 540px;
}

.cta-final__complement {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--grafite);
  padding: 80px 0 0;
}
.footer > .container {
  max-width: none;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  align-items: start;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__col-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 0.9rem;
}

.footer__logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 0;
}

.footer__address {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.footer__address strong { color: rgba(255,255,255,0.82); }

.footer__phone {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bronze);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__social a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.48);
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--bronze); }


.footer__bottom { padding-bottom: 32px; }

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  text-align: center;
  margin-bottom: 0;
}

/* ============================================
   MOBILE WHATSAPP BAR
   ============================================ */
.mobile-wa {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  padding: 10px 14px;
  background: var(--grafite);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.mobile-wa--visible { transform: translateY(0); }

.mobile-wa__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bronze);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 13px;
  border-radius: 2px;
  width: 100%;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero entrance sequence --- */
.hero__text > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.15s + var(--hero-i, 0) * 0.13s);
}
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* --- Filete draw --- */
.filete {
  width: 0 !important;
  transition: width 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
}
.fade-in.visible .filete { width: 48px !important; }

/* --- Stagger reveal system --- */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s ease, transform 0.52s ease;
  transition-delay: calc(var(--stagger-i, 0) * 0.09s);
}
[data-stagger].stagger-visible > * {
  opacity: 1;
  transform: none;
}

/* Comparison cards: slide from sides */
.comparison[data-stagger] > *:first-child { transform: translateX(-20px); }
.comparison[data-stagger] > *:last-child  { transform: translateX(20px); }
.comparison[data-stagger].stagger-visible > * { transform: none; }

/* --- Section label reveal --- */
.section-label {
  display: block;
  overflow: hidden;
}
.section-label::before {
  content: '';
  display: block;
  width: 0;
  height: 100%;
  background: transparent;
}

/* --- Footer social icon micro --- */
.footer__social a svg {
  transition: transform 0.22s ease;
}
.footer__social a:hover svg { transform: scale(1.18); }
.footer__social a:hover { color: var(--bronze); }

/* --- Dor item enhanced hover --- */
.dor__item {
  transition: border-left-width var(--transition), padding-left var(--transition),
              color var(--transition), background 0.2s ease;
}
.dor__item:hover { background: rgba(181,138,87,0.05); }

/* --- Nav link underline draw --- */
.nav__links a:not(.btn) {
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0;
  height: 1.5px;
  background: var(--bronze);
  transition: width 0.3s ease;
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav--scrolled .nav__links a:not(.btn)::after { background: var(--azul); }

/* --- Respect reduce motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero__text > *,
  [data-stagger] > * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .filete { transition: none !important; width: 48px !important; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .processo {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .br-desktop { display: none; }

  .section { padding: 64px 0; }
  .section--cta-final { padding: 80px 0; }

  /* Nav mobile */
  .nav__hamburger { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--azul);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99;
  }
  .nav__links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav__links a {
    font-size: 1.1rem !important;
    color: var(--white) !important;
    letter-spacing: 0.1em;
  }
  .nav__links .btn--sm {
    padding: 14px 32px;
    font-size: 0.9rem !important;
  }

  /* Logo menor antes da rolagem */
  .nav__logo img { height: 44px; }

  /* Hero mobile: imagem entre nav e título */
  .hero__h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); white-space: normal; }
  .hero__content {
    padding-top: 0;
    padding-bottom: 60px;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    display: flex;
    flex-direction: column;
  }
  .hero__visual {
    display: block;
    order: -1;
    width: 150vw;
    margin-left: calc(-25vw - clamp(24px, 4vw, 48px));
    margin-top: 120px;
    height: 240px;
    overflow: hidden;
  }
  .hero__visual::before {
    background: linear-gradient(to bottom, rgba(24,50,101,0.25) 0%, rgba(24,50,101,0.7) 100%);
  }
  .hero__blueprint {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: static;
    top: 0;
  }
  .hero__text { padding-right: 0; align-items: center; padding-top: 32px; }
  .hero__subtitle { padding-right: 0; }

  /* Esconder todos os botões no mobile (exceto barra fixa) */
  .nav__links .btn,
  .hero .btn,
  .section .btn,
  .section__cta-center { display: none; }

  /* Splits */
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__image { order: 0; }
  .split__image img { height: 300px; }

  /* Comparison */
  .comparison { grid-template-columns: 1fr; }

  /* Gallery mosaico mobile: 2 cols, 1x1 / 2x1 alternados */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .gallery__item { aspect-ratio: 1 / 1; }
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(8),
  .gallery__item:nth-child(11),
  .gallery__item:nth-child(14),
  .gallery__item:nth-child(20) {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
  }
  .gallery__item:nth-child(19) { display: none; }

  /* Processo */
  .processo { grid-template-columns: 1fr; gap: 2px; }

  /* Footer mobile: brand no topo, endereço e contato em 2 colunas */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }
  .footer__brand {
    grid-column: 1 / 3;
    grid-row: 1;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer__logo { margin-left: auto; margin-right: auto; }
  .footer__col:nth-child(2) { grid-column: 1; grid-row: 2 / 4; }
  .footer__col:nth-child(3) { grid-column: 2; grid-row: 2; }
  .footer__col:nth-child(4) { grid-column: 2; grid-row: 3; }

  /* Mobile WA bar */
  .mobile-wa { display: block; }
  .footer { padding-top: 60px; padding-bottom: 76px; }
}

@media (max-width: 480px) {
  .hero__h1 { font-size: 1.8rem; }
  .h2 { font-size: 1.6rem; }
  .btn--xl { padding: 17px 28px; font-size: 0.9rem; }
  .comparison__card { padding: 24px 18px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
  .processo__card { padding: 30px 20px; }
}
