/* public_html/global.css */

/* Importação da Fonte Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset Básico e Estilos Globais */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 1rem = 16px por padrão */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #E0E0E0;
    line-height: 1.7;
    font-size: 1rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Melhor renderização de fontes */
    -moz-osx-font-smoothing: grayscale;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75em;
    color: #EAEAEA;
}

h1 { font-size: clamp(1.8em, 5vw, 2.8em); } /* Responsivo */
h2 { font-size: clamp(1.6em, 4vw, 2.2em); }
h3 { font-size: clamp(1.2em, 3vw, 1.6em); }

p {
    margin-bottom: 1.2em;
    font-weight: 400;
    color: #c0c0c0;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover, a:focus {
    color: #5dade2;
    text-decoration: none; /* Manter sem sublinhado no hover por padrão */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Bordas suaves para todas as imagens */
}

ul, ol {
    list-style: none;
    margin-bottom: 1em;
}

/* Container principal para centralizar conteúdo */
.main-container {
    width: 90%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px; /* Espaçamento lateral para conteúdo */
    padding-right: 15px;
}

/* Botão Padrão CTA */
.btn-cta {
    display: inline-block;
    background-color: #007BFF;
    color: white !important;
    padding: 14px 28px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.btn-cta:hover, .btn-cta:focus {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.35);
    color: white !important;
}
.btn-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.2);
}

/* Classes Utilitárias */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Melhorias Gerais para Mobile */
@media (max-width: 768px) {
    body {
        font-size: 0.9375rem; /* 15px */
        line-height: 1.65; /* Leve ajuste na altura da linha */
    }

    .main-container {
        width: 92%;
    }

    .btn-cta {
        padding: 12px 24px;
        font-size: 1em;
        width: 100%;
        max-width: 380px; /* Evita que o botão fique muito largo em tablets */
        margin-left: auto;
        margin-right: auto;
        display: block; /* Para o max-width e margin auto funcionarem */
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.7em; }
    h2 { font-size: 1.4em; }
    h3 { font-size: 1.15em; }
    .btn-cta {
        max-width: 100%; /* Em telas muito pequenas, pode ocupar toda a largura */
    }
}
