/* =========================================
   Site Ábaco — Section styles
   ========================================= */

/* ====== Topbar ====== */
.topbar {
  background: var(--abc-navy);
  color: #cfe4ff;
  font-size: 13px;
  font-family: var(--font-body);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 38px;
}
.topbar-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: tickerFade .6s ease;
}
@keyframes tickerFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--abc-cyan);
  box-shadow: 0 0 0 4px rgba(0,189,255,.18);
  display: inline-block;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}
.topbar-actions a { color: #cfe4ff; transition: color .2s; }
.topbar-actions a:hover { color: white; }
.topbar-sep { opacity: .4; }
@media (max-width: 880px) {
  .topbar-actions { display: none; }
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,39,109,.08);
  border-bottom-color: var(--abc-mist);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 92px;
}
.abc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.abc-logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.abc-logo-img.inv {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
}
.site-nav a {
  color: var(--abc-black);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--abc-cyan);
  transition: right .25s ease;
}
.site-nav a:hover { color: var(--abc-blue); }
.site-nav a:hover::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-burger {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.header-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--abc-black);
  border-radius: 2px;
  margin-left: auto;
}

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    position: fixed;
    inset: 92px 0 auto 0;
    flex-direction: column;
    background: white;
    padding: 28px var(--gutter);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    z-index: 40;
  }
  .header-burger { display: flex; }
  .header-cta .btn { display: none; }
}

/* ====== Hero — Full image carousel ====== */
.hero {
  position: relative;
  height: clamp(620px, 88vh, 820px);
  overflow: hidden;
  background: var(--abc-navy);
}
.hero-stack {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 7s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}
.hero-slide-img {
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 1;
  filter: saturate(1.05);
}
.hero-slide-img > span { display: none; }
.hero-slide-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(255,255,255,.08), transparent 50%),
    radial-gradient(circle at 20% 90%, rgba(0,0,0,.18), transparent 60%);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.15) 70%, transparent 100%);
  z-index: 1;
}
.hero-slide-deco {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -120px;
  bottom: -160px;
  z-index: 1;
  pointer-events: none;
  opacity: .25;
}
.hero-slide-deco-cyan { background: var(--abc-cyan); }
.hero-slide-deco-warm { background: #ffd089; }

.hero-slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  max-width: 880px;
  color: white;
  padding-top: 60px;
  padding-bottom: 140px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: white;
  white-space: nowrap;
}
.hero-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--abc-cyan);
  box-shadow: 0 0 0 4px rgba(0,189,255,.18);
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--abc-cyan);
}
.hero-slide h1 {
  color: white;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1;
  letter-spacing: -.015em;
  margin: 0;
  max-width: 12ch;
}
.hero-slide h1 .hero-h1-accent {
  color: var(--abc-cyan);
  position: relative;
}
.hero-slide h1 .hero-h1-accent::after { display: none; }
.hero-slide p {
  font-size: clamp(15px, 1.4vw, 19px);
  color: rgba(255,255,255,.9);
  max-width: 540px;
  margin: 0 0 12px;
  line-height: 1.55;
}
.hero-slide .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

/* Animated text in/out per slide */
.hero-slide .hero-chip,
.hero-slide .hero-eyebrow,
.hero-slide h1,
.hero-slide p,
.hero-slide .hero-ctas {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.hero-slide.active .hero-chip { transition-delay: .15s; opacity: 1; transform: translateY(0); }
.hero-slide.active .hero-eyebrow { transition-delay: .3s; opacity: 1; transform: translateY(0); }
.hero-slide.active h1 { transition-delay: .45s; opacity: 1; transform: translateY(0); }
.hero-slide.active p { transition-delay: .6s; opacity: 1; transform: translateY(0); }
.hero-slide.active .hero-ctas { transition-delay: .75s; opacity: 1; transform: translateY(0); }

/* Hero controls — bottom rail */
.hero-controls {
  position: absolute;
  left: 0; right: 0;
  bottom: 40px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-nav {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: all .2s;
}
.hero-nav:hover { background: var(--abc-cyan); border-color: var(--abc-cyan); color: var(--abc-navy); }
.hero-progress {
  flex: 1;
  display: flex;
  gap: 18px;
}
.hero-prog {
  flex: 1;
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.6);
  text-align: left;
  cursor: pointer;
}
.hero-prog-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.25);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.hero-prog-fill {
  position: absolute;
  inset: 0;
  background: white;
  transform: translateX(-101%);
  transition: transform .3s ease;
}
.hero-prog.active .hero-prog-fill {
  background: var(--abc-cyan);
  animation: heroProgress 6.5s linear forwards;
}
.hero-prog.active { color: white; }
.hero-prog-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
}
@keyframes heroProgress {
  from { transform: translateX(-101%); }
  to { transform: translateX(0); }
}

