/* ===== 1. Variáveis e base ===== */
:root {
  --primary: #1d747d;
  --accent: #a8d6e5;
  --soft: #d2e9e3;
  --white: #fff;
  --bg: #f1f7f5;
  --line: #d9e6e3;
  --title: #1f4046;
  --text: #4a6166;
  --header: 76px;
  --pad: clamp(1.25rem, 6.67vw, 7.5rem);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--primary);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--title);
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  letter-spacing: -.01em;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: calc(1400px + 2*var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.ico {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--primary);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip:focus {
  top: 1rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  font: 700 .8rem/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.eyebrow .ico {
  width: 1.1rem;
  height: 1.1rem;
}

.sub {
  max-width: 62ch;
  font-size: 1.2rem;
  margin-bottom: 2.8rem;
}

.lead {
  font-size: 1.25rem;
  max-width: 47rem;
  margin-bottom: 2rem;
}

.micro {
  font-size: .95rem;
  margin: 1.1rem 0 0;
}

.center {
  text-align: center;
  margin-top: 3rem;
}

.serif-lg {
  font: 400 clamp(1.4rem, 2.1vw, 2rem)/1.3 var(--serif);
  color: var(--title);
  margin-bottom: 1.4rem;
}

/* ===== 2. Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 56px;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: 600 1.1rem var(--sans);
  text-decoration: none;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.btn:hover {
  background: #155b62;
  border-color: #155b62;
}

.btn .ico {
  width: 1.5rem;
  height: 1.5rem;
}

/* ===== 3. Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  transition: box-shadow .25s;
}

.header.scrolled {
  box-shadow: 0 2px 14px rgba(31, 64, 70, .07);
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font: 600 clamp(1.5rem, 2.2vw, 2rem) var(--sans);
  letter-spacing: -.01em;
  color: var(--primary);
}

.logo .ico {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 1.5;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.menu a:not(.btn) {
  color: var(--title);
  text-decoration: none;
  font-size: 1.15rem;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
}

.menu a:not(.btn):hover,
.menu a.active {
  color: var(--primary);
  border-color: var(--primary);
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--title);
  transition: transform .25s, opacity .25s;
}

.burger[aria-expanded=true] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== 4. Hero (caixa de largura total, conteúdo no container) ===== */
.hero__box {
  background: var(--bg);
  border-radius: 24px;
  padding-block: clamp(2rem, 3.2vw, 3.1rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__txt h1 {
  margin-bottom: 1.6rem;
  text-wrap: balance;
}

.hero__txt .eyebrow {
  font-size: .9rem;
  margin-bottom: 1.5rem;
}

.hero__media {
  position: relative;
  width: 100%;
  max-width: 620px;
  justify-self: end;
  padding-bottom: 37px;
}

.hero__circle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}

.hero__img {
  position: relative;
  aspect-ratio: 7/6;
  border-radius: clamp(60px, 14vw, 110px) 44px clamp(70px, 16vw, 140px) 44px;
  background: url(../assets/hero.jpg) center/cover, linear-gradient(135deg, var(--soft), var(--accent) 60%, var(--primary));
}

.hero__card {
  position: absolute;
  left: 30px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 24px;
  padding: 1.1rem 1.5rem;
  max-width: calc(100% - 60px);
  width: max-content;
}

.hero__card .ico {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.hero__card strong {
  display: block;
  color: var(--title);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
}

.hero__card small {
  display: block;
  font-size: .95rem;
  line-height: 1.4;
  margin-top: .15rem;
}

/* ===== 5. Seções, painéis e cards ===== */
.sec {
  padding-top: clamp(3.5rem, 10vw, 11.5rem);
}

.sec:first-of-type {
  padding-top: clamp(3.5rem, 6.5vw, 7rem);
}

.panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
  margin-top: 1.8rem;
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  line-height: 1.7;
  color: var(--title);
}

.panel p {
  margin-bottom: 1.6rem;
}

.panel p:last-child {
  margin: 0;
}

.grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.8rem;
}

.sub + .grid {
  margin-top: 0;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.5rem, 1.9vw, 1.9rem);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-bottom: .9rem;
}

.card p:not(.eyebrow) {
  font-size: 1.2rem;
  line-height: 1.6;
}

.tile {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.tile .ico {
  width: 1.9rem;
  height: 1.9rem;
}

.card p.tail {
  margin: auto 0 0;
  padding-top: .6rem;
  color: var(--primary);
  font-size: 1.05rem;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
  font-size: 1.1rem;
}

.checks li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}

.checks .ico {
  color: var(--primary);
  margin-top: .25rem;
  stroke-width: 2;
}

/* ===== 6. Equipe ===== */
.team {
  display: grid;
  gap: 1.6rem;
}

.member {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 1.9rem;
}

.member h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.65rem;
  margin-bottom: .3rem;
}

