@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* ══════════════════════════════
   VARIÁVEIS E RESET
══════════════════════════════ */

:root {
  --color-bg1: #fff;
  --color-bg2: #fff;
  --color-destaques: #1b5a9c;
  --color-dark: #033558;
  --color-details: #c4c7b2;
  --color-text: #565656;
  --color-light-green: #8FD5A6;
  --color-light-blue: #c3f8ff;

  --filter-bg2: brightness(0) saturate(100%) invert(96%) sepia(33%) saturate(389%) hue-rotate(296deg) brightness(104%) contrast(91%);
  --filter-destaques: brightness(0) saturate(100%) invert(24%) sepia(88%) saturate(1262%) hue-rotate(190deg) brightness(92%) contrast(87%);
  --filter-light-green: invert(84%) sepia(7%) saturate(1495%) hue-rotate(87deg) brightness(92%) contrast(92%);
  --filter-light-blue: invert(98%) sepia(78%) saturate(5435%) hue-rotate(171deg) brightness(104%) contrast(112%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════════════════════════
   HEADER E NAVEGAÇÃO
══════════════════════════════ */

.header {
  background: var(--color-bg2);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: auto;
}

/* Logo */
.logo {
  display: grid;
  place-items: center;
  position: relative;
  height: auto;
  width: auto;
}

.logo a {
  text-decoration: none;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.logo-img {
  grid-area: 1/1;
  height: 72px;
  width: auto;
  transition: opacity 0.4s ease;
}

.logo-default { opacity: 1; z-index: 20; }
.logo-scroll  { opacity: 0; z-index: 10; }

/* Nav */
.nav ul,
.nav .menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav ul > li > a,
.nav .dropdown-toggle {
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.nav > ul > li > a {
  padding: 2rem 0.5rem;
  position: relative;
}

.nav a {
  position: relative;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.3s ease;
  padding: 0.5rem 1rem;
}

.nav a:hover,
.nav ul > li > a:hover,
.nav .dropdown-toggle:hover {
  opacity: 0.8;
}

.nav-item:hover {
  background: linear-gradient(#ffffff00, #0000000c);
}

/* Dropdown desktop */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-10%) translateY(-80px);
  min-width: 220px;
  background: var(--color-bg1);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 12px 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.28s ease;
  z-index: 200;
}

.has-dropdown.active .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-10%) translateY(0);
}

.has-dropdown.active {
  background: linear-gradient(#ffffff00, #0000000c);
}

.dropdown a {
  display: block;
  padding: 8px 2px;
  margin: 12px 0;
  font-size: 14px;
  color: var(--color-text);
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

/* Linha animada nos itens do dropdown */
.nav .dropdown a {
  position: relative;
}

.nav .dropdown a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-dark);
  transition: width 0.3s ease;
}

.nav .dropdown a:hover::after {
  width: 100%;
}

/* Chevron */
.chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  margin-left: 8px;
}

.has-dropdown.active .chevron {
  transform: rotate(-135deg) translateY(-2px);
}

/* Botão de contato na nav */
.btn-contato {
  background-color: var(--color-destaques);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  margin-left: 2rem;
}

.btn-contato:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 90, 61, 0.3);
  opacity: 0.9;
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2.5px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
  display: block;
}

/* ══════════════════════════════
   HERO — INDEX
══════════════════════════════ */

.hero::before {
  content: "";
  position: absolute;
  transform: translate(-35%, -50%);
  top: 50%;
  left: 0;
  width: 80%;
  height: 80%;
  background: url('/assets/logo_fisioneurologica_BG.svg') no-repeat center;
  background-size: contain;
  opacity: 0.2;
  filter: brightness(0) invert(1);
  z-index: 0;
}

.hero {
  position: relative;
  height: 80vh;
  width: 100%;
  background: linear-gradient(200deg, rgba(195, 248, 255, 1), rgba(228, 227, 255, 1));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  padding: 50px 20px;
  margin: 0 auto;
  gap: 3.5rem;
}

.hero-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-destaques);
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-headline {
  font-family: "Playfair Display", serif;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-dark);
  opacity: 0.9;
  margin: 3rem 0;
}

.hero-headline em {
  font-style: italic;
  color: var(--color-destaques);
  opacity: 1;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text);
  max-width: 740px;
  line-height: 1.7;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-dark);
  color: white;
  padding: 1rem 2.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-bottom-right-radius: 12px;
  border-top-left-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 4;
  margin-top: 1rem;
}

