/* Refinamento da identidade e das seções compartilhadas da Neuroser. */
:root {
  --body: #40545f;
  --surface-lilac: #f4eef7;
  --surface-blue: #eff5f6;
  --surface-warm: #fcfafc;
  --section-space: clamp(64px, 6vw, 88px);
}

/* Roteiro de contato: sequência aberta, sem acrescentar painéis ao layout. */
.first-contact { background: var(--surface-warm); }
.contact-steps { list-style: none; counter-reset: contact-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0 0 24px; padding: 0; }
.contact-steps li { counter-increment: contact-step; border-top: 1px solid var(--line); padding-top: 24px; }
.contact-steps li::before { content: counter(contact-step); display: block; color: var(--petrol); font-size: 24px; font-weight: 500; margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.contact-steps h3 { font-size: 20px; margin-bottom: 14px; }
.contact-steps p { font-size: 16px; margin-bottom: 0; }
.contact-status { margin: 28px 0; padding: 24px; background: var(--surface-blue); border-radius: 12px; }
.contact-status h3 { font-size: 20px; margin-bottom: 12px; }
.contact-status p { margin-bottom: 0; }
.appointment-preparation { margin: 32px 0; }
.appointment-preparation h3 { font-size: 20px; }
.appointment-preparation ul { padding-left: 22px; }
.appointment-preparation li { padding: 4px 0; }
.faq details p a { color: var(--petrol); text-decoration: underline; }
@media (max-width: 850px) {
  .contact-steps { grid-template-columns: 1fr; gap: 24px; }
  .contact-steps li { position: relative; padding: 24px 0 0 40px; }
  .contact-steps li::before { position: absolute; left: 0; top: 20px; margin: 0; }
}

body { font-size: 16px; line-height: 1.85; }
h1, h2, h3 { letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.25; }
p { text-wrap: pretty; }
.section { padding: var(--section-space) 0; }
.btn { padding: 16px 24px; font-size: 14px; min-height: 48px; }
.text-link { font-size: 14px; padding: 10px 0; min-height: 44px; }
.photo img { border-radius: 14px; }
.photo figcaption { margin-top: 10px; font-size: 12px; }
.section-heading { align-items: flex-end; margin-bottom: 36px; gap: 64px; }
.section-heading p { font-size: 15px; max-width: 40ch; }

/* Présentation lumineuse après la séquence vidéo. */
#quem-somos { background: var(--surface-warm); }
#quem-somos .about-grid {
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
}
#quem-somos .photo img { aspect-ratio: 1.2; object-position: 38% center; }
#quem-somos h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
#quem-somos p { font-size: 16px; line-height: 1.9; }
#quem-somos .text-link { margin-top: 4px; }

/* Les services gardent leur composition alternée, avec un cadre commun. */
.services { background: #fff; }
.services .section-heading { margin-bottom: 44px; }
.service-row {
  margin-top: 30px;
  gap: 40px;
  padding: 32px;
  background: var(--surface-lilac);
  border-radius: 16px;
  grid-template-columns: 1fr 1fr;
}
.service-row.reverse { background: var(--surface-blue); }
.service-row .photo img { aspect-ratio: 1.5; }
.service-row.reverse .photo img { object-position: center 57%; }
.service-row h3 { font-size: clamp(1.8rem, 2.4vw, 2.25rem); }
.service-row p { font-size: 16px; line-height: 1.9; margin-bottom: 18px; }
.service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 28px;
}
.service-actions .btn { font-size: 13px; padding: 14px 18px; }

