/* ═══════════════════════════════════════════════════════════════════════════ */
/* ELOCLIN IPIRANGA - GLOBAL STYLES                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ─── COLOR & TYPOGRAPHY VARIABLES ─── */
:root {
  --blue-50:  #e9fbfb;
  --blue-100: #c9f2f4;
  --blue-200: #8fe2e8;
  --blue-300: #48cbd6;
  --blue-400: #16b6c5;
  --blue-500: #00a7b7;
  --blue-600: #008da5;
  --blue-700: #0b6691;
  --blue-800: #064f86;
  --blue-900: #003c79;
  --sky:      #13b9c6;
  --ice:      #d2f2f5;
  --dark:     #07111f;
  --mid:      #155a8d;
  --text:     #20405f;
  --muted:    #496a82;
  --white:    #ffffff;
  --aqua:     #00aeb8;
  --navy:     #003c79;
  --shadow-blue: 0 22px 58px rgba(0, 96, 146, 0.18);
  --shadow-soft: 0 10px 30px rgba(6, 79, 134, 0.10);
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fbfdfe;
  overflow-x: hidden;
  line-height: 1.6;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 5000;
  transform: translateY(-150%);
  background: var(--blue-900);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-blue);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HEADER & NAVIGATION                                                         */
/* ═══════════════════════════════════════════════════════════════════════════ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 0;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s, border-color 0.3s;
}

header.scrolled {
  border-bottom: 1px solid rgba(0, 174, 184, 0.10);
  box-shadow: 0 8px 28px rgba(0, 60, 121, 0.10);
}

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

.logo-image {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--blue-600);
  font-weight: 800;
  display: block;
  line-height: 1;
}

.logo-tagline {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav a {
  text-decoration: none;
  color: var(--mid);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  transition: all 0.2s;
}

nav a:hover,
nav a.active {
  background: var(--blue-50);
  color: var(--blue-800);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--mid);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* BUTTONS                                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.btn-outline {
  border: 1.5px solid var(--blue-300);
  color: var(--blue-800);
  background: transparent;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-outline:hover { background: var(--blue-50); border-color: var(--blue-600); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-900));
  color: white;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 20px rgba(0, 141, 165, 0.24);
  border: none;
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 141, 165, 0.32); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: white;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 20px rgba(18, 140, 74, 0.24);
  border: none;
}

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

.btn-white {
  background: var(--blue-700);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 96, 146, 0.22);
  transition: all 0.25s;
}

.btn-white:hover { transform: translateY(-2px); background: var(--blue-900); box-shadow: 0 10px 30px rgba(0, 96, 146, 0.30); }

.btn-wht-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: white;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-wht-outline:hover { background: rgba(255, 255, 255, 0.10); }

.btn-form {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-800));
  color: white;
  border: none;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  transition: all 0.25s;
  box-shadow: 0 8px 22px rgba(0, 141, 165, 0.24);
}

.btn-form:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 141, 165, 0.34); }

.btn-form:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HERO SECTION                                                                 */
/* ═══════════════════════════════════════════════════════════════════════════ */

#hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 22%, rgba(0, 174, 184, 0.16) 0 18%, transparent 19%),
    radial-gradient(circle at 9% 91%, rgba(0, 60, 121, 0.08) 0 18%, transparent 19%),
    linear-gradient(135deg, #ffffff 0%, #f6fcfd 48%, #e8f8fa 100%);
}

.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border: 3px solid rgba(0, 174, 184, 0.32);
  border-radius: 50%;
}

.hero-bg::before {
  width: 520px;
  height: 520px;
  right: -130px;
  top: -180px;
}

.hero-bg::after {
  width: 720px;
  height: 720px;
  right: -310px;
  bottom: -360px;
  border-color: rgba(0, 60, 121, 0.20);
}

.hero-blob {
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 560px;
  height: 310px;
  border-radius: 52% 48% 0 0 / 100% 100% 0 0;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  opacity: 1;
}

.hero-blob-2 {
  position: absolute;
  right: 140px;
  bottom: -155px;
  width: 470px;
  height: 240px;
  border-radius: 52% 48% 0 0 / 100% 100% 0 0;
  background: linear-gradient(135deg, rgba(0, 174, 184, 0.90), rgba(0, 141, 165, 0.80));
}

