/* =====================================================================
   IMAVI — base.css
   Reset, tokens do design (kit Elementor 1444), header, footer,
   botões, banner de cookies e animações de entrada.
   Fidelidade: valores extraídos do site atual (post-1444/1521/1535.css).
   Obs.: o site atual declara "Source Sans 3" mas NÃO carrega a fonte —
   o texto renderiza com a fonte sans padrão do navegador. Mantido igual.
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    color: #000000;
    font-family: "Source Sans 3", Sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; display: inline-block; }
a { color: inherit; text-decoration: none; font-family: "Source Sans 3", Sans-serif; font-weight: 500; }
ul { margin: 0; padding: 0 0 0 1.2em; }
p { margin: 0 0 .9rem; } /* mesmo default do tema atual (reset.css) */
button { font-family: inherit; cursor: pointer; }

/* ---------- Tokens ---------- */
:root {
    --cor-primaria: #921E30;
    --cor-secundaria: #474747;
    --cor-texto: #000000;
    --cor-accent: #FFFFFF;
    --cor-vermelho-claro: #D81E3B;
    --container: 1140px;
}

/* Tamanhos padrão do tema atual (hello-elementor reset.css) + cores do kit */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin-block-start: .5rem; margin-block-end: 1rem; font-weight: 500; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
h1, h2 { color: var(--cor-primaria); font-family: "Source Sans 3", Sans-serif; font-weight: 700; }
h3 { color: var(--cor-primaria); font-family: "Source Sans 3", Sans-serif; font-weight: 600; }
h4 { color: var(--cor-primaria); font-family: "Source Sans 3", Sans-serif; }

.container { max-width: var(--container); margin: 0 auto; width: 100%; }
.screen-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* =====================================================================
   HEADER (post-1521)
   ===================================================================== */
.site-header {
    background-color: #921E30;
    box-shadow: 0 0 20px 0 rgba(203, 203, 203, .5);
    position: relative;
    z-index: 20;
}
.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 81px;
}
.site-header__logo { width: 10.698%; text-align: center; }
.site-header__logo img { max-width: 142px; vertical-align: middle; transition: .7s; }

.site-nav { width: 68.334%; display: flex; justify-content: center; }
.site-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav__item { position: relative; }
.site-nav__link {
    display: block;
    padding: 13px 20px;
    color: #FFFFFF;
    fill: #FFFFFF;
    font-family: "Source Sans 3", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}