/* Deux noms réels, sans logos ou accords supplémentaires inventés. */
.convenios { background: var(--surface-lilac); }
.convenios-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 96px;
  align-items: center;
}
.convenios-layout h2 { margin-bottom: 18px; }
.convenios-layout p { max-width: 33ch; margin-bottom: 12px; font-size: 15px; }
.plans { display: block; padding: 0; margin: 0; border: 0; }
.plans li {
  padding: 26px 0;
  border-bottom: 1px solid #d4c9df;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  color: #473952;
  line-height: 1.4;
}
.plans li:first-child { border-top: 1px solid #d4c9df; }

.home-page .purpose .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 80px;
  text-align: left;
}
.home-page .purpose h2 { margin: 0; }
.home-page .purpose p { margin: 0; font-size: 15px; line-height: 1.9; }
.purpose { background: #064b62; }
.faq { background: var(--surface-warm); }
.faq-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; }
.faq-grid > div > p { font-size: 15px; }
summary { padding: 23px 0; font-size: 15px; }
details p { padding: 0 30px 8px 0; font-size: 15px; }

/* Adresse, horaires et carte regroupés dans une seule composition. */
#localizacao { background: #fff; }
.location-grid {
  grid-template-columns: .8fr 1.2fr;
  gap: 0;
  align-items: stretch;
  background: var(--surface-blue);
  border-radius: 16px;
  overflow: hidden;
}
.location-info { padding: 42px; }
.location-info h3 { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.location-info h3:not(:first-child) { margin-top: 32px; }
.location-info address { font-size: 15px; margin: 0; }
.opening-hours { margin: 0 0 30px; font-size: 14px; }
.opening-hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.opening-hours dd { margin: 0; white-space: nowrap; color: var(--petrol); font-weight: 500; }
.location-map { display: flex; flex-direction: column; min-width: 0; }
.location-map iframe { display: block; height: 100%; min-height: 340px; border-radius: 0; flex: 1; }
.location-map > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 24px;
  font-size: 14px;
  color: #fff;
  background: var(--petrol);
  min-height: 54px;
}
.location-map > a:hover { background: var(--petrol-dark); }
.location-map > a:focus-visible { outline-offset: -5px; outline-color: #fff; }

.contact-band { padding: 68px 0; background: #ece4f3; }
.contact-band h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.contact-band p { font-size: 16px; max-width: 52ch; }
footer { padding: 60px 0 24px; background: var(--surface-warm); }
.footer-grid { font-size: 13px; line-height: 1.9; gap: 32px; }
.footer-grid h2 { font-size: 14px; margin-bottom: 18px; }
.footer-grid > div > a:not(.brand) { padding: 4px 0; margin: 6px 0; }
.footer-grid p { margin-bottom: 0; }
.footer-bottom { padding-top: 24px; font-size: 12px; }
.page-intro { background: var(--surface-blue); }
.mission-grid, .values { column-gap: 80px; }
.values dd { font-size: 15px; }
.appointment-info { background: var(--surface-lilac); }

@media (max-width: 1100px) {
  #quem-somos .about-grid { gap: 45px; }
  .service-row { padding: 30px; gap: 34px; }
  .convenios-layout, .faq-grid { gap: 48px; }
  .location-info { padding: 30px; }
  .home-page .purpose .container { gap: 48px; }
}

@media (max-width: 850px) {
  body { font-size: 15px; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 32px; }
  #quem-somos .about-grid { grid-template-columns: 1fr; gap: 32px; }
  #quem-somos .photo img { aspect-ratio: 1.35; }
  .service-row { grid-template-columns: 1fr; padding: 26px; gap: 28px; }
  .service-row .photo img { aspect-ratio: 1.4; }
  .service-row.reverse .photo, .service-row.reverse > div { grid-column: auto; grid-row: auto; }
  .service-actions { gap: 12px 20px; margin-top: 20px; }
  .convenios-layout { grid-template-columns: 1fr; gap: 32px; }
  .convenios-layout p { max-width: none; }
  .plans { display: block; }
  .plans li { padding: 22px 0; font-size: 1.6rem; }
  .home-page .purpose .container { grid-template-columns: 1fr; gap: 26px; }
  .home-page .purpose p { margin: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 22px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-info { padding: 30px; }
  .location-map iframe { min-height: 310px; height: 310px; flex: auto; }
  .contact-band { padding: 48px 0; }
  .footer-grid { gap: 34px; }
}

@media (max-width: 480px) {
  .service-row { padding: 22px; border-radius: 14px; }
  .service-row h3 { font-size: 1.75rem; }
  .service-row .photo img { aspect-ratio: 1.2; border-radius: 10px; }
  .service-actions { align-items: flex-start; flex-direction: column; }
  .service-actions .btn { width: 100%; justify-content: space-between; }
  .location-info { padding: 26px; }
  .opening-hours { font-size: 13px; }
  .location-map > a { padding: 17px 20px; font-size: 13px; }
  .plans li { font-size: 1.4rem; }
  .footer-grid { gap: 28px; }
  .footer-grid h2 { margin-top: 0; }
}

/* Prioridade para leitura e uso por toque em celulares. */
@media (max-width: 600px) {
  html { scroll-padding-top: 100px; }
  body { font-size: 16px; }
  .header-home .nav-inner { min-height: 84px; }
  .header-home nav { top: 84px; max-height: calc(100dvh - 84px); overflow-y: auto; }
  .menu-toggle { min-width: 72px; min-height: 44px; }
  .header-home nav > a { min-height: 48px; font-size: 15px; }
  .hero--video h1 { font-size: clamp(2rem, 8.4vw, 2.4rem); line-height: 1.22; }
  .hero--video .lead { font-size: 16px; line-height: 1.8; }
  .hero--video .hero-slogan { font-size: 18px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; min-height: 52px; justify-content: space-between; }
  .hero-bottom { font-size: 13px; }
  .section { padding: 56px 0; }
  #quem-somos p, .service-row p, .section-heading p,
  .faq-grid > div > p, details p, .convenios-layout p,
  .home-page .purpose p { font-size: 16px; }
  summary { font-size: 16px; padding: 20px 0; }
  .service-actions .btn { min-height: 48px; font-size: 14px; }
  .location-info .btn { width: 100%; justify-content: space-between; }
  .location-info address { font-size: 16px; }
  .opening-hours { font-size: 14px; }
  .footer-grid { font-size: 14px; }
  .footer-grid > div > a:not(.brand) { display: flex; align-items: center; min-height: 44px; margin: 2px 0; }
  .footer-bottom > a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-band .btn { width: 100%; justify-content: space-between; }
}

/* Hierarquia mais concisa, preservando a identidade visual existente. */
.header-home .nav-inner { min-height: 96px; }
.hero--video { padding-top: 60px; }
.hero--video .hero-grid { min-height: 475px; }
.hero--video .hero-copy { max-width: 670px; padding: 20px 0 36px; }
.hero--video h1 { font-size: clamp(2.6rem, 4vw, 3.6rem); margin-bottom: 20px; }
.hero--video .hero-slogan { font-size: 26px; line-height: 1.35; margin-bottom: 18px; }
.hero--video .lead { max-width: 48ch; font-size: 17px; line-height: 1.75; }
.hero--video .hero-actions { margin-top: 28px; }
.hero--video .hero-bottom { margin-top: 0; padding-top: 24px; padding-bottom: 26px; }
.hero-actions .text-link { border-bottom: 0; }
.hero-actions .text-link:hover { text-decoration: underline; }
.contact-questions { margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--line); }
.contact-steps { gap: 32px; margin-bottom: 12px; }
.contact-steps li::before { font-size: 20px; margin-bottom: 12px; }
.contact-steps h3 { font-size: 18px; margin-bottom: 10px; }
.contact-steps p { line-height: 1.75; }
.contact-questions h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); }
.contact-questions summary { padding: 18px 0; }
.prose { max-width: 780px; }
.prose h3 { font-size: 21px; font-weight: 500; margin: 32px 0 12px; }
.prose p { line-height: 1.85; }
.detail-grid { align-items: start; gap: 64px; grid-template-columns: .85fr 1.15fr; }
.detail-grid > div h2 { font-size: clamp(1.8rem, 2.5vw, 2.3rem); margin-bottom: 28px; }
.detail-grid > div h3 { font-size: 19px; margin: 28px 0 12px; }
.detail-grid > div h3:first-of-type { margin-top: 0; }
.detail-grid .photo img { aspect-ratio: 1.1; }
.detail-grid .btn { margin-top: 10px; }
.page-intro .lead { font-size: 17px; }
.page-intro h1 { max-width: 24ch; }
.values dt { font-size: 18px; }
.opening-hours { font-variant-numeric: tabular-nums; }
.footer-grid h2 { color: var(--ink); }