@keyframes morphBlob {
  0%,100% { border-radius: 30% 70% 60% 40% / 40% 30% 70% 60%; }
  33%  { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  66%  { border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%; }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 5%;
  max-width: 590px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--blue-200);
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-top: 16px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge i { color: var(--blue-500); }

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4.7vw, 4.1rem);
  line-height: 1;
  color: var(--dark);
  font-weight: 800;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-content h1 em { color: var(--blue-500); font-style: normal; font-weight: 800; }

.hero-content p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 18px 0 28px;
  max-width: 480px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-actions a {
  flex: 0 0 auto;
  font-size: 14px;
  padding: 12px 28px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 34px;
  animation: fadeUp 0.7s 0.45s ease both;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-800);
  line-height: 1;
}

.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

.hero-visual {
  position: absolute;
  z-index: 2;
  right: 5%;
  top: 50%;
  width: min(42vw, 540px);
  aspect-ratio: 1;
  transform: translateY(-46%);
}

.hero-photo-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  padding: 16px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(140deg, var(--blue-200), var(--blue-500), var(--blue-900)) border-box;
  border: 9px solid transparent;
  box-shadow: 0 28px 70px rgba(0, 60, 121, 0.18);
}

.hero-photo-ring::before {
  content: '';
  position: absolute;
  inset: -34px;
  border: 2px solid rgba(0, 174, 184, 0.30);
  border-radius: 50%;
}

.hero-photo-ring img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.hero-plus {
  position: absolute;
  top: 14%;
  left: 4%;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  color: var(--blue-700);
  font-weight: 800;
  line-height: 1;
}

.hero-image-wrap {
  position: absolute;
  right: 0;
  top: 70px;
  bottom: 0;
  width: 46%;
  overflow: hidden;
  z-index: 1;
  background: transparent;
}

.hero-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(240, 247, 255, 0.88) 0%, rgba(240, 247, 255, 0) 38%);
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, transparent 60%, rgba(255, 255, 255, 0.72) 100%);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── PAGE HERO (INTERNAL PAGES) ─── */
.page-hero {
  background: var(--blue-900);
  padding: 74px 5% 54px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.60);
  font-size: 13px;
  text-decoration: none;
}

.breadcrumb a:hover { color: white; }

.breadcrumb span { color: rgba(255, 255, 255, 0.35); font-size: 12px; }

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.90);
  font-size: 13px;
  font-weight: 500;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero h1 em { color: var(--blue-200); font-style: normal; font-weight: 800; }

.page-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 500px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SECTIONS & GENERAL STYLES                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

section { padding: 44px 5%; }

.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-800);
  background: white;
  border: 1px solid var(--blue-200);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.section-title em { color: var(--blue-500); font-style: normal; font-weight: 800; }

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
}

.section-sub--narrow { max-width: 460px; }

.section-heading-center {
  text-align: center;
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CONVÊNIOS ─── */
#convenios {
  padding: 44px 5%;
  background: var(--blue-900);
}

.convenios-intro {
  display: block;
  margin-bottom: 20px;
}

.convenios-intro .section-sub {
  margin-top: 8px;
  max-width: 720px;
}

.convenios-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#convenios .section-label {
  color: white;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(143, 226, 232, 0.50);
}

#convenios .section-title,
#convenios .section-sub {
  color: white;
}

#convenios .section-title em {
  color: var(--blue-200);
}

#convenios .section-sub {
  opacity: 0.78;
}

.convenio-item {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(143, 226, 232, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
}

.convenio-item::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
  color: white;
  flex: 0 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CARDS & SERVICES                                                            */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ─── SERVICES ─── */
#servicos {
  background: #ffffff;
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
}

.servicos-intro {
  display: block;
  margin-bottom: 20px;
}

.servicos-intro .section-sub {
  margin-top: 8px;
  max-width: 760px;
}

