/* ---------- Tokens ---------- */
:root {
  --navy-deep: #10405E;
  --navy: #1A628F;
  --blue-mid: #1A628F;
  --blue-bright: var(--cream);
  --red: #892929;
  --red-light: #A33333;
  --cream: #F1ECDC;
  --cream-soft: #E6DFC9;
  --white: #F1ECDC;
  --steel: #6b7f8f;
  --whatsapp: #25D366;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;.photo-placeholder img
  --font-utility: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --navbar-h: 88px;
}

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed/BarlowCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed/BarlowCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed/BarlowCondensed-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed/BarlowCondensed-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed/BarlowCondensed-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed/BarlowCondensed-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
}
html { overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.wrap { width: min(92%, 1200px); margin-inline: auto; }

/* ---------- Global halftone overlay ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, .55) 1px, transparent 1.4px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
  opacity: .11;
}
@media (max-width: 480px) {
  body::after { opacity: .07; }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--red); color: var(--white); }

/* ---------- Section color themes ---------- */
.section-navy-deep {
  --bg: var(--navy-deep);
  --fg: var(--white);
  --muted: rgba(241, 236, 220, .68);
  --card-bg: var(--navy);
  --card-border: rgba(241, 236, 220, .12);
  --accent: var(--blue-bright);
  background: var(--bg);
  color: var(--fg);
}
.section-navy {
  --bg: var(--navy);
  --fg: var(--white);
  --muted: rgba(241, 236, 220, .68);
  --card-bg: var(--navy-deep);
  --card-border: rgba(241, 236, 220, .12);
  --accent: var(--blue-bright);
  background: var(--bg);
  color: var(--fg);
}
.section-white {
  --bg: var(--white);
  --fg: var(--navy-deep);
  --muted: #4c5c6e;
  --card-bg: #ffffff;
  --card-border: rgba(16, 64, 94, .1);
  --accent: var(--blue-mid);
  background: var(--bg);
  color: var(--fg);
}
.section-red {
  --bg: var(--red);
  --fg: var(--white);
  --muted: rgba(241, 236, 220, .85);
  --card-bg: var(--navy-deep);
  --card-border: rgba(241, 236, 220, .18);
  --accent: var(--white);
  background: var(--bg);
  color: var(--fg);
}

.section { padding-block: clamp(4rem, 8vw, 7rem); }

.starfield { position: relative; }
.starfield::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 20%, rgba(241, 236, 220, .5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 65%, rgba(241, 236, 220, .35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 15%, rgba(241, 236, 220, .45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 80%, rgba(241, 236, 220, .3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 68% 35%, rgba(241, 236, 220, .5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 82% 60%, rgba(241, 236, 220, .35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 92% 25%, rgba(241, 236, 220, .45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 12% 88%, rgba(241, 236, 220, .3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 46% 45%, rgba(241, 236, 220, .4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 75% 92%, rgba(241, 236, 220, .3) 50%, transparent 51%);
  background-repeat: repeat;
  background-size: 480px 480px;
}
.starfield > * { position: relative; z-index: 1; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-utility);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
}
h1, h2, h3 { font-weight: 500; }
h1 strong, h2 strong, h3 strong,
h1 .text-red, h1 .text-blue-bright {
  font-weight: 700;
  font-style: italic;
}
h2 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: .98;
}
h3 { font-size: 1.35rem; line-height: 1.15; }
.lead {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.6;
}
.text-red { color: var(--red); }
.text-blue-bright { color: var(--blue-bright); }

.section-head { max-width: 42rem; margin-bottom: 3.5rem; }
.section-head--left { margin-bottom: 2.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-utility);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  padding: .95rem 1.6rem;
  border-radius: 0;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #6e2020; }
.btn--ghost { border-color: rgba(241, 236, 220, .3); color: var(--fg); }
.btn--ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.btn--outline-dark { border-color: rgba(16, 64, 94, .25); color: var(--navy-deep); }
.btn--outline-dark:hover { border-color: var(--blue-mid); color: var(--blue-mid); }
.btn--lg { padding: 1.2rem 2rem; font-size: .95rem; }

/* ---------- Navbar (lives inside the hero only, scrolls away with it) ---------- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: transparent;
  padding-block: 1.1rem;
}
.navbar__inner { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand__logo { height: 72px; width: auto; }
.footer .brand__logo { height: 72px; }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--red); }
.navbar.is-scrolled .nav-links a { color: var(--cream); }
.navbar.is-scrolled .nav-links a:hover { color: #fff; }

@media (min-width: 992px) {
  .navbar__inner { justify-content: space-between; }
  .nav-links { display: flex; }
}

/* ---------- Hero pin (desktop: next section slides up and covers the hero) ---------- */
.hero-pin { position: relative; }
.hero-pin__inner { position: relative; }

.hero-cover { position: relative; z-index: 2; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__banner { display: block; width: 100%; height: auto; }

.hero--crest {
  background-color: var(--cream);
  background-image: url("../assets/backgrounds/bg%20hero/background-heromobile.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  padding-block: 0;
  aspect-ratio: 1080 / 1772;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .hero--crest {
    background-image: url("../assets/backgrounds/bg%20hero/background-herodesktop.png");
    background-position: center;
    padding-block: 0;
    justify-content: center;
    aspect-ratio: 2560 / 1080;
  }
}
.crest {
  position: relative;
  z-index: 1;
  width: min(92%, 1200px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding-top: calc(12vw + 4rem);
}
.crest__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
}
.crest__ribbon { width: min(100%, 520px); color: var(--red); }
.crest__ribbon text, .crest__ribbon textPath {
  font-family: var(--font-utility);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 1.15rem;
  fill: var(--red);
}
.crest__ribbon--top { margin-bottom: -1.5rem; margin-left: -1.25rem; }
.crest__ribbon--bottom { margin-top: -1.5rem; margin-left: -1.25rem; }

.crest__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(3.2rem, 9vw, 4.4rem);
  line-height: 1.08;
  color: var(--navy-deep);
}

.crest__badge {
  position: relative;
  width: 84px;
  height: 84px;
  margin-block: .75rem;
  border-radius: 999px;
  background: var(--navy-deep);
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.crest__star {
  position: absolute;
  top: -22px;
  width: 20px;
  height: 20px;
  color: var(--red);
}
.crest__badge-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: #fff;
}

.crest__lead {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: .525rem;
  line-height: 1.65;
  color: rgba(16, 64, 94, .78);
}

@media (min-width: 992px) {
  .crest__lead { font-size: 1.05rem; max-width: 21rem; }
}
.crest__lead strong { color: var(--navy-deep); }

.crest__cta { margin-top: .85rem; padding: .75rem 1.4rem; font-size: .78rem; }

@media (min-width: 640px) {
  .crest__title { font-size: clamp(3.2rem, 5vw, 4rem); }
}

@media (min-width: 992px) {
  .crest__title { white-space: nowrap; }
}

@media (min-width: 992px) {
  .crest {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 3rem;
    padding-top: 0;
  }
  .crest__copy { max-width: 40%; align-items: flex-end; text-align: right; }
}

.badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.badges li {
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .55rem 1.1rem;
  border: 1px solid rgba(241, 236, 220, .16);
  border-radius: 999px;
  background: rgba(241, 236, 220, .05);
  color: rgba(241, 236, 220, .8);
}

/* ---------- Marquee ---------- */
/* ---------- Scallop (stamp/ticket perforation divider) ---------- */
.scallop {
  height: 20px;
  background-image:
    radial-gradient(circle at 10px 10px, var(--scallop-bottom, var(--white)) 10px, transparent 10.5px),
    linear-gradient(to bottom, var(--scallop-top, var(--navy-deep)) 50%, var(--scallop-bottom, var(--white)) 50%);
  background-size: 20px 20px, 100% 100%;
  background-repeat: repeat-x, no-repeat;
}

.marquee {
  background: var(--red);
  overflow: hidden;
  padding-block: .9rem;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.3rem);
  padding-inline: 1.5rem;
  white-space: nowrap;
  color: #fff;
}
.marquee__item i { width: 8px; height: 8px; border-radius: 999px; background: var(--navy-deep); display: block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Photo placeholder ---------- */
.photo-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  background-image: repeating-linear-gradient(135deg, rgba(241, 236, 220, .045) 0, rgba(241, 236, 220, .045) 2px, transparent 2px, transparent 14px);
  border: 1px solid rgba(241, 236, 220, .1);
  overflow: hidden;
  min-height: 220px;
}
.photo-placeholder span {
  font-family: var(--font-utility);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .7rem;
  color: var(--steel);
  text-align: center;
  padding: 0 1.5rem;
  line-height: 1.6;
}
.photo-placeholder img {
  /*position: absolute;*/
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.benefits-grid__photo { position: relative; border-radius: 1.25rem; overflow: hidden; min-height: 280px; }
.benefits-grid__photo .photo-placeholder { position: absolute; inset: 0; }
.benefits-grid__photo-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(16, 64, 94, .92), rgba(16, 64, 94, 0));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  text-transform: none;
  line-height: 1.2;
}

.benefit-card {
  border-radius: 1.25rem;
  padding: 1.75rem;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--card-border);
  transition: transform .3s ease, box-shadow .3s ease;
  transform-origin: center;
}
.benefit-card:hover { transform: translateY(-3px) scale(1.025); box-shadow: 0 16px 30px -18px rgba(16, 64, 94, .35); }
.benefit-card h3 { margin-bottom: .85rem; }
.benefit-card p { font-size: .92rem; line-height: 1.55; }

.benefit-card--navy { background: var(--navy-deep); color: #fff; }
.benefit-card--navy p { color: rgba(241, 236, 220, .65); }
.benefit-card--light { background: #fff; color: var(--navy-deep); box-shadow: 0 18px 40px -30px rgba(16, 64, 94, .35); }
.benefit-card--light p { color: #56677a; }
.benefit-card--red { background: var(--red); color: #fff; }
.benefit-card--red p { color: rgba(255, 255, 255, .9); }

.benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-deep);
}
.benefit-card--navy .benefit-card__icon,
.benefit-card--red .benefit-card__icon { background: rgba(255, 255, 255, .15); color: #fff; }
.benefit-card--light .benefit-card__icon { background: var(--white); color: var(--blue-mid); }

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid__photo { grid-column: span 2; }
}
@media (min-width: 992px) {
  .benefits-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(160px, auto); }
  .benefits-grid__photo { grid-column: span 3; grid-row: span 2; }
  .benefit-card { grid-column: span 1; }
}

/* ---------- Methodology ---------- */
.methodology__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.pillars { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.pillar {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.1rem;
  padding: 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease;
  transform-origin: center;
}
.pillar:hover { transform: translateY(-3px) scale(1.025); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .35); }
.pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-mid);
  margin-bottom: 1.1rem;
}
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.pillar p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

/* ---------- About (Quem somos) ---------- */
.about-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--navy-deep);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
  transition: transform .3s ease;
}
.about-card:hover { transform: scale(1.015); }
.about-card__text {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 3.25rem);
  max-width: 34rem;
}
.about-card__eyebrow { color: var(--steel); }
.about-card h2 { font-style: normal; }
.about-card .lead { color: #5a6a7a; }
.about-card__text .btn { margin-top: 1.75rem; }

.about-card__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  min-height: 240px;
  background: var(--navy-deep);
  background-image: radial-gradient(rgba(241, 236, 220, .08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.about-card__graphic svg { width: 100%; height: 100%; }
.about-card__ball {
  offset-path: path("M60,210 C150,90 150,320 300,150 S420,60 460,150");
  animation: travel-ball 8s ease-in-out infinite;
}
@keyframes travel-ball {
  0%, 100% { offset-distance: 0%; }
  50% { offset-distance: 100%; }
}

@media (min-width: 768px) {
  .about-card { flex-direction: row; align-items: stretch; }
  .about-card__graphic { flex-basis: 42%; }
}

/* ---------- Stages (Turmas) ---------- */
.stages { position: relative; display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.5rem; }
.stages__line { display: none; }
.stage__dot {
  display: block;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(137, 41, 41, .18);
  margin-bottom: 1.1rem;
  animation: dot-pulse 2.4s ease-in-out infinite;
}
.stage h3 { margin-bottom: .6rem; }
.stage p { font-size: .92rem; color: var(--muted); max-width: 20rem; line-height: 1.55; }
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(137, 41, 41, .18); }
  50% { box-shadow: 0 0 0 8px rgba(137, 41, 41, .1); }
}

.consult-bar {
  margin-top: 3.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-start;
}
.consult-bar p { font-size: 1.05rem; color: var(--fg); max-width: 32rem; }

@media (min-width: 768px) {
  .stages { grid-template-columns: repeat(3, 1fr); }
  .stages__line {
    display: block;
    position: absolute;
    top: 6px; left: 0; right: 0; height: 1px;
    background: linear-gradient(to right, transparent, rgba(16, 64, 94, .4), transparent);
  }
  .consult-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Gallery ticker ---------- */
.gallery-ticker {
  overflow: hidden;
  margin-top: 2.5rem;
}
.gallery-ticker__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee 40s linear infinite reverse;
}
.gallery-ticker__item {
  flex: 0 0 auto;
  width: clamp(190px, 20vw, 260px);
  aspect-ratio: 3 / 4;
  border-radius: 1.1rem;
  overflow: hidden;
}
.gallery-ticker__item .photo-placeholder { width: 100%; height: 100%; transition: transform .35s ease; }
.gallery-ticker__item:hover .photo-placeholder { transform: scale(1.06); }
.gallery__note { margin-top: 3rem; font-size: 1.2rem; color: var(--muted); max-width: 38rem; line-height: 1.6; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Experiences (Vivências que transformam) ---------- */
.experiences__label {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--card-border);
  font-family: var(--font-utility);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .75rem;
  color: var(--accent);
}

.experiences-ticker {
  overflow: hidden;
  margin-top: 1.75rem;
}
.experiences-ticker__track {
  display: flex;
  width: max-content;
  gap: .75rem;
  animation: marquee 26s linear infinite;
}
.experiences-ticker__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: .85rem;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--fg);
}