@media (max-width: 880px) {
  .hero { height: 640px; }
  .hero-slide-inner { padding-bottom: 160px; }
  .hero-nav { width: 44px; height: 44px; }
}

/* ====== Ensinos ====== */
.ensinos { background: var(--abc-white); }
.ensinos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ensinos-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 32px 26px 26px;
  background: var(--abc-off);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 420px;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
  overflow: hidden;
  border: 1px solid transparent;
}
.ensinos-card::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--abc-blue);
  opacity: .06;
  transition: transform .4s ease;
}
.ensinos-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  background: white;
  border-color: var(--abc-mist);
}
.ensinos-card:hover::after { transform: scale(1.4); }

.ensinos-card-warm::after { background: #ffb45c; opacity: .25; }
.ensinos-card-cyan::after { background: var(--abc-cyan); opacity: .22; }
.ensinos-card-navy::after { background: var(--abc-navy); opacity: .14; }

.ensinos-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ensinos-card-icon {
  font-size: 32px;
  color: var(--abc-blue);
  line-height: 1;
}
.ensinos-card-warm .ensinos-card-icon { color: #e07b2a; }
.ensinos-card-cyan .ensinos-card-icon { color: var(--abc-blue); }
.ensinos-card-navy .ensinos-card-icon { color: var(--abc-navy); }

.ensinos-card-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--abc-muted);
  letter-spacing: .15em;
}
.ensinos-card-body { position: relative; z-index: 1; flex: 1; }
.ensinos-card-ages {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--abc-blue);
  background: rgba(11,113,161,.08);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.ensinos-card-warm .ensinos-card-ages { color: #b8540d; background: rgba(224,123,42,.12); }
.ensinos-card-navy .ensinos-card-ages { color: var(--abc-navy); background: rgba(0,39,109,.1); }

.ensinos-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.15;
}
.ensinos-card-body p {
  font-size: 14.5px;
  color: var(--abc-muted);
  margin: 0;
  line-height: 1.6;
}
.ensinos-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--abc-blue);
  position: relative;
  z-index: 1;
  transition: gap .2s;
}
.ensinos-card-cta:hover { gap: 14px; }

@media (max-width: 1100px) {
  .ensinos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ensinos-grid { grid-template-columns: 1fr; }
  .ensinos-card { min-height: 280px; }
}

/* Tabs variant */
.ensinos-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.ensinos-tab {
  background: var(--abc-off);
  border: 0;
  border-radius: var(--r-md);
  padding: 18px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .25s;
}
.ensinos-tab.active {
  background: var(--abc-blue);
  color: white;
  box-shadow: var(--shadow-md);
}
.ensinos-tab-ico {
  font-size: 22px;
  color: var(--abc-blue);
}
.ensinos-tab.active .ensinos-tab-ico { color: var(--abc-cyan); }
.ensinos-tab strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
}
.ensinos-tab em {
  font-style: normal;
  font-size: 11.5px;
  opacity: .7;
  font-weight: 600;
}
.ensinos-tab-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  background: var(--abc-off);
  border-radius: var(--r-lg);
  padding: 32px;
}
.ensinos-tab-photo {
  border-radius: var(--r-md);
  min-height: 340px;
}
.ensinos-tab-body h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.ensinos-tab-body p { color: var(--abc-muted); margin-bottom: 24px; }
.ensinos-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ensinos-features li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
}
.ensinos-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--abc-cyan);
}
.ensinos-features li::after {
  content: '';
  position: absolute;
  left: 4px; top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--abc-navy);
  border-bottom: 2px solid var(--abc-navy);
  transform: rotate(-45deg);
}
@media (max-width: 880px) {
  .ensinos-tabs { grid-template-columns: 1fr 1fr; }
  .ensinos-tab-panel { grid-template-columns: 1fr; }
}