.accordion {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
  max-width: 1180px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.acc-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.acc-item {
  display: block;
  width: 100%;
  align-self: start;
  border-top: 1px solid rgba(143, 226, 232, 0.70);
  border-bottom: 1px solid rgba(143, 226, 232, 0.70);
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.acc-head:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 6px;
}

.acc-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.acc-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: #ffffff;
  color: var(--blue-600);
  border: 1px solid var(--blue-200);
  transition: background 0.2s, color 0.2s;
}

.acc-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  overflow-wrap: anywhere;
}

.acc-chevron {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.75rem;
  transition: transform 0.25s ease, color 0.2s;
}

.acc-body {
  padding: 0 0 12px 42px;
}

.acc-body p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
}

.acc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  color: var(--blue-600);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.acc-link:hover {
  gap: 10px;
}

.acc-open .acc-icon,
.acc-head:hover .acc-icon {
  background: var(--blue-500);
  color: white;
  border-color: var(--blue-500);
}

.acc-open .acc-chevron {
  color: var(--blue-600);
  transform: rotate(180deg);
}

@media (max-width: 580px) {
  .accordion { grid-template-columns: 1fr; }
  .acc-head { padding: 13px 0; }
  .acc-left { gap: 12px; }
  .acc-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 15px;
  }
  .acc-name { font-size: 1rem; }
  .acc-body { padding: 0 0 12px 46px; }
  .acc-link {
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (min-width: 581px) and (max-width: 900px) {
  .accordion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ─── PRICES ─── */
#precos {
  padding: 42px 5%;
  background: var(--ice);
  border-bottom: 1px solid var(--blue-100);
}

.precos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.preco-card {
  background: white;
  border-radius: 22px;
  padding: 24px;
  border: 1.5px solid var(--blue-100);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}

.preco-card.destaque {
  border-color: var(--blue-500);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 174, 184, 0.45) 0 24%, transparent 25%),
    linear-gradient(160deg, var(--blue-800), var(--blue-900));
  color: white;
}

.preco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }

.preco-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 10px;
}

.preco-card.destaque .preco-badge { color: var(--blue-300); }

.preco-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.preco-card.destaque h3 { color: white; }

.preco-valor {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0;
}

.preco-cifra { font-size: 1rem; color: var(--muted); font-weight: 600; }

.preco-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue-800);
  line-height: 1;
}

.preco-card.destaque .preco-num,
.preco-card.destaque .preco-cifra { color: white; }

.preco-desc { font-size: 0.85rem; color: var(--muted); }

.preco-card.destaque .preco-desc { color: var(--blue-200); }

.preco-alt { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

.preco-card.destaque .preco-alt { color: var(--blue-300); }

/* ─── ABOUT SECTION ─── */
#sobre {
  background: #ffffff;
  padding-top: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--blue-100);
}

.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: center;
}

.sobre-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: clamp(320px, 28vw, 360px);
  background: linear-gradient(135deg, var(--blue-100), var(--blue-300));
  box-shadow: var(--shadow-blue);
}

.sobre-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: white;
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 8px 26px rgba(30, 58, 95, 0.16);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sobre-tag-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.sobre-tag-text { font-size: 11px; color: var(--muted); }

.sobre-tag-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-700);
  line-height: 1;
}

.sobre-text { display: flex; flex-direction: column; gap: 0; }

.sobre-text p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

.sobre-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}

.sobre-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: white;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid var(--blue-100);
  box-shadow: 0 8px 18px rgba(0, 60, 121, 0.04);
}

.sobre-item i {
  color: var(--blue-600);
  font-size: 14px;
  margin-top: 2px;
}

.sobre-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* ─── STRUCTURE GALLERY ─── */
#estrutura {
  background: var(--ice);
  padding-top: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--blue-100);
}

.estrutura-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.estrutura-carousel {
  position: relative;
}

.estrutura-arrow {
  display: none;
}

.estrutura-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 20px;
}

.estrutura-item:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 4px;
}

.foto-estrutura {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, filter 0.3s, box-shadow 0.3s;
}

.estrutura-item:hover .foto-estrutura {
  transform: translateY(-4px);
  filter: brightness(1.05) contrast(1.1);
  box-shadow: var(--shadow-blue);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 7%;
  background: rgba(15, 23, 42, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox-content {
  width: min(100%, 980px);
  margin: 0;
  text-align: center;
}

.lightbox-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-content figcaption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  padding: 14px 12px 0;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 18px;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ─── TEAM (EQUIPE) ─── */
#equipe.team { padding: 64px 5%; }

.equipe-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 52px;
}

.equipe-intro { margin-bottom: 34px; }

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.care-card,
.care-note {
  background: #ffffff;
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-soft);
}

