/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variáveis de cores e fontes */
:root {
  --color-primary: #007bff;        /* Azul para confiança */
  --color-secondary: #ff6f61;      /* Coral para urgência */
  --color-accent: #ffc107;         /* Amarelo para destaque */
  --color-dark: #343a40;
  --color-text: #212529;
  --color-muted: #6c757d;
  --color-bg: #ffffff;
  --font-primary: 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Segoe UI', Tahoma, sans-serif;
  --spacing-unit: 1rem;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-unit) 0;
}

/* Tipografia */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin-bottom: 0.5em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1em; }

/* Botões CTA */
.btn-primary, .btn-secondary {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--color-secondary);
  color: #fff;
}
.btn-secondary:hover {
  background-color: #e65b50;
  transform: translateY(-2px);
}

/* HERO padrão */
.hero {
  background:
    linear-gradient(135deg, var(--color-primary) 0%, #0056b3 100%);
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  min-height: 200px;
}

/* Fonte padrão */
.hero .headline {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}
.hero .subheadline {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Ajustes específicos para mobile */
@media (max-width: 576px) {
  .hero {
    padding: 3rem 1rem;       /* menos espaçamento vertical */
    min-height: auto;         /* deixa altura adaptar ao conteúdo */
  }
  .hero .headline {
    font-size: 1.5rem;        /* texto menor para caber na tela */
    line-height: 1.2;         /* menos altura de linha */
    margin-bottom: 0.5rem;
  }
  .hero .subheadline {
    font-size: 0.9rem;        /* subtítulo mais compacto */
    margin-bottom: 1rem;
  }
}


/* Seções */
section {
  padding: 4rem 0;
}
section h2 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

/* Grid responsivo */
.grid {
  display: grid;
  gap: 1.5rem;
}

/* Benefícios */
.beneficios .grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.beneficios .card {
  background: var(--color-bg);
  border: 1px solid #eceeef;
  border-radius: 0.5rem;
  text-align: center;
  padding: 2rem;
  transition: box-shadow 0.3s ease;
}
.beneficios .card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.beneficios .card h3 { color: var(--color-secondary); }
.beneficios .card p { color: var(--color-muted); }

/* Galeria */
.galeria .slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
}
.galeria .slider img {
  width: 100%;
  max-width: 400px;
  border-radius: 0.5rem;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Depoimentos */
.depoimentos .grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.depoimentos blockquote {
  background: var(--color-bg);
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem;
  border-radius: 0.5rem;
  position: relative;
}
.depoimentos blockquote::before {
  content: '“';
  font-size: 3rem;
  position: absolute;
  top: -10px;
  left: 10px;
  color: var(--color-primary);
}
.depoimentos blockquote footer {
  margin-top: 1rem;
  text-align: right;
  color: var(--color-muted);
}

/* Planos */
.comprar .grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card-plan {
  background: var(--color-bg);
  border: 1px solid #eceeef;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.card-plan.featured {
  border-color: var(--color-primary);
}
.card-plan .price {
  font-size: 2rem;
  color: var(--color-primary);
  margin: 1rem 0;
}

/* Sobre */
.sobre p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-muted);
  text-align: left !important;
}

/* Garante alinhamento à esquerda nos parágrafos da seção “sobre” */
.sobre .container p {
  text-align: left !important;
}

/* Rodapé */
.rodape {
  background-color: var(--color-dark);
  color: #adb5bd;
  text-align: center;
  padding: 2rem 0;
}
.rodape a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* Garante texto à esquerda na seção “Sobre” */
#sobre .container p {
  text-align: left !important;
}


/* Responsividade */
@media (max-width: 992px) {
  .hero .headline { font-size: 2rem; }
  .hero .subheadline { font-size: 1rem; }
}
@media (max-width: 768px) {
  .beneficios .grid,
  .depoimentos .grid,
  .comprar .grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1rem; }
}

@media (max-width: 768px) {
  /* Depoimentos em uma coluna só, sem scroll lateral */
  .depoimentos .grid {
    grid-template-columns: 1fr !important;
    overflow-x: hidden !important;
  }
}


