/*
 * CAMADA VISUAL APROVADA NO FIGMA
 * Esta folha sobrescreve os tokens e dimensões-base de style.css.
 * Organização: fundações, componentes, páginas, responsividade e refinamentos.
 */
/* Fontes locais: nenhuma dependência externa é necessária para renderização. */
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Passatempo";
  src: url("../assets/fonts/nunito-black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

/* Tokens finais do design system. */
:root {
  --color-cream: #f8f4ec;
  --color-white: #fff;
  --color-coral: #e79574;
  --color-coral-soft: #f6cbb9;
  --color-aqua: #8fcfc4;
  --color-aqua-soft: #cce9e4;
  --color-sage: #b7cc8e;
  --color-sage-soft: #dfe9cc;
  --color-honey: #d9a94a;
  --color-honey-soft: #f3dda2;
  --color-pink: #dd8fa0;
  --color-pink-soft: #f1cbd5;
  --color-earth: #4a3226;
  --color-ink: #15110f;
  --color-text: #3d3d3d;
  --color-muted: #66615d;
  --color-line: #ded7cd;
  --font-display: "Nunito Passatempo", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-size-description: 16px;
  --font-size-description-mobile: 18px;
  --container: 1200px;
  --header-height: 64px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow-card: 0 14px 40px rgb(74 50 38 / 0.08);
}

/* Fundações globais: rolagem, tipografia e largura de conteúdo. */
html {
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  padding-top: var(--header-height);
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-description);
  line-height: 1.625;
}

h1,
h2,
h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.55rem, 11vw, 4.25rem); }
h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 5.4vw, 1.5rem); }

.container {
  width: min(calc(100% - 40px), var(--container));
}

.section {
  padding-block: 72px;
}

.eyebrow {
  margin-bottom: 12px;
  color: #bf6147;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading > p:last-child,
.section-heading--split > p {
  margin-top: 16px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.625;
}

.section-heading--center {
  max-width: 820px;
}

.button {
  min-height: 48px;
  padding: 8px 10px 8px 20px;
  gap: 14px;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.button span {
  width: 32px;
  height: 32px;
  background: var(--color-white);
  color: var(--color-earth);
}

.button--primary,
.button--primary:hover {
  background: var(--color-coral);
  color: var(--color-earth);
  box-shadow: none;
}

/* COMPONENTE: Header e navegação global. */
.site-header {
  height: var(--header-height);
  border: 0;
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 1px 0 rgb(74 50 38 / 0.06);
  backdrop-filter: blur(16px);
  transition: transform 420ms var(--ease-out), opacity 320ms ease;
  will-change: transform, opacity;
}
.site-header.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
}

.site-header__container {
  height: 100%;
  padding-block: 0;
}

.brand {
  width: 150px;
}

.brand img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 11px;
  place-items: center;
  gap: 4px;
  border: 0;
  border-radius: 50%;
  background: var(--color-aqua);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-earth);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

.site-nav,
.js .site-nav {
  top: var(--header-height);
  right: 0;
  left: 0;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--color-line);
  background: var(--color-white);
  box-shadow: 0 18px 30px rgb(74 50 38 / 0.1);
}

.site-nav__list {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  padding: 14px 0 20px;
  gap: 2px;
}

.site-nav__link {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--color-earth);
  font-size: 14px;
  font-weight: 700;
}

.site-nav__link[aria-current="page"] { background: var(--color-cream); }

.site-nav__link--cta,
.site-nav__link--cta:hover {
  margin-top: 4px;
  background: var(--color-earth);
  color: var(--color-white);
  text-align: center;
}

/* COMPONENTE: Heroes da Home, Serviços e Sobre nós. */
.home-hero,
.page-hero {
  overflow: hidden;
  background: var(--color-cream);
}

.page-hero { padding-block: 0; }

.home-hero__container,
.page-hero__container {
  display: grid;
  padding-block: 52px 58px;
  gap: 36px;
  align-items: center;
}

.home-hero__content,
.page-hero__container > div {
  max-width: 570px;
}

.home-hero h1,
.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero__title { position: relative; isolation: isolate; }
.page-title-doodle {
  position: absolute;
  top: -30px;
  right: -42px;
  display: block;
  width: 126px;
  height: auto;
  pointer-events: none;
}

.about-hero-title { position: relative; isolation: isolate; }
.about-title-word { position: relative; display: inline-block; }
.about-title-doodle {
  position: absolute;
  top: 58px;
  right: 18px;
  width: 48px;
  height: 48px;
  pointer-events: none;
}
.about-title-risk {
  position: absolute;
  bottom: -16px;
  left: -6%;
  width: 114%;
  height: 24px;
  pointer-events: none;
}

.home-hero__lead,
.page-hero__container > div > p:last-child {
  max-width: 535px;
  margin: 0 0 28px;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.65;
}

.home-hero__visual,
.page-hero__visual {
  display: block;
  width: 100%;
  justify-self: center;
}

.home-hero__visual img,
.page-hero__visual img {
  width: 100%;
  height: auto;
}

.home-hero__visual { max-width: 570px; }
.page-hero__visual { max-width: 560px; }

/* HOME: Público-alvo e seus cinco cards. */
.target-audience { background: var(--color-white); }
.target-audience__grid { display: grid; gap: 20px; }

.audience-card {
  display: flex;
  min-height: 0;
  padding: 0 24px 28px;
  overflow: hidden;
  flex-direction: column;
  border-radius: 24px;
  box-shadow: none;
}

.audience-card::after { display: none; }
.audience-card--coral { background: var(--color-coral-soft); }
.audience-card--aqua { background: var(--color-aqua-soft); }
.audience-card--honey { background: var(--color-honey-soft); }
.audience-card--sage { background: var(--color-sage-soft); }
.audience-card--pink { background: var(--color-pink-soft); }

.audience-card__image {
  width: calc(100% + 48px);
  height: 200px;
  margin: 0 -24px 22px;
  border-radius: 0;
  object-fit: cover;
}

.audience-card__number {
  margin: 0 0 16px;
  color: var(--color-earth);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
}

.audience-card h3 { margin-bottom: 12px; }
.audience-card p { color: var(--color-text); font-size: 15px; line-height: 1.6; }

/* HOME: Resumo de serviços e cards de modalidades. */
.services-summary { background: var(--color-cream); }
.services-summary__grid { display: grid; gap: 20px; }

.service-card {
  min-height: 0;
  padding: 12px 12px 28px;
  border: 0;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: none;
}

.service-card__image {
  width: 100%;
  height: 210px;
  margin: 0 0 24px;
  border-radius: 16px;
  object-fit: cover;
}

.service-card__icon {
  width: 42px;
  height: 42px;
  margin: 0 12px 16px;
  background: var(--color-coral);
  font-size: 18px;
}

.service-card h3,
.service-card p { margin-right: 12px; margin-left: 12px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--color-text); font-size: 15px; line-height: 1.6; }
.section-action { margin-top: 32px; }

/* HOME: Diferenciais e CTA secundário. */
.differentials {
  background: var(--color-white);
  color: var(--color-text);
}

.differentials h2,
.differentials h3 { color: var(--color-ink); }
.differentials .eyebrow { color: #bf6147; }
.differentials__layout { display: grid; gap: 36px; }
.differentials__heading { margin-bottom: 0; }
.differentials__heading > p:last-of-type { margin-bottom: 24px; color: var(--color-text); }
.differentials__grid { display: grid; gap: 16px; }

.differential-card {
  min-height: 0;
  padding: 26px;
  border: 0;
  border-radius: 22px;
  background: var(--color-cream);
}

.differential-card__dot {
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  border-radius: 50% 50% 42% 58%;
  background: var(--color-coral);
  box-shadow: none;
}

.differential-card h3 { margin-bottom: 12px; }
.differential-card p { color: var(--color-text); font-size: 15px; line-height: 1.6; }

/* HOME: Galeria bento de momentos. */
.memory-gallery { background: var(--color-cream); }
.memory-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 10px;
}

