/* ==========================================================================
   Colégio MOR — Layout 2026
   Paleta e fontes extraídas do layout de referência (colegiomor.com.br/layout/)
   ========================================================================== */

:root {
  --navy: #002E6D;
  --navy-dark: #001d47;
  --gold: #FEBB28;
  --bg-soft: #F7F5FC;
  --white: #ffffff;
  --text: #333333;
  --text-light: #6b6b6b;
  --border: #e2e2ea;
  --radius: 14px;
  --container: 1200px;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
  --font-heading: 'Open Sans', Helvetica, Arial, sans-serif;
  --font-ui: 'Open Sans', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

body.nav-lock { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.2;
}

p { margin: 0 0 16px; font-weight: 600; color: var(--navy); }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-ui);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-intro p { color: var(--text-light); font-size: 1.1rem; }

/* Buttons -------------------------------------------------------------- */

.btn {
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn--gold:hover { box-shadow: 0 10px 24px rgba(254, 187, 40, 0.45); }

.btn--outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.12); }

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

.btn--sm { padding: 8px 20px; font-size: 0.8rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar a { display: flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--white); }

.topbar svg { width: 14px; height: 14px; flex: none; }

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 20px 0;
  background: #f9eddc;
}

.site-header.is-scrolled {
  background: var(--navy);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 10px 0;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.logo { height: 106px; width: auto; display: block; transition: height 0.3s ease, opacity 0.3s ease; }

.logo--scrolled {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
}

.site-header.is-scrolled .logo { height: 60px; }
.site-header.is-scrolled .logo--default { opacity: 0; }
.site-header.is-scrolled .logo--scrolled { opacity: 1; }

.main-nav { display: flex; }
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
}

.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  color: var(--navy);
  padding: 10px 0;
  display: inline-block;
  transition: color 0.2s ease;
}
.site-header.is-scrolled .main-nav > ul > li > a { color: var(--gold); }
.main-nav > ul > li > a:hover { text-decoration: underline; text-underline-offset: 4px; }

.main-nav .sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  text-transform: none;
  font-weight: 500;
}

.main-nav > ul > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu a {
  color: var(--white);
  padding: 8px 20px;
  display: block;
}
.main-nav .sub-menu a:hover { background: rgba(255,255,255,0.08); color: var(--white); }

.header-cta { flex-shrink: 0; }

.mobile-quick-actions { display: none; }
.mobile-nav-cta { display: none; }

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  background: var(--navy);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.menu-toggle:active { transform: scale(0.94); }

.menu-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gold);
}

.menu-toggle-bars {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 6px; }
.menu-toggle-bars span:nth-child(3) { top: 12px; }

.site-header.nav-open .menu-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.site-header.nav-open .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header.nav-open .menu-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 59.8vh; /* 92vh - 35% */
  display: flex;
  align-items: center;
  background: #213563;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 200px at 8% 18%, rgba(254,187,40,0.70) 0%, rgba(254,187,40,0) 78%),
    radial-gradient(circle 160px at 92% 10%, rgba(254,187,40,0.60) 0%, rgba(254,187,40,0) 78%),
    radial-gradient(circle 240px at 48% 100%, rgba(254,187,40,0.55) 0%, rgba(254,187,40,0) 78%),
    radial-gradient(circle 180px at 97% 82%, rgba(254,187,40,0.55) 0%, rgba(254,187,40,0) 78%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text { flex: 0 0 50%; max-width: 50%; order: 2; }

.hero-slider {
  flex: 0 0 50%;
  max-width: 50%;
  order: 1;
}

.hero-eyebrow {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-text .hero-eyebrow { margin-bottom: 14px; }

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 30px;
}

.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 1.3rem; font-weight: 800; color: var(--white); line-height: 1.15; }
.hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

.hero-stat-divider {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.25);
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-slider-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 18px;
}

.slider-frame {
  position: relative;
  background: #213563;
  border-radius: 20px;
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px 0;
}

.slider-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 10px 10px 0 0;
  transition: opacity 0.25s ease;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 18px 0;
}

.slider-arrow {
  position: static;
  transform: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.slider-arrow svg { width: 16px; height: 16px; }
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }

.slider-count {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  min-width: 52px;
  text-align: center;
}

.slider-count i {
  font-style: normal;
  color: rgba(255,255,255,0.4);
  margin: 0 3px;
}

.slider-count #heroSliderTotal { color: rgba(255,255,255,0.55); }

.slider-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
  padding: 2px 0;
}

.slider-thumbs::-webkit-scrollbar { display: none; }