.care-card {
  border-radius: 18px;
  padding: 20px;
}

.care-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: white;
  background: var(--blue-700);
}

.care-card h3 {
  font-family: var(--font-display);
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 8px;
}

.care-card p,
.care-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.care-note {
  border-radius: 16px;
  margin-top: 16px;
  padding: 14px 16px;
}

.care-note strong {
  color: var(--dark);
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}

figure.medico {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}

figure.medico:hover { transform: translateY(-6px); box-shadow: var(--shadow-blue); border-color: var(--blue-200); }

.medico-foto {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-100) 0%, var(--blue-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.medico-foto i { font-size: 80px; color: var(--blue-300); }

.medico-foto .medico-esp-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--blue-200);
}

figcaption {
  padding: 22px 24px;
}

figcaption h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.medico-crm {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.medico-bio {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.crm { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }

.esp-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-200);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ─── TESTIMONIALS ─── */
#depoimentos {
  background: var(--ice);
  padding: 42px 5%;
  border-bottom: 1px solid var(--blue-200);
}

.depo-heading {
  text-align: left;
}

.depo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.depo-carousel {
  position: relative;
}

.depo-arrow {
  display: none;
}

.depo-card {
  background: white;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}

.depo-card:hover { box-shadow: var(--shadow-blue); border-color: var(--blue-200); }

.depo-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.depo-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.depo-author { display: flex; align-items: center; gap: 12px; }

.depo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-900));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
}

.depo-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark);
}

.depo-label {
  display: none;
}

/* ─── EXAMS (EXAMES) ─── */
#exames {
  background: #ffffff;
}

.exames-intro { margin-bottom: 24px; }

.exames-categories {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.exame-cat-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.exame-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-900));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(0, 141, 165, 0.24);
}

.exame-cat-title h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}

.exames-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.exame-item {
  background: white;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.25s;
  box-shadow: var(--shadow-soft);
}

.exame-item:hover {
  border-color: var(--blue-300);
  box-shadow: 0 12px 26px rgba(0, 96, 146, 0.14);
  transform: translateY(-2px);
}

.exame-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--blue-600);
  flex-shrink: 0;
}

.exame-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.exame-item p {
  font-size: 0.80rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── HOW IT WORKS ─── */
#como-funciona {
  padding: 42px 5%;
  background: var(--ice);
  border-bottom: 1px solid var(--blue-100);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.step-card {
  background: white;
  border-radius: 22px;
  padding: 20px;
  border: 1px solid var(--blue-100);
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}

.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }

.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── VALUES ─── */
#valores {
  padding: 34px 5%;
  background: #ffffff;
  border-bottom: 1px solid var(--blue-100);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.valor-card {
  background: white;
  border-radius: 18px;
  padding: 18px 16px;
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
  text-align: center;
}

.valor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); border-color: var(--blue-200); }

.valor-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: linear-gradient(135deg, var(--blue-100), #ffffff);
  color: var(--blue-600);
}

.valor-card h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.valor-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CTA & OTHER SECTIONS                                                         */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ─── JOIN SECTION ─── */
.join-section {
  background: var(--ice);
  padding: 42px 5%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
}

.join-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}

.join-section > * {
  position: relative;
  z-index: 1;
}

.join-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 800;
}

.join-section h2 em { color: var(--blue-500); font-style: normal; font-weight: 800; }

.join-section p {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 440px;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--blue-900);
  padding: 42px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: white;
  margin-bottom: 16px;
}

.cta-section h2 em { color: var(--blue-200); font-style: normal; }

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 24px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── CONTACT SECTION ─── */
#contato {
  padding: 42px 5%;
  background: #ffffff;
  border-bottom: 1px solid var(--blue-100);
  border-top: 10px solid #ffffff;
}

.contato-intro { margin-bottom: 18px; }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.contato-info {
  background: var(--ice);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--blue-100);
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.contato-item:last-child { margin-bottom: 0; }

