/*
|--------------------------------------------------------------------------
| Corpo e Alma Spa Urbano
|--------------------------------------------------------------------------
| CSS RESET
|--------------------------------------------------------------------------
|
| Normalização global dos elementos HTML.
|
| IMPORTANTE:
| Este arquivo não define identidade visual, tamanhos de títulos,
| dimensões de componentes ou estilos específicos.
|
*/


/* ==========================================================================
   BOX MODEL
   ========================================================================== */

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}


/* ==========================================================================
   DOCUMENTO
   ========================================================================== */

html {
    margin: 0;
    padding: 0;

    min-height: 100%;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;

    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100%;
}


/* ==========================================================================
   ELEMENTOS ESTRUTURAIS
   ========================================================================== */

main,
header,
footer,
nav,
section,
article,
aside,
figure,
figcaption {
    display: block;
}


/* ==========================================================================
   TÍTULOS E TEXTOS
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure {
    margin: 0;
    padding: 0;
}


/* ==========================================================================
   LISTAS
   ========================================================================== */

ul,
ol {
    margin: 0;
    padding: 0;
}


/* ==========================================================================
   LINKS
   ========================================================================== */

a {
    color: inherit;
    text-decoration: none;
}


/* ==========================================================================
   BOTÕES
   ========================================================================== */

button {
    margin: 0;
    padding: 0;

    border: 0;

    font: inherit;

    color: inherit;

    background: none;

    cursor: pointer;
}


/* ==========================================================================
   FORMULÁRIOS
   ========================================================================== */

input,
textarea,
select,
button {
    font: inherit;
}

textarea {
    resize: vertical;
}


/* ==========================================================================
   IMAGENS
   ========================================================================== */

img {
    display: block;

    max-width: 100%;

    height: auto;
}


/* ==========================================================================
   PICTURE
   ========================================================================== */

picture {
    display: block;

    max-width: 100%;
}


/* ==========================================================================
   VÍDEOS
   ========================================================================== */

video {
    display: block;

    max-width: 100%;
}


/* ==========================================================================
   SVG
   ========================================================================== */

svg {
    display: block;
}


/*
|--------------------------------------------------------------------------
| IMPORTANTE
|--------------------------------------------------------------------------
|
| Não definimos width ou height globalmente para SVG.
|
| Cada componente deve controlar o tamanho do seu próprio SVG.
|
*/


/* ==========================================================================
   IFRAMES
   ========================================================================== */

iframe {
    max-width: 100%;

    border: 0;
}


/* ==========================================================================
   TABELAS
   ========================================================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* ==========================================================================
   CITAÇÕES
   ========================================================================== */

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: "";
}


/* ==========================================================================
   HIDDEN
   ========================================================================== */

[hidden] {
    display: none !important;
}


/* ==========================================================================
   ACESSIBILIDADE — FOCO
   ========================================================================== */

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid currentColor;

    outline-offset: 3px;
}


/* ==========================================================================
   SELEÇÃO
   ========================================================================== */

::selection {
    background: #355c4a;

    color: #ffffff;
}


/* ==========================================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

}