.slider-thumb {
  flex: none;
  width: 46px;
  height: 58px;
  padding: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease, outline-color 0.2s ease, transform 0.2s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transform: translateY(0);
}

.slider-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slider-thumb:hover { opacity: 0.8; }
.slider-thumb.is-active { opacity: 1; outline-color: var(--gold); transform: translateY(-3px); }

.hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.9); }

/* ==========================================================================
   Ciclos escolares
   ========================================================================== */

.ciclos-section { background: var(--bg-soft); }

.ciclos-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
  align-items: start;
}

.ciclos-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ciclos-col--center { text-align: center; align-self: center; }

.ciclos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  margin-top: 40px;
}

.ciclos-eyebrow { margin-bottom: 4px; text-align: center; }
.ciclos-eyebrow i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.3rem;
}
.ciclos-eyebrow i::before,
.ciclos-eyebrow i::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--navy);
  vertical-align: middle;
  margin: 0 10px;
}

.ciclos-intro { margin: 0 0 8px; max-width: none; }
.ciclos-intro h1 { font-size: 2.1rem; font-weight: 800; }
.ciclos-intro p { font-size: 1rem; }

.ciclo-card {
  position: relative;
  background: var(--white);
  border-radius: 60px 60px 40px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}

.ciclo-media { padding: 5px 5px 0; overflow: hidden; border-radius: 56px 56px 36px 12px; }

.ciclo-media img {
  width: 100%;
  aspect-ratio: 5 / 5;
  object-fit: cover;
  border-radius: 56px 56px 36px 12px;
  transition: transform 0.4s ease;
}

.ciclo-media:hover img { transform: scale(1.07); }

.ciclo-img--sat-a { filter: saturate(137%) brightness(127%) contrast(112%); }
.ciclo-img--sat-b { filter: saturate(102%) brightness(127%) contrast(112%); }
.ciclo-img--sat-c { filter: saturate(146%) brightness(105%) contrast(112%); }
.ciclo-img--sat-d { filter: saturate(132%) brightness(118%) contrast(112%); }

.ciclo-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 26px;
}

.ciclo-card h4 {
  font-size: 1.1rem;
  margin: 0;
  text-align: left;
}

.ciclo-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #c4af50;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}


/* ==========================================================================
   Diferenciais
   ========================================================================== */

/* Bloco original fornecido pelo usuário (código exato do Divi) --------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
}

.item {
  position: relative;
  padding: 10px 20px;
  height: 45px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: default;
  overflow: visible;
}

.item:hover {
  background-color: #e6f5ff;
  padding: 10px 20px;
}

.top-line {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #002e6d;
  font-weight: 800;
  z-index: 1;
  gap: 8px;
  text-align: center;
}

.checkmark {
  width: 16px;
  height: 16px;
  stroke-width: 1;
  stroke: rgba(0, 46, 109, 0.3);
  fill: none;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.item:hover .checkmark {
  width: 30px;
  height: 30px;
  stroke: #002e6d;
  stroke-width: 3;
}

.tooltip {
  position: absolute;
  bottom: 40px;
  margin-bottom: 10px;
  background-color: #002e6d;
  padding: 10px 12px;
  font-size: 0.88rem;
  color: #002e6d;
  border-radius: 20px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 10;
  width: 180px;
  line-height: 1.4;
  text-align: justify-all;
}

.item:hover .tooltip {
  opacity: 1;
  transform: translateY(0px);
  color: #fff;
}

.fade-in {
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 500px) {
  .top-line {
    font-size: 0.95rem;
  }
}

.diferenciais-note {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
}

#diferenciais .section-intro p,
#diferenciais .diferenciais-note {
  color: var(--navy);
}

/* ==========================================================================
   Sobre nós
   ========================================================================== */

.sobre-section {
  position: relative;
  background: #ebedf4;
  padding-top: 110px;
}

.section-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: translateY(-99%);
  pointer-events: none;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.section-wave path { fill: #ebedf4; }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.sobre-media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.sobre-media--a {
  margin-top: 60px;
  transform: rotate(-3deg);
}

.sobre-media--a img {
  aspect-ratio: 4 / 5;
  border-radius: 90px 150px 0 40px;
  filter: saturate(112%) brightness(105%);
}

.sobre-text { text-align: justify; }
.sobre-text .ciclos-eyebrow,
.sobre-text h1 { text-align: center; }

.sobre-subtitle {
  text-align: center;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin-top: -6px;
}