.contato-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-900));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(0, 141, 165, 0.24);
}

.contato-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 3px;
}

.contato-item-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.map-wrap {
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-height: 180px;
  border: 1px solid var(--blue-100);
  background: var(--blue-50);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}

.map-route-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: white;
  color: var(--blue-800);
  box-shadow: var(--shadow-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 580px) {
  .map-wrap,
  .map-wrap iframe {
    min-height: 220px;
    height: 220px;
  }
}

/* ─── FORM ─── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--blue-100);
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--blue-100);
  border-radius: 12px;
  padding: 9px 13px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  background: white;
  transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(0, 174, 184, 0.12);
}

.form-group textarea {
  min-height: 86px;
  resize: vertical;
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue-600);
}

.form-consent a {
  color: var(--blue-700);
  font-weight: 700;
}

.form-feedback {
  min-height: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.form-feedback[data-state="success"] { color: #16803b; }

.form-feedback[data-state="error"] { color: #b42318; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* FOOTER                                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */
footer {
  background: var(--blue-900);
  color: white;
  padding: 42px 5% 24px;
}

footer .footer-brand .logo {
  display: inline-flex;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

footer .logo-image {
  height: 56px;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-name { color: white; }

.footer-brand .logo-tagline { color: rgba(255, 255, 255, 0.40); }

.footer-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 270px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-socials a:hover { background: var(--blue-500); border-color: var(--blue-500); color: white; }

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--blue-200); }

.footer-hours {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.footer-hours .day {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-hours .time {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.28); }

.footer-bottom-links { display: flex; gap: 18px; }

.footer-bottom-links a,
.footer-bottom-links span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  text-decoration: none;
}

.footer-bottom-links a:hover { color: var(--blue-200); }

.legal-content {
  max-width: 840px;
  margin: 0 auto;
}

.legal-section {
  padding-top: 54px;
  padding-bottom: 72px;
}

.legal-page .page-hero {
  margin-top: 56px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--dark);
  margin: 28px 0 10px;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN                                                           */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1120px) {
  .hero-visual {
    width: min(40vw, 480px);
    right: 4%;
  }

  .hero-content {
    max-width: 560px;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  #hero {
    min-height: 0;
    padding-top: 82px;
    padding-bottom: 32px;
  }

  .hero-badge {
    margin-bottom: 20px;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  }

  .hero-content p {
    margin: 16px 0 24px;
    line-height: 1.58;
  }

  .hero-actions a {
    padding: 10px 22px;
  }

  .hero-stats {
    margin-top: 26px;
  }

  .stat-num {
    font-size: 1.7rem;
  }

  .hero-visual {
    width: min(37vw, 455px);
  }

}

