/* =========================================================
   RSena Light — site stylesheet
   Tailwind handles the bulk; this file holds:
   - font imports
   - design tokens (CSS vars)
   - animations + complex gradients (things Tailwind can't do cleanly)
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root{
  --bg:        #030712;
  --bg-2:      #061321;
  --primary:   #023047;
  --primary-2: #034968;
  --accent:    #004EFF;
  --accent-2:  #2a6bff;
  --line:      rgba(255,255,255,.07);
  --line-2:    rgba(255,255,255,.14);
  --text:      #e8eef5;
  --text-2:    #8a96a8;
  --text-3:    #5a6478;
  /* aliases used by Section 02+ (match Tailwind config names) */
  --ink:       #e8eef5;
  --ink-2:     #8a96a8;
  --ink-3:     #5a6478;
}

/* =========================================================
   NAV — glass fixed
   ========================================================= */
.nav-glass {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
}

.nav-glass.is-scrolled {
  background: rgba(3,7,18,.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-link {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  transition: color .2s ease, text-shadow .2s ease;
}

.nav-link:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0,78,255,.8), 0 0 28px rgba(0,78,255,.45), 0 0 55px rgba(0,78,255,.2);
}

.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 1px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(0,78,255,1), 0 0 16px rgba(0,78,255,.65), 0 0 32px rgba(0,78,255,.3);
}

/* ---------- base ---------- */
html, body{
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body{ overflow-x: hidden; }

/* ---------- typography helpers ---------- */
.font-display{ font-family: "Bricolage Grotesque", sans-serif; letter-spacing: -.025em; line-height: .95; }
.font-serif-i{ font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; }
.font-mono{ font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .02em; }

/* =========================================================
   HERO — Background Slideshow
   ========================================================= */
.hero-bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.7s ease;
}
.hero-bg-stage.is-hidden { opacity: 0; }

/* Bottom gradient — funde o hero no conteúdo abaixo */
.hero-bg-stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
  transform-origin: center center;
}
.hero-slide.is-active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* ---------- ambient glow (animated) ---------- */
.ambient{ position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.ambient .blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform, opacity;
}
.ambient .blob-a{
  width: 780px; height: 780px; left: -220px; top: -260px;
  background: radial-gradient(circle, rgba(0,78,255,.55), transparent 65%);
  animation: blobA 14s ease-in-out infinite;
}
.ambient .blob-b{
  width: 700px; height: 700px; right: -240px; top: 80px;
  background: radial-gradient(circle, rgba(2,48,71,.85), transparent 65%);
  animation: blobB 18s ease-in-out infinite;
}
.ambient .blob-c{
  width: 600px; height: 600px; left: 38%; top: 440px;
  background: radial-gradient(circle, rgba(0,78,255,.45), transparent 65%);
  filter: blur(140px); opacity: .35;
  animation: blobC 22s ease-in-out infinite;
}
.ambient .blob-d{
  width: 520px; height: 520px; left: -120px; bottom: -180px;
  background: radial-gradient(circle, rgba(2,48,71,.75), transparent 65%);
  animation: blobD 20s ease-in-out infinite;
}

@keyframes blobA{
  0%, 100% { transform: translate(0,0) scale(1);     opacity: .65; }
  33%      { transform: translate(80px, 60px) scale(1.12); opacity: .85; }
  66%      { transform: translate(-40px, 110px) scale(.95); opacity: .55; }
}
@keyframes blobB{
  0%, 100% { transform: translate(0,0) scale(1);     opacity: .55; }
  50%      { transform: translate(-120px, 160px) scale(1.18); opacity: .8; }
}
@keyframes blobC{
  0%, 100% { transform: translate(-50%, 0) scale(1);   opacity: .25; }
  50%      { transform: translate(-50%, -80px) scale(1.15); opacity: .55; }
}
@keyframes blobD{
  0%, 100% { transform: translate(0,0) scale(1);     opacity: .35; }
  50%      { transform: translate(140px, -80px) scale(1.1); opacity: .6; }
}

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

/* ---------- buttons ---------- */
.btn-primary{
  background: linear-gradient(180deg, #1f63ff, var(--accent));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 10px 30px rgba(0,78,255,.35);
  transition: transform .15s ease, box-shadow .25s ease, filter .15s ease;
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 0 0 1px rgba(255,255,255,.12),
    0 14px 40px rgba(0,78,255,.55);
  filter: brightness(1.05);
}

/* arrow icon (CSS-only) */
.arrow-i{
  width: 14px; height: 14px; display: inline-block; position: relative;
}
.arrow-i::before, .arrow-i::after{
  content: ""; position: absolute; background: currentColor;
}
.arrow-i::before{ top: 50%; left: 1px; right: 1px; height: 1.5px; transform: translateY(-50%); }
.arrow-i::after { top: 50%; right: 1px; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translate(0,-50%) rotate(45deg); background: transparent;
}

/* ---------- tiles (used in section 03 event types grid) ---------- */
.tile{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  isolation: isolate;
  transform: scale(1);
  transition: all .2s ease;
}
.tile:hover{
  transform: scale(1.05);
  transition: all .5s ease;
}
.tile img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tile-img::after{
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(3,7,18,.7));
  pointer-events: none;
}

