:root {
  --primary: #137c72;

  --primary-dark: #075c56;

  --primary-light: #e9f5f2;

  --accent: #f2b84b;

  --dark: #123c3b;

  --text: #536b6a;

  --muted: #78908e;

  --background: #f8fbfa;

  --white: #ffffff;

  --border: #dceae7;

  --shadow: 0 18px 55px rgba(18, 60, 59, 0.1);

  --radius: 18px;

  --container: 1180px;
}

* {
  box-sizing: border-box;

  margin: 0;

  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);

  color: var(--text);

  font-family: "DM Sans", sans-serif;

  line-height: 1.6;
}

a {
  color: inherit;

  text-decoration: none;
}

img {
  display: block;

  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Tipografia */

h1,
h2,
h3 {
  color: var(--dark);

  font-family: "Manrope", sans-serif;

  line-height: 1.15;
}

h1 {
  max-width: 650px;

  font-size: clamp(3rem, 6vw, 5.3rem);

  letter-spacing: -0.065em;
}

h1 span {
  color: var(--primary);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);

  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.18rem;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--primary);

  font-size: 0.76rem;

  font-weight: 800;

  letter-spacing: 0.16em;
}

.eyebrow-light {
  color: #c6ebe4;
}

.section {
  padding: 110px 0;
}

/* Botões */

.button {
  align-items: center;

  border: 1px solid transparent;

  border-radius: 8px;

  display: inline-flex;

  font-size: 0.93rem;

  font-weight: 700;

  gap: 14px;

  justify-content: center;

  padding: 15px 23px;

  transition: 0.25s ease;
}

.button span {
  font-size: 1.2rem;

  line-height: 1;

  transition: transform 0.25s ease;
}

.button:hover span {
  transform: translateX(4px);
}

.button-primary {
  background: var(--primary);

  box-shadow: 0 10px 20px rgba(19, 124, 114, 0.2);

  color: var(--white);
}

.button-primary:hover {
  background: var(--primary-dark);

  transform: translateY(-2px);
}

.button-outline {
  border-color: var(--primary);

  color: var(--primary);
}

.button-outline:hover {
  background: var(--primary);

  color: var(--white);
}

.button-outline-dark {
  border-color: var(--dark);

  color: var(--dark);
}

.button-outline-dark:hover {
  background: var(--dark);

  color: var(--white);
}

.button-text {
  color: var(--dark);

  padding-inline: 4px;
}

.phone-icon {
  align-items: center;

  border: 1px solid var(--border);

  border-radius: 50%;

  display: inline-flex;

  height: 35px;

  justify-content: center;

  width: 35px;
}

.button-white {
  background: var(--white);

  color: var(--primary-dark);
}

.button-white:hover {
  background: #e9f5f2;

  transform: translateY(-2px);
}

.button-transparent {
  border-color: rgba(255, 255, 255, 0.5);

  color: var(--white);
}

.button-transparent:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Barra superior */

.topbar {
  background: var(--dark);

  color: rgba(255, 255, 255, 0.8);

  font-size: 0.78rem;
}

.topbar-content {
  align-items: center;

  display: flex;

  justify-content: space-between;

  min-height: 36px;
}

.topbar a {
  color: var(--white);

  font-weight: 700;
}

/* Cabeçalho */

.logo {
  align-items: center;

  color: var(--dark);

  display: inline-flex;

  flex-shrink: 0;

  gap: 10px;
}

.logo-icon {
  align-items: center;

  background: var(--primary);

  border-radius: 50% 50% 50% 8px;

  color: var(--white);

  display: inline-flex;

  font-size: 1.25rem;

  height: 38px;

  justify-content: center;

  transform: rotate(-20deg);

  width: 38px;
}

.logo strong,
.logo small {
  display: block;
}

.logo strong {
  font-family: "Manrope", sans-serif;

  font-size: 1.2rem;

  letter-spacing: -0.04em;
}

.logo small {
  color: var(--primary);

  font-size: 0.52rem;

  font-weight: 800;

  letter-spacing: 0.14em;
}

.button-small {
  font-size: 0.82rem;

  padding: 11px 15px;
}

/* Hero */

