@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&family=Nunito:wght@300;400;600&display=swap');

:root {
  --primary: #f3951f;
  --primary-dark: #c87515;
  --dark: #222;
  --light: #fff;
  --bg: #fff;
  --radius: 10px;
}

/* =========================================
   1. RESET & BASE
   ========================================= */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html, body {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin-bottom: 0 !important;
  font-family: "Nunito", sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.mobile-only { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
  padding-top: 5vh; 
  padding-bottom: 2vh; 
}

.desktop-only { 
  display: none; 
}

/* =========================================
   2. HEADER & MENU
   ========================================= */
.main-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 0 0.5rem 0;
  background: var(--light);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: fixed; 
  top: 0; 
  z-index: 1000;
  width: 100%;
  height: 160px;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.logo {
  height: 70px;
  max-width: 65vw;
  margin-bottom: 0.2rem;
  transition: height .2s;
}

.menu-btn {
  background: none;
  border: none;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-btn svg {
  width: 55px;
  height: 55px;
}

.menu-btn svg rect {
  fill: #f3951f !important;
  transition: fill .2s;
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background: #fff;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 1000;
  display: none;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,.13);
}

.menu.open { display: flex; }

.menu-item {
  text-decoration: none; 
  color: var(--dark); 
  font-weight: 700; 
  transition: color .2s;
}

.menu-item.selected,
.menu-item:hover { color: var(--primary); }

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  z-index: 10;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
}

.menu-close svg {
  width: 32px;
  height: 32px;
  display: block;
}

.menu-instagram svg rect,
.menu-instagram svg circle { transition: transform .3s; }

.menu-instagram:hover svg rect,
.menu-instagram:hover svg circle { transform: scale(1.05); }

.btn-plantao {
  background: #6ac5dc !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 7px;
  padding: 0.5rem 1.4rem;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(106,197,220,0.5);
  border: none;
  transition: background .2s, transform .1s;
  animation: pulse-plantao 1.5s infinite;
}

.btn-plantao:hover,
.btn-plantao:active,
.btn-plantao:focus {
  background: #f3951f !important;
  color: #fff !important;
}

@keyframes pulse-plantao {
  0%   { box-shadow: 0 0 0 0 rgba(106,197,220,0.45);}
  75%  { box-shadow: 0 0 0 20px rgba(106,197,220,0);}
  100% { box-shadow: 0 0 0 0 rgba(106,197,220,0);}
}

/* =========================================
   3. BANNER HERO
   ========================================= */
.hero-especialidades {
  width: 100%;
  background: linear-gradient(rgba(243, 149, 31, 0.92), rgba(243, 149, 31, 0.92)), url('imgs/home-clinica.webp') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 160px;
  padding: 4rem 1.5rem 5rem 1.5rem;
}

.hero-esp-content {
  max-width: 800px;
  color: #fff;
}

