/* Estilos Base para o Site da Francine Liberato */

/* HTML e Body */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-sistema);
  font-size: var(--texto-base);
  line-height: 1.6;
  color: var(--cor-preto);
  background-color: var(--cor-off-white);
  overflow-x: hidden;
}

/* Container Principal */
.container {
  width: 100%;
  max-width: var(--largura-max-container);
  margin: 0 auto;
  padding: 0 var(--espaco-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--espaco-xl);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--espaco-2xl);
  }
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fonte-primaria);
  color: var(--cor-primaria);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--espaco-md);
}

h1 {
  font-size: var(--texto-3xl);
}

h2 {
  font-size: var(--texto-2xl);
}

h3 {
  font-size: var(--texto-xl);
}

h4 {
  font-size: var(--texto-lg);
}

h5 {
  font-size: var(--texto-base);
}

h6 {
  font-size: var(--texto-sm);
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--texto-4xl);
  }

  h2 {
    font-size: var(--texto-3xl);
  }

  h3 {
    font-size: var(--texto-2xl);
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--texto-5xl);
  }

  h2 {
    font-size: var(--texto-4xl);
  }

  h3 {
    font-size: var(--texto-3xl);
  }
}

/* Parágrafos */
p {
  margin-bottom: var(--espaco-lg);
  max-width: var(--largura-max-texto);
}

/* Links */
a {
  color: var(--cor-primaria);
  text-decoration: none;
  transition: all var(--transicao-normal);
}

a:hover {
  color: var(--cor-primaria-escura);
}

/* Foco para acessibilidade */
a:focus,
button:focus {
  outline: 2px solid var(--cor-primaria);
  outline-offset: 2px;
  border-radius: var(--raio-sm);
}

/* Imagens */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--raio-sm);
}

/* Seções principais */
section {
  padding: var(--espaco-4xl) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--espaco-5xl) 0;
  }
}

@media (min-width: 1024px) {
  section {
    padding: var(--espaco-6xl) 0;
  }
}

/* Utilitários de texto */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--cor-primaria);
}

.text-secondary {
  color: var(--cor-cinza-escuro);
}

.text-white {
  color: var(--cor-branco);
}

/* Utilitários de espaçamento */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--espaco-xs); }
.mb-2 { margin-bottom: var(--espaco-sm); }
.mb-3 { margin-bottom: var(--espaco-md); }
.mb-4 { margin-bottom: var(--espaco-lg); }
.mb-5 { margin-bottom: var(--espaco-xl); }
.mb-6 { margin-bottom: var(--espaco-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--espaco-xs); }
.mt-2 { margin-top: var(--espaco-sm); }
.mt-3 { margin-top: var(--espaco-md); }
.mt-4 { margin-top: var(--espaco-lg); }
.mt-5 { margin-top: var(--espaco-xl); }
.mt-6 { margin-top: var(--espaco-2xl); }

/* Utilitários de display */
.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

/* Flexbox utilitários */
.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.items-center {
  align-items: center;
}

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

.items-end {
  align-items: flex-end;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

/* Grid utilitários */
.gap-1 { gap: var(--espaco-xs); }
.gap-2 { gap: var(--espaco-sm); }
.gap-3 { gap: var(--espaco-md); }
.gap-4 { gap: var(--espaco-lg); }
.gap-5 { gap: var(--espaco-xl); }
.gap-6 { gap: var(--espaco-2xl); }

/* Responsividade para utilitários */
@media (min-width: 768px) {
  .md\:d-none {
    display: none;
  }

  .md\:d-block {
    display: block;
  }

  .md\:d-flex {
    display: flex;
  }

  .md\:text-left {
    text-align: left;
  }

  .md\:text-center {
    text-align: center;
  }

  .md\:text-right {
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .lg\:d-none {
    display: none;
  }

  .lg\:d-block {
    display: block;
  }

  .lg\:d-flex {
    display: flex;
  }

  .lg\:text-left {
    text-align: left;
  }

  .lg\:text-center {
    text-align: center;
  }

  .lg\:text-right {
    text-align: right;
  }
}