/* ponteiro underline (e--pointer-underline / fade) */
.site-nav__link::after {
    content: "";
    position: absolute;
    left: 20px; right: 20px; bottom: 8px;
    height: 3px;
    background-color: #FFFFFF;
    opacity: 0;
    transition: opacity .3s;
}
.site-nav__item:hover > .site-nav__link::after { opacity: 1; }
.site-nav__caret { width: 10px; height: 10px; fill: #FFFFFF; margin-left: 6px; vertical-align: middle; }

.site-nav__sub {
    list-style: none;
    margin: 0; padding: 0;
    position: absolute;
    top: 100%; left: 0;
    min-width: 220px;
    background: #FFFFFF;
    box-shadow: 0 3px 20px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s;
    z-index: 30;
}
.site-nav__item.has-sub:hover .site-nav__sub { opacity: 1; visibility: visible; }
.site-nav__sub a {
    display: block;
    padding: 13px 20px;
    color: #000000;
    font-family: "Source Sans 3", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    background: #FFFFFF;
    transition: background .2s;
}
.site-nav__sub a:hover { background: #f2f2f2; }

.site-header__cta { width: 20.634%; text-align: right; }
.btn-pill {
    display: inline-block;
    background-color: #FFFFFF;
    color: #000000;
    border-radius: 40px;
    padding: 10px;
    min-width: 200px;
    max-width: 210px;
    text-align: center;
    font-family: "Source Sans 3", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: .6s;
}
.btn-pill:hover { color: #ffffff; border-color: #E8E8E8; }

/* toggle mobile */
.site-nav__toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    margin-left: auto;
}
.site-nav__toggle svg { width: 22px; height: 22px; fill: #FFFFFF; display: block; }
.site-nav__toggle .site-nav__toggle-close { display: none; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-open { display: none; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-close { display: block; }

.site-nav-mobile {
    display: none;
    background: #FFFFFF;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
    position: absolute;
    left: 0; right: 0;
    z-index: 25;
}
.site-nav-mobile.is-open { display: block; }
.site-nav-mobile__menu { list-style: none; margin: 0; padding: 0; }
.site-nav-mobile__menu > li > a {
    display: block;
    padding: 13px 20px;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}
.site-nav-mobile__menu .site-nav__caret { fill: #000; float: right; margin-top: 5px; }
.site-nav-mobile__sub { list-style: none; margin: 0; padding: 0; display: none; background: #f7f7f7; }
.site-nav-mobile__sub.is-open { display: block; }
.site-nav-mobile__sub a { display: block; padding: 12px 32px; color: #000; font-size: 14px; border-bottom: 1px solid #eee; }

/* =====================================================================
   FOOTER (post-1535)
   ===================================================================== */
.site-footer { background-color: #474747; color: #FFFFFF; }
.site-footer__logo-row { text-align: center; }
.site-footer__logo-row .container { padding: 0 50px; }
.site-footer__logo-row img { width: 10%; min-width: 96px; height: auto; padding: 40px 0 20px; display: block; margin: 0 auto; }
.site-footer__cols { padding: 20px 0 40px; }
.site-footer__grid { display: flex; }
.site-footer__col { width: 33.333%; padding: 0 50px; text-align: center; }
.site-footer__title {
    font-family: "Source Sans 3", Sans-serif;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 10px;
    font-size: 16px;
}
.site-footer__col p { margin: 0 0 10px; font-size: 15px; font-weight: 400; line-height: 1.4; color: #FFFFFF; }
.site-footer__social { display: flex; justify-content: center; gap: 5px; }
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10%;
    background-color: #474747;
}
.social-icon svg { width: 20px; height: 20px; fill: #FFFFFF; }

/* =====================================================================
   BOTÕES padrão do site (elementor-button size-sm)
   ===================================================================== */
.btn {
    display: inline-block;
    font-family: "Source Sans 3", Sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 30px;
    text-align: center;
    color: #FFFFFF;
    fill: #FFFFFF;
    line-height: 1;
    transition: all .3s;
    border: 0;
}
.btn--solid { background-color: #921E30; }
.btn--outline { background-color: transparent; border: 2px solid #921E30; }
.btn--outline-preto {
    background-color: transparent;
    border: 2px solid #921E30;
    color: #000000;
    fill: #000000;
    border-radius: 35px;
}
.btn--r35 { border-radius: 35px; border: 2px solid #921E30; }

/* =====================================================================
   BANNER DE COOKIES (equivalente ao CookieYes)
   ===================================================================== */
.cookie-banner {
    position: fixed;
    left: 40px; bottom: 40px;
    max-width: 440px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 6px 30px rgba(0,0,0,.25);
    padding: 24px;
    z-index: 999;
}
.cookie-banner__title { font-weight: 700; font-size: 16px; margin: 0 0 10px; color: #212121; }
.cookie-banner__text { font-size: 13px; line-height: 1.6; color: #212121; margin: 0 0 16px; }
.cookie-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #921E30;
    white-space: nowrap;
}
.cookie-btn--outline { background: #FFFFFF; color: #921E30; }
.cookie-btn--solid { background: #921E30; color: #FFFFFF; }
.cookie-banner__prefs { margin-top: 14px; border-top: 1px solid #eee; padding-top: 14px; }
.cookie-pref { display: block; font-size: 13px; margin-bottom: 8px; color: #212121; }

/* =====================================================================
   ANIMAÇÕES DE ENTRADA (réplica das entrance animations do Elementor)
   .anim é invisível até .is-visible (via IntersectionObserver)
   .animated-slow = 2s (classe usada no site atual)
   ===================================================================== */
.anim { opacity: 0; }
.anim.is-visible { opacity: 1; animation-duration: 1.25s; animation-fill-mode: both; }
.anim.anim--slow.is-visible { animation-duration: 2s; }
.anim--fadeIn.is-visible { animation-name: a-fadeIn; }
.anim--slideInLeft.is-visible { animation-name: a-slideInLeft; }
.anim--slideInUp.is-visible { animation-name: a-slideInUp; }
.anim--bounce.is-visible { animation-name: a-bounce; transform-origin: center bottom; }

@keyframes a-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes a-slideInLeft {
    from { transform: translate3d(-100%, 0, 0); visibility: visible; }
    to { transform: translate3d(0, 0, 0); }
}
@keyframes a-slideInUp {
    from { transform: translate3d(0, 100%, 0); visibility: visible; }
    to { transform: translate3d(0, 0, 0); }
}
@keyframes a-bounce {
    from, 20%, 53%, 80%, to { animation-timing-function: cubic-bezier(0.215,0.61,0.355,1); transform: translate3d(0,0,0); }
    40%, 43% { animation-timing-function: cubic-bezier(0.755,0.05,0.855,0.06); transform: translate3d(0,-30px,0); }
    70% { animation-timing-function: cubic-bezier(0.755,0.05,0.855,0.06); transform: translate3d(0,-15px,0); }
    90% { transform: translate3d(0,-4px,0); }
}
@media (prefers-reduced-motion: reduce) {
    .anim { opacity: 1; }
    .anim.is-visible { animation: none; }
}