/* image placeholder (fallback) */
.ph{
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,0) 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px),
    linear-gradient(180deg, var(--bg-2), #081827);
}
.ph::before{
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono"; font-size: 11px; color: var(--text-3);
  letter-spacing: .12em; text-transform: uppercase;
}

/* =========================================================
   SECTION 02 — O que oferecemos
   ========================================================= */
.section-title{
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: .95;
  letter-spacing: -.035em;
}
.section-title em{
  font-family: "Instrument Serif"; font-style: italic;
  font-weight: 400;
  color: #9bb7ff; letter-spacing: 0em;
  font-size: clamp(48px, 6.2vw, 82px);
}
.section-eyebrow{
  font-family: "JetBrains Mono"; font-size: 16px;
   color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 10px;
  position: relative;
  padding-top: 40px;
}
.section-eyebrow::before{
  content: ""; width: 33px; height: 3px; background: var(--accent);
  position: absolute; top: 20px; left: 50%; transform: translateY(-50%);
}

/* =========================================================
   SECTION 02 — 4-card services redesign
   ========================================================= */

.svc4-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.svc4 {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .4s cubic-bezier(.22,.68,0,1.2), border-color .3s ease, box-shadow .3s ease;
}

/* top shimmer highlight */
.svc4::after {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events: none;
}

/* inner radial glow overlay */
.svc4::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.svc4:hover {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(160deg, rgba(3,7,18,.52) 0%, rgba(3,7,18,.32) 100%);
}

/* — color variants — */
.svc4::before         { background: radial-gradient(ellipse 80% 60% at 30% 0%, rgba(0,78,255,.22), transparent 65%); }
.svc4:hover           { border-color: rgba(0,78,255,.5); box-shadow: 0 20px 60px rgba(0,78,255,.2), 0 4px 20px rgba(0,78,255,.1); }
.svc4:hover::before   { opacity: 1; }

/* — icon container — */
.svc4-icon-wrap {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.22,.68,0,1.2), box-shadow .3s ease, border-color .3s ease, background .3s ease, color .3s ease;
}

.svc4 .svc4-icon-wrap { color: var(--accent-2); }

.svc4:hover .svc4-icon-wrap { transform: scale(1.1) rotate(-4deg); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 28px rgba(0,78,255,.55); color: #fff; }

/* — body text — */
.svc4-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.svc4-title {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--ink);
  transition: color .3s ease;
}

/* — list — */
.svc4-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
}

.svc4-list li {
  font-size: 16px;
  color: var(--ink-3);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .25s ease, padding-left .25s ease;
}
.svc4-list li:last-child { border-bottom: none; }

.svc4:hover .svc4-title { color: var(--accent-2); }