/* Um ritmo de leitura mais tranquilo, mantendo petróleo, lilás e fotografia. */
.contact-band h2 { max-width: 22ch; }
.contact-band .btn { flex-shrink: 0; }
.contact-status { background: var(--surface-blue); padding: 28px; }
.contact-status p { line-height: 1.9; }
.page-intro .lead { max-width: 58ch; line-height: 1.85; }
.hero--video .lead { max-width: 47ch; }
.first-contact .section-heading p { max-width: 36ch; }
summary:hover { color: var(--petrol); }

@media (max-width: 1000px) {
  .header-home nav { top: 96px; max-height: calc(100dvh - 96px); overflow-y: auto; }
}

@media (max-width: 850px) {
  .hero--video { padding-top: 28px; }
  .hero--video .hero-grid { min-height: 0; }
  .hero--video .hero-copy { padding: 12px 0 32px; }
  .hero--video h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .section-heading { margin-bottom: 28px; }
  .service-row { padding: 26px; gap: 24px; margin-top: 24px; }
  .service-row .photo img { aspect-ratio: 1.6; }
  .contact-questions { margin-top: 32px; padding-top: 32px; }
  .contact-steps { gap: 18px; }
  .contact-steps li { padding-top: 18px; }
  .contact-steps li::before { top: 16px; }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-grid .photo img { aspect-ratio: 1.5; }
  .detail-grid > div { grid-row: 1; }
}