/* ====== Vertical videos ====== */
.vvids {
  background: linear-gradient(180deg, var(--abc-navy) 0%, #001f5c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.vvids::before {
  content: '';
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: var(--abc-cyan);
  opacity: .06;
  top: -200px;
  right: -200px;
}
.vvids-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}
.vvids-title {
  color: white;
  font-size: clamp(32px, 4.2vw, 52px);
  max-width: 640px;
  line-height: 1.05;
}
.eyebrow-light { color: var(--abc-cyan); }
.vvids-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--abc-cyan);
  white-space: nowrap;
}
.vvids-track-wrap {
  position: relative;
  padding-left: var(--gutter);
}
.vvids-track-wrap::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 120px;
  background: linear-gradient(to right, transparent, #001f5c);
  pointer-events: none;
  z-index: 2;
}
.vvids-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: auto;
  padding-bottom: 8px;
}
.vvid-card {
  flex: 0 0 auto;
  width: 220px;
}
.vvid-thumb {
  width: 220px;
  height: 380px;
  border-radius: var(--r-md);
  position: relative;
  cursor: pointer;
  transition: transform .3s ease;
  overflow: hidden;
}
.vvid-card:hover .vvid-thumb { transform: translateY(-6px); }
.vvid-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform .25s, background .2s;
}
.vvid-play svg path { fill: var(--abc-navy); }
.vvid-card:hover .vvid-play { transform: scale(1.1); background: white; }
.vvid-meta-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 16px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.78), transparent);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  text-align: left;
}
.vvid-tag {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--abc-cyan);
  font-weight: 800;
}
.vvid-meta-overlay strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

/* ====== Enrollment ====== */
.enroll {
  background: var(--abc-off);
}
.enroll-card {
  background: white;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: var(--shadow-lg);
}
.enroll-video {
  position: relative;
  min-height: 480px;
}
.enroll-video-ph {
  position: absolute;
  inset: 0;
}
.enroll-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--abc-cyan);
  border: 0;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(0,189,255,.5);
  transition: transform .2s;
  display: flex; align-items: center; justify-content: center;
}
.enroll-play:hover { transform: scale(1.05); }
.enroll-video-deco {
  position: absolute;
  bottom: 24px; left: 24px;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--abc-cyan);
  z-index: 2;
}

.enroll-body {
  padding: clamp(36px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: center;
}
.enroll-body h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1;
  margin: 6px 0 8px;
}
.enroll-body p {
  font-size: 16px;
  color: var(--abc-muted);
  margin: 0 0 20px;
}

.enroll-actions {
  display: grid;
  gap: 14px;
}
.enroll-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 22px 26px;
  border-radius: var(--r-md);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
}
.enroll-cta:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.enroll-cta-main {
  background: var(--abc-blue);
  color: white;
}
.enroll-cta-alt {
  background: white;
  color: var(--abc-navy);
  border: 2px solid var(--abc-navy);
}
.enroll-cta-eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: .85;
  margin-bottom: 4px;
  grid-column: 1 / 2;
}
.enroll-cta-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -.01em;
  grid-column: 1 / 2;
}
.enroll-cta-sub {
  font-size: 13px;
  opacity: .8;
  margin-top: 2px;
  grid-column: 1 / 2;
}
.enroll-cta-arrow {
  grid-column: 2 / 3;
  grid-row: 1 / 4;
  align-self: center;
}

@media (max-width: 880px) {
  .enroll-card { grid-template-columns: 1fr; }
  .enroll-video { min-height: 320px; }
}

