/* =========================================
   1. VARIÁVEIS GERAIS DO TEMA
   ========================================= */
:root {
  --text-color: #4a4243;
  --primary-color: #c4b0b1;
  --primary-dark: #a68e90; /* Tom mais escuro para leitura e destaque */
  --hover-bg-mobile: #f2ebeb;
  --btn-hover: rgb(8, 96, 111);
}

/* =========================================
   2. RESETS BÁSICOS
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
.nav-link,
.mobile-link,
button {
  font-family: "Poppins", sans-serif;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================================
   3. ESTRUTURA E CABEÇALHO (MOBILE FIRST)
   ========================================= */
.container {
  width: 100%;
  padding: 0 1rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid #e5e7eb;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.header-content {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-btn {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.logo-btn:hover {
  opacity: 0.8;
}

.logo-img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

/* --- Menu Mobile --- */
.desktop-nav {
  display: none;
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.mobile-nav {
  position: absolute;
  top: 5rem;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  color: var(--text-color);
  transition: background-color 0.2s;
  font-size: 0.95rem;
}

/* =========================================
   4. SEÇÃO HERO (MOBILE FIRST)
   ========================================= */
.hero {
  background-color: #f2ebeb;
  overflow: hidden;
  padding: 3rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column-reverse;
  gap: 3rem;
  align-items: center;
}

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

.hero-badge {
  align-self: center;
  background-color: white;
  color: var(--primary-dark);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.hero-title {
  color: var(--text-color);
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero-title span {
  color: var(--primary-dark);
}

.hero-subtitle {
  color: #8c7d7e;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify; /* Justifica no mobile */
}

/* --- Botões Gerais --- */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.btn-agendar,
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
  width: 100%;
}

.btn-agendar:hover,
.btn-primary:hover {
  background-color: var(--btn-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  width: 100%;
}

.btn-secondary:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
  color: white;
}

/* --- Imagem do Hero --- */
.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.hero-shape {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 8rem;
  height: 8rem;
  background-color: var(--primary-color);
  border-radius: 1rem;
  opacity: 0.5;
  z-index: 1;
}

/* Utilitários */
.hidden {
  display: none !important;
}
.block {
  display: block !important;
}

/* =========================================
   5. SEÇÃO SOBRE NÓS (MOBILE FIRST)
   ========================================= */
.sobre {
  background-color: #ffffff;
  padding: 5rem 0;
  overflow-x: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.sobre-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}


/* --- Imagem e Forma Decorativa --- */
.sobre-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.sobre-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 0.875rem;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow:
    0 4px 8px rgba(74, 66, 67, 0.06),
    0 18px 44px rgba(74, 66, 67, 0.14);
  
  /* === CORREÇÕES MODERNAS PARA A BORDA PRETA === */
  background-color: transparent;
  transform: translateZ(0); /* Força a aceleração de hardware correta */
  
  /* A tesoura invisível que corta exatamente na medida do seu border-radius (0.875rem): */
  clip-path: inset(0 round 0.875rem); 
  -webkit-clip-path: inset(0 round 0.875rem); /* Para navegadores Apple */
}

.sobre-deco-shape {
  position: absolute;
  inset: 0;
  background-color: #3b483b;
  border-radius: 0.875rem;
  opacity: 0.1;
  z-index: 1;
  transform: translate(1.25rem, 1.25rem) translateZ(0);
  -webkit-transform: translate(1.25rem, 1.25rem) translateZ(0);
}

/* --- Texto --- */
.sobre-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.sobre-badge {
  display: inline-block;
  align-self: auto;
  background-color: #f2ebeb;
  color: var(--primary-dark);
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-oferecemos {
  background-color: #ffffff;
}

.sobre-title {
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
}

.sobre-title span {
  color: var(--primary-dark);
}

.sobre-description {
  color: #8c7d7e;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.8;
  text-align: justify; /* Justifica no mobile */
}

/* --- Grid de Valores --- */
.sobre-valores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.25rem;
}

.valor-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.25rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 16px rgba(74, 66, 67, 0.07);
  border: 1px solid rgba(196, 176, 177, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.valor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(74, 66, 67, 0.12);
}

.valor-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background-color: #f2ebeb;
  border-radius: 0.5rem;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.valor-icon-wrapper svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke: var(--primary-dark);
  transition: stroke 0.3s ease;
}

.valor-card:hover .valor-icon-wrapper {
  background-color: rgba(8, 96, 111, 0.08);
}

.valor-card:hover .valor-icon-wrapper svg {
  stroke: rgb(8, 96, 111);
}

.valor-label {
  color: var(--text-color);
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

/* =========================================
   6. SEÇÃO ESPECIALIDADES (MOBILE FIRST)
   ========================================= */
.especialidades {
  background-color: #f2ebeb;
  padding: 5rem 0;
}

/* --- Cabeçalho reutilizável de seção --- */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.2;
}