@media (max-width: 600px) {
  .header-home .nav-inner { min-height: 84px; }
  .header-home nav { top: 84px; max-height: calc(100dvh - 84px); }
  .hero--video h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); line-height: 1.22; }
  .hero--video .hero-slogan { font-size: 22px; }
  .hero--video .lead { font-size: 16px; line-height: 1.75; max-width: 36ch; }
  .hero--video .hero-actions { gap: 10px; margin-top: 24px; }
  .hero--video .hero-bottom { gap: 8px 20px; font-size: 12px; padding: 18px 0; }
  .section { padding: 48px 0; }
  .section-heading h2 { margin-bottom: 16px; }
  #quem-somos .about-grid { gap: 26px; }
  .service-row { padding: 22px; }
  .service-row h3 { font-size: 26px; margin-bottom: 14px; }
  .service-row .photo img { aspect-ratio: 1.5; }
  .service-row .text-link { font-size: 15px; }
  .contact-questions summary { font-size: 16px; }
  .contact-steps h3 { font-size: 18px; }
  .page-intro { padding: 30px 0 36px; }
  .page-intro h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .page-intro .lead { font-size: 16px; }
  .detail-grid > div h3 { font-size: 19px; }
  .detail-grid .btn { width: 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid address { overflow-wrap: anywhere; }
  footer { padding-top: 40px; }
  .footer-bottom { margin-top: 24px; }
}

/* WhatsApp flutuante: apenas o ícone verde, sem moldura; sem número publicado fica inativo (botão sem ação). */
.floating-whatsapp { width: 60px; height: 60px; padding: 0; gap: 0; justify-content: center; border: 0; border-radius: 50%; background: transparent; box-shadow: 0 6px 18px rgba(7, 63, 82, .25); }
.floating-whatsapp:hover { background: transparent; }
.floating-whatsapp img { display: block; width: 60px; height: 60px; }
.floating-whatsapp.is-pending { cursor: default; }