.memory-gallery__item,
.memory-gallery__item--wide,
.memory-gallery__item--tall {
  min-height: 0;
  overflow: hidden;
  grid-column: span 1;
  grid-row: span 1;
  border-radius: 14px;
}

.memory-gallery__item::after { display: none; }
.memory-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.memory-gallery__item:nth-child(1),
.memory-gallery__item:nth-child(7) { grid-column: 1 / -1; }
.memory-gallery__item:nth-child(2),
.memory-gallery__item:nth-child(6),
.memory-gallery__item:nth-child(9) { grid-row: span 2; }

/* HOME: Depoimentos e prova social. */
.testimonials { background: var(--color-white); }
.testimonials__grid { display: grid; gap: 16px; }
.testimonial-card,
.testimonial-card--featured {
  min-height: 250px;
  padding: 28px;
  border: 0;
  border-radius: 24px;
  background: var(--color-cream);
  box-shadow: none;
  transform: none;
}

.testimonial-card { background: var(--color-aqua-soft); }
.testimonial-card:nth-child(2) { background: var(--color-cream); }
.testimonial-card:nth-child(3) { background: var(--color-pink-soft); }
.testimonial-card__stars { color: var(--color-honey); font-size: 18px; letter-spacing: 3px; }
.testimonial-card blockquote { margin: 24px 0 30px; color: var(--color-ink); font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.35; }
.testimonial-card figcaption { margin-top: auto; color: var(--color-text); font-size: 14px; font-weight: 700; }

/* HOME: Contato e formulário de orçamento. */
.contact-section { background: var(--color-cream); }
.contact-section__layout { display: grid; gap: 40px; }
.contact-section__intro h2 { max-width: 510px; }
.contact-section__intro > p:not(.eyebrow) { max-width: 510px; margin-top: 20px; color: var(--color-text); font-size: 17px; }
.contact-section__note {
  display: grid;
  margin-top: 28px;
  padding: 22px;
  gap: 4px;
  border: 0;
  border-radius: 18px;
  background: var(--color-aqua-soft);
}

.contact-form {
  display: grid;
  padding: 28px 22px;
  gap: 18px;
  border: 0;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: none;
}

.contact-form label { margin-bottom: 7px; color: var(--color-earth); font-size: 14px; font-weight: 700; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 50px;
  border: 1px solid #eee9e3;
  border-radius: 10px;
  background: #faf9f7;
}
.contact-form textarea { min-height: 132px; }
.contact-form__actions { align-items: flex-start; }

/* PÁGINA SERVIÇOS: Detalhes das quatro modalidades. */
.service-detail { background: var(--color-white); }
.service-detail--tinted { background: var(--color-cream); }
.service-detail__heading { max-width: 880px; margin-bottom: 36px; text-align: center; }
.service-detail__heading .eyebrow { margin-bottom: 12px; }
.service-detail__layout { display: grid; gap: 24px; }

.service-detail__intro {
  display: flex;
  min-height: 0;
  padding: 28px;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 24px;
}

.service-detail__intro::after { opacity: 0.14; }
.service-detail__intro--coral { background: var(--color-coral-soft); }
.service-detail__intro--aqua { background: var(--color-aqua-soft); }
.service-detail__intro--honey { background: var(--color-honey-soft); }
.service-detail__intro--sage { background: var(--color-sage-soft); }
.service-detail__number { margin-bottom: 44px; font-size: 16px; }
.service-detail__intro h3 { margin-bottom: 14px; }
.service-detail__intro > p { margin-bottom: 24px; color: var(--color-text); }
.service-detail__intro .button { margin-top: auto; }

.service-detail__content { display: flex; flex-direction: column; }
.service-detail__media {
  height: 260px;
  margin-bottom: 24px;
  order: 0;
  overflow: hidden;
  border-radius: 24px;
}
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__content > h3,
.service-detail__content > p,
.info-callout { display: none; }
.feature-list { order: 1; gap: 0; }
.feature-list li {
  padding: 19px 0 19px 34px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
}
.feature-list li::before {
  top: 18px;
  width: 18px;
  height: 18px;
  content: "✱";
  transform: none;
  background: transparent;
  color: var(--color-aqua);
  font-size: 26px;
  line-height: 1;
}
.feature-list strong { color: var(--color-ink); }

/* PÁGINA SOBRE NÓS: Manifesto, diretrizes, liderança e experiência. */
.about-intro__layout { display: grid; gap: 28px; }
.about-intro__statement { max-width: 600px; }
.about-intro__copy { max-width: 560px; padding: 0; border: 0; color: var(--color-text); font-size: 17px; }
.about-intro__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-intro__photos figure { height: 180px; border-radius: 18px; }
.about-intro__photos img { width: 100%; height: 100%; object-fit: cover; }
.about-intro__photos figure:first-child img { object-position: center 25%; }

.principles { background: var(--color-cream); }
.principles__grid { display: grid; gap: 16px; }
.principle-card {
  min-height: 0;
  padding: 28px;
  border-radius: 24px;
  box-shadow: none;
}
.principle-card--mission { background: var(--color-coral-soft); }
.principle-card--vision { background: var(--color-aqua-soft); }
.principle-card--values { background: var(--color-honey-soft); }
.principle-card__icon { width: 44px; height: 44px; margin-bottom: 48px; border-radius: 50%; }
.principle-card h3 { margin-bottom: 14px; }
.principle-card p { color: var(--color-text); font-size: 15px; line-height: 1.6; }

.leadership { background: var(--color-white); }
.leadership__grid { display: grid; gap: 24px; }
.leader-card {
  display: grid;
  padding: 12px;
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--color-coral-soft);
  box-shadow: none;
}
.leader-card--aqua { background: var(--color-aqua-soft); }
.leader-card__portrait { min-height: 340px; border-radius: 20px; background: transparent; }
.leader-card__portrait img { width: 100%; height: 100%; object-fit: cover; }
.leader-card__portrait--tio img { object-position: center top; }
.leader-card__portrait--tia img { object-position: center 22%; }
.leader-card__content { padding: 26px 16px 22px; }
.leader-card__role { margin-bottom: 12px; color: var(--color-earth); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.leader-card h3 { margin-bottom: 18px; }
.leader-card h3 small { margin-top: 6px; color: var(--color-text); font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.leader-card__content > p:not(.leader-card__role) { color: var(--color-text); font-size: 15px; }

.experience { background: var(--color-white); }
.experience__card {
  display: grid;
  padding: 32px 26px;
  gap: 24px;
  border-radius: 28px;
  background: var(--color-cream);
}
.experience__years { color: var(--color-coral); font-family: var(--font-display); font-size: 84px; font-weight: 900; line-height: 0.9; }
.experience__card h2 { margin-bottom: 18px; }
.experience__card p { color: var(--color-text); }

/* COMPONENTE COMPARTILHADO: CTA final das páginas internas. */
.closing-cta {
  padding-block: 64px;
  overflow: hidden;
  background: var(--color-aqua);
  color: var(--color-earth);
}
.closing-cta::before,
.closing-cta::after { display: block; opacity: 0.2; }
.closing-cta__container { max-width: 820px; text-align: center; }
.closing-cta__dot { display: block; width: 14px; height: 14px; margin: 0 auto 22px; border-radius: 50%; background: var(--color-coral); }
.closing-cta h2 { color: var(--color-earth); }
.closing-cta p { max-width: 680px; margin: 18px auto 26px; color: var(--color-earth); }

/* COMPONENTE COMPARTILHADO: Rodapé. */
.site-footer {
  padding: 54px 0 24px;
  background: var(--color-white);
  color: var(--color-text);
}
.site-footer__topline {
  display: flex;
  padding-bottom: 28px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-line);
}
.brand--footer { width: 190px; }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--color-earth); font-size: 13px; font-weight: 700; }
.back-to-top span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--color-earth); border-radius: 50%; }
.site-footer__grid { display: grid; padding-block: 32px; gap: 30px; }
.site-footer__grid strong { display: block; margin-bottom: 14px; color: var(--color-ink); font-family: var(--font-display); font-size: 16px; }
.site-footer__nav { display: grid; justify-items: start; gap: 8px; }
.site-footer__nav a,
.site-footer__contact p,
.site-footer__contact a,
.site-footer__contact span { color: var(--color-text); font-size: 14px; }
.site-footer__contact { display: grid; gap: 12px; }
.site-footer__contact p { display: grid; margin: 0; gap: 2px; }
.site-footer__contact p b { color: var(--color-earth); }
.site-footer__social > div { display: flex; gap: 10px; }
.site-footer__social a { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--color-line); border-radius: 50%; }
.site-footer__social img { width: 18px; height: 18px; }
.site-footer__bottom {
  display: flex;
  padding-top: 22px;
  gap: 14px;
  flex-direction: column;
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: 12px;
}
.site-footer__bottom > span { display: flex; align-items: center; gap: 8px; }
.site-footer__bottom img { width: 96px; height: auto; }