.hero-esp-content h1 {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 2.3rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-esp-content h2 {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-esp-content p {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn-hero-esp {
  display: inline-block;
  background: #fff;
  color: #f3951f;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-esp:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* =========================================
   4. CONTEÚDO PRINCIPAL (DETALHES)
   ========================================= */
.pagina-especialidades {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================
   ESTILOS EXCLUSIVOS: ONCOLOGIA (TEXTOS E LISTA)
   ========================================= */
.servico-detalhe-section { width: 100%; padding: 40px 1.5rem; background: #fff; }
.servico-detalhe-container { display: flex; flex-direction: column; gap: 40px; width: 100%; max-width: 1200px; margin: 0 auto; }

.servico-detalhe-text h2 { font-family: 'Titillium Web', sans-serif; color: var(--primary); font-size: 2.2rem; margin-bottom: 1rem; line-height: 1.2; }
.servico-detalhe-text p { color: #555; margin-bottom: 1.5rem; }
.servico-detalhe-text h3 { margin: 1.5rem 0 0.8rem; font-weight: 700; font-size: 1.15rem; color: var(--dark); }

.servico-lista { list-style: none; margin-bottom: 2.5rem; }
.servico-lista li { position: relative; padding: 0.8rem 0 0.8rem 2.2rem; font-size: 1.05rem; color: #555; border-bottom: 1px solid #e0e0e0; }
.servico-lista li:last-child { border-bottom: none; }
.servico-lista li::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f3951f" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center;
    background-size: contain;
}

.btn-servico-acao {
    display: inline-block; background-color: var(--primary); color: #fff; font-family: 'Titillium Web', sans-serif;
    font-size: 1.15rem; font-weight: 700; padding: 0.9rem 2.5rem; border-radius: 2.5rem; text-decoration: none;
    box-shadow: 0 4px 15px rgba(243, 149, 31, 0.2); transition: transform 0.2s, background 0.2s, box-shadow 0.2s; text-align: center;
}
.btn-servico-acao:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(243, 149, 31, 0.3); }

/* --- Seção Nefrologia Mobile --- */
.nefro-detalhes { padding: 40px 1.5rem; background: #fff; }
.nefro-container { display: flex; flex-direction: column; gap: 40px; } /* Empilhado no mobile */
.nefro-title { font-family: 'Titillium Web', sans-serif; color: var(--primary); font-size: 1.8rem; margin-bottom: 1rem; }
.nefro-text { color: #555; margin-bottom: 1rem; }
.nefro-subtitle { margin: 1.5rem 0 0.8rem; font-weight: 700; }
.nefro-lista {
    list-style: none;
    margin-bottom: 2.5rem; /* Espaço antes do botão */
}
.nefro-lista li {
    position: relative;
    padding: 0.8rem 0 0.8rem 2.2rem; /* Espaçamento interno para alinhar com o ícone */
    font-size: 1.05rem;
    color: #555;
    /* Linha divisória cinza clara */
    border-bottom: 1px solid #e0e0e0; 
}
.nefro-lista li:last-child {
    border-bottom: none;
}
.nefro-lista li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    /* Ícone em SVG para garantir nitidez */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f3951f" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center;
    background-size: contain;
}

/* Imagem e Sombra Laranja */
.nefro-visual { position: relative; width: 90%; margin: 0 auto; } /* 90% para a sombra não vazar da tela */
.nefro-img { width: 100%; border-radius: 10px; position: relative; z-index: 2; display: block; }
.nefro-sombra { 
    position: absolute; width: 100%; height: 100%; background: var(--primary); 
    border-radius: 10px; top: 15px; left: 15px; z-index: 1; 
}

.btn-nefro-acao {
    display: inline-block;
    background-color: var(--primary); /* Laranja SanClá #f3951f */
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.9rem 2.5rem;
    border-radius: 2.5rem; /* Formato arredondado pill */
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(243, 149, 31, 0.2);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    text-align: center;
}

.btn-nefro-acao:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 149, 31, 0.3);
}

.servico-detalhe-imagem {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.servico-detalhe-imagem .img-principal {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: block;
}

.img-bg-deslocado {
  position: absolute;
  top: 30px;
  right: -25px;
  bottom: -30px;
  width: 100%;
  background: var(--primary);
  border-radius: 1.5rem;
  z-index: 1;
}

/* =========================================
   ESTILOS EXCLUSIVOS: ORTOPEDIA
   ========================================= */
.orto-detalhes { padding: 40px 1.5rem; background: #fff; width: 100%; }
.orto-container { display: flex; flex-direction: column; gap: 40px; width: 100%; max-width: 1200px; margin: 0 auto; }

.orto-title { font-family: 'Titillium Web', sans-serif; color: var(--primary); font-size: 2.2rem; margin-bottom: 1rem; line-height: 1.2; }
.orto-text { color: #555; margin-bottom: 1.5rem; }
.orto-subtitle { margin: 1.5rem 0 0.8rem; font-weight: 700; font-size: 1.15rem; color: var(--dark); }

/* Lista com divisórias e check laranja */
.orto-lista { list-style: none; margin-bottom: 2.5rem; }
.orto-lista li { position: relative; padding: 0.8rem 0 0.8rem 2.2rem; font-size: 1.05rem; color: #555; border-bottom: 1px solid #e0e0e0; }
.orto-lista li:last-child { border-bottom: none; }
.orto-lista li::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f3951f" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center;
    background-size: contain;
}

/* Botão de Ação */
.btn-orto-acao {
    display: inline-block; background-color: var(--primary); color: #fff; font-family: 'Titillium Web', sans-serif;
    font-size: 1.15rem; font-weight: 700; padding: 0.9rem 2.5rem; border-radius: 2.5rem; text-decoration: none;
    box-shadow: 0 4px 15px rgba(243, 149, 31, 0.2); transition: transform 0.2s, background 0.2s, box-shadow 0.2s; text-align: center;
}
.btn-orto-acao:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(243, 149, 31, 0.3); }

/* Imagem e Sombra Laranja */
.orto-visual { position: relative; width: 100%; max-width: 450px; margin: 0 auto; }
.orto-img { width: 100%; border-radius: 15px; position: relative; z-index: 2; display: block; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.orto-sombra { 
    position: absolute; width: 100%; height: 100%; background: var(--primary); 
    border-radius: 15px; top: 20px; left: 20px; z-index: 1; 
}

/* =========================================
   ESTILOS EXCLUSIVOS: ANIMAIS SILVESTRES
   ========================================= */
.silvestres-detalhes { padding: 40px 1.5rem; background: #fff; width: 100%; }
.silvestres-container { display: flex; flex-direction: column; gap: 40px; width: 100%; max-width: 1200px; margin: 0 auto; }

.silvestres-title { font-family: 'Titillium Web', sans-serif; color: var(--primary); font-size: 2.2rem; margin-bottom: 1rem; line-height: 1.2; }
.silvestres-text { color: #555; margin-bottom: 1.5rem; }
.silvestres-subtitle { margin: 1.5rem 0 0.8rem; font-weight: 700; font-size: 1.15rem; color: var(--dark); }

/* Lista com divisórias e check laranja */
.silvestres-lista { list-style: none; margin-bottom: 2.5rem; }
.silvestres-lista li { position: relative; padding: 0.8rem 0 0.8rem 2.2rem; font-size: 1.05rem; color: #555; border-bottom: 1px solid #e0e0e0; }
.silvestres-lista li:last-child { border-bottom: none; }
.silvestres-lista li::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f3951f" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center;
    background-size: contain;
}

/* Botão de Ação */
.btn-silvestres-acao {
    display: inline-block; background-color: var(--primary); color: #fff; font-family: 'Titillium Web', sans-serif;
    font-size: 1.15rem; font-weight: 700; padding: 0.9rem 2.5rem; border-radius: 2.5rem; text-decoration: none;
    box-shadow: 0 4px 15px rgba(243, 149, 31, 0.2); transition: transform 0.2s, background 0.2s, box-shadow 0.2s; text-align: center;
}
.btn-silvestres-acao:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(243, 149, 31, 0.3); }

/* Imagem e Sombra Laranja */
.silvestres-visual { position: relative; width: 100%; max-width: 450px; margin: 0 auto; }
.silvestres-img { width: 100%; border-radius: 15px; position: relative; z-index: 2; display: block; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.silvestres-sombra { 
    position: absolute; width: 100%; height: 100%; background: var(--primary); 
    border-radius: 15px; top: 20px; left: 20px; z-index: 1; 
}

/* =========================================
   ESTILOS EXCLUSIVOS: NEUROLOGIA
   ========================================= */
.neuro-detalhes { padding: 40px 1.5rem; background: #fff; width: 100%; }
.neuro-container { display: flex; flex-direction: column; gap: 40px; width: 100%; max-width: 1200px; margin: 0 auto; }

.neuro-title { font-family: 'Titillium Web', sans-serif; color: var(--primary); font-size: 2.2rem; margin-bottom: 1rem; line-height: 1.2; }
.neuro-text { color: #555; margin-bottom: 1.5rem; }
.neuro-subtitle { margin: 1.5rem 0 0.8rem; font-weight: 700; font-size: 1.15rem; color: var(--dark); }

/* Lista com divisórias e check laranja */
.neuro-lista { list-style: none; margin-bottom: 2.5rem; }
.neuro-lista li { position: relative; padding: 0.8rem 0 0.8rem 2.2rem; font-size: 1.05rem; color: #555; border-bottom: 1px solid #e0e0e0; }
.neuro-lista li:last-child { border-bottom: none; }
.neuro-lista li::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f3951f" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center;
    background-size: contain;
}

/* Botão de Ação */
.btn-neuro-acao {
    display: inline-block; background-color: var(--primary); color: #fff; font-family: 'Titillium Web', sans-serif;
    font-size: 1.15rem; font-weight: 700; padding: 0.9rem 2.5rem; border-radius: 2.5rem; text-decoration: none;
    box-shadow: 0 4px 15px rgba(243, 149, 31, 0.2); transition: transform 0.2s, background 0.2s, box-shadow 0.2s; text-align: center;
}
.btn-neuro-acao:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(243, 149, 31, 0.3); }

/* Imagem e Sombra Laranja */
.neuro-visual { position: relative; width: 100%; max-width: 450px; margin: 0 auto; }
.neuro-img { width: 100%; border-radius: 15px; position: relative; z-index: 2; display: block; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.neuro-sombra { 
    position: absolute; width: 100%; height: 100%; background: var(--primary); 
    border-radius: 15px; top: 20px; left: 20px; z-index: 1; 
}

/* =========================================
   ESTILOS EXCLUSIVOS: ENDOCRINOLOGIA
   ========================================= */
.endocrino-detalhes { padding: 40px 1.5rem; background: #fff; width: 100%; }
.endocrino-container { display: flex; flex-direction: column; gap: 40px; width: 100%; max-width: 1200px; margin: 0 auto; }

.endocrino-title { font-family: 'Titillium Web', sans-serif; color: var(--primary); font-size: 2.2rem; margin-bottom: 1rem; line-height: 1.2; }
.endocrino-text { color: #555; margin-bottom: 1.5rem; }
.endocrino-subtitle { margin: 1.5rem 0 0.8rem; font-weight: 700; font-size: 1.15rem; color: var(--dark); }

/* Lista com divisórias e check laranja */
.endocrino-lista { list-style: none; margin-bottom: 2.5rem; }
.endocrino-lista li { position: relative; padding: 0.8rem 0 0.8rem 2.2rem; font-size: 1.05rem; color: #555; border-bottom: 1px solid #e0e0e0; }
.endocrino-lista li:last-child { border-bottom: none; }
.endocrino-lista li::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f3951f" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center center;
    background-size: contain;
}

/* Botão de Ação */
.btn-endocrino-acao {
    display: inline-block; background-color: var(--primary); color: #fff; font-family: 'Titillium Web', sans-serif;
    font-size: 1.15rem; font-weight: 700; padding: 0.9rem 2.5rem; border-radius: 2.5rem; text-decoration: none;
    box-shadow: 0 4px 15px rgba(243, 149, 31, 0.2); transition: transform 0.2s, background 0.2s, box-shadow 0.2s; text-align: center;
}
.btn-endocrino-acao:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(243, 149, 31, 0.3); }

/* Imagem e Sombra Laranja */
.endocrino-visual { position: relative; width: 100%; max-width: 450px; margin: 0 auto; }
.endocrino-img { width: 100%; border-radius: 15px; position: relative; z-index: 2; display: block; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.endocrino-sombra { 
    position: absolute; width: 100%; height: 100%; background: var(--primary); 
    border-radius: 15px; top: 20px; left: 20px; z-index: 1; 
}

/* =========================================
   5. SEÇÃO DE DIFERENCIAIS
   ========================================= */
.diferenciais-section {
  width: 100%;
  background: #f8981d; 
  padding: 5rem 0 2rem 0; 
}

.diferenciais-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding: 0 1.5rem;
  align-items: center;
}

.diferenciais-text h2 {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: left;
}

.diferenciais-lista {
  list-style: none;
  margin-bottom: 2.5rem;
  padding: 0;
}

.diferenciais-lista li {
  position: relative;
  padding: 1rem 0 1rem 2.2rem;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.05rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); 
}

.diferenciais-lista li strong {
  font-weight: 700;
}

.diferenciais-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><polyline points="16 8 10 15 8 12"></polyline></svg>') no-repeat center center;
  background-size: contain;
}

.btn-diferenciais {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  border-radius: 2.5rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-diferenciais:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.diferenciais-imagem-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.diferenciais-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 1.5rem;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.diferenciais-bg-offset {
  position: absolute;
  top: 25px;
  right: -25px;
  bottom: -25px;
  width: 100%;
  background: #d88419;
  border-radius: 1.5rem;
  z-index: 1;
}

/* =========================================
   6. FOOTER
   ========================================= */
.footer {
  width: 100%;
  background: #f8981d;
  position: relative;
  padding: 0;
  margin: 0;
  border: none;
}

.footer-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1.25rem 1rem;
}

.footer-logo {
  width: 140px;
  max-width: 55vw;
  height: auto;
  z-index: 1;
  display: block;
  margin: 0 auto 0.6rem auto;
}

.footer-copy {
  font-family: 'Nunito', Arial, sans-serif;
  color: #fff;
  font-size: 1.05rem;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: .2rem 0 0;
}

/* =========================================
   7. MEDIA QUERIES (COMPUTADOR / TABLET)
   ========================================= */
@media (min-width: 1024px) {
  body {
    padding-top: 0; 
  }
  
  .mobile-only { display: none !important; }
  
  .desktop-only { 
    display: flex !important; 
    flex-direction: row; 
    align-items: center; 
    gap: 1rem;
  }
  
  .main-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 8.5rem;
    padding-right: 5.5rem;
    height: 110px;
  }
  
  .header-center {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: auto;
  }
  
  .logo {
    height: 50px;
    max-width: 220px;
    margin-bottom: 0;
  }
  
  .menu {
    position: static;
    top: unset;
    left: unset;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    display: flex !important;
  }
  
  .menu-btn, .menu-close { display: none !important; }

  /* Hero */
  .hero-especialidades {
    margin-top: 110px; 
    padding: 6rem 2rem 7rem 2rem;
  }
  
  .hero-esp-content h1 { font-size: 3.5rem; }
  .hero-esp-content h2 { font-size: 1.4rem; }
  .hero-esp-content p { font-size: 1.1rem; }

  /* Ajustes de Grades para PC */
  .pagina-especialidades {
    padding-top: 4rem; 
  }
  
  /* --- Seção Oncologia Desktop --- */
  .servico-detalhe-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
  }
  .servico-detalhe-text h2 { font-size: 2.5rem; }

/* --- Seção Nefrologia Desktop --- */
  .nefro-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; /* Lado a lado no PC */
    gap: 80px; 
    align-items: center; 
    max-width: 1200px;
    margin: 0 auto;
  }
  .nefro-title { font-size: 2.5rem; }
  .nefro-visual { width: 100%; }
  .nefro-sombra { top: 25px; left: 25px; } /* Sombra um pouco maior no PC */
  /* Ajustes do Footer no PC */

/* --- Seção Ortopedia Desktop --- */
  .orto-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
  }
  .orto-title { font-size: 2.5rem; }
  .orto-visual { max-width: none; justify-self: center; }
  .orto-sombra { top: 30px; left: 30px; } /* Deslocamento um pouco maior na tela grande */

  /* --- Seção Animais Silvestres Desktop --- */
  .silvestres-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
  }
  .silvestres-title { font-size: 2.5rem; }
  .silvestres-visual { max-width: none; justify-self: center; }
  .silvestres-sombra { top: 30px; left: 30px; }

  /* --- Seção Neurologia Desktop --- */
  .neuro-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
  }
  .neuro-title { font-size: 2.5rem; }
  .neuro-visual { max-width: none; justify-self: center; }
  .neuro-sombra { top: 30px; left: 30px; }

  /* --- Seção Endocrinologia Desktop --- */
  .endocrino-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
  }
  .endocrino-title { font-size: 2.5rem; }
  .endocrino-visual { max-width: none; justify-self: center; }
  .endocrino-sombra { top: 30px; left: 30px; }

  /* --- Seção Diferenciais Desktop --- */
  .diferenciais-container {
    grid-template-columns: 1fr 1fr; /* Transforma em 2 colunas lado a lado */
    gap: 5rem;
  }
  
  .diferenciais-imagem-wrapper {
    margin-left: auto;
    margin-right: 30px; 
  }
  .footer-inner {
    flex-direction: column;
    min-height: 160px;
    padding: 2rem 1rem;
  }
  
  .footer-logo {
    width: 190px;
    max-width: 220px;
    margin: 0 0 .7rem 0;
  }
  
  .footer-copy {
    font-size: 1rem;
    flex-direction: row; /* Coloca os textos lado a lado no PC */
    gap: 1rem;
  }
}