.role {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 .6rem;
}

.member p:last-child {
  margin: 0;
  font-size: 1.15rem;
}

.photo {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 26px;
  background: var(--soft);
  border: 1px solid rgba(29, 116, 125, .18);
  color: var(--primary);
  font-size: .95rem;
  font-weight: 600;
}

/* ===== 7. Dúvidas ===== */
.cols {
  display: grid;
  gap: 3rem;
}

.cols h2 {
  font-size: clamp(2rem, 3.1vw, 3.3rem);
}

.cols > div:last-child h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
}

.soft-box {
  background: var(--soft);
  border-radius: 32px;
  padding: 1.9rem;
  margin-top: 2.2rem;
}

.soft-box h3 {
  font: 600 1.35rem var(--sans);
  color: var(--title);
  margin-bottom: 1.3rem;
}

.soft-box .checks {
  gap: 1.25rem;
}

.acc {
  margin-top: 1.8rem;
}

.acc__item {
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}

.acc__item.open {
  background: var(--bg);
  border-color: transparent;
  border-radius: 24px;
}

.acc button {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 0;
  cursor: pointer;
  font: 500 1.15rem/1.4 var(--sans);
  color: var(--title);
  transition: padding .3s;
}

.acc .open button {
  padding: 1.5rem 1.55rem 1rem;
}

.acc button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 12px;
}

.acc h3 {
  font-size: inherit;
}

.acc i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--primary);
}

.acc i::before,
.acc i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s;
}

.acc i::after {
  transform: rotate(90deg);
}