/* BREAKPOINT: tablet. */
@media (min-width: 700px) {
  .container { width: min(calc(100% - 64px), var(--container)); }
  .target-audience__grid,
  .services-summary__grid,
  .testimonials__grid,
  .principles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-card:last-child { grid-column: 1 / -1; }
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form__field--wide { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* BREAKPOINT: desktop. */
@media (min-width: 960px) {
  :root { --header-height: 85px; }
  h1 { font-size: 68px; line-height: 1.06; }
  h2 { font-size: 48px; line-height: 1.15; }
  h3 { font-size: 24px; }
  .section { padding-block: 112px; }
  .eyebrow { font-size: 14px; letter-spacing: 1.62px; }
  .section-heading { margin-bottom: 56px; }

  .brand { width: 174px; }
  .menu-toggle { display: none; }
  .site-nav,
  .js .site-nav {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
  }
  .site-nav__list {
    width: auto;
    padding: 0;
    align-items: center;
    flex-direction: row;
    gap: 4px;
  }
  .site-nav__link { padding: 10px 15px; }
  .site-nav__link--cta,
  .site-nav__link--cta:hover { margin: 0 0 0 8px; padding: 11px 22px; }

  .home-hero__container,
  .page-hero__container {
    grid-template-columns: 0.92fr 1.08fr;
    min-height: 700px;
    padding-block: 70px;
    gap: 50px;
  }
  .home-hero h1,
  .page-hero h1 { margin-bottom: 24px; }
  .home-hero__lead,
  .page-hero__container > div > p:last-child { margin-bottom: 32px; font-size: 20px; line-height: 1.65; }
  .home-hero__visual { width: 620px; max-width: 100%; }
  .page-hero__visual { width: 600px; max-width: 100%; }
  .page-hero--about h1 { font-size: 56px; line-height: 1.2; }

  .section-heading--split { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: 80px; }
  .section-heading--split > div { max-width: 760px; }
  .section-heading--split > p { max-width: 360px; margin-top: 0; }

  .target-audience__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .audience-card { grid-column: span 2; min-height: 520px; padding: 0 28px 30px; }
  .audience-card:nth-child(4),
  .audience-card:last-child { grid-column: span 3; min-height: 500px; }
  .audience-card:last-child { grid-column: span 3; }
  .audience-card__image { width: calc(100% + 56px); height: 230px; margin: 0 -28px 24px; }
  .audience-card:nth-child(4) .audience-card__image,
  .audience-card:nth-child(5) .audience-card__image { height: 250px; }

  .services-summary__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .service-card { padding: 10px 10px 28px; }
  .service-card__image { height: 220px; }
  .section-action { margin-top: 44px; text-align: center; }

  .differentials__layout { grid-template-columns: 0.88fr 1.12fr; gap: 80px; align-items: start; }
  .differentials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .differential-card { min-height: 310px; padding: 30px; }

  .memory-gallery__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(4, 150px);
    grid-auto-rows: 150px;
    gap: 12px;
  }
  .memory-gallery__item:nth-child(1) { grid-area: 1 / 1 / 3 / 4; }
  .memory-gallery__item:nth-child(2) { grid-area: 1 / 4 / 2 / 6; }
  .memory-gallery__item:nth-child(3) { grid-area: 1 / 6 / 2 / 7; }
  .memory-gallery__item:nth-child(4) { grid-area: 2 / 4 / 3 / 5; }
  .memory-gallery__item:nth-child(5) { grid-area: 2 / 5 / 3 / 7; }
  .memory-gallery__item:nth-child(6) { grid-area: 3 / 1 / 5 / 3; }
  .memory-gallery__item:nth-child(7) { grid-area: 3 / 3 / 4 / 5; }
  .memory-gallery__item:nth-child(8) { grid-area: 3 / 5 / 4 / 7; }
  .memory-gallery__item:nth-child(9) { grid-area: 4 / 3 / 5 / 4; }
  .memory-gallery__item:nth-child(10) { grid-area: 4 / 4 / 5 / 5; }
  .memory-gallery__item:nth-child(11) { grid-area: 4 / 5 / 5 / 6; }
  .memory-gallery__item:nth-child(12) { grid-area: 4 / 6 / 5 / 7; }

  .testimonials__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .testimonial-card { min-height: 310px; padding: 32px; }
  .contact-section__layout { grid-template-columns: 0.82fr 1.18fr; gap: 88px; align-items: start; }
  .contact-form { padding: 38px; gap: 22px; }

  .service-detail__heading { margin-bottom: 52px; }
  .service-detail__layout { grid-template-columns: 0.87fr 1.13fr; gap: 28px; align-items: stretch; }
  .service-detail__layout--reverse .service-detail__intro { order: 2; }
  .service-detail__intro { min-height: 620px; padding: 40px; }
  .service-detail__number { margin-bottom: auto; padding-bottom: 60px; }
  .service-detail__media { height: 330px; margin-bottom: 12px; }
  .feature-list li { padding-top: 18px; padding-bottom: 18px; }

  .about-intro__layout { grid-template-columns: 0.9fr 1.1fr; column-gap: 84px; row-gap: 52px; }
  .about-intro__photos { grid-column: 1 / -1; grid-template-columns: 1.18fr 0.82fr; gap: 20px; }
  .about-intro__photos figure { height: 340px; }
  .principles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .principle-card { min-height: 410px; padding: 36px; }
  .leadership__grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 0.72fr 1.28fr; padding: 12px; }
  .leader-card__portrait { min-height: 490px; }
  .leader-card__content { padding: 46px; align-self: center; }
  .experience__card { grid-template-columns: 0.34fr 1.66fr; padding: 58px 64px; gap: 54px; align-items: center; }
  .experience__years { font-size: 154px; }

  .closing-cta { padding-block: 86px; }
  .site-footer { padding-top: 64px; }
  .brand--footer { width: 230px; }
  .site-footer__grid { grid-template-columns: 1.25fr 1fr 0.7fr; padding-block: 42px; }
}