.hero {
  overflow: hidden;

  padding: 95px 0 105px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.hero-grid > *,
.features-grid > *,
.clinic-grid > *,
.faq-grid > * {
  min-width: 0;
}

.hero-description {
  font-size: 1.08rem;

  margin: 27px 0 30px;

  max-width: 525px;
}

.hero-actions {
  align-items: center;

  display: flex;

  flex-wrap: wrap;

  gap: 24px;
}

.hero-trust {
  align-items: center;

  display: flex;

  gap: 12px;

  margin-top: 43px;
}

.hero-trust strong,
.hero-trust small {
  display: block;
}

.hero-trust strong {
  color: var(--dark);

  font-size: 0.8rem;
}

.hero-trust small {
  color: var(--muted);

  font-size: 0.75rem;
}

.avatar-group {
  display: flex;
}

.avatar-group span {
  align-items: center;

  background: var(--primary-light);

  border: 2px solid var(--background);

  border-radius: 50%;

  color: var(--primary);

  display: flex;

  font-size: 0.68rem;

  font-weight: 800;

  height: 34px;

  justify-content: center;

  margin-left: -8px;

  width: 34px;
}

.avatar-group span:first-child {
  margin-left: 0;
}

.avatar-group span:nth-child(2) {
  background: #f9dca0;

  color: #8a641b;
}

.avatar-group span:nth-child(3) {
  background: #b8ddd7;
}

.avatar-group span:last-child {
  background: var(--dark);

  color: var(--white);
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  background: var(--primary-light);

  border-radius: 35px 35px 35px 110px;

  min-height: 540px;

  overflow: visible;

  padding: 15px;

  position: relative;
}

.image-placeholder {
  align-items: center;

  background:
    linear-gradient(135deg, rgba(19, 124, 114, 0.1), rgba(255, 255, 255, 0.8)),
    repeating-linear-gradient(
      45deg,
      rgba(19, 124, 114, 0.08),
      rgba(19, 124, 114, 0.08) 10px,

      transparent 10px,

      transparent 20px
    );

  border-radius: 24px 24px 24px 90px;

  color: var(--primary);

  display: flex;

  flex-direction: column;

  height: 100%;

  justify-content: center;

  min-height: 510px;

  padding: 30px;

  text-align: center;
}

.image-placeholder span {
  font-family: "Manrope", sans-serif;

  font-size: 1.2rem;

  font-weight: 700;
}

.image-placeholder small {
  display: block;

  font-size: 0.75rem;

  margin-top: 8px;

  opacity: 0.8;
}

.floating-card {
  align-items: center;

  background: var(--white);

  border-radius: 13px;

  box-shadow: var(--shadow);

  display: flex;

  gap: 11px;

  max-width: 250px;

  padding: 13px 16px;

  position: absolute;

  z-index: 2;
}

.floating-card-top {
  left: -47px;

  top: 86px;
}

.floating-card-bottom {
  bottom: 60px;

  right: -35px;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  color: var(--dark);

  font-size: 0.76rem;
}

.floating-card small {
  color: var(--muted);

  font-size: 0.66rem;

  line-height: 1.35;

  margin-top: 3px;
}

.floating-icon {
  align-items: center;

  background: var(--primary-light);

  border-radius: 50%;

  color: var(--primary);

  display: flex;

  flex-shrink: 0;

  font-size: 1rem;

  font-weight: 800;

  height: 34px;

  justify-content: center;

  width: 34px;
}

.floating-icon.emergency {
  background: #fff1d7;

  color: #c98512;

  font-size: 1.4rem;
}

/* Faixa de confiança */

.trust-strip {
  background: var(--primary);

  color: var(--white);
}

.trust-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  align-items: center;

  border-right: 1px solid rgba(255, 255, 255, 0.18);

  display: flex;

  gap: 14px;

  justify-content: center;

  min-height: 95px;

  padding: 15px;
}