.svc4:hover .svc4-list li { color: #fff; padding-left: 3px; }

/* cascade delays – overridden per breakpoint below */
.svc4:hover .svc4-list li:nth-child(1) { transition-delay: .00s; }
.svc4:hover .svc4-list li:nth-child(2) { transition-delay: .03s; }
.svc4:hover .svc4-list li:nth-child(3) { transition-delay: .06s; }
.svc4:hover .svc4-list li:nth-child(4) { transition-delay: .09s; }
.svc4:hover .svc4-list li:nth-child(5) { transition-delay: .12s; }

/* — dimmed state (other cards when one is hovered) — */
.svc4 {
  will-change: transform;
  transition: transform .4s cubic-bezier(.22,.68,0,1.2), border-color .3s ease, box-shadow .3s ease, opacity .4s ease, background .4s ease;
}
/* — no-transition: desativa animações durante compensação de scroll — */
.svc4.no-transition .svc4-list,
.svc4.no-transition .svc4-list li { transition: none !important; }

/* === Tablet / Mobile: .is-open controla a lista (scroll-triggered) === */
@media (max-width: 1080px) {
  .svc4-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  /* desativa hover (toque não dispara mais) */
  .svc4:hover { transform: none; }

  /* colapsa a lista por padrão */
  .svc4-list {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height .35s cubic-bezier(.4,0,1,.8) .1s, margin-top .25s ease .1s;
  }

  /* abre via .is-open */
  .svc4.is-open .svc4-list {
    max-height: 250px;
    margin-top: 10px;
    transition: max-height .4s cubic-bezier(0,.8,.4,1), margin-top .3s ease;
  }

  /* efeito hover aplicado ao abrir no mobile */
  .svc4.is-open {
    border-color: rgba(0,78,255,.5);
    box-shadow: 0 20px 60px rgba(0,78,255,.2), 0 4px 20px rgba(0,78,255,.1);
    background: linear-gradient(160deg, rgba(3,7,18,.52) 0%, rgba(3,7,18,.32) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .svc4.is-open::before { opacity: 1; }
  .svc4.is-open .svc4-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 28px rgba(0,78,255,.55);
    color: #fff;
  }
  .svc4.is-open .svc4-title { color: var(--accent-2); }

  /* itens: invisíveis e deslocados para cima */
  .svc4-list li {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity .3s ease, transform .3s ease, color .25s ease, padding-left .25s ease;
  }

  /* cascade reveal */
  .svc4.is-open .svc4-list li            { opacity: 1; transform: translateY(0); color: #fff; padding-left: 3px; }
  .svc4.is-open .svc4-list li:nth-child(1) { transition-delay: .04s; }
  .svc4.is-open .svc4-list li:nth-child(2) { transition-delay: .11s; }
  .svc4.is-open .svc4-list li:nth-child(3) { transition-delay: .18s; }
  .svc4.is-open .svc4-list li:nth-child(4) { transition-delay: .25s; }
  .svc4.is-open .svc4-list li:nth-child(5) { transition-delay: .32s; }
}

@media (max-width: 560px) { .svc4-grid { grid-template-columns: 1fr; } }

/* === Desktop: svc4-list fora do fluxo por padrão, cascade-reveal no hover === */
@media (min-width: 1081px) {
  /* cada card cresce independente, sem esticar os irmãos */
  .svc4-grid { align-items: start; }

  /* colapsa a lista — sem altura, sem margin */
  .svc4-list {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    /* saída: fecha suave e rápido */
    transition: max-height .2s cubic-bezier(.4,0,1,.8), margin-top .15s ease;
  }

  /* abre com easing de entrada suave */
  .svc4:hover .svc4-list {
    max-height: 250px;
    margin-top: 10px;
    transition: max-height .4s cubic-bezier(0,.8,.4,1), margin-top .3s ease;
  }

  /* itens: invisíveis e deslocados para cima */
  .svc4-list li {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity .3s ease, transform .3s ease, color .25s ease, padding-left .25s ease;
  }

  /* reveal com cascade */
  .svc4:hover .svc4-list li        { opacity: 1; transform: translateY(0); }
  .svc4:hover .svc4-list li:nth-child(1) { transition-delay: .04s; }
  .svc4:hover .svc4-list li:nth-child(2) { transition-delay: .11s; }
  .svc4:hover .svc4-list li:nth-child(3) { transition-delay: .18s; }
  .svc4:hover .svc4-list li:nth-child(4) { transition-delay: .25s; }
  .svc4:hover .svc4-list li:nth-child(5) { transition-delay: .32s; }
}

/* =========================================================
   Section bg-image stage
   ========================================================= */

.svc4-bg-stage {
  position: fixed;
  inset: 0;
  z-index: -99;
  pointer-events: none;
  overflow: hidden;
}

.svc4-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .55s ease;
  will-change: opacity;
}

/* dual-fade overlay: fades top→transparent→transparent→bottom, plus dark middle */
.svc4-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--bg)            0%,
    rgba(3,7,18,.65)    16%,
    rgba(3,7,18,.55)    50%,
    rgba(3,7,18,.65)    84%,
    var(--bg)           100%
  );
}

.svc4-bg.is-active { opacity: 0.5; }

/* content sits above the bg stage */
.svc4-content {
  position: relative;
  z-index: 1;
}