.section-title span {
  color: var(--primary-dark);
}

.section-divider {
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 2px;
}

.section-subtitle {
  color: #8c7d7e;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.75;
  max-width: 560px;
  text-align: justify; /* Justifica no mobile */
}

/* --- Grid --- */
.especialidades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* --- Card --- */
.espec-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid rgba(196, 176, 177, 0.22);
  box-shadow:
    0 2px 8px rgba(74, 66, 67, 0.05),
    0 1px 2px rgba(74, 66, 67, 0.04);
  overflow: hidden;
  cursor: default;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.espec-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px 2px 0 0;
  transition:
    left 0.35s ease,
    right 0.35s ease,
    background-color 0.35s ease;
}

.espec-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 40px rgba(74, 66, 67, 0.11),
    0 4px 12px rgba(74, 66, 67, 0.07);
  border-color: rgba(8, 96, 111, 0.14);
}

.espec-card:hover::after {
  left: 0;
  right: 0;
  background-color: var(--btn-hover);
}

/* --- Ícone --- */
.espec-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: #f2ebeb;
  border-radius: 0.625rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background-color 0.35s ease;
}

.espec-icon-wrapper svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: var(--primary-dark);
  transition: stroke 0.35s ease;
}

.espec-card:hover .espec-icon-wrapper {
  background-color: rgba(8, 96, 111, 0.08);
}

.espec-card:hover .espec-icon-wrapper svg {
  stroke: var(--btn-hover);
}

/* --- Conteúdo --- */
.espec-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.6rem;
}

.espec-desc {
  font-size: 0.875rem;
  color: #8c7d7e;
  line-height: 1.7;
}

/* =========================================
   7. SEÇÃO NOSSA EQUIPE (MOBILE FIRST)
   ========================================= */
.equipe {
  background-color: #ffffff;
  padding: 5rem 0;
}

/* --- Grid --- */
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* --- Card --- */
.membro-card {
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(196, 176, 177, 0.2);
  box-shadow:
    0 2px 8px rgba(74, 66, 67, 0.05),
    0 1px 2px rgba(74, 66, 67, 0.03);
  cursor: default;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.membro-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 16px 36px rgba(74, 66, 67, 0.1),
    0 4px 10px rgba(74, 66, 67, 0.06);
}

/* --- Foto circular com anel --- */
.membro-foto-wrapper {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  box-shadow: 0 4px 14px rgba(196, 176, 177, 0.4);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.membro-card:hover .membro-foto-wrapper {
  background: linear-gradient(135deg, rgb(8, 96, 111), rgba(8, 96, 111, 0.55));
  box-shadow: 0 6px 20px rgba(8, 96, 111, 0.22);
}

.membro-foto {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background-color: #f2ebeb;
}

/* --- Informações --- */
.membro-nome {
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.membro-especialidade {
  font-size: 0.78rem;
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.membro-registro {
  font-size: 0.7rem;
  color: #8c7d7e;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* =========================================
   8. SEÇÃO AGENDAMENTO (MOBILE FIRST)
   ========================================= */
.agendamento {
  background-color: #f2ebeb;
  padding: 5rem 0;
}

/* --- Grid de duas colunas --- */
.agendamento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* --- Card do formulário --- */
.agendamento-form-wrapper {
  background-color: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(196, 176, 177, 0.22);
  box-shadow:
    0 4px 20px rgba(74, 66, 67, 0.07),
    0 1px 4px rgba(74, 66, 67, 0.04);
  padding: 1.75rem;
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(196, 176, 177, 0.2);
}

.form-card-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color);
}

/* --- Formulário --- */
.agendamento-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(196, 176, 177, 0.45);
  border-radius: 0.625rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--text-color);
  background-color: #fafafa;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder {
  color: #c5b8b9;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(166, 142, 144, 0.18);
  background-color: #ffffff;
}

/* Seta customizada para o select */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--primary-dark);
  pointer-events: none;
}

.select-wrapper select {
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option[value=""] {
  color: #c5b8b9;
}

/* --- Mensagem de erro --- */
.form-error {
  font-size: 0.82rem;
  color: #c0392b;
  background-color: #fdecea;
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: 0.5rem;
  padding: 0.65rem 0.9rem;
  line-height: 1.5;
}

/* --- Botão de envio --- */
.btn-form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.875rem 1.5rem;
  margin-top: 0.25rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 0.625rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-form-submit:hover {
  background-color: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 96, 111, 0.28);
}

.btn-form-submit svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* --- Coluna de informações --- */
.agendamento-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* --- Card base --- */
.info-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(196, 176, 177, 0.22);
  box-shadow:
    0 4px 20px rgba(74, 66, 67, 0.07),
    0 1px 4px rgba(74, 66, 67, 0.04);
  padding: 1.75rem;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.info-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background-color: #f2ebeb;
  border-radius: 0.625rem;
  flex-shrink: 0;
}