.trust-item:first-child {
  justify-content: flex-start;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-number {
  color: #c4ede7;

  font-family: "Manrope", sans-serif;

  font-size: 1.45rem;

  font-weight: 800;
}

.trust-item > span:last-child {
  font-size: 0.78rem;

  line-height: 1.25;
}

/* Seção de dor */

.pain-section {
  background: var(--white);
}

.two-column {
  display: grid;

  gap: 80px;

  grid-template-columns: 0.8fr 1.2fr;
}

.section-lead {
  font-size: 1.08rem;

  margin-bottom: 25px;

  max-width: 600px;
}

.check-list {
  display: grid;

  gap: 13px;

  grid-template-columns: repeat(2, 1fr);

  list-style: none;
}

.check-list li {
  color: var(--dark);

  font-size: 0.92rem;

  font-weight: 600;
}

/* Serviços */

.section-heading {
  margin-bottom: 52px;
}

.section-heading.centered {
  margin-inline: auto;

  max-width: 670px;

  text-align: center;
}

.section-heading p {
  margin: 19px auto 0;

  max-width: 570px;
}

.cards-grid {
  display: grid;

  gap: 18px;

  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 28px 24px;

  transition: 0.25s ease;
}

.service-card:hover {
  border-color: var(--primary);

  box-shadow: var(--shadow);

  transform: translateY(-5px);
}

.card-icon {
  align-items: center;

  background: var(--primary-light);

  border-radius: 10px;

  color: var(--primary);

  display: flex;

  font-size: 1.45rem;

  height: 48px;

  justify-content: center;

  margin-bottom: 23px;

  width: 48px;
}

.service-card p {
  font-size: 0.85rem;

  margin: 15px 0 24px;
}

.service-card a {
  color: var(--primary);

  font-size: 0.85rem;

  font-weight: 700;
}

.service-card a span {
  font-size: 1.1rem;

  margin-left: 5px;
}

/* Diferenciais */

.features-section {
  background: var(--primary-light);
}

.features-grid {
  align-items: center;

  display: grid;

  gap: 90px;

  grid-template-columns: 0.9fr 1.1fr;
}

.features-image {
  position: relative;
}

.image-placeholder-large {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: 100%;
  border-radius: 25px;
}

.whatsapp-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.whatsapp-symbol svg {
  display: block;
  width: 30px;
  height: 30px;
  color: #000;
}

.experience-badge {
  align-items: center;

  background: var(--accent);

  border-radius: 50%;

  bottom: -20px;

  color: var(--dark);

  display: flex;

  flex-direction: column;

  height: 142px;

  justify-content: center;

  position: absolute;

  right: -23px;

  text-align: center;

  width: 142px;
}

.experience-badge strong {
  font-family: "Manrope", sans-serif;

  font-size: 2.5rem;

  line-height: 1;
}

.experience-badge span {
  font-size: 0.75rem;

  font-weight: 700;

  line-height: 1.25;

  margin-top: 6px;
}

.features-content > p {
  margin: 23px 0 30px;

  max-width: 530px;
}

.feature-list {
  display: grid;

  gap: 19px;

  margin-bottom: 32px;
}

.feature-item {
  align-items: flex-start;

  display: flex;

  gap: 14px;
}

.feature-check {
  align-items: center;

  background: var(--white);

  border-radius: 50%;

  color: var(--primary);

  display: flex;

  flex-shrink: 0;

  font-weight: 800;

  height: 27px;

  justify-content: center;

  width: 27px;
}

.feature-item h3 {
  font-size: 0.98rem;
}

.feature-item p {
  font-size: 0.8rem;

  margin-top: 3px;
}

/* Processo */

.process-section {
  background: var(--white);
}

.process-grid {
  align-items: center;

  display: grid;

  grid-template-columns:
    1fr 70px
    1fr 70px
    1fr;
}

.process-item {
  text-align: center;
}

.process-number {
  align-items: center;

  background: var(--primary-light);

  border-radius: 50%;

  color: var(--primary);

  display: flex;

  font-family: "Manrope", sans-serif;

  font-size: 1.15rem;

  font-weight: 800;

  height: 72px;

  justify-content: center;

  margin: 0 auto 20px;

  width: 72px;
}

.process-item h3 {
  font-size: 1.05rem;
}

.process-item p {
  font-size: 0.85rem;

  margin: 9px auto 0;

  max-width: 220px;
}

.process-line {
  border-top: 1px dashed #a5c9c4;

  margin-top: -54px;
}

/* Depoimentos */

.testimonials-section {
  background: #f1f8f6;
}

.testimonials-grid {
  display: grid;

  gap: 18px;

  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  background: var(--white);

  border-radius: var(--radius);

  padding: 30px;
}

.stars {
  color: var(--accent);

  font-size: 1.05rem;

  letter-spacing: 0.12em;

  margin-bottom: 20px;
}

.testimonial-card > p {
  color: var(--dark);

  font-size: 0.92rem;

  min-height: 92px;
}

.testimonial-author {
  align-items: center;

  border-top: 1px solid var(--border);

  display: flex;

  gap: 11px;

  margin-top: 24px;

  padding-top: 19px;
}

.author-avatar {
  align-items: center;

  background: var(--primary-light);

  border-radius: 50%;

  color: var(--primary);

  display: flex;

  font-weight: 800;

  height: 38px;

  justify-content: center;

  width: 38px;
}

.testimonial-author strong,
.testimonial-author small {
  display: block;
}

.testimonial-author strong {
  color: var(--dark);

  font-size: 0.83rem;
}

.testimonial-author small {
  color: var(--muted);

  font-size: 0.7rem;
}

/* Clínica */

.clinic-section {
  background: var(--white);
}

.clinic-grid {
  align-items: center;

  display: grid;

  gap: 80px;

  grid-template-columns: 0.9fr 1.1fr;
}

.clinic-content > p {
  margin: 22px 0 29px;

  max-width: 510px;
}

.clinic-info {
  display: grid;

  gap: 17px;

  margin-bottom: 30px;
}

.clinic-info > div {
  align-items: flex-start;

  display: flex;

  gap: 13px;
}

.info-icon {
  align-items: center;

  background: var(--primary-light);

  border-radius: 8px;

  color: var(--primary);

  display: flex;

  flex-shrink: 0;

  font-size: 1.2rem;

  height: 38px;

  justify-content: center;

  width: 38px;
}

.clinic-info strong {
  color: var(--dark);

  display: block;

  font-size: 0.85rem;
}

.clinic-info p {
  font-size: 0.78rem;

  line-height: 1.4;

  margin-top: 2px;
}

.map-placeholder {
  align-items: center;

  background:
    linear-gradient(rgba(19, 124, 114, 0.08), rgba(19, 124, 114, 0.08)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 38px,

      rgba(19, 124, 114, 0.13) 39px,

      transparent 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 38px,

      rgba(19, 124, 114, 0.13) 39px,

      transparent 40px
    );

  border-radius: 24px;

  color: var(--primary);

  display: flex;

  flex-direction: column;

  height: 400px;

  justify-content: center;

  text-align: center;
}

.map-placeholder span {
  font-family: "Manrope", sans-serif;

  font-size: 1.3rem;

  font-weight: 700;
}

.map-placeholder small {
  font-size: 0.75rem;

  margin-top: 6px;
}

/* FAQ */

.faq-section {
  background: var(--background);
}

.faq-grid {
  display: grid;

  gap: 90px;

  grid-template-columns: 0.8fr 1.2fr;
}

.faq-grid > div:first-child > p {
  margin: 20px 0 28px;

  max-width: 420px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);

  padding: 21px 0;
}

summary {
  align-items: center;

  color: var(--dark);

  cursor: pointer;

  display: flex;

  font-family: "Manrope", sans-serif;

  font-size: 1rem;

  font-weight: 700;

  justify-content: space-between;

  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  color: var(--primary);

  font-size: 1.4rem;

  font-weight: 400;

  transition: transform 0.2s ease;
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  font-size: 0.88rem;

  margin-top: 13px;

  max-width: 620px;
}

/* CTA */

.cta-section {
  background:
    linear-gradient(110deg, rgba(7, 92, 86, 0.97), rgba(19, 124, 114, 0.91)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 15px,

      rgba(255, 255, 255, 0.04) 16px,

      transparent 17px
    );

  color: var(--white);

  padding: 90px 0;

  text-align: center;
}

.cta-content {
  max-width: 730px;
}

.cta-section h2 {
  color: var(--white);

  margin-inline: auto;

  max-width: 650px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.78);

  margin: 20px auto 30px;
}

.cta-actions {
  align-items: center;

  display: flex;

  gap: 14px;

  justify-content: center;
}

/* Rodapé */

.footer {
  background: var(--dark);

  color: rgba(255, 255, 255, 0.65);

  padding: 70px 0 25px;
}