.hero-btn:hover {
  background-color: var(--color-destaques);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(3, 53, 88, 0.2);
}

/* ══════════════════════════════
   HOME — SEÇÃO DIFERENCIAIS
══════════════════════════════ */

.diferenciais {
  padding: 6rem 20px;
  background: #fff;
}

.diferenciais-intro {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-destaques);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.diferenciais-intro h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.diferenciais-intro h2 em {
  font-style: italic;
  color: var(--color-destaques);
}

.diferenciais-intro p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
  font-weight: 300;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1060px;
  margin: 0 auto;
}

.diferencial-card {
  padding: 2rem 1.75rem;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.diferencial-card:hover {
  box-shadow: 0 12px 32px rgba(3, 53, 88, 0.08);
  transform: translateY(-3px);
}

.diferencial-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--color-destaques);
}

.diferencial-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.diferencial-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text);
  font-weight: 300;
}

/* ══════════════════════════════
   HOME — SEÇÃO BENEFÍCIOS
══════════════════════════════ */

.beneficios {
  padding: 6rem 20px;
  background: linear-gradient(180deg, #f4f7fb 0%, #fff 100%);
}

.beneficios-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.beneficios-texto h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.beneficios-texto h2 em {
  font-style: italic;
  color: var(--color-destaques);
}

.beneficios-texto p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.beneficios-texto .hero-btn {
  margin-top: 0.5rem;
  display: inline-flex;
}

.beneficios-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.beneficio-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(3, 53, 88, 0.06);
  transition: box-shadow 0.2s ease;
}

.beneficio-item:hover {
  box-shadow: 0 8px 24px rgba(3, 53, 88, 0.1);
}

.beneficio-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
}

.beneficio-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.beneficio-info span {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.55;
  font-weight: 300;
}

/* ══════════════════════════════
   HOME — SEÇÃO ESPECIALIDADES
══════════════════════════════ */

.especialidades-home {
  padding: 6rem 20px;
  background: #fff;
}

.especialidades-home-intro {
  max-width: 580px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.especialidades-home-intro h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.especialidades-home-intro p {
  font-size: 0.98rem;
  color: var(--color-text);
  line-height: 1.8;
  font-weight: 300;
}

.especialidades-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1060px;
  margin: 0 auto 3rem;
}

.especialidade-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  gap: 1.25rem;
}

.especialidade-card:hover {
  border-color: var(--color-destaques);
  box-shadow: 0 12px 32px rgba(27, 90, 156, 0.1);
  transform: translateY(-3px);
}

.especialidade-card:hover .esp-card-arrow {
  transform: translateX(4px);
  color: var(--color-destaques);
}

.esp-card-nome {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.esp-card-desc {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 300;
}

.esp-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-destaques);
}

.esp-card-arrow {
  transition: transform 0.2s ease;
  font-size: 1rem;
}

.especialidades-home-ver-todas {
  text-align: center;
}

.especialidades-home-ver-todas a {
  font-size: 0.9rem;
  color: var(--color-destaques);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 90, 156, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.especialidades-home-ver-todas a:hover {
  border-color: var(--color-destaques);
}

/* ══════════════════════════════
   HOME — SEÇÃO ABORDAGEM
══════════════════════════════ */

.abordagem-home {
  padding: 6rem 20px;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.abordagem-home::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 45%;
  height: 120%;
  background: url('/assets/logo-site-mobile2.svg') no-repeat center;
  background-size: contain;
  opacity: 0.04;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.abordagem-home-wrapper {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.abordagem-home .section-eyebrow {
  color: rgba(195, 248, 255, 0.7);
}

.abordagem-home h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.abordagem-home h2 em {
  font-style: italic;
  color: #c3f8ff;
}

.abordagem-home-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.abordagem-home-col p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
}

.abordagem-home .hero-btn {
  background: #fff;
  color: var(--color-dark);
}

.abordagem-home .hero-btn:hover {
  background: #c3f8ff;
  color: var(--color-dark);
}

/* ══════════════════════════════
   HOME — CTA FINAL
══════════════════════════════ */

.cta-final {
  padding: 6rem 20px;
  background: #fff;
  text-align: center;
}

.cta-final-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.cta-final h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cta-final h2 em {
  font-style: italic;
  color: var(--color-destaques);
}

.cta-final p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.cta-final-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secundario {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1.5px solid var(--color-dark);
  border-bottom-right-radius: 12px;
  border-top-left-radius: 12px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-secundario:hover {
  background: var(--color-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ══════════════════════════════
   PÁGINAS DE ESPECIALIDADES — HERO
══════════════════════════════ */

.page-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3, 53, 88, 0.15) 0%, rgba(3, 53, 88, 0.75) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 2.5rem;
  width: 100%;
}

.page-hero-content .breadcrumb {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.page-hero-content .breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.page-hero-content .breadcrumb a:hover { color: #fff; }

.page-hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}

.page-hero-content h1 em {
  font-style: italic;
  color: #c3f8ff;
}

/* ══════════════════════════════
   PÁGINAS DE CONDIÇÕES — CONTEÚDO
══════════════════════════════ */

.condicao-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 20px 6rem;
}

.condicao-intro {
  font-size: 1.15rem;
  color: var(--color-dark);
  line-height: 1.8;
  margin-bottom: 3rem;
  font-weight: 300;
}

.condicao-section {
  margin-bottom: 3.5rem;
}

.condicao-section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e5e5;
}

.condicao-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 1rem;
}

/* Grid de sintomas */
.sintomas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.sintoma-item {
  background: #f8f9fb;
  border-left: 3px solid var(--color-destaques);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
}

.sintoma-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.3rem;
}