.info-icon-wrapper svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--primary-dark);
}

.info-card-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color);
}

/* --- Lista numerada --- */
.como-funciona-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.como-funciona-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(166, 142, 144, 0.4);
}

.step-text {
  font-size: 0.875rem;
  color: #8c7d7e;
  line-height: 1.65;
  padding-top: 0.2rem;
}

/* --- Card Urgência --- */
.urgencia-card {
  background: linear-gradient(140deg, rgb(8, 96, 111) 0%, rgb(5, 68, 79) 100%);
  border: none;
  box-shadow:
    0 8px 32px rgba(8, 96, 111, 0.32),
    0 2px 8px rgba(8, 96, 111, 0.18);
}

.urgencia-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.urgencia-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 0.625rem;
  flex-shrink: 0;
}

.urgencia-icon-wrapper svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: white;
}

.urgencia-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
}

.urgencia-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.urgencia-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.625rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.urgencia-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.65);
}

.urgencia-btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* =========================================
   9. SEÇÃO ENTRE EM CONTATO (MOBILE FIRST)
   ========================================= */
.contato {
  background-color: #ffffff;
  padding: 5rem 0;
}

/* --- Grid principal: Cards + Mapa --- */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* --- Grade dos 4 cards --- */
.contato-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* --- Card base --- */
.contato-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background-color: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(196, 176, 177, 0.22);
  box-shadow:
    0 2px 10px rgba(74, 66, 67, 0.05),
    0 1px 3px rgba(74, 66, 67, 0.04);
  cursor: default;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  text-decoration: none;
  color: inherit;
}

.contato-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 14px 36px rgba(74, 66, 67, 0.1),
    0 4px 12px rgba(74, 66, 67, 0.06);
  border-color: rgba(8, 96, 111, 0.14);
}

/* Cards clicáveis */
.contato-card--link {
  cursor: pointer;
}

/* --- Wrapper do ícone --- */
.contato-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background-color: #f2ebeb;
  border-radius: 0.625rem;
  flex-shrink: 0;
  transition: background-color 0.35s ease;
}

.contato-icon-wrapper svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--primary-dark);
  transition: stroke 0.35s ease;
}

.contato-card:hover .contato-icon-wrapper {
  background-color: rgba(8, 96, 111, 0.08);
}

.contato-card:hover .contato-icon-wrapper svg {
  stroke: var(--btn-hover);
}

/* --- Corpo do card --- */
.contato-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contato-card-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary-dark);
}

.contato-card-text {
  font-size: 0.875rem;
  color: var(--text-color);
  line-height: 1.65;
}

.contato-card-action {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.contato-card--link:hover .contato-card-action {
  color: var(--btn-hover);
}

.contato-card-highlight {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--text-color);
}

/* --- Container do Mapa --- */
.contato-map-wrapper {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 400px;
  box-shadow:
    0 8px 32px rgba(74, 66, 67, 0.1),
    0 2px 8px rgba(74, 66, 67, 0.06);
  border: 1px solid rgba(196, 176, 177, 0.2);
}

.contato-map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================
   10. FOOTER (MOBILE FIRST)
   ========================================= */

/* Linha de destaque no topo do rodapé */
.footer {
  background-color: var(--text-color);
  color: white;
  padding-top: 4rem;
  position: relative;
}

/* --- Grade: 4 colunas --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

/* --- Coluna 1: Marca --- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: none; /* Remove o limite de tamanho da caixa */
  white-space: nowrap; /* Força o texto a não quebrar de linha */
}

/* --- Colunas 2, 3 e 4 --- */
.footer-col-title {
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.03em;
  margin-bottom: 1.1rem;
}

/* --- Lista de links navegáveis --- */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links li button {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: inline-block;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links li button:hover {
  color: white;
  transform: translateX(4px);
}

/* --- Lista de especialidades (estática) --- */
.footer-links--static li {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

/* --- Lista de contato --- */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-icon {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  stroke: var(--primary-color);
  margin-top: 0.15rem;
  flex-shrink: 0;
  fill: none;
}

.footer-contact-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  text-decoration: none;
}

.footer-contact-link {
  transition: color 0.25s ease;
}

.footer-contact-link:hover {
  color: white;
}

/* --- Redes Sociais --- */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
  flex-shrink: 0;
}

.footer-social-link:hover {
  background-color: var(--primary-color);
  color: white;
}

.footer-social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
}

/* WhatsApp usa fill, não stroke */
.footer-social-link svg[fill="currentColor"] {
  stroke: none;
  fill: currentColor;
}

/* --- Barra inferior --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* Formatação centralizada para o Mobile no Footer */
.footer-brand,
.footer-col {
  align-items: flex-start;
  text-align: left;
}