.site-footer__social a {
  border: 0;
  border-radius: 8px;
  background: var(--color-aqua);
}

.site-footer__social a:nth-child(2) { background: var(--color-coral); }

@media (max-width: 430px) {
  .page-hero--about h1 { text-wrap: normal; }
}

@media (min-width: 960px) {
  .home-hero__visual { max-width: none; }
  .page-hero--about h1 { text-wrap: normal; }
}

/* BREAKPOINT: mobile, menu recolhido e componentes empilhados. */
@media (max-width: 959px) {
  .site-header { backdrop-filter: none; }
  .site-nav,
  .js .site-nav {
    position: fixed;
    z-index: 99;
  }
  .js .site-nav { max-height: 0; visibility: hidden; opacity: 0; }
  .js .site-nav.is-open { max-height: 430px; visibility: visible; opacity: 1; }
  .home-hero__visual { order: 2; }
  .page-hero__visual { order: 2; }
  .home-hero__content,
  .page-hero__container > div { order: 1; }
  .page-hero__visual { max-width: 420px; }
  .section-heading--center { text-align: left; }
  .section-heading--center > p:last-child { margin-inline: 0; }
}

@media (max-width: 430px) {
  .home-hero__container,
  .page-hero__container { padding-top: 44px; }
  .home-hero h1,
  .page-hero h1 { font-size: 42px; line-height: 1.08; }
  .page-hero--about h1 { font-size: 39px; }
  .button { width: 100%; justify-content: space-between; }
  .audience-card__image { height: 190px; }
  .service-card__image { height: 200px; }
  .about-intro__photos figure { height: 160px; }
  .site-footer__topline { align-items: flex-start; gap: 20px; }
  .brand--footer { width: 150px; }
}