.footer-grid {
  display: grid;

  gap: 45px;

  grid-template-columns:
    1.5fr 1fr
    1.2fr 0.7fr;
}

.footer-logo {
  color: var(--white);

  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  background: var(--primary);
}

.footer-grid > div:first-child p {
  font-size: 0.8rem;

  max-width: 270px;
}

.footer h3 {
  color: var(--white);

  font-size: 0.85rem;

  margin-bottom: 17px;
}

.footer-grid > div:not(:first-child) {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.footer-grid > div:not(:first-child) a,
.footer-grid > div:not(:first-child) span {
  font-size: 0.78rem;

  transition: color 0.2s ease;
}

.footer-grid > div:not(:first-child) a:hover {
  color: var(--white);
}

.social-links {
  display: flex !important;

  flex-direction: row !important;

  gap: 8px !important;
}

.social-links a {
  align-items: center;

  border: 1px solid rgba(255, 255, 255, 0.3);

  border-radius: 50%;

  color: var(--white);

  display: flex;

  font-size: 0.8rem !important;

  height: 32px;

  justify-content: center;

  width: 32px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);

  display: flex;

  font-size: 0.7rem;

  justify-content: space-between;

  margin-top: 55px;

  padding-top: 22px;
}

/* WhatsApp flutuante */

.whatsapp-float {
  align-items: center;

  background: #25d366;

  border: 4px solid var(--white);

  border-radius: 50%;

  bottom: 22px;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);

  color: var(--white);

  display: flex;

  font-size: 1.65rem;

  height: 58px;

  justify-content: center;

  position: fixed;

  right: 22px;

  transition: transform 0.2s ease;

  width: 58px;

  z-index: 30;
}

.logo {
  display: inline-flex;

  align-items: center;

  width: 190px;

  text-decoration: none;
}

.logo-image {
  display: block;

  width: 100%;

  height: auto;

  max-height: 70px;

  object-fit: contain;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* =========================================================
   HERO — versão corrigida
   ========================================================= */

.hero {
  padding: 72px 0 82px;
  background: #f7f7f5;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.hero-content {
  max-width: 620px;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #f7f9f7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 590px;
  margin: 0;
  color: #008518;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.35rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero-subtitle {
  max-width: 560px;
  margin: 24px 0 0;
  color: #17251e;
  font-size: 1.22rem;
  line-height: 1.45;
}

.hero-divider {
  width: 100%;
  max-width: 450px;
  height: 1px;
  margin: 27px 0 24px;
  background: #a8c9ad;
}

.hero-description {
  max-width: 570px;
  margin: 0;
  color: #3f4c45;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions-stacked {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 512px;
  margin-top: 32px;
}

.hero-actions-stacked .button {
  min-height: 64px;
  border-radius: 12px;
  text-decoration: none;
}

.button-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 24px;
  background: #008518;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 133, 24, 0.16);
}

.button-call:hover {
  background: #006b13;
  color: #ffffff;
  transform: translateY(-2px);
}

.button-call .button-icon {
  font-size: 1.7rem;
  line-height: 1;
}

.button-call span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.button-call strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.button-call small {
  font-size: 1rem;
  font-weight: 700;
}

/* CORREÇÃO: a regra termina aqui.
   No CSS anterior, as regras do @media estavam indevidamente
   dentro de .button-whatsapp. */
.button-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
}

/* =========================================================
   FOTO DA EQUIPE
   ========================================================= */

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-card {
  position: relative;
  width: min(100%, 540px);
  height: 520px;
  min-height: 0;
  padding: 15px;
  overflow: visible;
  border-radius: 36px;
  background: #e4f3f0;
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 36px;
  background: repeating-linear-gradient(
    45deg,
    rgba(20, 145, 137, 0.08) 0,
    rgba(20, 145, 137, 0.08) 10px,
    rgba(255, 255, 255, 0.14) 10px,
    rgba(255, 255, 255, 0.14) 20px
  );
}

.team-photo {
  position: absolute;
  inset: 15px;
  z-index: 1;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 27px;
  background: #dcefeb;
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  width: max-content;
  max-width: 260px;
  padding: 15px 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(21, 79, 75, 0.16);
}

.floating-card-top {
  top: 76px;
  left: -48px;
}

.floating-card-bottom {
  right: -38px;
  bottom: 42px;
}

.floating-card > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.floating-card strong {
  color: #123f3c;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.floating-card small {
  max-width: 175px;
  color: #718783;
  font-size: 0.7rem;
  line-height: 1.4;
}

.floating-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  color: #07857f;
  font-size: 1.25rem;
  font-weight: 700;
  background: #e5f5f2;
}