.footer-bottom {
  align-items: center;
  text-align: center;
}

.footer-links {
  align-items: flex-start;
}

.footer-contact-list {
  align-items: flex-start;
  max-width: none;
  margin: 0;
}

.footer-contact-item {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
}

.footer-bottom-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.item-dev {
  order: 1; /* Joga o Desenvolvido com ❤️ para cima no celular */
}

.item-design {
  order: 2; /* Joga o Design para baixo no celular */
}

.separador {
  display: none; /* Esconde a barrinha no celular */
}

.linha-coracao {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.linha-coracao svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: var(--primary-color);
  stroke: none;
  flex-shrink: 0;
}

/* =========================================
   11. ESTILOS DESKTOP (A partir de 768px)
   ========================================= */
@media (min-width: 768px) {
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  /* Restaura o alinhamento original no computador */
  .hero-subtitle,
  .sobre-description {
    text-align: left;
  }

  .section-subtitle {
    text-align: center;
  }

  /* --- Header Desktop --- */
  .mobile-menu-btn {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-link {
    color: var(--text-color);
    transition: color 0.2s;
    font-size: 0.9rem;
  }

  .nav-link:hover {
    color: var(--primary-dark);
  }

  .btn-agendar.desktop-btn {
    width: auto;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

  /* --- Hero Desktop --- */
  .hero {
    padding: 6rem 0;
  }
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .hero-text {
    text-align: left;
    align-items: flex-start;
    width: 50%;
  }
  .hero-badge {
    align-self: flex-start;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-buttons {
    flex-direction: row;
    width: auto;
  }
  .btn-primary,
  .btn-secondary {
    width: auto;
  }
  .hero-image-wrapper {
    width: 48%;
  }

  /* --- Sobre Nós Desktop --- */
  .sobre {
    padding: 8rem 0;
  }
  .sobre-content {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
  .sobre-image-wrapper {
    width: 35%;
    max-width: none;
    flex-shrink: 0;
  }
  .sobre-text {
    flex: 1;
    align-items: flex-start;
  }
  .sobre-valores {
    gap: 1.25rem;
  }
  .valor-card {
    padding: 1.5rem;
  }

  /* --- Nossa Equipe Desktop --- */
  .equipe {
    padding: 8rem 0;
  }
  .equipe-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
  .membro-foto-wrapper {
    width: 7.5rem;
    height: 7.5rem;
    margin-bottom: 1.5rem;
  }
  .membro-nome {
    font-size: 0.95rem;
  }
  .membro-especialidade {
    font-size: 0.82rem;
  }
  .membro-registro {
    font-size: 0.73rem;
  }

  /* --- Especialidades Desktop --- */
  .especialidades {
    padding: 8rem 0;
  }
  .section-header {
    margin-bottom: 4rem;
  }
  .especialidades-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .espec-card {
    padding: 2rem;
  }
  .espec-card::after {
    left: 2rem;
    right: 2rem;
  }

  /* --- Footer Desktop --- */
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
  }

  .footer-brand,
  .footer-col,
  .footer-bottom {
    align-items: flex-start;
    text-align: left;
  }

  .footer-links,
  .footer-contact-list {
    align-items: flex-start;
  }

  .footer-contact-item {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-bottom-credit {
    flex-direction: row;
  }

  .item-dev,
  .item-design {
    order: 0; /* Restaura a ordem original no computador (Design na esquerda) */
  }

  .separador {
    display: inline; /* Mostra a barrinha novamente no PC */
  }

  /* --- Contato Desktop --- */
  .contato {
    padding: 8rem 0;
  }
  .contato-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
  }
  .contato-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .contato-card {
    padding: 1.75rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .contato-map-wrapper {
    min-height: 480px;
  }

  /* --- Agendamento Desktop --- */
  .agendamento {
    padding: 8rem 0;
  }
  .agendamento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
  }
  .agendamento-info {
    height: 100%;
    justify-content: space-between;
    gap: 0;
  }
  .agendamento-form-wrapper {
    padding: 2.5rem;
    min-height: 560px;
  }
  .info-card {
    padding: 2rem;
  }
}

/* =========================================
   12. BOTÃO WHATSAPP FLUTUANTE
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 99;
  width: 3.2rem;
  height: 3.2rem;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 4px 16px rgba(37, 211, 102, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25d366;
  animation: wa-pulse 2.8s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow:
    0 8px 28px rgba(37, 211, 102, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.18);
}

.whatsapp-float svg {
  width: 1.45rem;
  height: 1.45rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .whatsapp-float {
    bottom: 1.75rem;
    right: 1.75rem;
    width: 3.5rem;
    height: 3.5rem;
  }

  .whatsapp-float svg {
    width: 1.65rem;
    height: 1.65rem;
  }
}