.sobre-cta-row {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.sobre-stack { position: relative; }

.sobre-media--b { transform: rotate(-3deg); }

.sobre-media--b img {
  aspect-ratio: 4 / 5;
  border-radius: 106px 82px 174px 10px;
  filter: saturate(117%) brightness(105%) contrast(115%);
}

.sobre-media--c {
  width: 84%;
  margin: -70px 0 0 auto;
  position: relative;
  z-index: 2;
  transform: rotate(4deg);
}

.sobre-media--c img {
  aspect-ratio: 4 / 3;
  border-radius: 8px 72px 24px 44px;
  filter: saturate(111%) brightness(103%);
  box-shadow: 0 14px 28px rgba(0,0,0,0.16);
}

/* ==========================================================================
   Certificações
   ========================================================================== */

.certificacoes { background: #d6d6d6; }
.certificacoes h3 { color: var(--navy); }

.parceiros-slider {
  position: relative;
  width: 100%;
  margin-top: 24px;
}

.parceiros-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.parceiros-viewport::-webkit-scrollbar { display: none; }

.parceiros-track {
  display: flex;
  gap: 32px;
  padding: 4px 2px;
}

.parceiros-item {
  flex: 0 0 calc((100% - 4 * 32px) / 5);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}

.parceiros-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.1);
  opacity: 0.85;
  transition: all 0.25s ease;
}

.parceiros-item img:hover {
  filter: none;
  opacity: 1;
}

.parceiros-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.parceiros-arrow--prev { left: -22px; }
.parceiros-arrow--next { right: -22px; }

.parceiros-arrow:hover { background: var(--navy); color: var(--white); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-top {
  background: var(--bg-soft);
  padding: 72px 0;
}

.footer-intro {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 20px;
}

.footer-intro-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-intro-brand img { max-width: 200px; }

.footer-intro-since {
  color: #fff;
  opacity: 0.5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-intro-quote { max-width: none; }

.footer-intro-quote .quote-mark {
  width: 38px;
  height: 38px;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-intro-quote p {
  font-size: 1.1rem;
  line-height: 1.6;
  color:  #fff;
  margin-bottom: 22px;
}

.footer-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-intro-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.footer-intro-link:hover svg { transform: translateX(5px); }

.footer-dark {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 24px;
}

.footer-logo {
  height: 140px;
  width: auto;
  margin: 0 auto 56px;
}

.units-section {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  margin-bottom: 56px;
}

.unit-eyebrow {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.units-intro h3 {
  color: var(--white);
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 18px;
}

.units-intro p { color: rgba(255,255,255,0.6); margin-bottom: 28px; }

.units-list { border-top: 1px solid rgba(255,255,255,0.14); }

.unit-row {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  transition: padding-left 0.3s ease;
}

.unit-row:hover { padding-left: 12px; }

.unit-index {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  transition: -webkit-text-stroke 0.3s ease;
}

.unit-row:hover .unit-index { -webkit-text-stroke: 1px var(--gold); }

.unit-info h4 { color: var(--white); margin-bottom: 4px; }
.unit-info .unit-sub { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 16px; }

.unit-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 0.9rem;
}

.unit-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
}

.unit-contacts a:hover { color: var(--white); text-decoration: underline; }

.unit-contacts svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.unit-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.unit-arrow svg { width: 20px; height: 20px; }

.unit-row:hover .unit-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  transform: rotate(45deg);
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 40px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: rgba(255,255,255,0.72); }
.footer-menu a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.72);
}
.social-list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.social-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-legal img { height: 28px; width: auto; opacity: 0.9; }

/* Cookie banner ---------------------------------------------------------- */

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.9);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  z-index: 999;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-bar.is-hidden { transform: translateY(120%); }
.cookie-bar p { margin: 0; max-width: 720px; }

/* WhatsApp flutuante ------------------------------------------------------ */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  transition: bottom 0.3s ease;
}

.cookie-bar:not(.is-hidden) ~ .whatsapp-float { bottom: 110px; }

.whatsapp-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  flex: none;
}

.whatsapp-btn svg { width: 30px; height: 30px; position: relative; z-index: 1; }

.whatsapp-btn-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 2.2s ease-out infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.whatsapp-bubble {
  position: relative;
  max-width: 230px;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 26px 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 24px;
  width: 14px;
  height: 14px;
  background: var(--white);
  transform: rotate(45deg);
}

.whatsapp-bubble p { margin: 0; color: var(--navy); }