/* ---------- Family (Vivências da família) — stacked sticky card sequence ---------- */
.family-scroll-section { padding-block: 0; }

.family-grid {
  width: min(92%, 1200px);
  margin-inline: auto;
}

.family-copy__inner { padding-block: clamp(3rem, 8vw, 5rem) 1rem; max-width: 34rem; }
.family-copy__title { font-size: clamp(2.9rem, 6vw, 4.6rem); }

.family-cards-track { position: relative; }
.family-card-step { position: relative; padding-block: 1.25rem; }

.family-exp-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--navy-deep);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .45);
  transition: transform .3s ease;
}
.family-exp-card:hover { transform: scale(1.02); }
.family-exp-card__media { flex: 0 0 auto; }
.family-exp-card__media .photo-placeholder { width: 100%; height: 100%; min-height: 200px; }
.img-familia-fortaleza { object-position: center 34%; }

@media (min-width: 992px) {
  .img-familia-fortaleza { object-position: center 22%; }
}
.family-exp-card__body {
  flex: 1;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
}
.family-exp-card__body h3 { font-size: 1.3rem; }
.family-exp-card__body p { font-size: .92rem; color: #5a6a7a; line-height: 1.5; max-width: 32rem; }
.family-exp-card__tag {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  font-size: .92rem;
  color: var(--blue-mid);
}
.family-exp-card__bars { display: flex; gap: .5rem; width: 9rem; height: .5rem; margin-top: .3rem; }
.family-exp-card__bars span { display: block; flex: 1; border-radius: 1px; }
.family-exp-card__bars span:nth-child(1) { background: var(--navy); }
.family-exp-card__bars span:nth-child(2) { background: var(--white); border: 1px solid var(--card-border); }
.family-exp-card__bars span:nth-child(3) { background: var(--red); }

.family-values {
  margin-top: 1rem;
  padding-top: 2rem;
  padding-bottom: clamp(3rem, 8vw, 5rem);
  border-top: 1px solid var(--card-border);
  text-align: center;
  font-family: var(--font-utility);
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.family-values strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: .6rem;
  letter-spacing: normal;
}

/* Desktop: two-column pinned layout — each card step sticks in turn, stacking over the last */
@media (min-width: 901px) {
  .family-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(480px, 1.05fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    min-height: calc(5 * 100vh);
  }
  .family-copy {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
  }
  .family-copy__inner { padding-block: 0; }

  .family-card-step {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-block: 0;
  }
  .family-exp-card {
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    min-height: clamp(320px, 34vw, 420px);
  }
  .family-exp-card__media { flex: 0 0 42%; }
  .family-exp-card__body { padding: 2.25rem 2.5rem; }
  .family-exp-card__body h3 { font-size: 1.6rem; }
}

/* ---------- Steps (Como agendar) ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3rem; }
.step__n { display: block; font-family: var(--font-display); font-weight: 900; font-size: 4.5rem; line-height: 1; color: rgba(241, 236, 220, .08); }
.step h3 { margin-top: .5rem; position: relative; margin-bottom: .7rem; font-size: 1.15rem; }
.step p { font-size: .92rem; color: var(--muted); max-width: 20rem; line-height: 1.55; }
.center-cta { text-align: center; margin-top: 3.5rem; }

@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Location ---------- */
.location-card {
  --fg: var(--white);
  --muted: rgba(241, 236, 220, .68);
  --accent: var(--blue-bright);
  margin-top: 2.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--navy-deep);
  display: grid;
  grid-template-columns: 1fr;
}
.location-card__info { padding: clamp(1.75rem, 5vw, 2.75rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; color: #fff; }
.location-card__info h3 { font-size: 1.5rem; line-height: 1.2; }
.location-card__info h3 span { display: block; color: var(--blue-bright); }
.location-card__info address { margin-top: 1.4rem; color: rgba(241, 236, 220, .75); line-height: 1.7; }
.location-card__actions { display: flex; flex-direction: column; gap: .75rem; }
.location-card__actions .btn { width: 100%; }
.location-card__ig { text-align: center; padding: .5rem; font-family: var(--font-utility); font-weight: 700; font-size: .85rem; color: rgba(241, 236, 220, .7); transition: color .2s ease; }
.location-card__ig:hover { color: var(--blue-bright); }
.location-card__map { min-height: 320px; }
.location-card__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

@media (min-width: 992px) {
  .location-card { grid-template-columns: 1fr 1.2fr; }
}

/* ---------- Final CTA ---------- */
.final-cta { position: relative; padding-block: clamp(5rem, 10vw, 8rem); overflow: hidden; text-align: center; }
.final-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--navy-deep) 5%, rgba(16, 64, 94, .55) 55%, rgba(16, 64, 94, .82));
}
.final-cta__content { position: relative; max-width: 42rem; margin-inline: auto; }
.final-cta__content p { margin-top: 1.4rem; font-size: 1.1rem; color: rgba(241, 236, 220, .85); line-height: 1.6; }
.final-cta__content .btn { margin-top: 1.8rem; }
.final-cta__micro { margin-top: 1rem !important; font-size: .9rem !important; color: rgba(241, 236, 220, .6) !important; }