.acc .open i::after {
  transform: rotate(0);
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.acc__panel > div {
  overflow: hidden;
}

.acc__panel p {
  padding: 0 1.55rem 1.5rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.open .acc__panel {
  grid-template-rows: 1fr;
}

.note {
  font-size: .92rem;
  margin-top: 1.8rem;
}

/* ===== 8. CTA final ===== */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.cta__ring {
  position: absolute;
  left: -74px;
  top: 62px;
  width: 275px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 37px solid var(--accent);
  opacity: .65;
}

.cta__in {
  position: relative;
}

.cta__in.container {
  max-width: calc(1080px + 2*var(--pad));
}

.cta .lead {
  max-width: none;
}

.cta__act {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 2.2rem;
}

.cta__act .micro {
  margin-top: 1.3rem;
}

/* ===== 9. Rodapé ===== */
.footer {
  background: var(--primary);
  color: #fff;
  padding-block: 3.2rem 2.2rem;
}

.footer a {
  color: #fff;
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer__cols > div:first-child {
  max-width: 34rem;
}

.footer p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.footer nav {
  display: grid;
  gap: .8rem;
  align-content: start;
  font-size: 1.1rem;
}

.footer nav a {
  text-decoration: none;
}

.footer nav a:hover,
.wa:hover {
  text-decoration: underline;
}

.flogo {
  font: 600 2rem var(--sans);
  letter-spacing: -.01em;
  margin-bottom: .9rem;
}

.frow {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.wa {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: .6rem;
}

.footer :focus-visible {
  outline-color: #fff;
}

.footer__bar {
  display: grid;
  gap: .5rem;
  margin-top: 2.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.footer__bar p {
  margin: 0;
  font-size: .9rem;
}

#instagram {
  text-decoration: none;
  font-size: 1.1rem;
}

/* ===== 10. Movimento delicado e acessível ===== */

/* Somente ocultar elementos quando o observador de rolagem já está ativo. */
.motion-ready .reveal,
.motion-ready [data-motion] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .78s cubic-bezier(.2, .7, .2, 1), transform .78s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--motion-delay, 0ms);
}

.motion-ready .reveal.in,
.motion-ready [data-motion].in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready [data-motion="fade-left"] {
  transform: translate3d(28px, 0, 0);
}

.motion-ready [data-motion="fade-left"].in {
  transform: translate3d(0, 0, 0);
}

/* Entrada do cabeçalho principal (sem esconder conteúdo quando JS falha). */
.motion-ready .hero__txt > * {
  animation: hero-rise .8s both cubic-bezier(.2, .7, .2, 1);
}

.motion-ready .hero__txt > :nth-child(2) {
  animation-delay: .10s;
}

.motion-ready .hero__txt > :nth-child(3) {
  animation-delay: .20s;
}

.motion-ready .hero__txt > :nth-child(4) {
  animation-delay: .30s;
}

.motion-ready .hero__txt > :nth-child(5) {
  animation-delay: .38s;
}

.motion-ready .hero__media {
  animation: hero-rise 1s .18s both cubic-bezier(.2, .7, .2, 1);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Microinterações com foco em tranquilidade e leitura. */
.card,
.member,
.panel,
.soft-box {
  transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;
}

.btn {
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(29, 116, 125, .16);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.tile {
  transition: transform .4s ease, background .4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 34px rgba(31, 64, 70, .08);
    border-color: #bcd9d3;
  }

  .card:hover .tile {
    transform: rotate(-5deg) scale(1.04);
    background: #c4e3dc;
  }

  .menu a:not(.btn) {
    transition: color .25s, border-color .25s;
  }
}

/* Evita que âncoras fiquem atrás do cabeçalho fixo. */
section[id] {
  scroll-margin-top: calc(var(--header) + 14px);
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  .motion-ready .reveal,
  .motion-ready [data-motion],
  .motion-ready .hero__txt > *,
  .motion-ready .hero__media {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .card,
  .member,
  .panel,
  .soft-box,
  .tile,
  .btn,
  .menu a:not(.btn),
  .acc__panel,
  .acc i::before,
  .acc i::after,
  .acc button {
    transition: none;
  }

  .card:hover,
  .member:hover,
  .btn:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ===== 11. Responsivo ===== */
@media (max-width: 899px) {
  .burger {
    display: flex;
  }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    background: #fff;
    padding: 1rem var(--pad) 1.5rem;
    box-shadow: 0 10px 20px rgba(31, 64, 70, .08);
    display: none;
  }

  .menu.open {
    display: flex;
  }

  .menu a:not(.btn) {
    padding: .8rem 0;
  }

  .member .photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
  }

  .hero__circle {
    width: 40%;
  }
}

@media (min-width: 640px) {
  .footer__bar {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bar p:last-child {
    text-align: right;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .member {
    grid-template-columns: 1fr;
  }

  .member .photo {
    width: 150px;
    height: 150px;
    aspect-ratio: auto;
  }
}

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

@media (min-width: 900px) {
  html {
    font-size: 80%;
  }

  :root {
    --header: 104px;
  }

  .btn {
    min-height: 62px;
    padding-inline: 1.8rem;
    font-size: 1.15rem;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__box {
    border-radius: 40px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, min(620px, 46%));
    gap: 5rem;
  }

  .cols {
    grid-template-columns: minmax(0, .6fr) minmax(0, 1fr);
    gap: clamp(3rem, 5.6vw, 5.6rem);
    align-items: start;
  }

  .member {
    grid-template-columns: 130px 1fr;
    gap: 2rem;
  }

  .photo {
    width: 130px;
    height: 130px;
  }
}

/* ===== 12. Refinamento mobile-first ===== */

/* Botão de contato discreto e alcançável com o polegar. */
.mobile-contact {
  display: none;
}

@media (max-width: 899px) {
  :root {
    --header: 72px;
    --pad: clamp(1rem, 5vw, 2.25rem);
  }

  .header__in {
    gap: .75rem;
  }

  .logo {
    font-size: clamp(1.24rem, 5vw, 1.55rem);
    white-space: nowrap;
  }

  .logo .ico {
    width: 1.15em;
    height: 1.15em;
  }

  .burger {
    flex: none;
    border-radius: 12px;
    touch-action: manipulation;
  }

  .burger:hover {
    background: var(--bg);
  }

  .menu {
    gap: .15rem;
    padding-block: .85rem 1.25rem;
    max-height: calc(100dvh - var(--header));
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }

  .menu a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 50px;
    font-size: 1.05rem;
    padding: .7rem .45rem;
    border-radius: 9px;
    border-bottom: 0;
  }

  .menu a:not(.btn):hover,
  .menu a.active {
    background: var(--bg);
  }

  .menu .btn {
    width: 100%;
    margin-top: .45rem;
  }

  .hero__box {
    border-radius: 0 0 26px 26px;
    padding-block: 2.5rem 2rem;
  }

  .hero__grid {
    gap: 2.15rem;
  }

  .hero__txt h1 {
    font-size: clamp(2.18rem, 7vw, 3.65rem);
    letter-spacing: -.025em;
    line-height: 1.12;
    margin-bottom: 1.2rem;
  }

  .hero__txt .eyebrow {
    font-size: .76rem;
    margin-bottom: 1.15rem;
  }

  .hero__txt .lead {
    font-size: 1.06rem;
    line-height: 1.65;
    margin-bottom: 1.55rem;
  }

  .hero__txt > .btn {
    width: 100%;
    max-width: 440px;
  }

  .hero__txt .micro {
    margin-top: .75rem;
    font-size: .86rem;
  }

  .hero__media {
    max-width: 560px;
    margin-inline: auto;
    padding-bottom: 25px;
  }

  .hero__img {
    aspect-ratio: 5/3.7;
    border-radius: 55px 25px 72px 25px;
  }

  .hero__card {
    left: 12px;
    max-width: calc(100% - 24px);
    padding: .8rem 1rem;
    border-radius: 17px;
    gap: .7rem;
    box-shadow: 0 10px 26px rgba(31, 64, 70, .08);
  }

  .hero__card strong {
    font-size: .96rem;
  }

  .hero__card small {
    font-size: .83rem;
  }

  .hero__card .ico {
    width: 1.55rem;
    height: 1.55rem;
  }

  .sec {
    padding-top: clamp(3.7rem, 9vw, 6rem);
  }

  h2 {
    font-size: clamp(1.85rem, 5.8vw, 2.65rem);
    line-height: 1.22;
  }

  .sub {
    font-size: 1.06rem;
    margin-bottom: 1.6rem;
  }

  .panel {
    margin-top: 1.15rem;
    padding: 1.4rem;
    border-radius: 22px;
    font-size: 1.07rem;
    line-height: 1.7;
  }

  .grid {
    gap: 1rem;
    margin-top: 1.55rem;
  }

  .card {
    padding: 1.45rem;
    border-radius: 23px;
  }

  .card h3 {
    font-size: 1.5rem;
  }

  .card p:not(.eyebrow) {
    font-size: 1.06rem;
  }

  .tile {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 1.05rem;
  }

  .checks {
    font-size: 1.04rem;
  }

  .member {
    padding: 1.3rem;
    gap: 1rem;
    border-radius: 23px;
  }

  .member h3 {
    font-size: 1.4rem;
  }

  .member p:last-child {
    font-size: 1.04rem;
  }

  .cols {
    gap: 2.8rem;
  }

  .soft-box {
    border-radius: 24px;
    padding: 1.35rem;
  }

  .acc button {
    min-height: 58px;
    padding: 1.2rem .35rem;
    font-size: 1.02rem;
    touch-action: manipulation;
  }

  .acc .open button {
    padding: 1.2rem 1.15rem .85rem;
  }

  .acc__panel p {
    padding: 0 1.15rem 1.2rem;
    font-size: 1rem;
  }

  .center {
    margin-top: 2rem;
  }

  .center .btn,
  .cta__act .btn {
    width: 100%;
    max-width: 440px;
  }

  .cta {
    padding-block: 3.8rem;
    margin-top: 4rem;
  }

  .cta__ring {
    width: 170px;
    border-width: 24px;
    opacity: .35;
    left: -90px;
  }

  .footer {
    padding-block: 2.7rem 2rem;
  }

  .footer__cols {
    gap: 2rem;
  }

  .footer nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1rem;
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-contact {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 48;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    padding: 10px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -5px 25px rgba(31, 64, 70, .08);
    transition: transform .25s ease, opacity .25s ease;
  }

  .mobile-contact__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 54px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: .98rem;
    touch-action: manipulation;
  }

  .mobile-contact__button:active {
    background: #155b62;
  }

  .mobile-contact__button .ico {
    width: 1.35rem;
    height: 1.35rem;
  }

  .mobile-contact.is-hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
  }

  .menu {
    z-index: 3;
  }

  .hero__box {
    padding-top: 2rem;
  }

  .footer__bar {
    gap: .8rem;
  }

  .footer__bar p:last-child {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .logo {
    font-size: 1.2rem;
  }

  .hero__txt h1 {
    font-size: 2.08rem;
  }

  .hero__card {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -1rem auto 0;
    width: calc(100% - 14px);
  }

  .hero__media {
    padding-bottom: 0;
  }
}

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

/* Melhorias de conversão: leitura clara, próximos passos e CTA */
html {
  scroll-padding-top: calc(var(--header) + 16px);
}

.hero__secondary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.15rem;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  text-underline-offset: 5px;
}

.hero__secondary span {
  transition: transform .2s ease;
}

.hero__secondary:hover span {
  transform: translateX(4px);
}

.process .sub {
  max-width: 67ch;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.step {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.5rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.step__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--soft);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.step h3 {
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  margin-bottom: .65rem;
}

.step p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.process__action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.process__action span {
  font-size: .95rem;
}

.card__action {
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  text-underline-offset: 4px;
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  line-height: 1.45;
}

.card__action span {
  transition: transform .2s ease;
}

.card__action:hover span {
  transform: translateX(4px);
}

.team-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg);
}

.team-info > div {
  max-width: 59ch;
}

.team-info h3 {
  margin-bottom: .65rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.team-info p {
  margin-bottom: 0;
}

.team-info .btn {
  flex-shrink: 0;
  text-align: center;
}

@media (max-width: 899px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: row;
    gap: 1rem;
  }

  .step__num {
    flex-shrink: 0;
  }

  .team-info {
    flex-direction: column;
    align-items: stretch;
  }

  .team-info .btn {
    width: 100%;
  }
}

@media (max-width: 599px) {
  .process__action .btn {
    width: 100%;
    font-size: 1rem;
  }

  .hero__secondary {
    font-size: .95rem;
  }

  .step {
    padding: 1.25rem;
  }

  .step__num {
    width: 42px;
    height: 42px;
  }

  .hero__txt h1 {
    font-size: clamp(2.15rem, 9vw, 3.2rem);
  }

  .team-info .btn {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__secondary span,
  .card__action span {
    transition: none;
  }
}

/* Fotos da equipe restauradas e CTA separado */
.team-contact {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 599px) {
  .team-contact .btn {
    width: 100%;
    font-size: 1rem;
    white-space: normal;
  }
}

/* ===== Carrossel do hero ===== */
.carousel {
  overflow: hidden;
  background: linear-gradient(135deg, var(--soft), var(--accent) 60%, var(--primary));
}

.carousel__track {
  position: absolute;
  inset: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

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

.carousel__ctrl {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  align-items: center;
  gap: .25rem;
  padding: .3rem;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
}

.js .carousel__ctrl {
  display: flex;
}

.carousel__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: background .2s;
}

.carousel__btn:hover {
  background: var(--bg);
}

.carousel__btn .ico {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2;
}

.carousel__pause .i-play,
.carousel__pause[aria-pressed="true"] .i-pause {
  display: none;
}

.carousel__pause[aria-pressed="true"] .i-play {
  display: block;
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding-inline: .35rem;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #b9d3d0;
  cursor: pointer;
  transition: width .25s, background .25s;
}

.carousel__dot[aria-current="true"] {
  width: 24px;
  background: var(--primary);
}

@media (max-width: 599px) {
  .carousel__ctrl {
    top: .7rem;
    right: .7rem;
  }

  .carousel__btn {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__dot,
  .carousel__btn {
    transition: none;
  }
}

/* Fotos reais da equipe */
.photo {
  overflow: hidden;
  padding: 0;
}

.photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

#curriculo {
  text-decoration: none;
  font-weight: bold;
}

/* Resumo estático das avaliações do Google */
.reviews-panel { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.6rem); background: var(--bg); border: 1px solid var(--line); border-radius: 28px; }
.reviews-score { display: grid; justify-items: center; gap: .25rem; padding: 1.25rem; border-radius: 22px; background: #fff; text-align: center; }
.google-wordmark { font: 700 1.25rem var(--sans); letter-spacing: -.06em; color: #4285f4; }
.reviews-score strong { font: 500 3.2rem/1.15 var(--sans); color: var(--title); }
.review-stars { color: #f4b400; font-size: 1.65rem; letter-spacing: .1em; line-height: 1.3; white-space: nowrap; }
.reviews-count { font-size: .95rem; }
.reviews-copy p { font-size: 1.1rem; max-width: 54ch; }
@media (max-width: 599px) {
  .reviews-panel { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; border-radius: 23px; }
  .reviews-score { grid-template-columns: 1fr auto; justify-items: start; text-align: left; column-gap: .8rem; }
  .google-wordmark, .reviews-count { grid-column: 1 / -1; }
  .reviews-score strong { grid-row: 2; }
  .review-stars { grid-column: 2; grid-row: 2; }
  .reviews-copy p { font-size: 1rem; }
}