.whatsapp-bubble-close {
  position: absolute;
  top: 4px;
  right: 8px;
  border: none;
  background: none;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 500px) {
  .whatsapp-float { right: 16px; bottom: 16px; }
  .cookie-bar:not(.is-hidden) ~ .whatsapp-float { bottom: 140px; }
  .whatsapp-btn { width: 52px; height: 52px; }
  .whatsapp-btn svg { width: 26px; height: 26px; }
}

.quick-links-bar { background: var(--navy); padding: 20px 0; }

.quick-links-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.quick-link-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quick-link-pill:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

.quick-link-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-link-icon svg { width: 17px; height: 17px; }

@media (max-width: 500px) {
  .quick-links-bar { padding: 16px 0; }
  .quick-links-row { gap: 10px; }
  .quick-link-pill { padding: 8px 16px 8px 8px; font-size: 0.78rem; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1024px) {
  .sobre-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 60px; }
  .sobre-media--a { margin-top: 0; }
  .sobre-media--c { width: 84%; margin: -60px 0 0 auto; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .units-section { grid-template-columns: 1fr; gap: 36px; }
  .footer-intro { grid-template-columns: 1fr; gap: 28px; }
  .footer-intro-brand { flex-direction: row; align-items: center; gap: 16px; }
}

@media (max-width: 640px) {
  .footer-nav-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .social-list { align-items: center; }
  .social-list a { justify-content: center; }
  .footer-legal { justify-content: center; text-align: center; }
  .unit-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .unit-row:hover { padding-left: 0; }
  .unit-index { display: none; }
  .unit-arrow { width: 44px; height: 44px; justify-self: start; }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .header-cta { display: none; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }

  .logo { height: 78px; }
  .site-header.is-scrolled .logo { height: 62px; }
  .site-header { padding: 14px 0; }
  .site-header.is-scrolled { padding: 10px 0; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    padding: 96px 24px 28px;
    overflow-y: auto;
  }

  .mobile-quick-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0 0 28px;
  }

  .site-header.nav-open .mobile-quick-actions { display: grid; }

  .quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    color: var(--white);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .quick-action:hover, .quick-action:active { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

  .quick-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-dark);
  }
  .quick-action-icon svg { width: 20px; height: 20px; }

  .site-header.nav-open .main-nav > ul {
    flex-direction: column;
    gap: 0;
  }

  .site-header.nav-open .main-nav > ul > li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .site-header.nav-open .main-nav > ul > li:last-child { border-bottom: none; }

  .site-header.nav-open .main-nav > ul > li > a {
    padding: 16px 2px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header.nav-open .main-nav > ul > li:has(.sub-menu) > a::after {
    content: '›';
    transform: rotate(90deg);
    font-size: 1.1rem;
    color: var(--gold);
    transition: transform 0.2s ease;
  }

  .site-header.nav-open .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    margin: 4px 0 10px;
  }

  .site-header.nav-open .main-nav > ul > li > a { color: var(--white); }
  .site-header.nav-open .main-nav .sub-menu a { color: var(--white); }

  .site-header.nav-open .mobile-nav-cta {
    display: block;
    text-align: center;
    margin-top: 24px;
  }

  .site-header.nav-open .main-nav > ul > li.nav-item--tour { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { flex-direction: column; align-items: stretch; }
  .hero-text, .hero-slider { max-width: 100%; flex: 1 1 auto; }
  .hero-slider { padding-top: 20px; }

  .hero-text {
    text-align: center;
    padding-bottom: 20px;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero-stat { align-items: center; }
  .hero-stat strong { font-size: 1.05rem; }
  .hero-stat span { font-size: 0.68rem; }
  .hero-stat-divider { height: 28px; }

  .hero-cta-row { justify-content: center; }

  .ciclos-mosaic { grid-template-columns: 1fr; gap: 44px; max-width: 420px; margin: 0 auto; }
  .ciclos-col--center { display: contents; }
  .ciclos-mosaic .ciclos-eyebrow,
  .ciclos-mosaic .ciclos-intro { text-align: center; order: -1; }

  .ciclos-grid { grid-template-columns: 1fr; max-width: 420px; margin: 40px auto 0; }

  .parceiros-item { flex-basis: calc((100% - 2 * 32px) / 3); }
}

@media (max-width: 1024px) and (min-width: 901px) {
  .ciclos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { min-height: 52vh; }
  .slider-frame { height: 260px; }
  .hero-slider-title { font-size: 1.05rem; }

  .parceiros-item { flex-basis: calc((100% - 32px) / 2); }
  .parceiros-arrow--prev { left: -14px; }
  .parceiros-arrow--next { right: -14px; }
}