/* ====== Why Ábaco ====== */
.why {
  background: white;
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.why-intro h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  margin: 18px 0 24px;
}
.why-intro p {
  font-size: 17px;
  color: var(--abc-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.why-intro p strong { color: var(--abc-blue); font-weight: 700; }

.why-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.why-cta {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  justify-content: center;
}
.why-cta .btn { padding: 18px 36px; font-size: 14px; }
.why-point {
  position: relative;
  padding-top: 16px;
  border-top: 2px solid var(--abc-mist);
}
.why-num {
  position: absolute;
  top: -14px;
  left: 0;
  background: white;
  padding-right: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--abc-cyan);
  line-height: 1;
}
.why-point h3 {
  font-size: 19px;
  margin: 10px 0 8px;
}
.why-point p {
  margin: 0;
  font-size: 14.5px;
  color: var(--abc-muted);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-points { grid-template-columns: 1fr; }
}

/* ====== Extracurriculares ====== */
.extras {
  background: linear-gradient(180deg, var(--abc-off) 0%, white 100%);
}
.extras-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  max-width: none;
  align-items: end;
}
.extras-tabs {
  display: flex;
  gap: 8px;
  background: white;
  padding: 8px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.extras-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--abc-muted);
  transition: all .25s;
}
.extras-tab.active {
  background: var(--abc-blue);
  color: white;
  box-shadow: 0 6px 16px rgba(11,113,161,.3);
}
.extras-tab-esporte.active { background: #128a4c; box-shadow: 0 6px 16px rgba(18,138,76,.3); }
.extras-tab-cultura.active { background: #b8366a; box-shadow: 0 6px 16px rgba(184,54,106,.3); }
.extras-tab-inovacao.active { background: var(--abc-cyan); color: var(--abc-navy); box-shadow: 0 6px 16px rgba(0,189,255,.3); }
.extras-tab-icon { display: inline-flex; }

.extras-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.extras-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 200px 200px 200px;
  gap: 12px;
  height: 620px;
}
.extras-photo {
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.extras-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.2), transparent 50%);
}
.extras-photo-0 { grid-column: 1 / 2; grid-row: 1 / 3; }
.extras-photo-1 { grid-column: 2 / 3; grid-row: 1 / 2; }
.extras-photo-2 { grid-column: 2 / 3; grid-row: 2 / 4; }
.extras-photo-3 { grid-column: 1 / 2; grid-row: 3 / 4; }
.extras-photo-4 { display: none; }
.extras-info h3 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 16px;
}
.extras-info p {
  font-size: 16px;
  color: var(--abc-muted);
  line-height: 1.7;
  margin-bottom: 26px;
}
.extras-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.extras-tag {
  background: white;
  border: 1.5px solid var(--abc-mist);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--abc-black);
}

@media (max-width: 1080px) {
  .extras-head { grid-template-columns: 1fr; }
  .extras-tabs { width: max-content; }
}
@media (max-width: 880px) {
  .extras-panel { grid-template-columns: 1fr; }
  .extras-photos { height: 420px; grid-template-rows: 130px 130px 130px; }
}
@media (max-width: 560px) {
  .extras-tabs { width: 100%; }
  .extras-tab { padding: 12px 12px; flex: 1; justify-content: center; }
  .extras-tab-label { font-size: 11px; }
}

/* ====== Pinterest — true masonry ====== */
.pinterest {
  background: white;
  padding-bottom: clamp(56px, 8vw, 110px);
}
.pinterest-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  max-width: none;
  margin-bottom: 56px;
}
.pinterest-head p {
  font-size: 17px;
  color: var(--abc-muted);
  margin: 0;
  max-width: 460px;
  justify-self: end;
}
.pinterest-stage {
  column-count: 5;
  column-gap: 14px;
  padding: 0 var(--gutter) 56px;
  max-width: 1600px;
  margin: 0 auto;
}
.pin-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,39,109,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pin-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 36px rgba(0,39,109,.18);
  z-index: 2;
}
.pin-card figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,39,109,.85), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  color: white;
}
.pin-card:hover figcaption { opacity: 1; }
.pin-card-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
}
.pin-card-arrow {
  background: white;
  color: var(--abc-blue);
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
}
.pinterest-cta {
  display: flex;
  justify-content: center;
}
@media (max-width: 1280px) { .pinterest-stage { column-count: 4; } }
@media (max-width: 960px)  {
  .pinterest-stage { column-count: 3; }
  .pinterest-head { grid-template-columns: 1fr; }
  .pinterest-head p { justify-self: start; }
}
@media (max-width: 640px) { .pinterest-stage { column-count: 2; } }