.sintoma-item span {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.5;
}

/* Tabela de abordagens */
.abordagens-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.abordagens-table thead th {
  background: var(--color-dark);
  color: #fff;
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.abordagens-table thead th:first-child { border-top-left-radius: 6px; }
.abordagens-table thead th:last-child  { border-top-right-radius: 6px; }

.abordagens-table tbody tr {
  border-bottom: 1px solid #eee;
}

.abordagens-table tbody tr:last-child { border-bottom: none; }
.abordagens-table tbody tr:nth-child(even) { background: #f8f9fb; }

.abordagens-table tbody td {
  padding: 0.9rem 1.25rem;
  color: var(--color-text);
  vertical-align: top;
  line-height: 1.6;
}

.abordagens-table tbody td:first-child {
  font-weight: 500;
  color: var(--color-dark);
  white-space: nowrap;
}

/* CTA das páginas de condição */
.condicao-cta {
  background: linear-gradient(135deg, var(--color-dark), var(--color-destaques));
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
  margin-top: 4rem;
}

.condicao-cta h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

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

.condicao-cta .hero-btn { background: #fff; color: var(--color-dark); }
.condicao-cta .hero-btn:hover { background: #c3f8ff; color: var(--color-dark); }

/* Outras especialidades */
.outras-especialidades {
  padding: 4rem 20px;
  background: #f8f9fb;
}

.outras-especialidades h2 {
  font-family: "Playfair Display", serif;
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.especialidades-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

.especialidades-lista a {
  font-size: 0.9rem;
  color: var(--color-destaques);
  text-decoration: none;
  border: 1px solid var(--color-destaques);
  padding: 0.5rem 1.25rem;
  border-radius: 24px;
  transition: all 0.2s ease;
}

.especialidades-lista a:hover {
  background: var(--color-destaques);
  color: #fff;
}

/* ══════════════════════════════
   ÍNDICE DE ESPECIALIDADES
══════════════════════════════ */

.esp-hero {
  background: linear-gradient(200deg, rgba(195, 248, 255, 1), rgba(228, 227, 255, 1));
  padding: 5rem 20px 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.esp-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 100%;
  background: url('/assets/logo-site-mobile2.svg') no-repeat center;
  background-size: contain;
  opacity: 0.07;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.esp-hero .breadcrumb {
  font-size: 0.75rem;
  color: rgba(3, 53, 88, 0.5);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.esp-hero .breadcrumb a {
  color: rgba(3, 53, 88, 0.5);
  text-decoration: none;
}

.esp-hero .breadcrumb a:hover { color: var(--color-dark); }

.esp-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.esp-hero p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-text);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.esp-lista-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 20px 6rem;
}

.esp-lista {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
}

.esp-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1.5rem 2rem;
  text-decoration: none;
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.2s ease;
  gap: 1rem;
}

.esp-item:last-child { border-bottom: none; }
.esp-item:hover { background: #f4f7fb; }

.esp-item:hover .esp-arrow {
  transform: translateX(4px);
  color: var(--color-destaques);
}

.esp-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.esp-item-nome {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-dark);
}

.esp-item-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.5;
}

.esp-arrow {
  font-size: 1.25rem;
  color: #ccc;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.esp-cta {
  background: var(--color-dark);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.esp-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.esp-cta .hero-btn { background: #fff; color: var(--color-dark); }
.esp-cta .hero-btn:hover { background: #c3f8ff; }

/* ══════════════════════════════
   PÁGINA SOBRE NÓS
══════════════════════════════ */

.sobre-hero {
  background: linear-gradient(200deg, rgba(195, 248, 255, 1), rgba(228, 227, 255, 1));
  padding: 5rem 20px 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sobre-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 100%;
  background: url('/assets/logo-site-mobile2.svg') no-repeat center;
  background-size: contain;
  opacity: 0.06;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.sobre-hero .breadcrumb {
  font-size: 0.75rem;
  color: rgba(3, 53, 88, 0.5);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.sobre-hero .breadcrumb a {
  color: rgba(3, 53, 88, 0.5);
  text-decoration: none;
}

.sobre-hero .breadcrumb a:hover { color: var(--color-dark); }

.sobre-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.sobre-hero .crefito {
  font-size: 0.8rem;
  color: var(--color-destaques);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.sobre-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  padding: 5rem 20px 6rem;
}

.sobre-apresentacao {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

.sobre-foto-col {
  position: sticky;
  top: 100px;
}

.sobre-foto {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(3, 53, 88, 0.15);
  display: block;
}

.sobre-foto-caption {
  margin-top: 1rem;
  text-align: center;
}

.sobre-foto-caption strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 700;
}

.sobre-foto-caption span {
  font-size: 0.78rem;
  color: var(--color-destaques);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sobre-texto-col h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.sobre-texto-col h2 em {
  font-style: italic;
  color: var(--color-destaques);
}

.sobre-texto-col p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.sobre-texto-col p strong {
  color: var(--color-dark);
  font-weight: 600;
}

.sobre-divisor {
  border: none;
  border-top: 2px solid #e5e5e5;
  margin: 4rem 0;
}

.sobre-section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e5e5;
}

.formacoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.formacao-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.1rem 1.25rem;
  background: #f8f9fb;
  border-radius: 8px;
  border-left: 3px solid var(--color-destaques);
}

.formacao-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-destaques);
}

.formacao-item span {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text);
}

.formacao-item.destaque {
  border-left-color: var(--color-dark);
  background: #eef3f8;
}

.formacao-item.destaque span {
  font-weight: 500;
  color: var(--color-dark);
}

.pesquisas-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pesquisa-item {
  padding: 1.25rem 1.5rem;
  background: var(--color-dark);
  border-radius: 8px;
  color: #fff;
}

.pesquisa-item .pesquisa-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(195, 248, 255, 0.8);
  margin-bottom: 0.4rem;
}

.pesquisa-item p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.sobre-abordagem {
  background: linear-gradient(135deg, var(--color-dark), var(--color-destaques));
  border-radius: 12px;
  padding: 3rem 2.5rem;
  margin-top: 4rem;
}

.sobre-abordagem h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.sobre-abordagem p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.sobre-abordagem p:last-of-type { margin-bottom: 2rem; }

.sobre-abordagem .hero-btn { background: #fff; color: var(--color-dark); }
.sobre-abordagem .hero-btn:hover { background: #c3f8ff; color: var(--color-dark); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */

.footer {
  background-color: var(--color-dark);
  color: var(--color-bg2);
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content .logo { filter: var(--filter-bg2); }
.footer-content .logo-img { max-height: 160px; width: auto; }

.footer-info p {
  margin: 0.2rem 0;
  opacity: 0.9;
}

.footer-info .copy { font-size: 10px; }

.redes {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.redes a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: #faebd7;
}

.redes a img { max-height: 2em; width: auto; }

.rede-logo { filter: var(--filter-light-blue); }

.minnutti-logo {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 10px;
}

.minnutti-logo svg {
  height: 30px;
  filter: invert(100%) brightness(200%) opacity(20%);
}

footer a:hover svg {
  filter: invert(51%) sepia(69%) saturate(910%) hue-rotate(156deg) brightness(106%) contrast(106%) drop-shadow(1px -1px 6px #00ccff);
}

/* ══════════════════════════════
   BOTÃO FLUTUANTE WHATSAPP
══════════════════════════════ */

#floatingBtn {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 99999;
  background-color: var(--color-destaques);
  border: none;
  border-radius: 50%;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.btn-float {
  width: 40px;
  height: auto;
  filter: var(--filter-bg2);
}

.btn-float:hover { filter: var(--filter-light-green); }

#floatingBtn.show {
  opacity: 1;
  pointer-events: auto;
}

.floating-wrapper { position: relative; }

/* ══════════════════════════════
   MODAL
══════════════════════════════ */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.hidden { display: none; }

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  position: absolute;
}

.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-weight: bold;
}

.close-btn:hover { color: var(--color-destaques); }

.modal-text {
  font-size: 1rem;
  color: var(--color-text);
}

/* ══════════════════════════════
   RESPONSIVIDADE — TABLETS
══════════════════════════════ */

@media (min-width: 769px) and (max-width: 1030px) {
  .logo {
    margin-right: -30px;
    margin-left: -50px;
  }

  .nav {
    flex: 0 1 80%;
    font-size: 10pt;
    margin-left: -40px;
  }
}

@media (max-width: 900px) {
  .diferenciais-grid          { grid-template-columns: repeat(2, 1fr); }
  .especialidades-home-grid   { grid-template-columns: repeat(2, 1fr); }
  .beneficios-wrapper         { grid-template-columns: 1fr; gap: 3rem; }
  .abordagem-home-cols        { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ══════════════════════════════
   RESPONSIVIDADE — MOBILE
══════════════════════════════ */

@media (max-width: 768px) {

  /* Header */
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }

  /* Logo */
  .logo {
    display: flex;
    align-items: center;
    width: calc(100% - 60px);
    margin: 0;
  }

  .logo a { padding: 2% 0; }

  /* Hamburger visível */
  .mobile-menu-toggle {
    display: flex;
    position: static;
    opacity: 1;
    flex-shrink: 0;
  }

  /* Animação X */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Nav — overlay full screen */
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    padding-top: 72px;
    padding-bottom: 3rem;
  }

  .nav.active { display: flex; flex-direction: column; }

  /* Lista de itens */
  .nav ul,
  .nav .menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 0;
    align-items: stretch;
  }

  /* Cada item */
  .nav li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav li:last-child { border-bottom: none; }

  /* Links e botão dropdown */
  .nav ul > li > a,
  .nav > ul > li > a,
  .nav .dropdown-toggle {
    width: 100%;
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    justify-content: space-between;
    height: auto;
    color: var(--color-dark);
    font-weight: 500;
  }

  /* Sem hover no mobile */
  .nav-item:hover,
  .has-dropdown.active {
    background: none;
  }

  /* Dropdown inline */
  .dropdown {
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .has-dropdown.active .dropdown {
    max-height: 500px;
  }

  .dropdown a {
    padding: 0.9rem 2rem;
    margin: 0;
    font-size: 0.9rem;
    text-align: left;
    background: #f8f9fb;
    border-bottom: 1px solid #efefef;
    color: var(--color-text) !important;
  }

  .dropdown a:last-child { border-bottom: none; }

  /* Remove linha animada no mobile */
  .nav .dropdown a::after { display: none; }

  /* Botão de agendamento */
  .nav .btn-contato {
    margin: 1.5rem;
    min-width: unset;
    width: calc(100% - 3rem);
    font-size: 0.95rem;
  }

  /* Linha animada — desativa no mobile */
  .nav a::after { display: none; }

  /* Hero */
  .hero-headline { font-size: 4rem; }

  .hero::before {
    transform: translate(-25%, -50%);
    left: -30%;
    width: 180%;
    height: 180%;
  }

  /* Especialidades home */
  .diferenciais-grid        { grid-template-columns: 1fr; }
  .especialidades-home-grid { grid-template-columns: 1fr; }

  /* Seções home */
  .diferenciais,
  .beneficios,
  .especialidades-home,
  .abordagem-home,
  .cta-final {
    padding: 4rem 20px;
  }

  .abordagem-home::before {
    transform: translate(10%, -50%);
    left: -20%;
    width: 180%;
    height: 180%;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-info { text-align: center; }

  .footer-info .redes {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Floating button */
  #floatingBtn {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.8rem;
  }

  /* Páginas de especialidades */
  .page-hero { height: 320px; }

  .condicao-wrapper { padding: 2.5rem 20px 4rem; }

  .abordagens-table {
    display: block;
    overflow-x: auto;
  }

  .condicao-cta { padding: 2rem 1.5rem; }
  .condicao-cta h2 { font-size: 1.4rem; }

  /* Índice de especialidades */
  .esp-item { padding: 1.25rem; }
  .esp-item-nome { font-size: 1.05rem; }

  /* Sobre */
  .sobre-apresentacao {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sobre-foto-col {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .sobre-abordagem { padding: 2rem 1.5rem; }
  .formacoes-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .hero-headline { font-size: 3.2rem; }
  .esp-item { padding: 1rem; }
}
