/* ===== VARIÁVEIS ===== */
:root {
  --teal-900: #08363D;
  --teal-700: #0E5560;
  --aqua: #BFE9E3;
  --mist: #EEF8F7;
  --ink: #14282B;
  --sun: #F4B942;
  --white: #FFFFFF;
  --radius: 18px;
  --font-title: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', Arial, sans-serif;
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

main {
  flex: 1;
  min-height: 60vh;
}

h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.center {
  text-align: center;
  margin-top: 36px;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sun {
  background: var(--sun);
  color: var(--teal-900);
}

.btn-teal {
  background: var(--teal-700);
  color: var(--white);
}

.btn-line {
  border-color: var(--teal-700);
  color: var(--teal-700);
}

/* ===== CABEÇALHO (logo e menu centralizados) ===== */
.top {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 24px 14px;
  background: var(--teal-900);
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-t {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-t b {
  font-family: var(--font-title);
  font-size: 24px;
}

.brand-t small {
  font-size: 13px;
  color: var(--aqua);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 26px;
}

.menu a:not(.btn) {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  font-weight: 500;
  color: var(--aqua);
}

.menu a:not(.btn):hover,
.menu a.on {
  border-bottom-color: var(--sun);
  color: var(--white);
}

.menu .btn {
  padding: 9px 20px;
}

.menu-btn {
  display: none;
  position: absolute;
  top: 22px;
  right: 20px;
  width: 42px;
  height: 38px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--white);
}

/* ===== ABERTURA ANIMADA (só na 1ª visita da sessão) ===== */
.intro-screen {
  display: none;
}

html.intro .intro-screen {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: var(--teal-900);
  animation: introOut .9s cubic-bezier(.7, 0, .2, 1) 2.2s forwards;
}

.intro-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--white);
  animation: introIn .8s ease both;
}

.intro-in p {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 700;
}

@keyframes introIn {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes introOut {
  to { transform: translateY(-100%); visibility: hidden; }
}

/* ===== ANIMAÇÕES BASE ===== */
@keyframes lineUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.7) rotate(0); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes arch {
  from { clip-path: inset(100% 0 0 0 round 999px 999px 40px 40px); }
  to { clip-path: inset(0 0 0 0 round 999px 999px 40px 40px); }
}

.ln {
  overflow: hidden;
}

.ln > span {
  display: block;
  animation: lineUp .9s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i, 0) * .12s + .15s);
}

html.intro .hero .ln > span {
  animation-delay: calc(var(--i, 0) * .12s + 2.9s);
}

.spark {
  position: absolute;
  color: var(--sun);
  animation: twinkle 3.2s ease-in-out infinite;
  pointer-events: none;
}

/* ===== FAIXA DE TÍTULO (fica parada; só o texto anima) ===== */
.band {
  position: relative;
  overflow: hidden;
  padding: 64px 24px;
  background: var(--teal-700);
  color: var(--white);
  text-align: center;
}

.band-in {
  max-width: 720px;
  margin: 0 auto;
}

.band h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.band p {
  margin-top: 10px;
  color: var(--aqua);
  font-size: 19px;
}

.band p > span {
  animation-delay: .3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 64px;
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  color: var(--teal-900);
}

.hero-sub {
  max-width: 480px;
  margin-top: 18px;
  font-size: 19px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.info-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 520px;
  margin-top: 34px;
  padding: 18px 22px;
  border: 1px solid var(--aqua);
  border-radius: var(--radius);
  background: var(--mist);
  font-size: 15px;
  animation: fade .8s 1s both;
}

html.intro .info-card {
  animation-delay: 3.6s;
}

.info-card b {
  display: block;
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--teal-700);
}

.hero-photo {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
}

.arch {
  position: relative;
  aspect-ratio: 400 / 480;
  overflow: hidden;
  border-radius: 999px 999px 40px 40px;
  background: var(--aqua);
  animation: arch 1.2s cubic-bezier(.2, .7, .2, 1) .2s both;
}

html.intro .arch {
  animation-delay: 2.8s;
}

.arch-art,
.arch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  left: -18px;
  bottom: 38px;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--sun);
  color: var(--teal-900);
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(8, 54, 61, .18);
  animation: bob 4s ease-in-out infinite;
}

.badge b {
  font-family: var(--font-title);
  font-size: 26px;
}

/* ===== SEÇÕES ===== */
.sec {
  padding: 72px 0;
  animation: fade .6s .1s both;
}

.sec-mist {
  background: var(--mist);
}

.sec-head {
  max-width: 560px;
  margin-bottom: 38px;
}

.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--teal-900);
}

.sec-head p {
  margin-top: 8px;
  color: #3d5559;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ===== CARTÕES DE TRATAMENTO ===== */
.tcard {
  padding: 26px;
  border: 1px solid #D5ECE8;
  border-radius: var(--radius);
  background: var(--white);
}

.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--aqua);
  color: var(--teal-700);
}

.tcard h3 {
  margin-bottom: 8px;
  font-size: 21px;
  color: var(--teal-900);
}

.tcard p {
  font-size: 16px;
  color: #3d5559;
}

/* ===== PASSOS (sequência real) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
  counter-reset: passo;
}

.steps li {
  position: relative;
  padding: 54px 20px 22px;
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: passo;
}

.steps li::before {
  content: counter(passo);
  position: absolute;
  top: 14px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
}

.steps b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-title);
  font-size: 19px;
  color: var(--teal-900);
}

.steps span {
  font-size: 15px;
  color: #3d5559;
}

/* ===== DEPOIMENTOS ===== */
.quote {
  padding: 26px;
  border-left: 5px solid var(--sun);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--mist);
}

