/* ===== Colégio Gustavo Amaral — redesign ===== */

:root {
  /* brand — cores oficiais Colégio Gustavo Amaral */
  --blue: #275AA9;
  --blue-600: #1f4a8f;
  --blue-deep: #1a3870;
  --purple: #4054B2;
  --yellow: #FBFF00;
  --yellow-soft: #fffaa8;
  --coral: #4054B2;     /* alias roxo — mantemos paleta estrita */
  --mint: #4054B2;      /* alias roxo */

  /* neutros */
  --ink: #0d1538;
  --slate: #5b6786;
  --line: #e7e9f3;
  --cream: #fff8ec;
  --paper: #ffffff;
  --grid-line: rgba(31, 63, 184, 0.07);

  /* tipografia */
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* layout */
  --container: 1240px;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* sombras */
  --shadow-sm: 0 1px 2px rgba(13, 21, 56, 0.04), 0 2px 6px rgba(13, 21, 56, 0.04);
  --shadow-md: 0 4px 14px rgba(13, 21, 56, 0.06), 0 18px 38px -18px rgba(13, 21, 56, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(13, 21, 56, 0.28);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--blue-deep);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
.muted { color: var(--slate); }

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

/* ===== top bar ===== */
.topbar {
  background: var(--blue-deep);
  color: #cfd6ff;
  font-size: 13px;
}
.topbar .container {
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.topbar a { color: #fff; }
.topbar .phones { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .phones span { display: inline-flex; gap: 8px; align-items: center; }
.topbar .phones svg { width: 14px; height: 14px; opacity: .8; }
.topbar .access {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--yellow); color: var(--blue-deep);
  font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill);
  transition: transform .2s ease;
}
.topbar .access:hover { transform: translateY(-1px); }

/* ===== main nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: inline-flex; gap: 12px; align-items: center;
  font-family: var(--display); font-weight: 700;
  color: var(--blue-deep);
}
.brand .logo {
  width: 56px; height: 38px;
  display: grid; place-items: center;
  position: relative;
}
.brand .logo img { width: 100%; height: 100%; object-fit: contain; }
.brand .name { font-size: 14px; line-height: 1.05; color: var(--blue-deep); font-weight: 800; letter-spacing: -0.01em; display: none; }
.brand .name small { display: block; color: var(--slate); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.nav ul { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0; }
.nav ul a {
  display: inline-block; padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600; color: var(--ink); font-size: 14.5px;
  transition: background .2s ease, color .2s ease;
}
.nav ul a:hover { background: var(--cream); color: var(--blue); }
.nav .cta {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--blue); color: #fff;
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14.5px;
  box-shadow: 0 10px 24px -10px rgba(31,63,184,0.6);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav .cta:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(31,63,184,0.7); }
.nav .cta svg { width: 16px; height: 16px; }
.nav .menu-btn { display: none; }

/* ===== hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 80% 0%, rgba(255,205,45,0.18), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 80%, rgba(31,63,184,0.06), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 40%, transparent 80%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  padding-top: 30px; padding-bottom: 50px;
  align-items: center;
}
.hero .badge {
  display: inline-flex; gap: 10px; align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 14px 8px 8px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 13px; color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
}
.hero .badge .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--coral);
  display: grid; place-items: center; color: white;
  font-size: 11px; font-weight: 800;
  box-shadow: 0 0 0 4px rgba(255,106,71,0.18);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,106,71,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(255,106,71,0.10); }
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  margin-top: 22px;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
  color: var(--blue);
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 6px; height: 14px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 6px;
  transform: skew(-6deg);
}
.hero .lead {
  margin-top: 22px;
  font-size: 19px;
  color: var(--slate);
  max-width: 540px;
}
.hero .levels {
  margin-top: 26px;
  display: inline-flex; flex-wrap: wrap; gap: 8px;
}
.hero .levels span {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(31,63,184,0.06);
  color: var(--blue-deep);
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 13.5px;
}
.hero .levels span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}
.hero .levels span:nth-child(2)::before { background: var(--coral); }
.hero .levels span:nth-child(3)::before { background: var(--mint); }
.hero .levels span:nth-child(4)::before { background: var(--yellow); }

.hero .ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; gap: 10px; align-items: center;
  padding: 16px 24px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(31,63,184,0.6);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(31,63,184,0.7); }
.btn-ghost {
  background: var(--paper); color: var(--blue-deep);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-yellow {
  background: var(--yellow); color: var(--blue-deep);
  box-shadow: 0 14px 30px -12px rgba(255,205,45,0.7);
}
.btn-yellow:hover { transform: translateY(-2px); }

.hero .stats {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 28px; align-items: end;
}
.hero .stat .num {
  font-family: var(--display);
  font-size: 44px; font-weight: 800;
  color: var(--blue-deep); line-height: 1;
  letter-spacing: -0.02em;
}
.hero .stat .num span { color: var(--coral); }
.hero .stat .label { color: var(--slate); font-size: 13px; margin-top: 6px; }

/* hero collage */
.collage {
  position: relative;
  aspect-ratio: 1/0.75;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1.2fr 1fr;
  gap: 16px;
}
.collage .tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.collage .tile.t1 { grid-row: 1/3; background: linear-gradient(180deg, #ffd770, var(--coral)); }
.collage .tile.t2 { background: linear-gradient(180deg, var(--blue), #6a8aff); }
.collage .tile.t3 { background: linear-gradient(180deg, var(--mint), #7be1c3); }
.collage .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.collage .stamp {
  position: absolute; left: -22px; bottom: 18%;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--display); font-weight: 700;
  color: var(--blue-deep);
  font-size: 14px;
  transform: rotate(-8deg);
  z-index: 2;
}
.collage .stamp strong { display: block; font-size: 32px; color: var(--coral); line-height: 1; }
.collage .stamp small { display: block; font-size: 11px; letter-spacing: .14em; color: var(--slate); text-transform: uppercase; margin-top: 4px; font-weight: 600; }

.collage .tag {
  position: absolute; right: -10px; top: 36%;
  background: var(--paper);
  padding: 12px 16px; border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex; gap: 12px; align-items: center;
  font-size: 13px; font-weight: 600;
  z-index: 2;
}
.collage .tag .ico {
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--yellow);
  display: grid; place-items: center; color: var(--blue-deep);
}
.collage .tag .ico svg { width: 20px; height: 20px; }

/* sparkle decorations */
.sparkle {
  position: absolute; pointer-events: none;
  width: 26px; height: 26px;
  color: var(--coral);
}

/* ===== generic section ===== */
section { padding: 110px 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .eyebrow {
  display: inline-flex; gap: 8px; align-items: center;
  font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.section-head .eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--blue);
  border-radius: 2px;
}
.section-head h2 {
  font-size: clamp(36px, 4.4vw, 60px);
  margin-top: 14px;
  max-width: 720px;
}
.section-head h2 em { font-style: normal; color: var(--coral); }
.section-head .lead { color: var(--slate); max-width: 460px; font-size: 17px; }

/* ===== proposta ===== */
.proposta { background: var(--cream); }
.values {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.value .ico {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--blue); color: var(--yellow);
  margin-bottom: 22px;
}
.value:nth-child(2) .ico { background: var(--coral); color: #fff; }
.value:nth-child(3) .ico { background: var(--yellow); color: var(--blue-deep); }
.value:nth-child(4) .ico { background: var(--mint); color: #fff; }
.value .ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 22px; }
.value p { color: var(--slate); margin-top: 10px; font-size: 15px; }

/* ===== cursos ===== */
.cursos { background: var(--paper); }
.course-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  background: var(--cream);
  padding: 6px; border-radius: var(--radius-pill);
  margin-bottom: 40px; width: fit-content;
}
.course-tabs button {
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14.5px; color: var(--slate);
  transition: all .2s ease;
}
.course-tabs button.active {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 22px -10px rgba(31,63,184,0.5);
}
.course-tabs button:not(.active):hover { color: var(--blue-deep); }

.course-panel { display: none; }
.course-panel.active { display: grid; }
.course-panel {
  grid-template-columns: 1.05fr 1.1fr;
  gap: 56px; align-items: center;
}
.course-panel .photo {
  position: relative;
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, var(--blue), #6a8aff);
}
.course-panel.infantil .photo { background: linear-gradient(160deg, var(--coral), #ffb487); }
.course-panel.fund1 .photo { background: linear-gradient(160deg, var(--mint), #94e9c8); }
.course-panel.fund2 .photo { background: linear-gradient(160deg, var(--yellow), #ffe385); }
.course-panel.medio .photo { background: linear-gradient(160deg, var(--blue), #6a8aff); }
.course-panel .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-panel .photo .age {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--paper);
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; color: var(--blue-deep);
  display: inline-flex; gap: 8px; align-items: center;
}
.course-panel .photo .age::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

.course-panel .content .pretitle {
  font-weight: 700; color: var(--blue);
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.course-panel .content h3 { font-size: clamp(34px, 3.6vw, 48px); }
.course-panel .content p { color: var(--slate); margin-top: 18px; font-size: 17px; }
.course-panel .features {
  margin-top: 28px; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.course-panel .features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.course-panel .features li::before {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow); margin-top: 1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3fb8' stroke-width='3' stroke-linecap='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.course-panel .meta {
  margin-top: 32px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
}

/* ===== diferenciais ===== */
.differentials {
  background:
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(255,205,45,0.14), transparent 60%),
    var(--blue-deep);
  color: #cfd6ff;
}
.differentials h2 { color: #fff; }
.differentials .section-head .eyebrow { color: var(--yellow); }
.differentials .section-head .eyebrow::before { background: var(--yellow); }
.differentials .section-head .lead { color: rgba(255,255,255,0.7); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.diff-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.diff-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.diff-card.big { grid-column: span 6; }
.diff-card.med { grid-column: span 6; }
.diff-card.sm { grid-column: span 4; }
.diff-card .badge {
  display: inline-flex; padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--yellow); color: var(--blue-deep);
}
.diff-card h3 {
  color: #fff; font-size: 26px; margin-top: 18px;
}
.diff-card.big h3 { font-size: 36px; max-width: 460px; }
.diff-card p { margin-top: 12px; color: rgba(255,255,255,0.72); font-size: 15.5px; }
.diff-card .logo-row {
  margin-top: 24px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.diff-card .logo-row span {
  background: rgba(255,255,255,0.08);
  border-radius: 14px; padding: 10px 14px;
  font-weight: 700; font-size: 13px; color: #fff;
  display: inline-flex; gap: 8px; align-items: center;
}

/* ===== história / timeline ===== */
.historia { background: var(--cream); }
.timeline {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 70px;
}
.timeline::before {
  content: "";
  position: absolute; top: 12px; bottom: 12px;
  left: 50%; transform: translateX(-50%);
  width: 2px; background: linear-gradient(var(--blue), var(--coral), var(--yellow), var(--mint));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 56px; }
.tl-item:nth-child(odd) {
  grid-column: 1; text-align: right; padding-right: 40px;
}
.tl-item:nth-child(even) {
  grid-column: 2; text-align: left; padding-left: 40px;
  margin-top: 60px;
}
.tl-item::before {
  content: ""; position: absolute; top: 18px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--blue);
}
.tl-item:nth-child(odd)::before { right: -8px; }
.tl-item:nth-child(even)::before { left: -8px; }
.tl-item:nth-child(2)::before { border-color: var(--purple); }
.tl-item:nth-child(3)::before { border-color: var(--yellow); background: var(--yellow); }
.tl-item:nth-child(4)::before { border-color: var(--purple); }
.tl-item:nth-child(5)::before { border-color: var(--blue); }

.tl-item .year {
  font-family: var(--display); font-size: 56px; font-weight: 800;
  color: var(--blue-deep); line-height: 1; letter-spacing: -0.02em;
}
.tl-item:nth-child(2) .year { color: var(--purple); }
.tl-item:nth-child(3) .year { color: var(--blue-deep); -webkit-text-stroke: 0; text-shadow: 0 0 0 var(--blue-deep); }
.tl-item:nth-child(4) .year { color: var(--purple); }
.tl-item:nth-child(5) .year { color: var(--blue); }
.tl-item h3 { margin-top: 6px; font-size: 22px; }
.tl-item p { color: var(--slate); margin-top: 10px; font-size: 15.5px; max-width: 380px; }
.tl-item:nth-child(odd) p { margin-left: auto; }

/* ===== galeria ===== */
.galeria { background: var(--paper); }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 14px;
}
.gal-tile {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, var(--blue), #6a8aff);
}
.gal-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55)); pointer-events: none; }
.gal-tile .cap {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  color: #fff; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.gal-tile .cap .pill {
  background: rgba(0,0,0,0.3); padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.g1 { grid-column: span 5; grid-row: span 3; background: linear-gradient(160deg, var(--coral), #ffb487); }
.g2 { grid-column: span 4; grid-row: span 2; background: linear-gradient(160deg, var(--yellow), #ffe385); }
.g3 { grid-column: span 3; grid-row: span 2; background: linear-gradient(160deg, var(--mint), #94e9c8); }
.g4 { grid-column: span 3; grid-row: span 2; background: linear-gradient(160deg, var(--blue), #6a8aff); }
.g5 { grid-column: span 4; grid-row: span 2; background: linear-gradient(160deg, var(--blue-deep), #4254a8); }
.g6 { grid-column: span 5; grid-row: span 2; background: linear-gradient(160deg, var(--yellow), var(--coral)); }
.g7 { grid-column: span 7; grid-row: span 2; background: linear-gradient(160deg, var(--mint), var(--blue)); }

/* ===== depoimentos ===== */
.depoimentos { background: var(--cream); }
.depo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.depo {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  position: relative;
}
.depo .quote {
  position: absolute; top: -14px; left: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--blue-deep);
  display: grid; place-items: center;
  font-family: serif; font-size: 28px; font-weight: 700; line-height: 0; padding-top: 6px;
}
.depo p { color: var(--ink); font-size: 16px; line-height: 1.55; }
.depo .who {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center;
}
.depo .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(160deg, var(--blue), var(--coral));
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.depo .who small { display: block; color: var(--slate); font-size: 13px; }
.depo .who strong { font-weight: 700; }
.depo .stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--yellow); }

/* ===== unidades ===== */
.unidades { background: var(--paper); }
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.unit {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid; grid-template-rows: 1fr auto;
  gap: 24px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease;
}
.unit:hover { transform: translateY(-4px); }
.unit .map {
  border-radius: var(--radius);
  position: relative; min-height: 200px;
  overflow: hidden;
  display: block;
}
.unit .map img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .4s ease; }
.unit:hover .map img { transform: scale(1.04); }
.unit .map::after {
  content: ""; position: absolute;
  width: 28px; height: 28px;
  background: var(--yellow); border: 3px solid var(--blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  left: 50%; top: 45%;
  margin-left: -14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.unit .label {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.unit h3 { font-size: 28px; margin-top: 6px; }
.unit address {
  font-style: normal; color: var(--slate); margin-top: 14px; font-size: 15px; line-height: 1.5;
}
.unit .row {
  margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink); font-weight: 600;
}
.unit .row span { display: inline-flex; gap: 8px; align-items: center; }
.unit .row svg { width: 16px; height: 16px; color: var(--blue); }

/* ===== big CTA ===== */
.cta-banner {
  background:
    radial-gradient(ellipse 70% 80% at 90% 110%, rgba(255,205,45,0.4), transparent 60%),
    radial-gradient(ellipse 60% 90% at 10% 0%, rgba(255,106,71,0.3), transparent 60%),
    var(--blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 72px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute;
  right: 8%; top: 12%;
  width: 80px; height: 80px;
  background: var(--yellow);
  border-radius: 50%;
  filter: blur(0px);
  opacity: .9;
  box-shadow: 0 0 80px rgba(255,205,45,0.6);
}
.cta-banner h2 { color: #fff; font-size: clamp(36px, 4vw, 54px); max-width: 640px; position: relative; z-index: 1; }
.cta-banner .lead { color: rgba(255,255,255,0.85); margin-top: 18px; max-width: 520px; font-size: 17px; position: relative; z-index: 1; }
.cta-banner .ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-banner .badge-big {
  position: relative; z-index: 1;
  background: var(--paper); color: var(--blue-deep);
  border-radius: 24px; padding: 28px 32px;
  text-align: center; min-width: 220px;
  box-shadow: var(--shadow-lg);
}
.cta-banner .badge-big strong { display: block; font-family: var(--display); font-size: 56px; line-height: 1; color: var(--coral); }
.cta-banner .badge-big small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-top: 6px; font-weight: 700; }
.cta-banner .badge-big .yr { font-size: 22px; color: var(--blue-deep); margin-top: 10px; font-weight: 800; }

/* ===== footer ===== */
footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
footer h4 {
  color: #fff; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--body); font-weight: 700; margin-bottom: 18px;
}
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer ul a:hover { color: var(--yellow); }
footer .brand { color: #fff; }
footer .brand small { color: rgba(255,255,255,0.5); }
footer p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.6); }
footer .socials { display: flex; gap: 10px; margin-top: 18px; }
footer .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  transition: background .2s ease;
}
footer .socials a:hover { background: var(--yellow); color: var(--blue-deep); }
footer .brand .logo { width: auto; height: auto; background: #fff; padding: 10px 14px; border-radius: 12px; display: inline-flex; align-items: center; }
footer .brand .logo img { filter: none; max-height: 56px; width: auto; height: auto; }
footer .brand .name { display: block; color: #fff; font-size: 16px; }
footer .brand .name small { color: rgba(255,255,255,0.6); }
footer .socials svg { width: 16px; height: 16px; }
footer .copyright {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* ===== whatsapp float ===== */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,0.6);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 28px; height: 28px; }

/* ===== tweaks panel (custom, simples) ===== */
.tweaks {
  position: fixed; left: 24px; bottom: 24px; z-index: 60;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  width: 280px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  display: none;
}
.tweaks.open { display: block; }
.tweaks h5 { margin: 0 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-family: var(--body); font-weight: 800; }
.tweaks .row { margin-bottom: 14px; }
.tweaks label { display: block; font-weight: 600; color: var(--slate); margin-bottom: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.tweaks .swatches { display: flex; gap: 8px; }
.tweaks .swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease;
}
.tweaks .swatch:hover { transform: scale(1.1); }
.tweaks .swatch.active { border-color: var(--ink); transform: scale(1.08); }
.tweaks .seg { display: flex; gap: 4px; background: var(--cream); padding: 4px; border-radius: 12px; }
.tweaks .seg button {
  flex: 1; padding: 8px 10px; border-radius: 9px;
  font-size: 12px; font-weight: 700; color: var(--slate);
}
.tweaks .seg button.active { background: var(--paper); color: var(--blue-deep); box-shadow: var(--shadow-sm); }
.tweaks .close {
  position: absolute; right: 12px; top: 12px;
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; color: var(--slate);
}
.tweaks .close:hover { background: var(--cream); color: var(--ink); }

/* ===== reveal on scroll ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== responsive ===== */
@media (max-width: 1024px) {
  section { padding: 80px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 50px; padding-top: 50px; padding-bottom: 70px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .course-panel.active { grid-template-columns: 1fr; gap: 36px; }
  .course-panel .features { grid-template-columns: 1fr; }
  .diff-card.big, .diff-card.med, .diff-card.sm { grid-column: span 12; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 8px; transform: none; }
  .tl-item:nth-child(odd), .tl-item:nth-child(even) {
    grid-column: 1; text-align: left; padding-left: 36px; padding-right: 0; margin-top: 0;
  }
  .tl-item:nth-child(odd) p { margin-left: 0; }
  .tl-item::before { left: 0 !important; right: auto !important; }
  .units { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(6, 1fr); }
  .g1, .g6 { grid-column: span 6; }
  .g2, .g3, .g4, .g5, .g7 { grid-column: span 3; }
  .depo-grid { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 48px; }
  footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav ul { display: none; }
  .nav .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cream); }
  .nav .cta { display: none; }
  .topbar .phones { display: none; }
  .hero h1 { font-size: 44px; }
  .hero .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .values { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .g1, .g2, .g3, .g4, .g5, .g6, .g7 { grid-column: span 2; }
  footer .container { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px; }
  .collage .stamp { width: 100px; height: 100px; left: -10px; }
  .tweaks { width: calc(100vw - 48px); }
}