.floating-icon.emergency {
  color: #d88b18;
  background: #fff0d8;
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 1050px) {
  .hero-grid,
  .features-grid,
  .clinic-grid,
  .faq-grid {
    gap: 50px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-card-top {
    left: -20px;
  }

  .floating-card-bottom {
    right: -15px;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin: 0 auto;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 75px 0;
  }

  .topbar-content {
    justify-content: center;
    text-align: center;
  }

  .topbar-content > span {
    display: none;
  }

  .hero {
    padding: 60px 0 70px;
  }

  /* ESSENCIAL: no celular o Hero vira uma única coluna. */
  .hero-grid,
  .two-column,
  .features-grid,
  .clinic-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero h1,
  .hero-subtitle,
  .hero-description {
    margin-inline: auto;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-divider {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-actions-stacked {
    width: min(100%, 512px);
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 400px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-image-card {
    width: min(100%, 540px);
    height: 430px;
    min-height: 0;
    margin-inline: auto;
  }

  .hero-image-card::before {
    border-radius: 27px;
  }

  .team-photo {
    border-radius: 20px;
  }

  .floating-card-top {
    left: 10px;
  }

  .floating-card-bottom {
    right: 10px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item,
  .trust-item:first-child {
    justify-content: center;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .process-grid {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .process-line {
    border-left: 1px dashed #a5c9c4;
    border-top: 0;
    height: 35px;
    margin: 0 auto;
    width: 1px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card > p {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-visual {
    min-height: 400px;
  }

  .hero-image-card {
    height: 400px;
    border-radius: 27px;
  }

  .hero-image-card::before {
    border-radius: 27px;
  }

  .team-photo {
    border-radius: 20px;
  }

  .floating-card {
    min-height: 62px;
    max-width: 210px;
    padding: 10px 13px;
  }

  .floating-card-top {
    top: 28px;
    left: -8px;
  }

  .floating-card-bottom {
    right: -8px;
    bottom: 22px;
  }

  .floating-card strong {
    font-size: 0.68rem;
  }

  .floating-card small {
    font-size: 0.6rem;
  }

  .floating-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.25rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-trust {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .hero-actions-stacked {
    max-width: 100%;
  }

  .hero-image-card {
    height: 370px;
    border-radius: 25px;
  }

  .team-photo {
    border-radius: 18px;
  }

  .floating-card {
    max-width: 210px;
    padding: 10px;
  }

  .floating-card-top {
    left: -5px;
    top: 35px;
  }

  .floating-card-bottom {
    bottom: 20px;
    right: -5px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .experience-badge {
    bottom: -15px;
    height: 115px;
    right: -6px;
    width: 115px;
  }

  .experience-badge strong {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
/* =========================================================
   AJUSTES FINAIS DE RESPONSIVIDADE
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

button,
a {
  max-width: 100%;
}

.logo {
  min-width: 0;
  width: 190px;
}

.logo-image {
  max-width: 100%;
  height: auto;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.hero-content,
.hero-visual,
.hero-image-card {
  min-width: 0;
}

.hero-image-card {
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.team-photo {
  max-width: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .features-grid,
  .clinic-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .hero h1,
  .hero-subtitle,
  .hero-description {
    margin-inline: auto;
  }

  .hero-divider {
    margin-inline: auto;
  }

  .hero-actions-stacked {
    width: min(100%, 512px);
    margin-inline: auto;
  }

  .hero-visual {
    width: 100%;
    margin-inline: auto;
  }

  .features-content,
  .clinic-content {
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 800px) {
  .hero {
    padding: 58px 0 70px;
  }

  .hero-image-card {
    height: 430px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-image-card {
    height: 400px;
  }

  .floating-card {
    max-width: min(210px, calc(100% - 16px));
  }

  .floating-card-top {
    top: 24px;
    left: 8px;
  }

  .floating-card-bottom {
    right: 8px;
    bottom: 20px;
  }

  .cards-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .experience-badge {
    right: 0;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 48px 0 58px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 3.25rem);
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .hero-image-card {
    height: 360px;
    padding: 10px;
    border-radius: 24px;
  }

  .hero-image-card::before {
    border-radius: 24px;
  }

  .team-photo {
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 18px;
  }

  .floating-card {
    gap: 8px;
    max-width: 185px;
    padding: 9px 10px;
  }

  .floating-card strong {
    font-size: 0.66rem;
  }

  .floating-card small {
    max-width: 130px;
    font-size: 0.58rem;
  }

  .floating-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .floating-card-top {
    left: 4px;
    top: 24px;
  }

  .floating-card-bottom {
    right: 4px;
    bottom: 18px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .button {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
/* =========================================================
   IDENTIDADE PREMIUM — PARNASO ATELIÊ ORAL
   ========================================================= */

:root {
  --primary: #b89252;
  --primary-dark: #8e6934;
  --primary-light: #f4eee5;
  --accent: #d2aa68;

  --dark: #11110f;
  --text: #5f5a53;
  --muted: #8b847b;
  --background: #f8f5f0;
  --white: #ffffff;
  --border: #e4ddd3;

  --shadow: 0 18px 55px rgba(17, 17, 15, 0.12);
}

/* Tipografia da nova identidade */

body {
  background: var(--background);
  color: var(--text);
}

h1,
h2,
h3 {
  color: var(--dark);
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h3,
body,
button,
a {
  font-family: "DM Sans", sans-serif;
}

/* =========================================================
   HEADER SOBREPOSTO AO HERO
   ========================================================= */

.button-gold {
  background: var(--accent);
  color: #17130d;
}

.button-gold:hover {
  background: #e1bb79;
  color: #17130d;
  transform: translateY(-2px);
}

/* =========================================================
   HERO PREMIUM
   ========================================================= */

.luxury-hero {
  align-items: center;
  background: url("../img/hero-recepcao.webp") center right / cover no-repeat;
  color: var(--white);
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: 150px 0 115px;
  position: relative;
}

.luxury-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 9, 0.98) 0%,
      rgba(10, 10, 9, 0.91) 34%,
      rgba(10, 10, 9, 0.58) 59%,
      rgba(10, 10, 9, 0.16) 100%
    ),
    linear-gradient(0deg, rgba(10, 10, 9, 0.55), transparent 40%);
}

.luxury-hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 650px;
}

.hero-eyebrow {
  align-items: center;
  color: #eee0c2;
  display: inline-flex;
  gap: 16px;
  letter-spacing: 0.28em;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  background: var(--accent);
  content: "";
  display: inline-block;
  height: 2px;
  width: 62px;
}

.luxury-hero h1 {
  color: var(--white);
  font-size: clamp(3.6rem, 7vw, 6.3rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.96;
  max-width: 680px;
}

.luxury-hero h1 span {
  color: var(--accent);
  display: block;
}

.luxury-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  line-height: 1.55;
  margin: 0;
  max-width: 570px;
}

/* Motivos de urgência */

.emergency-types {
  display: flex;
  gap: 0;
  margin-bottom: 42px;
  max-width: 590px;
}

.emergency-type {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 78px;
  padding: 0 19px;
  text-align: center;
}

.emergency-type:first-child {
  padding-left: 0;
}

.emergency-type:last-child {
  border-right: 0;
}

.emergency-icon {
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
}

.emergency-type span:last-child {
  font-size: 0.73rem;
  line-height: 1.25;
}

/* CTA principal */

.hero-whatsapp-button {
  align-items: center;
  background: #25d366;
  border-radius: 40px;
  color: #000000;
  display: inline-flex;
  gap: 16px;
  min-width: 375px;
  padding: 17px 24px;
  transition: 0.25s ease;
  margin: 24px 0;
}

@media (max-width: 767px) {
  .hero-whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }
}

.hero-whatsapp-button:hover {
  background: #1da851;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28);
  transform: translateY(-3px);
}

.hero-whatsapp-button span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-whatsapp-button strong {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.hero-whatsapp-button small {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 3px;
}

.button-arrow {
  font-size: 1.6rem;
  margin-left: auto;
}

/* Localização inferior */
/* Localização inferior */

.hero-location {
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  font-size: 0.84rem;
  gap: 17px;
  margin-top: 28px;
}

.hero-scroll {
  align-items: center;
  bottom: 25px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  gap: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-icon {
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  display: grid;
  font-size: 1.2rem;
  height: 28px;
  place-items: center;
  width: 28px;
}

.hero-scroll small {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

/* =========================================================
   SEÇÕES RESTANTES — ADAPTAÇÃO DA PALETA
   ========================================================= */

.trust-strip {
  background: var(--dark);
}

.service-card,
.testimonial-card {
  border-color: var(--border);
}

.card-icon,
.feature-check,
.info-icon,
.process-number {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.features-section,
.testimonials-section {
  background: var(--primary-light);
}

.cta-section {
  background: linear-gradient(
    110deg,
    rgba(17, 17, 15, 0.98),
    rgba(68, 48, 25, 0.95)
  );
}

.experience-badge {
  background: var(--accent);
}

.whatsapp-float {
  background: #25d366;
}

/* Esconde elementos do antigo hero, caso ainda existam no HTML */

.luxury-hero .hero-visual,
.luxury-hero .hero-actions-stacked,
.luxury-hero .hero-divider,
.luxury-hero .hero-description {
  display: none;
}
@media (max-width: 900px) {
  .luxury-hero {
    background-position: 62% center;
    min-height: 820px;
    padding: 150px 0 100px;
  }

  .luxury-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 9, 0.98) 0%,
      rgba(10, 10, 9, 0.88) 48%,
      rgba(10, 10, 9, 0.68) 100%
    );
  }

  .hero-copy {
    max-width: 100%;
  }

  .luxury-hero h1 {
    font-size: clamp(3.2rem, 13vw, 5rem);
  }

  .luxury-hero .hero-subtitle {
    margin: 0;
    font-size: 1.05rem;
  }

  .emergency-types {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 34px 0;
    width: 100%;
  }
  .emergency-type {
    padding: 0 6px;
  }

  .emergency-icon {
    font-size: 1.55rem;
  }

  .emergency-type span:last-child {
    font-size: 0.62rem;
  }

  .hero-whatsapp-button {
    min-width: 0;
    width: 100%;
  }

  .hero-location {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 520px) {
  .luxury-hero {
    min-height: 780px;
    padding-top: 135px;
  }

  .luxury-hero h1 {
    font-size: clamp(2.9rem, 14vw, 4rem);
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .hero-eyebrow::before {
    width: 36px;
  }

  .emergency-types {
    gap: 3px;
  }

  .emergency-type {
    min-height: 70px;
  }

  .emergency-icon {
    font-size: 1.3rem;
  }

  .emergency-type span:last-child {
    font-size: 0.55rem;
  }

  .hero-whatsapp-button {
    padding: 15px 17px;
  }

  .hero-whatsapp-button strong {
    font-size: 0.75rem;
  }

  .hero-whatsapp-button small {
    font-size: 0.7rem;
  }

  .hero-location {
    font-size: 0.75rem;
  }
}
/* =========================================================
   HERO COM FOTO DA RECEPÇÃO
   ========================================================= */

:root {
  --gold: #c99d59;
  --gold-light: #e6c37e;
  --hero-black: #11100e;
}

/* O cabeçalho fica sobre a imagem */

/* Hero */
.hero-consultorio {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 150px 0 120px;
  overflow: hidden;

  background-image: url("../img/geminifalai2_edit_output.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 9, 0.98) 0%,
      rgba(10, 10, 9, 0.93) 32%,
      rgba(10, 10, 9, 0.62) 58%,
      rgba(10, 10, 9, 0.18) 100%
    ),
    linear-gradient(0deg, rgba(10, 10, 9, 0.58), transparent 45%);
}

.hero-consultorio .hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
  color: #f0dfbd;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.25em;
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 62px;
  height: 2px;
  background: var(--gold-light);
}

.hero-consultorio h1 {
  max-width: 680px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.5rem, 7vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero-consultorio h1 span {
  display: block;
  color: var(--gold-light);
}

.hero-consultorio .hero-subtitle {
  max-width: 570px;
  margin: 32px 0 36px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
  line-height: 1.55;
}

/* Ícones/textos de urgência */
.hero-emergency-list {
  display: flex;
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-emergency-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 17px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
}

.hero-emergency-list span:first-child {
  padding-left: 0;
}

.hero-emergency-list span:last-child {
  border-right: 0;
}

/* Botão */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 370px;
  padding: 17px 24px;
  border-radius: 40px;
  background: var(--gold-light);
  color: #19140d;
  transition: 0.25s ease;
}

.hero-cta:hover {
  background: #f0ce8b;
  box-shadow: 0 12px 35px rgba(230, 195, 126, 0.3);
  transform: translateY(-3px);
}

.hero-cta-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 1.1rem;
}

.hero-cta > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-cta strong {
  font-size: 0.84rem;
  letter-spacing: 0.1em;
}

.hero-cta small {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-cta-arrow {
  margin-left: auto;
  font-size: 1.6rem;
}

/* Localização */
.hero-location {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}

/* Indicador de rolagem */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.75);
  transform: translateX(-50%);
}

.hero-scroll span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.2rem;
}

.hero-scroll small {
  font-size: 0.56rem;
  letter-spacing: 0.25em;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .hero-consultorio {
    min-height: 850px;
    padding: 145px 0 100px;
    background-position: 64% center;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 9, 0.98) 0%,
      rgba(10, 10, 9, 0.88) 50%,
      rgba(10, 10, 9, 0.65) 100%
    );
  }

  .hero-consultorio .hero-content {
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
    font-size: 0.61rem;
    letter-spacing: 0.15em;
  }

  .hero-eyebrow::before {
    width: 35px;
  }

  .hero-consultorio h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-consultorio .hero-subtitle {
    font-size: 1rem;
  }

  .hero-emergency-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-emergency-list span {
    padding: 0 5px;
    font-size: 0.57rem;
  }

  .hero-cta {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .hero-location {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .hero-location i,
  .hero-scroll {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-consultorio {
    min-height: 800px;
  }

  .hero-emergency-list span {
    font-size: 0.5rem;
  }

  .hero-cta strong {
    font-size: 0.7rem;
  }

  .hero-cta small {
    font-size: 0.66rem;
  }
}
/* =========================================================
   CORREÇÃO FINAL — HEADER, MENU E HERO
   ========================================================= */

/* Cabeçalho sobreposto à imagem do hero */

/* Estrutura interna */

/* Logo */

/* Links visíveis no desktop */

/* Informações do cabeçalho */

/* Botão do cabeçalho */

/* Hambúrguer escondido no desktop */

/* =========================================================
   IMAGEM DO HERO
   ========================================================= */

.hero-consultorio,
.luxury-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 150px 0 120px;
  overflow: hidden;

  background-image: url("../img/herorecepcao.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  color: #fff;
}

/* Se você estiver usando a classe hero normal no HTML */
.hero.hero-consultorio {
  background-image: url("../img/herorecepcao.jpg");
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {
  /* Exibe o botão hambúrguer no celular */

  /* Menu fechado */

  /* Menu aberto pelo JavaScript */

  .hero-consultorio,
  .luxury-hero {
    min-height: 820px;
    padding: 140px 0 100px;
    background-position: 62% center;
  }
}
/* =========================================================
   HERO FINAL — FOTO DA RECEPÇÃO
   ========================================================= */

.hero.luxury-hero,
section.luxury-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;

  background-color: #11100e;
  background-image: url("../img/hero-recepcao.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  color: #ffffff;
}

/* Camada escura para melhorar a leitura do texto */
.hero.luxury-hero .luxury-hero-overlay,
section.luxury-hero .luxury-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 9, 0.97) 0%,
      rgba(10, 10, 9, 0.88) 32%,
      rgba(10, 10, 9, 0.48) 65%,
      rgba(10, 10, 9, 0.12) 100%
    ),
    linear-gradient(0deg, rgba(10, 10, 9, 0.55), transparent 45%);
}

/* Conteúdo acima da imagem e do overlay */
.hero.luxury-hero .luxury-hero-content,
section.luxury-hero .luxury-hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1180px);
  min-height: 100svh;
  margin-inline: auto;

  display: flex;
  align-items: center;
}

/* Posicionamento do texto */
.hero.luxury-hero .hero-copy,
section.luxury-hero .hero-copy {
  width: min(100%, 650px);
  margin-left: clamp(0px, 5vw, 70px);
}

/* Mobile */
@media (max-width: 800px) {
  .hero.luxury-hero,
  section.luxury-hero {
    min-height: 820px;
    background-position: 62% center;
  }

  .hero.luxury-hero .luxury-hero-content,
  section.luxury-hero .luxury-hero-content {
    width: min(100% - 32px, 680px);
    min-height: 820px;
  }

  .hero.luxury-hero .hero-copy,
  section.luxury-hero .hero-copy {
    width: 100%;
    margin-left: 0;
  }

  .hero.luxury-hero .luxury-hero-overlay,
  section.luxury-hero .luxury-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 9, 0.98) 0%,
      rgba(10, 10, 9, 0.84) 52%,
      rgba(10, 10, 9, 0.58) 100%
    );
  }
}

/* Ícones das redes sociais */

.social-links a svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-links a:hover {
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ========================================
   NOSSA EQUIPE
   ======================================== */

/* Seção de profissionais */
.professionals-section {
  background: var(--background);
}

/* Desktop: três cards verticais */
.professionals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin-top: 36px;
}

.professional-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

@media (hover: hover) {
  .professional-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
  }
}

/* Foto */
.professional-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 25%;
  background: #eee9e2;
}