/* RESPONSIVIDADE: Ajustes finais medidos a partir das pranchetas aprovadas. */
:root {
  --color-orange-line: #f07c52;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

.button--primary,
.button--primary:hover,
.contact-form .button {
  background: var(--color-aqua);
  color: var(--color-earth);
}

.button {
  letter-spacing: .025em;
  text-transform: uppercase;
}

.button--primary:hover,
.contact-form .button:hover {
  background: #a5ddd4;
}

.button span {
  transition: transform 260ms var(--ease-out), background-color 260ms ease;
}

.button:hover span,
.button:focus-visible span {
  transform: translateX(4px) rotate(-10deg);
  background: rgb(255 255 255 / .78);
}

.site-nav__link[aria-current="page"] {
  background: transparent;
  color: #ce6a4d;
}

.site-nav__link--cta,
.site-nav__link--cta:hover {
  background: var(--color-aqua);
  color: var(--color-earth);
}

.scribble-heading {
  position: relative;
}

.scribble {
  position: absolute;
  z-index: 1;
  display: block;
  width: 82px;
  height: 58px;
  pointer-events: none;
  background: transparent url("../assets/decor/gallery-scribble.svg") center / contain no-repeat;
  clip-path: inset(0 100% 0 0);
}

.scribble.is-drawn { animation: draw-scribble 900ms var(--ease-out) both; }

.accent-star {
  position: absolute;
  display: block;
  color: var(--color-aqua);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(.35) rotate(-24deg);
}

.accent-star.is-drawn { animation: reveal-star 700ms var(--ease-out) both; }

.scribble--hero,
.scribble--page {
  top: -14px;
  right: -62px;
  width: 76px;
  height: 64px;
  transform: rotate(-12deg);
}

.scribble--differentials,
.scribble--intro,
.scribble--principles {
  right: -70px;
  bottom: -18px;
  transform: rotate(-10deg);
}

.scribble--gallery {
  top: 68px;
  right: -18px;
  width: 94px;
  height: 72px;
  transform: rotate(14deg);
}

.scribble--testimonials {
  right: 16%;
  bottom: -20px;
  width: 92px;
  height: 42px;
  transform: rotate(14deg) scale(.75);
}

@keyframes draw-scribble {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes reveal-star {
  from { opacity: 0; transform: scale(.35) rotate(-24deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* ANIMAÇÃO: Em navegadores modernos, o scroll controla o desenho dos adornos. */
@supports (animation-timeline: view()) {
  .scribble {
    animation: draw-scribble linear both;
    animation-range: entry 4% cover 28%;
    animation-timeline: view();
  }

  .accent-star {
    animation: reveal-star linear both;
    animation-range: entry 8% cover 30%;
    animation-timeline: view();
  }
}

.section-heading--split,
.memory-gallery .section-heading { position: relative; }

.accent-star--services {
  top: 52%;
  right: -10px;
}

.scribble--differentials {
  top: 8px;
  right: -58px;
  bottom: auto;
  transform: rotate(8deg);
}

.scribble--intro {
  top: 18%;
  right: -62px;
  bottom: auto;
  transform: rotate(8deg);
}

.scribble--principles {
  top: 2px;
  right: -78px;
  bottom: auto;
  transform: rotate(12deg);
}

.audience-card {
  isolation: isolate;
}

.audience-card::after,
.principle-card::after,
.closing-cta__container::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
  pointer-events: none;
}

.audience-card::after {
  right: -38px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border: 12px solid rgb(255 255 255 / .48);
  border-radius: 50%;
}

.service-card:nth-child(1) .service-card__icon { background: var(--color-aqua); }
.service-card:nth-child(2) .service-card__icon { background: var(--color-pink); }
.service-card:nth-child(3) .service-card__icon { background: var(--color-honey); }
.service-card:nth-child(4) .service-card__icon { background: var(--color-sage); }

.differential-card__dot { display: none; }
.differential-card__icon {
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
}

.principle-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.principle-card::after {
  top: -52px;
  right: -48px;
  width: 210px;
  height: 210px;
  border-radius: 47% 53% 52% 48%;
  background: rgb(255 255 255 / .18);
  box-shadow: -106px 108px 0 rgb(255 255 255 / .11);
}

.principle-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 19px;
}

.principle-card__icon::before { line-height: 1; }
.principle-card__icon--flag::before { content: "⚑"; }
.principle-card__icon--eye::before { content: "◉"; font-size: 17px; }
.principle-card__icon--heart::before { content: "♡"; font-size: 22px; font-weight: 800; }

.closing-cta {
  padding: 84px 20px;
}

.closing-cta__container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 900px;
  padding: 70px 72px;
  border-radius: 26px;
  background: linear-gradient(100deg, var(--color-cream) 0 70%, var(--color-pink-soft) 70%);
}

.closing-cta__container::before {
  position: absolute;
  z-index: -1;
  bottom: -95px;
  left: -70px;
  display: block;
  width: 250px;
  height: 190px;
  border-radius: 50%;
  background: rgb(143 207 196 / .45);
  content: "";
}

.closing-cta__container::after {
  right: -70px;
  bottom: -70px;
  width: 250px;
  height: 210px;
  border-radius: 50%;
  background: rgb(221 143 160 / .20);
}

.closing-cta .button--primary,
.closing-cta .button--primary:hover { background: var(--color-aqua); }

@media (max-width: 959px) {
  .section { padding-block: 58px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  h1 { font-size: clamp(2.3rem, 10.5vw, 3.25rem); }
  h2 { font-size: clamp(1.95rem, 8.2vw, 2.6rem); }
  h3 { font-size: clamp(1.2rem, 5.2vw, 1.45rem); }

  .site-nav,
  .js .site-nav {
    transform: translateY(-12px);
    transition: max-height 420ms var(--ease-out), opacity 260ms ease, visibility 260ms ease, transform 420ms var(--ease-out);
  }

  .js .site-nav.is-open { transform: translateY(0); }
  .site-nav__list { padding: 18px 0 24px; }
  .site-nav__link { padding-block: 12px; }

  .home-hero__container,
  .page-hero__container {
    padding-block: 42px 48px;
    gap: 28px;
  }

  .home-hero__lead,
  .page-hero__container > div > p:last-child {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .home-hero__visual,
  .page-hero__visual {
    width: calc(100% + 48px);
    max-width: 488px;
    margin-inline: -24px;
    justify-self: center;
  }
  .scribble { width: 58px; height: 46px; }
  .scribble--hero,
  .scribble--page { top: -8px; right: -8px; }
  .scribble--differentials,
  .scribble--intro,
  .scribble--principles { top: -6px; right: -2px; bottom: auto; }
  .scribble--gallery { top: 34px; right: -2px; bottom: auto; }
  .scribble--testimonials { right: 4%; bottom: -18px; }
  .accent-star--services { top: auto; right: 2px; bottom: -34px; font-size: 32px; }

  .section-heading { margin-bottom: 30px; }
  .target-audience__grid,
  .services-summary__grid,
  .differentials__grid,
  .testimonials__grid,
  .principles__grid { gap: 16px; }
  .audience-card { padding: 0 22px 24px; border-radius: 20px; }
  .audience-card__image { width: calc(100% + 44px); height: 205px; margin: 0 -22px 18px; }
  .audience-card p,
  .service-card p,
  .differential-card p,
  .principle-card p { line-height: 1.55; }

  .service-card { padding: 10px 10px 24px; border-radius: 20px; }
  .service-card__image { height: 205px; margin-bottom: 20px; }
  .service-card__icon { width: 38px; height: 38px; margin-bottom: 14px; }
  .differential-card { padding: 24px; border-radius: 18px; }
  .differential-card__icon { width: 32px; height: 32px; margin-bottom: 18px; }

  .memory-gallery { background: var(--color-white); }
  .memory-gallery__grid { grid-auto-rows: 122px; gap: 8px; }
  .memory-gallery__item { border-radius: 12px; }

  .testimonial-card,
  .testimonial-card--featured { min-height: 230px; padding: 24px; border-radius: 18px; }
  .testimonial-card blockquote { margin: 18px 0 24px; font-size: 18px; }
  .contact-section__layout { gap: 28px; }
  .contact-form { padding: 22px 18px; border-radius: 18px; }

  .service-detail__heading { margin-bottom: 26px; text-align: left; }
  .service-detail__layout { gap: 18px; }
  .service-detail__intro { padding: 24px; border-radius: 20px; }
  .service-detail__number { margin-bottom: 30px; }
  .service-detail__media { height: 224px; margin: 6px 0 12px; border-radius: 18px; }
  .service-detail__media { order: 2; margin-top: 12px; }
  .feature-list { order: 1; }
  .feature-list li { padding: 16px 0 16px 30px; line-height: 1.55; }
  .feature-list li::before { top: 19px; }

  .about-intro__photos { grid-template-columns: 1fr; }
  .about-intro__photos figure { height: 235px; }
  .principle-card { padding: 24px; }
  .principle-card__icon { margin-bottom: 36px; }
  .leader-card { padding: 8px; border-radius: 20px; background: var(--color-white); box-shadow: var(--shadow-card); }
  .leader-card--aqua { background: var(--color-white); }
  .leader-card__portrait { min-height: 300px; border-radius: 14px; }
  .leader-card__content { padding: 22px 14px 18px; }
  .experience__card { padding: 26px 22px; border-radius: 20px; }

  .closing-cta { padding: 58px 16px; }
  .closing-cta__container { padding: 44px 20px; border-radius: 20px; }
  .closing-cta .button { width: 100%; }
  .site-footer { padding-top: 44px; }
  .site-footer__topline { padding-bottom: 22px; }
  .site-footer__grid { padding-block: 28px; gap: 26px; }
}

@media (min-width: 960px) {
  body { font-size: 16px; }
  h1 { font-size: 64px; }
  h2 { font-size: 45px; }
  h3 { font-size: 22px; }
  .section { padding-block: 104px; }

  .home-hero__container {
    grid-template-columns: 635px minmax(0, 1fr);
    min-height: 700px;
    padding-block: 58px;
    gap: 34px;
  }
  .home-hero__content { max-width: 635px; }
  .home-hero h1 { max-width: 635px; font-size: 62px; line-height: 1.02; }
  .home-hero__visual { width: 630px; transform: translateX(18px); }
  .home-hero .button { min-width: 385px; }

  .page-hero__container {
    grid-template-columns: minmax(0, 600px) minmax(0, 600px);
    min-height: 650px;
    padding-block: 55px;
    gap: 46px;
  }
  .page-hero h1 { font-size: 62px; line-height: 1.04; }
  .page-hero--about h1 { font-size: 56px; line-height: 1.08; }
  .page-hero__visual { width: 590px; }

  .target-audience { padding-block: 92px 112px; }
  .target-audience .section-heading { max-width: 660px; }
  .target-audience__grid { gap: 22px; }
  .audience-card { min-height: 500px; }
  .audience-card:nth-child(4),
  .audience-card:nth-child(5) { min-height: 425px; }
  .audience-card__image { height: 220px; }
  .audience-card:nth-child(4) .audience-card__image,
  .audience-card:nth-child(5) .audience-card__image { height: 178px; }

  .services-summary { padding-block: 100px 96px; }
  .services-summary__grid { gap: 18px; }
  .service-card { padding-bottom: 24px; }
  .service-card__image { height: 190px; }
  .service-card p { line-height: 1.55; }

  .differentials { padding-block: 104px 142px; }
  .differentials__layout { grid-template-columns: 360px minmax(0, 1fr); gap: 74px; }
  .differentials__heading { padding-top: 34px; }
  .differentials__grid { gap: 16px; }
  .differential-card { min-height: 284px; padding: 26px; }
  .differential-card:nth-child(even) { transform: translateY(78px); }
  .differential-card p { line-height: 1.55; }

  .memory-gallery { padding-block: 94px 110px; background: var(--color-white); }
  .memory-gallery__grid { grid-template-rows: repeat(4, 132px); grid-auto-rows: 132px; }
  .testimonials { padding-block: 96px 110px; }
  .testimonials .section-heading { margin-bottom: 48px; }
  .testimonial-card { min-height: 285px; }
  .contact-section { padding-block: 104px; }
  .contact-form { padding: 34px; }

  .service-detail { padding-block: 112px; }
  .service-detail__heading { max-width: 1120px; margin-bottom: 44px; }
  .service-detail__heading h2 { font-size: 44px; }
  .service-detail__layout { grid-template-columns: 425px minmax(0, 1fr); gap: 44px; align-items: start; }
  .service-detail__layout--reverse { grid-template-columns: minmax(0, 1fr) 425px; }
  .service-detail__intro { min-height: 480px; padding: 34px; align-self: start; }
  .service-detail__number { margin-bottom: 38px; padding-bottom: 0; }
  .service-detail__content { display: grid; grid-template-rows: auto auto; align-content: start; }
  .service-detail__media { height: 270px; margin: 22px 0 0; order: 2; }
  .feature-list { order: 1; }
  .feature-list li { padding-top: 15px; padding-bottom: 15px; font-size: 14px; line-height: 1.55; }
  .service-detail__layout--reverse .service-detail__intro { order: 2; }

  .about-intro { padding-block: 105px; }
  .about-intro__layout { grid-template-columns: .9fr 1.1fr; row-gap: 48px; }
  .about-intro__photos { grid-template-columns: 2fr 1fr; }
  .about-intro__photos figure { height: 285px; }
  .principles { padding-block: 104px; }
  .principle-card { min-height: 390px; padding: 34px; }
  .principle-card__icon { margin-bottom: 60px; }
  .leadership { padding-block: 108px; }
  .leader-card { grid-template-columns: 430px minmax(0, 1fr); min-height: 390px; padding: 0; overflow: hidden; background: var(--color-white); box-shadow: var(--shadow-card); }
  .leader-card--aqua { background: var(--color-white); }
  .leader-card__portrait { min-height: 390px; border-radius: 0; }
  .leader-card__portrait--tio img { object-position: center top; }
  .leader-card__portrait--tia img { object-position: center 30%; }
  .leader-card__content { padding: 38px 44px; }
  .experience { padding-block: 56px 108px; }
  .experience__card { padding: 52px 58px; }

  .closing-cta { padding-block: 92px; }
  .site-footer { padding-top: 70px; }
}

body[data-page="about"] .closing-cta .button--primary,
body[data-page="about"] .closing-cta .button--primary:hover {
  background: var(--color-coral);
}

/* ACESSIBILIDADE: preserva o conteúdo sem movimentos decorativos. */
@media (prefers-reduced-motion: reduce) {
  .scribble { clip-path: inset(0 0 0 0); animation: none; }
  .accent-star { opacity: 1; transform: none; animation: none; }
  .scribble.is-drawn { animation: none; }
  .button span,
  .site-nav,
  .js .site-nav { transition: none; }
}

/* REFINOS FINAIS: Correções após a comparação com os seis exports de referência. */
.contact-section__note {
  max-width: 470px;
  padding: 0 0 16px;
  border-bottom: 4px solid var(--color-orange-line);
  border-radius: 0;
  background: transparent;
}

.site-footer__grid > * > strong,
.site-footer__nav > strong {
  color: #ce6a4d;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

#recreacao-infantil .feature-list li::before { color: var(--color-coral); }
#recreacao-adultos .feature-list li::before { color: var(--color-aqua); }
#eventos-corporativos .feature-list li::before { color: var(--color-honey); }
#treinamentos .feature-list li::before { color: var(--color-pink); }

@media (max-width: 430px) {
  .page-hero--about h1 { font-size: 32px; line-height: 1.08; }
}

@media (min-width: 960px) {
  .brand { width: 230px; }
  .brand--footer { width: 258px; }
  .home-hero__visual {
    width: 810px;
    max-width: none;
    transform: translate(40px, -8px);
  }
  .page-hero--services .page-hero__container { min-height: 700px; }
  .page-hero--about .page-hero__container { min-height: 650px; }
  .page-hero--about .page-hero__container { grid-template-columns: 650px minmax(0, 1fr); }
  .page-hero--about .page-hero__container > div { max-width: 650px; }
  .page-hero__visual {
    width: min(620px, 42vw);
    max-width: none;
    justify-self: end;
    transform: translateX(24px);
  }
}

/* AJUSTES FINAIS DE HIERARQUIA: medidas aprovadas para a Home. */
.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
}

.audience-card__number {
  font-size: 24px;
  line-height: 1;
}

.service-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-earth);
  font-size: 20px;
  line-height: 1;
}

.differential-card__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.testimonials { padding-top: 0; }

.site-footer__bottom,
.site-footer__bottom small,
.site-footer__bottom > a,
.site-footer__bottom > span {
  font-size: 16px;
}

.site-footer__bottom > span > a { display: inline-flex; }

@media (min-width: 960px) {
  .testimonial-card--featured {
    position: relative;
    z-index: 1;
    transform: translateY(-24px);
  }
}

@media (min-width: 1200px) {
  .differentials__grid {
    grid-template-columns: repeat(2, 360px);
  }

  .differential-card {
    box-sizing: border-box;
    width: 360px;
    height: 340px;
    min-height: 340px;
  }
}

/* HOME: SVGs nas posições e dimensões dos frames Desktop e Mobile do Figma. */
body[data-page="home"] .home-hero__content,
body[data-page="home"] .services-summary .section-heading,
body[data-page="home"] .differentials__heading,
body[data-page="home"] .memory-gallery .section-heading,
body[data-page="home"] .decorated-title {
  position: relative;
  isolation: isolate;
}

body[data-page="home"] .title-doodle,
body[data-page="home"] .title-risk,
body[data-page="home"] .services-summary__circle,
body[data-page="home"] .services-summary__star,
body[data-page="home"] .gallery__waves {
  position: absolute;
  display: block;
  pointer-events: none;
}

/* Marcas que atravessam títulos ficam atrás das letras, como no Figma. */
body[data-page="home"] .title-risk,
body[data-page="home"] .services-summary__circle {
  z-index: -1;
}

body[data-page="home"] .title-doodle { width: 48px; height: 48px; }
body[data-page="home"] .title-doodle--hero { top: -6px; left: 76%; }
body[data-page="home"] .title-risk--hero { bottom: -22px; left: 57%; width: 38.75%; height: 28px; }
body[data-page="home"] .title-doodle--differentials { top: 8px; left: calc(100% - 48px); }
body[data-page="home"] .title-risk--differentials { right: 0; bottom: -8px; width: 68%; height: auto; }
body[data-page="home"] .services-summary__circle { top: 91px; left: 101px; width: 79px; height: 41px; transform: rotate(16.11deg) skewX(-8.53deg); }
body[data-page="home"] .services-summary__star { top: 121px; right: 0; width: 60px; height: 66px; }
body[data-page="home"] .gallery__waves { top: 100px; right: -20px; width: 140px; height: auto; transform: rotate(180deg) scaleY(-1); }

body[data-page="home"] .draw-svg {
  clip-path: inset(0 100% 0 0);
}

body[data-page="home"] .draw-svg.is-drawn {
  animation: draw-scribble 900ms var(--ease-out) both;
}

@supports (animation-timeline: view()) {
  body[data-page="home"] .draw-svg {
    animation: draw-scribble linear both;
    animation-range: entry 4% cover 28%;
    animation-timeline: view();
  }
}

/* Desktop: coordenadas nominais do frame de 1920 px no Figma. */
@media (min-width: 960px) {
  body[data-page="home"] .title-doodle--differentials { top: 20px; left: 332px; }
  body[data-page="home"] .title-risk--differentials { top: 240px; right: auto; bottom: auto; left: 104px; width: 246px; height: 28px; }
  body[data-page="home"] .services-summary__star { right: -124px; }
  body[data-page="home"] .gallery__waves { top: 154px; right: auto; left: 92.33%; width: 185px; height: 114px; }
}

@media (max-width: 699px) {
  body[data-page="home"] .title-doodle--hero { top: -20px; left: 83.5%; }
  body[data-page="home"] .title-risk--hero { bottom: -14px; left: 16.2%; width: 45.3%; height: 20px; }
  body[data-page="home"] .title-doodle--differentials { top: 8px; left: 70.7%; }
  body[data-page="home"] .title-risk--differentials { top: 146px; right: auto; bottom: auto; left: 50.6%; width: 44.4%; height: 20px; }
  body[data-page="home"] .services-summary__circle { top: 65px; left: 28%; width: 65px; height: 33px; transform: rotate(16.11deg) skewX(-8.53deg); }
  body[data-page="home"] .services-summary__star { display: none; }
  body[data-page="home"] .gallery__waves { top: 25px; right: auto; left: 64%; width: 25.7%; height: auto; transform: rotate(180deg) scaleY(-1); }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .draw-svg,
  body[data-page="home"] .draw-svg.is-drawn {
    clip-path: inset(0 0 0 0);
    animation: none;
  }
}

/* HOME: refinamento final conforme as anotações e medidas do Figma. */
.home-hero {
  position: relative;
  isolation: isolate;
}

.home-hero::before,
.home-hero::after {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-hero::before {
  top: -34px;
  left: -39px;
  width: clamp(240px, 20.1vw, 386px);
  aspect-ratio: 386 / 293;
  background: rgb(221 143 160 / .22);
}

.home-hero::after {
  right: -38px;
  bottom: -20px;
  width: clamp(250px, 20vw, 384px);
  aspect-ratio: 384 / 292;
  background: rgb(143 207 196 / .28);
}

.home-hero__container {
  position: relative;
  z-index: 1;
}

.home-hero__content { min-width: 0; }
.home-hero__lead strong { color: var(--color-ink); font-weight: 700; }

.home-hero__visual {
  position: relative;
  width: min(100%, 700px);
  max-width: 790px;
  margin-inline: auto;
  transform: none;
}

.home-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

body[data-page="home"] .title-word,
.testimonials__highlight {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

body[data-page="home"] .title-word .title-doodle,
body[data-page="home"] .title-word .title-risk {
  right: auto;
  left: auto;
}

body[data-page="home"] .title-word .title-doodle--hero {
  top: -22px;
  right: -42px;
  width: 48px;
  height: 48px;
}

body[data-page="home"] .title-word .title-risk--hero {
  top: auto;
  right: -10%;
  bottom: -20px;
  left: -8%;
  width: 118%;
  height: 28px;
}

body[data-page="home"] .title-word .title-doodle--differentials {
  top: -24px;
  right: -39px;
  width: 48px;
  height: 48px;
}

body[data-page="home"] .title-word .title-risk--differentials {
  top: auto;
  right: -14%;
  bottom: -22px;
  left: -12%;
  width: 126%;
  height: 28px;
}

.differentials { padding-bottom: 0; }
.differentials__heading h2 { margin-bottom: 52px; }

.differential-card__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

body[data-page="home"] .gallery__waves { transform: none; }

body[data-page="home"] .services-summary,
body[data-page="home"] .memory-gallery {
  overflow-x: clip;
}

.testimonials__highlight { white-space: nowrap; }

.testimonials__underline {
  position: absolute;
  z-index: -1;
  top: 54%;
  left: 50%;
  display: block;
  width: 84px;
  max-width: 116%;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.site-footer__nav > strong,
.site-footer__contact > strong,
.site-footer__social > strong {
  color: #ce6a4d;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: 1.62px;
  text-transform: uppercase;
}

.site-footer__bottom img {
  width: 158px;
  height: 32px;
  object-fit: contain;
}

/* Tablet: o conteúdo empilha antes que as duas colunas possam se sobrepor. */
@media (max-width: 1279px) {
  .home-hero__container {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 64px;
    gap: 34px;
  }

  .home-hero__content {
    width: 100%;
    max-width: 635px;
  }

  .home-hero__visual {
    position: relative;
    order: 2;
    width: min(100%, 620px);
    max-width: 700px;
    margin-inline: auto;
    transform: none;
  }
}

/* Desktop: a colagem preserva as dimensões do frame de design e pode avançar
   sobre a área livre da hero, sem ficar limitada pelo padding interno. */
@media (min-width: 1280px) {
  .home-hero__container {
    grid-template-columns: 635px;
    min-height: 700px;
    padding-block: 0;
    gap: 0;
  }

  .home-hero__visual {
    position: absolute;
    bottom: 0;
    right: calc(2px - max(32px, calc((100vw - 1200px) / 2)));
    width: min(790px, 55vw);
    max-width: none;
    margin: 0;
    transform: none;
  }
}

/* Em laptops, o título segue em quatro linhas e a colagem reduz apenas o
   necessário para preservar o respiro entre os dois blocos. */
@media (min-width: 1280px) and (max-width: 1439px) {
  .home-hero__container { grid-template-columns: 560px; }
  .home-hero__content { max-width: 560px; }
  .home-hero h1 { max-width: 560px; font-size: 56px; line-height: 1.03; }

  body[data-page="home"] .title-word .title-doodle--hero {
    top: -20px;
    right: -38px;
    width: 44px;
    height: 44px;
  }

  body[data-page="home"] .title-word .title-risk--hero {
    right: -9%;
    bottom: -18px;
    left: -7%;
    width: 116%;
    height: 26px;
  }
}

@media (max-width: 699px) {
  .home-hero::before {
    top: 16px;
    left: -72px;
    width: 182px;
    height: 140px;
  }

  .home-hero::after {
    right: -96px;
    bottom: -28px;
    width: 224px;
    height: 170px;
  }

  .home-hero__container { padding: 46px 0 0; }
  .home-hero__visual { width: 100%; max-width: none; margin-inline: 0; }

  /* Destaque do título permanece no canto, sem depender da quebra das palavras. */
  body[data-page="home"] .differentials__heading .title-doodle--differentials {
    top: -20px;
    right: 2px;
    left: auto;
    width: 48px;
    height: 48px;
  }

  .differential-card__icon { width: 48px; height: 48px; flex-basis: 48px; }

  /* Serviços: o mosaico respeita a largura útil, sem avançar nas margens. */
  .page-hero--services .page-hero__visual {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .page-hero--services .page-title-doodle {
    top: -28px;
    right: 4px;
    width: 112px;
  }

  /* Sobre nós: hero, ornamentos e retrato respeitam a largura útil do mobile. */
  .page-hero--about .page-hero__visual {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .about-hero-title { position: relative; isolation: isolate; }
  .about-title-word { position: relative; display: inline-block; }
  .about-title-doodle {
    position: absolute;
    top: 48px;
    right: 8px;
    width: 42px;
    height: 42px;
    pointer-events: none;
  }

  .about-title-risk {
    position: absolute;
    bottom: -13px;
    left: -5%;
    width: 112%;
    height: 20px;
    pointer-events: none;
  }

  body[data-page="about"] .scribble--principles {
    top: auto;
    right: 8px;
    bottom: -22px;
    width: 64px;
    height: 42px;
    transform: rotate(8deg);
  }

  body[data-page="about"] .leader-card__portrait--tia {
    min-height: 420px;
    aspect-ratio: 0.91;
  }

  body[data-page="about"] .leader-card__portrait--tia img { object-position: center 28%; }

  body[data-page="about"] .experience__card { padding: 54px 20px 32px; gap: 32px; }
  body[data-page="about"] .experience__years {
    margin-left: 16px;
    font-size: 160px;
    line-height: .76;
  }

  body[data-page="about"] .closing-cta { padding: 64px 20px 60px; }
  body[data-page="about"] .closing-cta__container {
    padding: 80px 20px 76px;
    border-radius: 26px;
    background: var(--color-cream);
  }

  body[data-page="about"] .closing-cta__dot {
    position: absolute;
    top: 34px;
    left: 38px;
    width: 35px;
    height: 35px;
    margin: 0;
  }

  body[data-page="about"] .closing-cta h2 { position: relative; color: var(--color-ink); }
  body[data-page="about"] .closing-cta h2::after {
    position: absolute;
    top: -62px;
    right: 10px;
    color: var(--color-aqua);
    content: "✦";
    font-size: 58px;
    line-height: 1;
  }

  body[data-page="about"] .closing-cta p { color: var(--color-text); }
  body[data-page="about"] .closing-cta .button--primary,
  body[data-page="about"] .closing-cta .button--primary:hover { background: var(--color-aqua); }

  .feature-list li {
    padding-left: 26px;
  }

  .feature-list li::before {
    top: 20px;
    width: 14px;
    height: 14px;
  }

  .service-detail__number {
    font-size: 32px;
    line-height: 1;
  }

  .brand { width: 170px; }
  .brand--footer { width: 190px; }

  .site-footer__bottom {
    align-items: center;
    text-align: center;
  }

  .site-footer__bottom > span { justify-content: center; }
  .differential-card__icon { width: 48px; height: 48px; flex-basis: 48px; }

  body[data-page="home"] .title-word .title-doodle--hero,
  body[data-page="home"] .title-word .title-doodle--differentials {
    top: -16px;
    right: -30px;
    width: 36px;
    height: 36px;
  }

  body[data-page="home"] .title-word .title-risk--hero,
  body[data-page="home"] .title-word .title-risk--differentials {
    right: -8%;
    bottom: -13px;
    left: -6%;
    width: 112%;
    height: 20px;
  }

  .differentials__heading h2 { margin-bottom: 42px; }
  .site-footer__bottom img { width: min(158px, 40vw); height: auto; }
}

/* Ajustes finais compartilhados: legibilidade e escala em todas as larguras. */
.eyebrow {
  color: #bf6147;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.62px;
  line-height: 1.47;
  text-transform: uppercase;
}

.audience-card p,
.service-card p,
.differential-card p,
.principle-card p,
.service-detail__intro > p,
.feature-list li,
.leader-card__content > p:not(.leader-card__role),
.experience__card p:not(.eyebrow),
.closing-cta p {
  font-size: 16px;
}

.differential-card__icon {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.leader-card__portrait--tia img {
  transform: scale(1.22);
  object-position: center 26%;
}

/* A CTA institucional preserva o mesmo conjunto de elementos em desktop. */
body[data-page="about"] .closing-cta { padding: 78px 20px; }
body[data-page="about"] .closing-cta__container {
  padding: 80px 56px 76px;
  border-radius: 26px;
  background: var(--color-cream);
}
body[data-page="about"] .closing-cta__dot {
  position: absolute;
  top: 34px;
  left: 38px;
  width: 35px;
  height: 35px;
  margin: 0;
}
body[data-page="about"] .closing-cta h2 { position: relative; color: var(--color-ink); }
body[data-page="about"] .closing-cta h2::after {
  position: absolute;
  top: -62px;
  right: 10px;
  color: var(--color-aqua);
  content: "✦";
  font-size: 58px;
  line-height: 1;
}
body[data-page="about"] .closing-cta p { color: var(--color-text); }
body[data-page="about"] .closing-cta .button--primary,
body[data-page="about"] .closing-cta .button--primary:hover { background: var(--color-aqua); }
body[data-page="services"] .closing-cta { padding: 78px 20px; }
body[data-page="services"] .closing-cta__container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 900px;
  padding: 80px 56px 76px;
  border-radius: 26px;
  background: var(--color-cream);
}
body[data-page="services"] .closing-cta__dot {
  position: absolute;
  top: 34px;
  left: 38px;
  width: 35px;
  height: 35px;
  margin: 0;
}
body[data-page="services"] .closing-cta h2 { position: relative; color: var(--color-ink); }
body[data-page="services"] .closing-cta h2::after {
  position: absolute;
  top: -62px;
  right: 10px;
  color: var(--color-aqua);
  content: "✦";
  font-size: 58px;
  line-height: 1;
}
body[data-page="services"] .closing-cta p { color: var(--color-text); }
body[data-page="services"] .closing-cta .button--primary,
body[data-page="services"] .closing-cta .button--primary:hover { background: var(--color-aqua); }

@media (min-width: 960px) {
  #adultos-casamentos .service-detail__intro { min-height: 400px; }
}

@media (max-width: 699px) {
  .feature-list li::before {
    top: 18px;
    width: 20px;
    height: 20px;
    font-size: 22px;
  }

  body[data-page="services"] .closing-cta__container { padding: 80px 20px 76px; }
}

@media (max-width: 409px) {
  .about-title-doodle { display: none; }
}

@media (min-width: 700px) {
  .feature-list li {
    padding-left: 40px;
    font-size: 16px;
  }

  .feature-list li::before {
    top: 17px;
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .page-hero--about .page-hero__container { grid-template-columns: minmax(0, .56fr) minmax(0, .44fr); }
  .page-hero--about .page-hero__visual { width: 100%; transform: none; }
}

@media (min-width: 960px) {
  #treinamentos { padding-block: 60px; }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .home-hero__visual { width: min(790px, 45vw); }
}

@media (max-width: 699px) {
  .about-title-doodle {
    top: 48px;
    right: 8px;
    width: 42px;
    height: 42px;
  }

  .about-title-risk {
    bottom: -13px;
    left: -5%;
    width: 112%;
    height: 20px;
  }

  body[data-page="about"] .closing-cta__container { padding: 80px 20px 76px; }

  body[data-page="about"] .experience__years {
    justify-self: center;
    margin-left: 0;
    text-align: center;
  }
}

/* Ajustes finais de hierarquia visual e movimento. */
html.lenis,
html.lenis body { height: auto; }

.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

.leader-card__role {
  color: #bf6147;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.62px;
  line-height: 1.47;
  text-transform: uppercase;
}

/* O rabisco da seção de diferenciais abre a composição acima do título. */
body[data-page="home"] .differentials__heading .title-doodle--differentials {
  top: -40px;
  right: 0;
  left: auto;
  width: 48px;
  height: 48px;
}

@media (max-width: 699px) {
  body[data-page="home"] .differentials__heading .title-doodle--differentials {
    top: -22px;
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}

/* Serviços: hierarquia mais arejada entre cabeçalho, conteúdo e tópicos. */
body[data-page="services"] .service-detail__heading { margin-bottom: 60px; }

body[data-page="services"] .feature-list li {
  padding-top: 24px;
  padding-bottom: 24px;
}

/* CTAs dos heroes e sublinhado do título de Serviços. */
.page-hero__container > div > .button { margin-top: 28px; }

.page-title-word {
  position: relative;
  display: inline-block;
}

.page-title-risk {
  position: absolute;
  bottom: -13px;
  left: -4%;
  width: 108%;
  height: 22px;
  pointer-events: none;
}

/* Contato rápido disponível em todas as páginas. */
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 12px 28px rgb(37 211 102 / .32);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
  transform-origin: center;
  animation: whatsapp-pulse 2.8s ease-in-out infinite;
}

.whatsapp-float svg { width: 24px; height: 24px; fill: currentcolor; }

@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 28px rgb(37 211 102 / .32); }
  50% { transform: scale(1.055); box-shadow: 0 16px 34px rgb(37 211 102 / .45); }
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgb(37 211 102 / .4);
}

@media (max-width: 699px) {
  .page-title-risk { bottom: -10px; height: 18px; }
  .whatsapp-float { right: 16px; bottom: 16px; min-width: 54px; padding: 0; justify-content: center; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; animation: none; }
}

/* Mobile: botão largo, com rótulo e seta agrupados no centro. */
@media (max-width: 699px) {
  .button {
    width: 100%;
    justify-content: center;
    padding-inline: 28px;
  }
}

/* Numeração das modalidades com presença consistente em todas as telas. */
body[data-page="services"] .service-detail__number {
  font-size: 32px;
  line-height: 1;
}

/* Mobile: todos os textos descritivos seguem um único token tipográfico. */
@media (max-width: 699px) {
  main p:not(.eyebrow):not(.leader-card__role):not(.contact-form__status),
  main li,
  main blockquote {
    font-size: var(--font-size-description-mobile);
    line-height: 1.55;
  }
}