@media (max-width: 900px) {
  .hamburger { display: flex; }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 5% 20px;
    background: white;
    box-shadow: 0 18px 28px rgba(30, 58, 95, 0.12);
    border-top: 1px solid var(--blue-50);
  }

  nav.open { display: flex; }

  nav a {
    padding: 12px 14px;
    font-size: 15px;
  }

  #hero {
    min-height: auto;
    padding: 118px 0 54px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-visual,
  .hero-image-wrap {
    display: none;
  }

  .hero-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f6fcfd 48%, #e8f8fa 100%);
  }

  .hero-bg::before,
  .hero-bg::after,
  .hero-blob,
  .hero-blob-2 {
    display: none;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sobre-text { order: 1; }
  .sobre-visual {
    order: 2;
    height: clamp(260px, 58vw, 330px);
  }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .join-section { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  section { padding: 42px 5%; }
  #hero {
    padding-top: 94px;
    padding-bottom: 42px;
  }
  .hero-content {
    padding: 0 7%;
  }
  .hero-badge {
    font-size: 10px;
    letter-spacing: 0.06em;
    padding: 6px 12px;
    margin-top: 4px;
    margin-bottom: 22px;
  }
  .hero-content h1 {
    font-size: clamp(2rem, 11.5vw, 2.85rem);
    line-height: 1.04;
  }
  .hero-content p {
    font-size: 0.92rem;
    line-height: 1.58;
    margin: 18px 0 24px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions a {
    padding: 10px 20px;
    font-size: 13px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    column-gap: 8px;
    row-gap: 0;
    margin-top: 24px;
  }
  .hero-stats .stat:nth-child(3) {
    grid-column: auto;
    align-items: center;
  }
  .hero-stats .stat {
    align-items: center;
    text-align: center;
  }
  .stat-num { font-size: 1.28rem; }
  .stat-label {
    font-size: 10px;
    line-height: 1.2;
  }
  .accordion {
    display: grid;
    grid-template-columns: 1fr;
    column-count: initial;
    column-gap: 0;
    padding: 0;
    border-radius: 0;
  }
  .acc-item {
    display: block;
    break-inside: auto;
  }
  .acc-head {
    gap: 8px;
    padding: 10px 0;
  }
  .acc-left {
    gap: 8px;
  }
  .acc-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .acc-name {
    font-size: 0.78rem;
    line-height: 1.2;
  }
  .acc-chevron {
    font-size: 11px;
  }
  #precos,
  #estrutura,
  #convenios,
  #depoimentos,
  #valores,
  #contato,
  #como-funciona {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .precos-grid {
    gap: 12px;
    margin-top: 16px;
  }
  .preco-card {
    padding: 16px 18px;
    border-radius: 16px;
  }
  .preco-badge {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .preco-card h3 {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  .preco-valor {
    margin: 8px 0;
  }
  .preco-cifra {
    font-size: 0.82rem;
  }
  .preco-num {
    font-size: 2.15rem;
  }
  .preco-desc {
    font-size: 0.78rem;
  }
  .preco-alt {
    font-size: 0.72rem;
    margin-top: 4px;
  }
  .form-row { grid-template-columns: 1fr; }
  .convenios-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    border-radius: 0;
  }
  .convenio-item {
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 14px;
    font-size: 0.76rem;
    gap: 9px;
    line-height: 1.2;
  }
  .convenio-item::before {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    box-shadow: 0 0 0 4px rgba(0, 174, 184, 0.12);
  }
  .estrutura-grid {
    grid-template-columns: 1fr;
  }
  .valores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .estrutura-carousel {
    margin-top: 18px;
  }
  .estrutura-grid {
    display: flex;
    gap: 14px;
    margin-top: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 4px;
    padding: 0 4px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .estrutura-grid::-webkit-scrollbar {
    display: none;
  }
  .estrutura-item {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
  .estrutura-arrow {
    display: inline-flex;
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--blue-200);
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-800);
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transform: translateY(-50%);
  }
  .estrutura-arrow-prev {
    left: 8px;
  }
  .estrutura-arrow-next {
    right: 8px;
  }
  .depo-carousel {
    margin-top: 22px;
  }
  .depo-grid {
    display: flex;
    gap: 14px;
    margin-top: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 4px;
    padding: 0 4px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .depo-grid::-webkit-scrollbar {
    display: none;
  }
  .depo-card {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }
  .depo-arrow {
    display: inline-flex;
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--blue-200);
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-800);
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transform: translateY(-50%);
  }
  .depo-arrow-prev {
    left: 8px;
  }
  .depo-arrow-next {
    right: 8px;
  }
  .foto-estrutura {
    height: 178px;
  }
  .valor-card {
    padding: 14px 10px;
    border-radius: 14px;
  }
  .valor-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 8px;
  }
  .valor-card h3 {
    font-size: 0.88rem;
    margin-bottom: 5px;
  }
  .valor-card p {
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .contato-info {
    padding: 20px;
  }
  .sobre-items {
    gap: 10px;
  }
  .sobre-item {
    padding: 8px 10px;
    gap: 8px;
  }
  .sobre-item span {
    font-size: 0.78rem;
    line-height: 1.25;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn-outline { display: none; }
  .gallery-lightbox { padding: 70px 18px; }
  .lightbox-nav {
    top: auto;
    bottom: 24px;
    width: 44px;
    height: 44px;
  }
  .lightbox-prev { left: calc(50% - 54px); }
  .lightbox-next { right: calc(50% - 54px); }
  .lightbox-content figcaption { padding-bottom: 64px; }
}