.quote p {
  font-size: 18px;
}

.quote cite {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  color: var(--teal-700);
}

/* ===== CHAMADA FINAL (única deste site) ===== */
.cta {
  padding: 72px 24px;
  background: var(--aqua);
  animation: fade .6s .1s both;
}

.cta-in {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-mascot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 70px;
}

.cta-mascot .big {
  animation: bob 3.4s ease-in-out infinite;
}

.bubble {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: 20px;
  background: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--teal-900);
  white-space: nowrap;
}

.bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  margin-left: -8px;
  border: 8px solid transparent;
  border-top-color: var(--white);
  border-bottom: 0;
}

.cta-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
}

.cta-card h2 {
  font-size: 28px;
  color: var(--teal-900);
}

/* ===== FORMULÁRIOS ===== */
label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-900);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #CFE6E2;
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-weight: 400;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal-700);
  outline: none;
}

.form {
  display: grid;
  gap: 16px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.two {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: start;
  gap: 40px;
}

.side {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--mist);
}

.side h3 {
  margin-top: 16px;
  font-size: 19px;
  color: var(--teal-700);
}

.side h3:first-child {
  margin-top: 0;
}

/* ===== PÁGINAS INTERNAS ===== */
.list2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.tfull {
  display: flex;
  gap: 18px;
  padding: 26px;
  border: 1px solid #D5ECE8;
  border-radius: var(--radius);
}

.tfull .ico {
  flex: none;
}

.tfull h3 {
  margin-bottom: 6px;
  font-size: 22px;
  color: var(--teal-900);
}

.tfull dl {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-size: 15px;
}

.tfull dt {
  display: inline;
  font-weight: 700;
  color: var(--teal-700);
}

.tfull dt::after {
  content: ": ";
}

.tfull dd {
  display: inline;
  margin: 0;
}

.link {
  font-weight: 700;
  color: var(--teal-700);
}

.note {
  margin-top: 30px;
  font-size: 15px;
  color: #3d5559;
}

.pro {
  text-align: center;
}

.avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 999px 999px 24px 24px;
  background: var(--aqua);
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  color: var(--teal-700);
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pro h3 {
  font-size: 20px;
  color: var(--teal-900);
}

.pro p {
  font-size: 15px;
}

.pro small {
  color: #5b7377;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  list-style: none;
  padding: 0;
}

.checks li {
  padding-left: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%230E5560'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 4px / 20px;
}

.infos {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.info {
  width: 100%;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--mist);
}

.info h3 {
  font-size: 18px;
  color: var(--teal-700);
}

.map {
  overflow: hidden;
  border-radius: var(--radius);
  background: #DDF1EE;
}

.map svg {
  display: block;
  width: 100%;
}

.map p {
  padding: 12px 16px;
  font-size: 14px;
  color: #3d5559;
}

/* ===== RODAPÉ (igual em todas as páginas) ===== */
.foot-edge {
  position: relative;
  height: 28px;
  margin-top: auto;
  background: radial-gradient(circle at 20px 28px, var(--teal-900) 19.5px, transparent 20px) repeat-x;
  background-size: 40px 28px;
  animation: fade .6s .5s both;
}

.foot-edge .mascot {
  position: absolute;
  bottom: 22px;
  animation: bob 3.6s ease-in-out infinite;
}

.foot-edge .m1 {
  right: 12%;
}

.foot-edge .m2 {
  right: calc(12% + 62px);
  animation-delay: -1.4s;
}

.foot {
  padding: 40px 24px 22px;
  background: var(--teal-900);
  color: var(--aqua);
  font-size: 15px;
  animation: fade .6s .5s both;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1.4fr;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.foot h3 {
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--white);
}

.foot a {
  display: block;
  padding: 2px 0;
  text-decoration: none;
}

.foot a:hover {
  color: var(--sun);
}

.foot p {
  margin-bottom: 6px;
}

.foot-brand {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.foot-copy {
  max-width: 1120px;
  margin: 26px auto 0 !important;
  padding-top: 16px;
  border-top: 1px solid rgba(191, 233, 227, .25);
  font-size: 13px;
}

/* ===== BOTÃO WHATSAPP ===== */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

/* ===== SAÍDA DE PÁGINA (só o conteúdo faz fade) ===== */
html.leaving main > section:not(.band) {
  opacity: 0;
  transition: opacity .2s;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .hero,
  .cta-in,
  .two,
  .list2 {
    grid-template-columns: 1fr;
  }

  .grid3,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .grid4 {
    grid-template-columns: 1fr 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: -1;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .menu-btn {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
  }

  .menu.open {
    display: flex;
  }

  .grid3,
  .steps,
  .checks,
  .row,
  .info-card {
    grid-template-columns: 1fr;
  }

  .badge {
    left: 0;
  }
}

/* ===== FOTOS (placeholders do Unsplash) ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.wide-box {
  height: 360px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: var(--radius);
}

.wide {
  display: block;
  width: calc(100% + 28px);
  max-width: none;
  height: 100%;
  margin-left: -28px;
  object-position: 22% 50%;
  object-fit: cover;
}

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

  .wide-box {
    height: 220px;
  }

  .wide {
    height: 100%;
  }
}
