/* =====================================================
   RESET.CSS — Base Reset & CSS Design Tokens (Athom Química)
   ===================================================== */

:root {
    /* Colors */
    --primary: #305824;
    --primary-hover: #3D6E2D;
    --primary-dark: #13300A;
    --primary-darker: #0A3012;
    --accent: #3FF507;
    --dark: #222223;
    --darker: #020204;
    --light-bg: #F5F4F4;
    --gray-dark: #505050;
    --gray-text: #707070;
    --gray-muted: #969798;
    --gray-light: #9A9A9A;
    --white: #FFFFFF;
    --black: #000000;

    /* Fonts */
    --font-primary: "Montserrat", sans-serif;
    --font-headers: "Montserrat", sans-serif;
    --font-alt: "Montserrat", sans-serif;

    /* Spacing & Layout */
    --max-width: 1200px;
    --transition: 0.3s ease-in-out;

    /* Radius */
    --radius-sm: 2px;
    --radius-md: 5px;
    --radius-lg: 10px;
}

/* Color Helper Classes */
.primary {
    color: var(--primary);
}

.white {
    color: var(--white);
}

.dark {
    color: var(--dark);
}

.gray-text {
    color: var(--gray-text);
}

.gray-muted {
    color: var(--gray-muted);
}

.accent {
    color: var(--accent);
}

.titulo {
    display: block;
    font-family: var(--font-headers);
    font-weight: 700;
}

.titulo.pequeno {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.titulo.medio {
    font-size: 30px;
}

.titulo.grande {
    font-size: 42px;
}

.titulo.uppercase {
    text-transform: uppercase;
}

.descricao {
    display: block;
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--gray-text);
}

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

html,
body {
    font-family: var(--font-headers);
    overflow-x: hidden;
    background-color: var(--white);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

.itens_mobile,
.itens_mobile2 {
    display: none !important;
}

.itens_main {
    display: block !important;
}

.itens_main2 {
    display: flex !important;
}

/* Central container */
.central {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
}

/* Reusable Components base style */

/* Fileira de icones de rede social -- reusavel em qualquer bloco
   (header, footer, menu mobile, etc.), por isso mora aqui no reset. */
.redes {
    display: flex;
    align-items: center;
    gap: 10px;
}

.redes a {
    width: 30px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.redes img {
    width: 100%;
    height: auto;
    position: relative;
    object-fit: cover;
    filter: brightness(0) saturate(100%) invert(26%) sepia(23%) saturate(1382%) hue-rotate(60deg) brightness(95%) contrast(90%);
    transition: var(--transition);
}

.redes a:hover {
    transform: translateY(-3px);
}

.bloco {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

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

.bloco>* {
    position: relative;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.bloco>*:last-child {
    margin-bottom: 0;
}

/* Reusable Buttons */
.botao {
    display: inline-block;
    height: 45px;
    line-height: 45px;
    min-width: 160px;
    font-family: var(--font-primary);
    font-size: 14px;
    padding: 0 25px;
    box-sizing: border-box;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.botao--primary {
    background-color: var(--primary);
    color: var(--white);
}

.botao--primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.botao--blue {
    background-color: #0EB6CE;
    color: #16252F;
}

.botao--blue:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.botao--outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.botao--outline:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

.botao--dark {
    background-color: var(--dark);
    color: var(--white);
}

.botao--dark:hover {
    background-color: var(--darker);
    transform: translateY(-2px);
}

.botao--accent {
    background-color: var(--accent);
    color: var(--white);
    font-weight: 700;
}

.botao--accent:hover {
    background-color: #35d606;
    transform: translateY(-2px);
}

.botao--small {
    height: 35px;
    line-height: 35px;
    font-size: 12px;
    padding: 0 15px;
    min-width: 110px;
}

.botao--light {
    height: 34px;
    line-height: 30px;
    min-width: auto;
    padding: 0 22px;

    background: var(--white);
    color: var(--gray-text);

    border: 2px solid #7A7A7A;

    font-size: 12px;
    font-weight: 400;

    border-radius: 6px 14px 6px 14px;
}

.botao--light:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Owl dots override */
.owl-dots {
    width: 100%;
    position: absolute;
    left: 0;
    margin: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 20;
}

.owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, .35);
    border-radius: 50%;
    transition: .3s;
    position: relative;
    display: block;
}

.owl-dots .owl-dot.active span {
    background: var(--primary) !important;
}

/* =====================================================
   BLOG ITEM
   ===================================================== */

.blog-item {
    width: 344px;
    min-height: 522px;

    display: flex;
    flex-direction: column;

    background: #E6E4E4;

    text-decoration: none;

    transition: var(--transition);
}

.blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.blog-item__imagem {
    width: 100%;
    height: 245px;

    overflow: hidden;
}

.blog-item__imagem img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;
}

.blog-item:hover .blog-item__imagem img {
    transform: scale(1.05);
}

.blog-item__conteudo {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 28px;
}

.blog-item__conteudo h3 {
    position: relative;

    padding-bottom: 15px;
    margin-bottom: 15px;

    color: #707070;

    font-family: var(--font-headers);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.blog-item__conteudo h3:before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 176px;
    height: 2px;

    background: #EC1F24;
}

.blog-item__conteudo p {
    color: #8E8F91;

    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    ;

    letter-spacing: .05em;
}

.blog-item__link {
    margin-top: auto;
    bottom: -22px;
    right: 45px;

    position: absolute;

    color: var(--primary);

    font-family: var(--font-headers);
    font-size: 7px;
    font-weight: 700;

    text-transform: uppercase;
}

/* =====================================================
   FORM
   ===================================================== */

.form {
    width: 100%;

    display: flex;
    flex-direction: column;
}

.form__input,
.form__textarea {
    width: 100%;

    margin-bottom: 15px;
    padding: 0 20px;

    background: var(--white);

    border: 1px solid #D9D9D9;

    color: var(--gray-text);

    font-family: var(--font-primary);
    font-size: 15px;

    transition: var(--transition);
}

.form__input {
    height: 45px;
}

.form__textarea {
    height: 150px;

    padding-top: 15px;

    resize: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #8E8F91;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(212, 70, 10, .12);
}

.form .botao {
    align-self: flex-end;
}

/*==================================
WHATSAPP FIXO
==================================*/

/* mesmo estilo/animacao do #whats_fixed do site da Mazziotti (ondas verdes
   em cascata saindo do icone, em vez do circulo preenchido) */
#whats_fixed {
    width: 60px;
    height: 60px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    /* 70px era maior que o proprio botao (60px) e cortava o icone nas bordas
       -- usando % em vez de px o icone acompanha o tamanho do botao
       automaticamente, inclusive no mobile, sem precisar repetir o valor */
    background: url("../../imagens/icon-whatsapp2.png") center center / 100% auto no-repeat;
    transition: .3s;
}

#whats_fixed:hover {
    transform: scale(1.1);
}

/* onda dupla (ping) saindo do botao, uma com delay pra ficar em cascata */
#whats_fixed:before,
#whats_fixed:after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 4px solid rgb(11, 163, 96);
    border-radius: 35px;
    opacity: 0;
    animation: WaveWhatsApp 1.5s ease infinite;
}

#whats_fixed:after {
    animation-delay: .5s;
}

@keyframes WaveWhatsApp {
    0% {
        transform: scale(.5);
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}



/* Animation utilities */
.animate {
    opacity: 0;
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.animate--fade-up {
    transform: translateY(30px);
}

.animate--fade-left {
    transform: translateX(-30px);
}

.animate--fade-right {
    transform: translateX(30px);
}

.animate.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}