/* Informações */
.professional-info {
  flex: 1;
  min-width: 0;
  padding: 20px;
}

.professional-info h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--dark);
}

.professional-role {
  margin: 0;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.professional-cro {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.professional-description {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Tablet: duas colunas */
@media (max-width: 900px) {
  .professionals-grid {
    grid-template-columns: repeat(2, minmax(0, 280px));
  }

  .professional-card:last-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 280px;
    justify-self: center;
  }
}

/* Mobile: cards horizontais empilhados */
@media (max-width: 600px) {
  .professionals-grid {
    grid-template-columns: minmax(0, 420px);
    gap: 16px;
    margin-top: 28px;
  }

  .professional-card,
  .professional-card:last-child {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    width: 100%;
    max-width: none;
    grid-column: auto;
    align-items: stretch;
  }

  .professional-card img {
    width: 112px;
    height: 100%;
    min-height: 170px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
  }

  .professional-info {
    padding: 16px;
  }

  .professional-info h3 {
    font-size: 1rem;
  }

  .professional-role {
    font-size: 0.82rem;
  }

  .professional-cro {
    font-size: 0.75rem;
  }

  .professional-description {
    margin-top: 8px;
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* Celulares muito estreitos */
@media (max-width: 360px) {
  .professional-card,
  .professional-card:last-child {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .professional-card img {
    width: 90px;
  }

  .professional-info {
    padding: 12px;
  }
}

/* =========================================================
   AJUSTE MOBILE — ESPAÇO ENTRE CABEÇALHO E TÍTULO DO HERO
   O cabeçalho tem 78px no mobile. O conteúdo começa 48px
   abaixo dele: 78px + 48px = 126px.
   Remove a altura mínima do contêiner interno, que antes
   centralizava o texto e gerava espaços vazios excessivos.
   ========================================================= */
@media (max-width: 900px) {
  .hero.luxury-hero,
  section.luxury-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 126px 0 52px;
  }

  .hero.luxury-hero .luxury-hero-content,
  section.luxury-hero .luxury-hero-content {
    min-height: 0;
    display: block;
  }
}

/* =========================================================
   CABEÇALHO — ESTILOS CONSOLIDADOS
   A topbar tem 36px e permanece acima do hero.
   O header fica sobre a imagem do hero, sem ocultar a topbar.
   ========================================================= */

.header.luxury-header {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 14, 12, 0.45),
    rgba(15, 14, 12, 0)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: none;
}

.header .nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  min-height: 88px;
  min-width: 0;
}

.header .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 190px;
}

.header .logo-image {
  display: block;
  width: 100%;
  max-height: 72px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header .nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  gap: clamp(14px, 1.4vw, 24px);
  margin-left: auto;
}

.header .nav a {
  display: inline-block;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header .nav a:hover,
.header .nav a:focus-visible {
  color: #e6c37e;
}

/* As informações do atendimento aparecem apenas em telas largas. */
.header .header-contact {
  display: none;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.73rem;
  white-space: nowrap;
}

/* Separador visual utilizado no cabeçalho e na área de localização do hero. */
.division-bar {
  display: block;
  flex: 0 0 1px;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
}

/* CTA dourado: fundo e texto com contraste legível. */
.header .header-button {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 42px;
  margin-left: 0;
  padding: 10px 15px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #17130d;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.header .header-button:hover {
  background: #e6c37e;
  border-color: #e6c37e;
  color: #17130d;
  transform: translateY(-2px);
}

.header .menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}

.header .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header .menu-toggle:focus-visible,
.header .nav a:focus-visible,
.header .header-button:focus-visible {
  outline: 2px solid #e6c37e;
  outline-offset: 4px;
}

@media (min-width: 1200px) {
  .header .header-contact {
    display: flex;
  }
}

@media (max-width: 1200px) {
  .hero {
    padding: 120px 0;
  }
}

/* Em tablets e celulares, navegação recolhida e hambúrguer funcional. */
@media (max-width: 1020px) {
  .header .nav-wrapper {
    min-height: 78px;
    gap: 12px;
  }

  .header .logo {
    width: 185px;
  }

  .header .header-button {
    margin-left: auto;
  }

  .header .menu-toggle {
    display: inline-flex;
  }

  .header .nav {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(300px, 100%);
    margin-left: 0;
    padding: 8px 18px 14px;
    background: rgba(17, 16, 14, 0.98);
    border: 1px solid rgba(230, 195, 126, 0.35);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .header .nav.nav-open {
    display: flex;
  }

  .header .nav a {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.92rem;
  }

  .header .nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding: 100px 0;
  }
}

@media (max-width: 900px) {
  /* A localização no hero passa a ser apresentada em coluna. */
  .hero-location .division-bar {
    display: none;
  }
}

.professional-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 360px;
  object-fit: cover;
  object-position: center 25%;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .professional-photo {
    max-width: 100%;
    height: 340px;
  }
}

@media (max-width: 640px) {
  .header .logo {
    width: 165px;
  }

  /* O hero já oferece o CTA principal, evitando um topo sobrecarregado. */
  .header .header-button {
    display: none;
  }

  .header .menu-toggle {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header .nav a,
  .header .header-button {
    transition: none;
  }
}

/* Botão do menu */
.header .menu-toggle {
  border: 1px solid rgba(230, 195, 126, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #e6c37e;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.header .menu-toggle:hover {
  background: rgba(230, 195, 126, 0.12);
  border-color: #e6c37e;
}

/* Ícone com três linhas */
.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 18px;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* Transformação em X */
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Respeita preferências de movimento */
@media (prefers-reduced-motion: reduce) {
  .menu-icon span {
    transition: none;
  }
}

.professional-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 360px;
  object-fit: cover;
  object-position: center 25%;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .professional-photo {
    max-width: 100%;
    height: 340px;
  }
}
