/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FDF0F5;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Container centralizado para conteúdos internos (exceto header) */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header com elementos fixados nos cantos */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 0.5rem 0;
}
.logo {
  max-width: 36px;
  height: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem; /* Mantém o espaçamento nas extremidades */
}
.header-left {
  display: flex;
  align-items: center;
}
.site-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  margin-left: 0.5rem;
  color: #ffffff;
  transition: color 0.3s ease;
}
.site-header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.site-header.scrolled .site-name {
  color: #C4004E;
}

/* Botão do WhatsApp */
.whatsapp-btn {
  background-color: #C4004E;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 1.0rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
}
.whatsapp-btn:hover {
  background-color: #95063e;
  transform: scale(1.05);
}
.whatsapp-icon {
  width: 1.25rem;
  height: auto;
  vertical-align: middle;
  margin-right: 0.5rem;
  margin-top: -0.2rem;
}

/* Estilos da seção Hero */
.hero {
  position: relative;
  background: url("assets/hero-image.png") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(32,12,18,0.6), rgba(32,12,18,0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out forwards;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Botões de CTA com aprimoramento de hover */
.cta-btn {
  background-color: #C4004E;
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 1.0rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-btn:hover {
  background-color: #95063e;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.cta-btn:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .cta-btn:hover {
    background-color: #95063e;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
}


/* Animação para fade in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.2s forwards;
}

/* Seções do main */
main section {
  width: 100%;
  padding: 2rem 0;
}
main section:nth-of-type(odd) {
  background-color: #ffffff;
}
main section:nth-of-type(even) {
  background-color: #F5F5F5;
}
section h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #C4004E;
}
section p, section li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
/* Remover bullets para listas com a classe no-bullets */
ul.no-bullets {
  list-style: none;
  padding-left: 0;
}
ul.no-bullets li::before {
  content: none;
}
section ul li {
  padding-left: 1.2rem;
  position: relative;
}
section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #C4004E;
}

/* Grid de Cards na seção "Por que clínicas amam a Atendere" */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}
.card {
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}


/* Estilos para o card da CTA */
.cta-card {
  background-color: #f8e3eb; /* Fundo rosa claro */
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin: 0rem auto; /* Se desejar centralizar com margem extra */
  max-width: 600px; /* Limite opcional para não ficar muito largo */
}

.cta-card h2 {
  color: #C4004E; /* Trend Cherry para o título */
  margin-bottom: 1rem;
}

.cta-card p {
  color: #333333;
  margin-bottom: 1.5rem;
}


/* Rodapé */
footer {
  background-color: #F5F5F5;
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
}
footer p {
  margin-bottom: 0.5rem;
}
footer a {
  color: #C4004E;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  section h2 {
    font-size: 1.8rem;
  }
}
