/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Evita “text inflation” em alguns navegadores mobile */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2E8B57;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/* Remove default form styling */
input, textarea, select {
    border: 1px solid #E0E0E0;
    outline: none;
}

/* Remove default button styling */
button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}

/* Remove default search input styling */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/* Remove default checkbox and radio styling */
[type="checkbox"], [type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/* Remove default number input styling */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/* Remove default textarea resize */
textarea {
    resize: vertical;
}

/* Remove default select styling */
select {
    text-transform: none;
}

/* Remove focus outline for mouse users, keep for keyboard users */
:focus:not(:focus-visible) {
    outline: none;
}

/* Maintain focus outline for keyboard users */
:focus-visible {
    outline: 2px solid #2E8B57;
    outline-offset: 2px;
}

/* Clear floats */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Hide content visually but keep it accessible for screen readers */
.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;
}