/* ====== Projetos ====== */
.proj {
  background: linear-gradient(180deg, white 0%, var(--abc-off) 100%);
}
.proj-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.proj-head h2 {
  font-size: clamp(32px, 4vw, 52px);
}
.proj-controls { display: flex; gap: 10px; }
.proj-nav {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--abc-blue);
  background: transparent;
  color: var(--abc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.proj-nav:hover { background: var(--abc-blue); color: white; }

.proj-track-wrap {
  padding-left: var(--gutter);
  margin-bottom: 28px;
}
.proj-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.proj-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,39,109,.04);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.proj-thumb {
  height: 220px;
}
.proj-body {
  padding: 22px 24px 26px;
  position: relative;
}
.proj-num {
  position: absolute;
  top: -20px;
  right: 20px;
  background: var(--abc-cyan);
  color: var(--abc-navy);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.proj-body h3 {
  font-size: 20px;
  margin: 0 0 6px;
}
.proj-body p {
  margin: 0 0 16px;
  color: var(--abc-muted);
  font-size: 14px;
}
.proj-link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--abc-blue);
}
.proj-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.proj-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: var(--abc-mist);
  transition: background .2s, width .2s;
}
.proj-dot.active { background: var(--abc-blue); width: 40px; }

/* ====== Institucional ====== */
.instv {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.instv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.instv-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,39,109,.7), rgba(11,113,161,.4));
}
.instv-overlay {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.instv-overlay h2 {
  color: white;
  font-size: clamp(40px, 5.4vw, 80px);
}
.instv-overlay h2 span {
  color: var(--abc-cyan);
}
.instv-play {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: white;
  border: 0;
  margin-top: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 16px 60px rgba(0,0,0,.4);
  transition: transform .25s;
}
.instv-play::before, .instv-play::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid white;
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}
.instv-play::after { animation-delay: 1.2s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.instv-play:hover { transform: scale(1.06); }
.instv-cap {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 14px 0 0;
  opacity: .85;
}

/* ====== Instagram — 5 cols, 2 rows, 4:5 ====== */
.ig { background: white; }
.ig-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}
.ig-head h2 { font-size: clamp(32px, 4vw, 52px); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ig-post {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
  display: block;
}
.ig-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,113,161,.85), rgba(0,39,109,.85));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  opacity: 0;
  transition: opacity .25s;
  color: white;
  text-align: center;
}
.ig-post:hover .ig-overlay { opacity: 1; }
.ig-likes {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
}
.ig-caption {
  font-size: 12px;
  line-height: 1.4;
  opacity: .9;
}
@media (max-width: 1080px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px)  { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

/* ====== Depoimentos — 2x2 grid, left aligned ====== */
.dep {
  background: linear-gradient(135deg, var(--abc-off), white);
}
.dep-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
.dep-head h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  text-align: left;
  margin: 14px 0 16px;
}
.dep-head p {
  font-size: 17px;
  color: var(--abc-muted);
  margin: 0;
  max-width: 520px;
}
.dep-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--abc-muted);
  letter-spacing: .08em;
}
.dep-controls button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--abc-mist);
  background: white;
  color: var(--abc-blue);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.dep-controls button:hover { background: var(--abc-blue); color: white; border-color: var(--abc-blue); }

.dep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  animation: depFade .5s ease;
}
@keyframes depFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.dep-card {
  background: white;
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 2px 8px rgba(0,39,109,.04);
  border: 1px solid var(--abc-mist);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s, box-shadow .25s;
}
.dep-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.dep-card .dep-quote {
  display: block;
  margin: 0;
  opacity: .85;
}
.dep-card blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.4;
  color: var(--abc-black);
  margin: 0;
  letter-spacing: -.005em;
  flex: 1;
}
.dep-by {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--abc-mist);
}
.dep-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.dep-avatar span {
  font-size: 15px;
  color: var(--abc-navy);
  font-weight: 900;
}
.dep-by strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--abc-black);
}
.dep-by span {
  font-size: 13px;
  color: var(--abc-muted);
}
.dep-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.dep-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--abc-mist);
  padding: 0;
  cursor: pointer;
  transition: all .2s;
}
.dep-dot.active { background: var(--abc-blue); transform: scale(1.4); }
@media (max-width: 880px) {
  .dep-head { grid-template-columns: 1fr; }
  .dep-grid { grid-template-columns: 1fr; }
}

/* ====== Newsletter ====== */
.news { background: white; }
.news-card {
  position: relative;
  background: linear-gradient(135deg, var(--abc-blue), var(--abc-navy));
  color: white;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  overflow: hidden;
  align-items: center;
}
.news-card-blob {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: var(--abc-cyan);
  opacity: .14;
  top: -180px;
  right: -120px;
}
.news-card-blob-2 {
  top: auto;
  right: auto;
  bottom: -240px;
  left: -140px;
  width: 360px; height: 360px;
}
.news-body { position: relative; z-index: 1; }
.news-body h2 {
  color: white;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 14px 0 16px;
}
.news-body p {
  font-size: 16px;
  opacity: .9;
  margin: 0;
  max-width: 380px;
}