/* =========================================================
   SECTION 03 — TIPOS DE EVENTOS
   ========================================================= */

  .grid-services-type{
    min-height: 100vh;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 20px;
  }

  @media (max-width: 980px){
    .grid-services-type{
      grid-template-columns: 1fr;
      grid-template-rows: repeat(7, 1fr);
    }

    .gst-1{
      grid-column: 1 !important;
      grid-row: 1 !important;
    }
    .gst-2{
      grid-column: 1 !important;
      grid-row: 2 !important;
    }
    .gst-3{
      grid-column: 1 !important;
      grid-row: 3 !important;
    }
    .gst-4{
      grid-column: 1 !important;
      grid-row: 4 !important;
    }
    .gst-5{
      grid-column: 1 !important;
      grid-row: 5 !important;
    }
    .gst-6{
      grid-column: 1 !important;
      grid-row: 6 !important;
    }
    .gst-7{
      grid-column: 1 !important;
      grid-row: 7 !important;
    }

  }

  .tag{
    position: absolute; top: 12px; left: 12px; z-index: 2;
    font-family: "JetBrains Mono"; font-size: 18px; letter-spacing: .08em;
    color: rgba(255,255,255,.9); text-transform: uppercase;
    padding: 10px 15px; border-radius: 999px;
    background: rgba(125, 125, 125, 0.237);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.12);
  }

  .gst{
    max-height: 250px;
  }

  .gst:hover .tag{
    background-color: #004cffb0;
  }

  /* Titulo */
  .gst-1{
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
  }
  /* Casamentos */
  .gst-2{
    grid-column: 3 / span 2;
    grid-row: 1;
  }
  .gst-3{
    grid-column: 3;
    grid-row: 2;
  }
  .gst-4{
    grid-column: 4;
    grid-row: 2;
  }
  .gst-5{
    grid-column: 1;
    grid-row: 3;
  }
  .gst-6{
    grid-column: 2 / span 2;
    grid-row: 3;
  }
  .gst-7{
    grid-column: 4;
    grid-row: 3;
  }

  .gst-1 .section-eyebrow::before{
    left: 0;
  }


/* =========================================================
   SECTION 04 — ONDE ATUAMOS
   ========================================================= */

.onde-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* -- City chips -- */
.onde-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.onde-city {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.onde-city:hover {
  background: rgba(0,78,255,.12);
  border-color: rgba(0,78,255,.4);
  color: var(--ink);
}

.onde-city--highlight {
  background: rgba(0,78,255,.18);
  border-color: rgba(0,78,255,.5);
  color: #9bb7ff;
  font-weight: 500;
}

/* -- Map -- */
.onde-map-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onde-map-wrap::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,78,255,.12), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.onde-map {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(0,78,255,.15));
}

.onde-map-pulse-ring {
  transform-origin: 260px 310px;
  animation: ondeMapPulse 2.4s ease-out infinite;
}

@keyframes ondeMapPulse {
  0%   { opacity: .8; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.9); }
  100% { opacity: 0;  transform: scale(1.9); }
}

/* -- Responsive -- */
@media (max-width: 900px) {
  .onde-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .onde-map {
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .onde-map { max-width: 100%; }
}

/* =========================================================
   SECTION 06 — Galeria dinâmica (100vw × 100vh)
   ========================================================= */
.gallery{
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.gal-grid{
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
}
.gal-tile{
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #061321, #030712);
}
.gal-img{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  user-select: none;
}
.gal-tile::after{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 70%, rgba(0,0,0,.35)),
    radial-gradient(120% 80% at 50% 50%, transparent 50%, rgba(0,0,0,.25));
  pointer-events: none;
  z-index: 2;
}
.gal-tile.is-loading{
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #061321, #030712);
}

@media (max-width: 1080px){
  .gal-grid{ grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); }
}
@media (max-width: 700px){
  .gal-grid{ grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); }
}
@media (max-width: 480px){
  .gal-grid{ grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(6, 1fr); }
}

/* =========================================================
   SECTION 07 — CONTATO
   ========================================================= */

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.contact-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .4s cubic-bezier(.22,.68,0,1.2), border-color .3s ease, box-shadow .3s ease, background .4s ease;
}

.contact-card::after {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  pointer-events: none;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse 80% 60% at 30% 0%, rgba(0,78,255,.22), transparent 65%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,78,255,.5);
  box-shadow: 0 20px 60px rgba(0,78,255,.2), 0 4px 20px rgba(0,78,255,.1);
  background: linear-gradient(160deg, rgba(3,7,18,.52) 0%, rgba(3,7,18,.32) 100%);
}

.contact-card:hover::before { opacity: 1; }

.contact-icon-wrap {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
  color: var(--accent-2);
  transition: transform .4s cubic-bezier(.22,.68,0,1.2), box-shadow .3s ease, border-color .3s ease, background .3s ease, color .3s ease;
}

.contact-card:hover .contact-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(0,78,255,.55);
  color: #fff;
}

.contact-name {
  font-family: "JetBrains Mono";
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  position: relative;
  z-index: 1;
}

.contact-value {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-size: clamp(17px, 2vw, 24px);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
  transition: color .3s ease;
}

.contact-card:hover .contact-value { color: var(--accent-2); }

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .contact-card { padding: 28px 24px; }
}

@media (max-width: 768px) {
  .section-title,
  .section-eyebrow {
    text-align: center;
  }
  .section-eyebrow::before,
  .gst-1 .section-eyebrow::before {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
  .onde-cities {
    justify-content: center;
  }
}