/* ---------- Footer ---------- */
.footer { padding-top: 4.5rem; padding-bottom: 2rem; border-top: 1px solid rgba(241, 236, 220, .08); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer address { margin-top: 1.25rem; font-size: .9rem; color: rgba(241, 236, 220, .6); line-height: 1.7; }
.footer__values {
  margin-top: 1.1rem;
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-bright);
}
.footer__label { font-family: var(--font-utility); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--steel); margin-bottom: 1rem; }
.footer__links li { margin-bottom: .65rem; }
.footer__links a { font-size: .9rem; color: rgba(241, 236, 220, .6); transition: color .2s ease; }
.footer__links a:hover { color: var(--blue-bright); }
.footer__contact { display: block; margin-bottom: .65rem; font-size: .9rem; color: rgba(241, 236, 220, .6); transition: color .2s ease; }
.footer__contact:hover { color: var(--blue-bright); }
.footer__bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(241, 236, 220, .08);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .75rem;
  color: rgba(241, 236, 220, .4);
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer__bottom p:last-child { max-width: 26rem; text-align: right; }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  width: 58px; height: 58px;
  border-radius: 999px;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
  animation: pulse-whatsapp 2.6s ease-in-out infinite;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ---------- CTA modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 64, 94, .72);
  backdrop-filter: blur(3px);
}
.modal__box {
  position: relative;
  z-index: 1;
  width: min(92%, 380px);
  background: var(--cream);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  transform: scale(.94);
  transition: transform .25s ease;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}
.modal.is-open .modal__box { transform: scale(1); }
.modal__close {
  position: absolute;
  top: .75rem;
  right: .9rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy-deep);
  opacity: .6;
}
.modal__close:hover { opacity: 1; }
.modal__logo { width: 140px; height: auto; }
.modal__text { color: var(--navy-deep); font-size: 1rem; line-height: 1.55; }
.modal__whatsapp { width: 100%; }

/* ---------- Reveal on scroll (retriggers both ways) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* when it exits the viewport it resets so it plays again on the way back */
.reveal.is-hidden-up { opacity: 0; transform: translateY(-24px); transition-delay: 0s; }
.reveal.is-hidden-down { opacity: 0; transform: translateY(30px); transition-delay: 0s; }

/* ---------- Ambient decoration (loops back and forth) ---------- */
.drift { animation: drift 22s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-2%, 1.5%, 0) rotate(.6deg); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .drift, .whatsapp-float, .stage__dot, .about-card__ball, .gallery-ticker__track, .experiences-ticker__track { animation: none !important; }
  .reveal, .reveal.is-hidden-up, .reveal.is-hidden-down { opacity: 1; transform: none; transition: none; }
}
