/* ==========================================
   RESET & VARIÁVEIS
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores da marca */
  --bg: #E5DDCE;
  --verde: #6C6D4D;
  --cinza: #222222;
  --cinza-claro: #9a9a9a;
  --cinza-border: #d4cecc;
  --branco: #E5DDCE;
  
  /* Fontes */
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--cinza);
  line-height: 1.6;
}

/* ==========================================
   TIPOGRAFIA
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--verde);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--cinza);
}

a {
  color: var(--verde);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cinza);
}

/* ==========================================
   CONTAINER
   ========================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   HEADER
   ========================================== */

.header {
  background-color: var(--branco);
  border-bottom: 1px solid var(--cinza-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

/* Alinhamento da logo com o menu */
.logo-section {
  display: flex;
  align-items: center;   /* 🔑 ISSO centraliza na linha do menu */
  gap: 10px;
}

/* Logo */
.logo-img {
  height: 80px;          /* controla a altura visual */
  width: auto;
  display: block;
}


.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--verde);
  margin: 0;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--cinza-claro);
  margin: 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--cinza);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--verde);
}

.nav-link.active {
  color: var(--verde);
  border-bottom: 3px solid var(--verde);
  padding-bottom: 5px;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-whatsapp {
  background-color: var(--verde);
  color: var(--branco);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: var(--cinza);
  color: var(--branco);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--verde);
}

/* ==========================================
   BOTÕES
   ========================================== */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--verde);
  color: var(--branco);
}

.btn-primary:hover {
  background-color: var(--cinza);
  color: var(--branco);
}

.btn-secondary {
  background-color: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}

.btn-secondary:hover {
  background-color: var(--verde);
  color: var(--branco);
}

/* ==========================================
   HERO SECTION (INDEX)
   ========================================== */

.hero {
  padding: 60px 0;
  background-color: var(--bg);

}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.info-box {
  background-color: var(--verde);
  color: var(--branco);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(108, 109, 77, 0.2);
}

.info-box h3 {
  color: var(--branco);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #f0f0f0;
}

.info-item p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  font-size: 14px;
}

/* ==========================================
   PAGE HERO (OTHER PAGES)
   ========================================== */

.page-hero {
  padding: 60px 0;
  background-color: var(--verde);
  color: var(--branco);
  text-align: center;
}

.page-hero h1 {
  color: var(--branco);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* ==========================================
   CONTENT SECTIONS
   ========================================== */

.content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--cinza-border);
}

.content-section h2 {
  margin-bottom: 2rem;
  text-align: center;
}

/* ==========================================
   CARDS
   ========================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.cards-grid.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background-color: var(--branco);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--cinza-border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
  border-color: var(--verde);
  box-shadow: 0 8px 20px rgba(108, 109, 77, 0.1);
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--verde);
}

.card p {
  color: var(--cinza);
  margin-bottom: 1.5rem;
  font-size: 14px;
}

/* ==========================================
   ESPECIALIDADES GRID
   ========================================== */

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.especialidade-item {
  background-color: var(--branco);
  padding: 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--cinza-border);
  font-size: 14px;
  color: var(--verde);
  font-weight: 500;
  transition: all 0.3s ease;
}

.especialidade-item:hover {
  border-color: var(--verde);
  background-color: var(--bg);
  box-shadow: 0 4px 12px rgba(108, 109, 77, 0.1);
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
  padding: 60px 0;
  background-color: var(--bg);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background-color: #c6b696;
  color: #6c6d4d;
  padding: 60px 0 20px 0;
  margin-top: 60px;
}


.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--branco);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #40412c;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 0.5rem;
  color: #40412c;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  color: #40412c;
}

.footer-section a:hover {
  color: var(--branco);
}

.footer-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  
}

.footer-links .btn {
  padding: 8px 16px;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  color: #40412c;
}

/* ==========================================
   FAB WHATSAPP (PNG)
========================================== */

/* ===============================
   OVERRIDE TOTAL – FAB WHATSAPP
================================ */

.fab-whatsapp {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;

  width: 72px !important;
  height: 72px !important;

  background-color: #5f6144 !important; /* MUDE A COR AQUI */
  border-radius: 50% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;

  z-index: 9999 !important;
}

.fab-whatsapp img,
.fab-whatsapp-icon {
  width: 36px !important;
  height: 36px !important;
  display: block !important;
}

/* remove QUALQUER efeito */
.fab-whatsapp:hover,
.fab-whatsapp:active,
.fab-whatsapp:focus {
  background-color: #5f6144 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ==========================================
   DESTAQUES SECTION
   ========================================== */

.destaques {
  padding: 60px 0;
  background-color: var(--branco);
}

.destaques h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cards-grid,
  .cards-grid.cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--branco);
    border-bottom: 1px solid var(--cinza-border);
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    padding: 1rem;
    border-bottom: 1px solid var(--cinza-border);
    border-radius: 0;
  }

  .nav-link.active {
    border-bottom: 3px solid var(--verde);
    border-left: 4px solid var(--verde);
  }

  .menu-toggle {
    display: block;
  }

  .header-content {
    gap: 1rem;
  }

  .logo-section {
    gap: 0.5rem;
  }

  .logo {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero {
    padding: 40px 0;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .info-box {
    padding: 20px;
  }

  .cards-grid,
  .cards-grid.cards-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .content-section,
  .cta-section {
    padding: 40px 0;
  }

  .especialidades-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fab-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .page-hero {
    padding: 40px 0;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-section {
    flex-shrink: 1;
  }

  .logo {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .brand-name {
    font-size: 12px;
  }

  .brand-subtitle {
    font-size: 9px;
  }

  h1 {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .info-box {
    padding: 15px;
  }

  .info-box h3 {
    font-size: 1.1rem;
  }

  .footer-links {
    flex-direction: column;
  }

  .footer-links .btn {
    width: 100%;
  }
}
/* ==========================================
   ALBUM DE FOTOS - INFO BOX
   ========================================== */

.info-box {
  padding: 0;              /* remove a borda visual */
  background: none;        /* remove o verde */
  overflow: hidden;
}

.clinic-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 12px;     /* mantém o arredondado elegante */
  overflow: hidden;
}

@media (max-width: 768px) {
  .clinic-image {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .clinic-image {
    min-height: 180px;
  }
}

.clinic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================
   SOBRE
========================================== */

.sobre {
  padding: 80px 0;
  background-color: #c6b696;
}

.sobre-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sobre-texto h2 {
  font-family: var(--font-title);
  font-size: 36px;
  margin-bottom: 20px;
}

.sobre-intro {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--cinza);
}

.sobre-texto p {
  color: #494848;
  line-height: 1.8;
}

.sobre-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .sobre-wrapper {
    grid-template-columns: 1fr;
  }

  .sobre-cards {
    grid-template-columns: 1fr;
  }
}
.logo {
  width: 50px;
  height: 50px;

  background: none;          /* REMOVE o fundo verde */
  border-radius: 0;          /* evita distorção */

  display: flex;
  align-items: center;
  justify-content: center;
}
.titulo-convenios {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.convenio-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-convenio {
  width: 160px;
  height: auto;
  object-fit: contain;
  display: block;
}
/* ==========================================
   VIDEO INSTITUCIONAL
========================================== */

.video-institucional {
  padding: 100px 0;
  background-color: #E5DDCE;

  text-align: center;
}

.video-institucional h2 {
  margin-bottom: 10px;
}

.video-subtitle {
  margin-bottom: 40px;
  color: #494848;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;   /* ⬅️ grande, mas coerente */
  margin: 0 auto;      /* ⬅️ centralização real */
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