.news-form {
  position: relative;
  z-index: 1;
  background: white;
  color: var(--abc-black);
  padding: 28px;
  border-radius: var(--r-lg);
  display: grid;
  gap: 14px;
}
.news-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--abc-muted);
}
.news-form input[type=text],
.news-form input[type=email] {
  font: inherit;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--abc-black);
  border: 1.5px solid var(--abc-mist);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  transition: border-color .2s;
}
.news-form input:focus {
  outline: 0;
  border-color: var(--abc-blue);
}
.news-check {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}
.news-submit { width: 100%; justify-content: center; padding: 16px; }
.news-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px;
  color: var(--abc-blue);
}
.news-thanks strong { font-size: 22px; font-family: var(--font-display); color: var(--abc-black); }
.news-thanks span { color: var(--abc-muted); }
@media (max-width: 880px) {
  .news-card { grid-template-columns: 1fr; }
}

/* ====== Unidades ====== */
.uni { background: var(--abc-off); }
.uni-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: start;
}
.uni-map {
  position: sticky;
  top: 120px;
}
.uni-map-ph {
  position: relative;
  border-radius: var(--r-lg);
  height: 540px;
  background: linear-gradient(135deg, #d9eef9, #b4dbef);
  color: var(--abc-navy);
}
.uni-pin {
  position: absolute;
  width: 36px; height: 36px;
  border-radius: 50% 50% 50% 0;
  background: var(--abc-blue);
  border: 3px solid white;
  transform: rotate(-45deg);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,39,109,.3);
  transition: all .25s;
  z-index: 1;
}
.uni-pin span {
  display: block;
  transform: rotate(45deg);
  color: white;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
}
.uni-pin.active {
  background: var(--abc-navy);
  transform: rotate(-45deg) scale(1.25);
  z-index: 2;
}

.uni-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.uni-item {
  background: white;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  text-align: left;
  transition: all .25s;
  cursor: pointer;
  font-family: var(--font-body);
}
.uni-item:hover { transform: translateX(4px); }
.uni-item.active { border-color: var(--abc-blue); box-shadow: var(--shadow-md); }
.uni-item-badge {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.uni-item-badge span {
  font-size: 22px;
  color: white;
  font-weight: 900;
}
.uni-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.uni-item-body strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--abc-black);
  letter-spacing: -.005em;
}
.uni-item-etapas {
  font-size: 13px;
  color: var(--abc-blue);
  font-weight: 600;
  margin-bottom: 4px;
}
.uni-item-addr {
  font-size: 13px;
  color: var(--abc-muted);
}
.uni-item-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--abc-black);
  font-weight: 700;
  margin-top: 2px;
}
.uni-item-arrow {
  color: var(--abc-muted);
  transition: transform .2s, color .2s;
}
.uni-item.active .uni-item-arrow { color: var(--abc-blue); transform: translateX(4px); }

@media (max-width: 1080px) {
  .uni-layout { grid-template-columns: 1fr; }
  .uni-map { position: static; }
  .uni-map-ph { height: 320px; }
}

/* ====== Footer ====== */
.footer {
  background: var(--abc-navy);
  color: rgba(255,255,255,.75);
  padding: clamp(56px, 8vw, 96px) 0 28px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: var(--abc-blue);
  opacity: .1;
  top: -200px;
  right: -120px;
}
.footer > .container { position: relative; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p {
  margin: 18px 0 24px;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--abc-cyan); color: var(--abc-navy); transform: translateY(-2px); }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--abc-cyan); }

.footer-units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-unit {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.5;
}
.footer-unit strong {
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.footer-unit a {
  color: var(--abc-cyan);
  font-weight: 700;
  margin-top: 4px;
}

.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: white; }

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-units { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-units { grid-template-columns: 1fr; }
}

/* ====== WhatsApp FAB ====== */
.wa-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  padding: 14px 22px 14px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(37,211,102,.55); }
@media (max-width: 640px) {
  .wa-fab span { display: none; }
  .wa-fab { padding: 14px; }
}
