/* ==========================================================================
   Y'ALL - estilos compartilhados (site em PHP, sem WordPress)
   Breakpoints herdados do layout original:
     laptop <=1366 | tablet-extra <=1200 | tablet <=1024 | mobile-extra <=880 | mobile <=767
   ========================================================================== */

:root {
  --c-black: #000;
  --c-white: #fff;
  --c-text: #868686;
  --c-accent: #CE004F;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* tipografia global (Elementor kit) */
  --fs-title: 80px;      /* Titulos */
  --fs-text: 30px;       /* Textos */
  --fs-btn: 18px;        /* Botao */
  --fs-caps: 27px;       /* Titulos maiusculos */

  --container: 1280px;
  --container-sm: 1180px;
  --pad-x: 10px;
  --sec-pad: 64px;
}
@media (max-width: 1366px) { :root { --fs-text: 28px; --fs-caps: 28px; } }
@media (max-width: 1200px) { :root { --fs-title: 60px; --fs-text: 24px; --fs-caps: 24px; --sec-pad: 48px; } }
@media (max-width: 880px)  { :root { --fs-title: 48px; --fs-text: 18px; --fs-caps: 18px; --sec-pad: 32px; } }
@media (max-width: 767px)  { :root { --fs-title: 23px; --fs-text: 16px; --fs-btn: 16px; --fs-caps: 16px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--c-white); color: var(--c-text);
  font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.5;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent); text-decoration: none; transition: color .3s; }
a:hover { color: var(--c-black); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; color: var(--c-black); }
p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--c-black); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }

/* barra de rolagem (igual ao original) */
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--c-black); }
body::-webkit-scrollbar-thumb { background-color: var(--c-accent); border-radius: 10px; border: 2px solid var(--c-black); }

/* barra de progresso de leitura */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 999;
  background: linear-gradient(to right, var(--c-black) var(--scroll, 0%), transparent 0);
  transition: background .3s ease-out; pointer-events: none;
}

/* ---------- utilitarios de layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.container--sm { max-width: var(--container-sm); }
.section { padding-block: var(--sec-pad); position: relative; }
.t-title { font-size: var(--fs-title); font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--c-black); }
.t-text { font-size: var(--fs-text); line-height: 1.2; }
.t-caps { font-size: var(--fs-caps); font-weight: 600; text-transform: uppercase; line-height: 1.2; }
.t-accent { color: var(--c-accent); }
.t-white { color: var(--c-white); }
.hide-mobile { }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .only-mobile { display: none !important; } }
.decor { position: absolute; pointer-events: none; z-index: -1; }

/* ---------- cabecalho / menu ---------- */
.site-header { padding: 20px 10px; position: relative; z-index: 10; }
.main-nav ul { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.main-nav li { position: relative; display: flex; align-items: center; }
.main-nav li:not(:last-child)::after {
  content: ""; width: 1px; height: 14px; background: var(--c-black); transform: rotate(22deg);
}
.main-nav a {
  display: block; padding: 13px 24px; color: var(--c-black);
  font-size: 20px; font-weight: 400; text-transform: uppercase; line-height: 20px;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--c-accent); }
.main-nav a.is-active { color: var(--c-accent); font-weight: 700; }
@media (max-width: 767px) {
  .main-nav a { font-size: 14px; padding: 13px 7px; }
}

/* ---------- botao padrao (contorno + seta) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center;
  padding: 8px 100px 8px 24px; border: 1px solid currentColor; border-radius: 14px;
  font-size: var(--fs-btn); font-weight: 700; text-transform: uppercase; line-height: 1;
  min-height: 46px; transition: transform .3s, background-color .3s, color .3s;
}
.btn span { padding-block: 6px; }
.btn__arrow {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 60%;
  background: url("../uploads/2024/06/Vector-3.svg") no-repeat center / contain;
}
.btn:hover { transform: scale(.9); }               /* hover "shrink" do original */
.btn--dark { color: var(--c-black); }
.btn--dark:hover { color: var(--c-black); }
.btn--light { color: var(--c-white); }
.btn--light:hover { color: var(--c-white); }
.btn--light .btn__arrow { filter: brightness(0) invert(1); }
.btn--accent { color: var(--c-white); background: var(--c-accent); border-color: var(--c-accent); }
.btn--accent .btn__arrow { filter: brightness(0) invert(1); }
@media (max-width: 767px) {
  .btn { padding: 4px 72px 4px 40px; border-radius: 8px; min-height: 36px; }
  .btn__arrow { width: 30px; right: 16px; }
}

/* ---------- animacoes de entrada (equivalentes as do Elementor/animate.css) ---------- */
[data-anim] { visibility: hidden; }
[data-anim].is-in { visibility: visible; animation-duration: 1.25s; animation-fill-mode: both; }
[data-anim][data-anim-speed="slow"].is-in { animation-duration: 2s; }
[data-anim][data-anim-speed="fast"].is-in { animation-duration: .75s; }
.no-js [data-anim], .anim-off [data-anim] { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { visibility: visible !important; animation: none !important; }
}
[data-anim="fadeIn"].is-in { animation-name: fadeIn; }
[data-anim="fadeInUp"].is-in { animation-name: fadeInUp; }
[data-anim="fadeInDown"].is-in { animation-name: fadeInDown; }
[data-anim="fadeInLeft"].is-in { animation-name: fadeInLeft; }
[data-anim="fadeInRight"].is-in { animation-name: fadeInRight; }
[data-anim="slideInUp"].is-in { animation-name: slideInUp; }
[data-anim="slideInDown"].is-in { animation-name: slideInDown; }
[data-anim="zoomIn"].is-in { animation-name: zoomIn; }
[data-anim="bounceIn"].is-in { animation-name: bounceIn; animation-duration: .75s; }
[data-anim="lightSpeedIn"].is-in { animation-name: lightSpeedIn; animation-timing-function: ease-out; }
[data-anim="pulse"].is-in { animation-name: pulse; }
[data-anim="jello"].is-in { animation-name: jello; transform-origin: center; }
[data-anim="shake"].is-in { animation-name: shake; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0) } to { opacity: 1; transform: none } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0) } to { opacity: 1; transform: none } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0) } to { opacity: 1; transform: none } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0) } to { opacity: 1; transform: none } }
@keyframes slideInUp { from { transform: translate3d(0, 100%, 0); visibility: visible } to { transform: translate3d(0, 0, 0) } }
@keyframes slideInDown { from { transform: translate3d(0, -100%, 0); visibility: visible } to { transform: translate3d(0, 0, 0) } }
@keyframes zoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3) } 50% { opacity: 1 } }
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1) }
  0% { opacity: 0; transform: scale3d(.3, .3, .3) } 20% { transform: scale3d(1.1, 1.1, 1.1) }
  40% { transform: scale3d(.9, .9, .9) } 60% { opacity: 1; transform: scale3d(1.03, 1.03, 1.03) }
  80% { transform: scale3d(.97, .97, .97) } to { opacity: 1; transform: scale3d(1, 1, 1) }
}
@keyframes lightSpeedIn {
  from { transform: translate3d(100%, 0, 0) skewX(-30deg); opacity: 0 }
  60% { transform: skewX(20deg); opacity: 1 } 80% { transform: skewX(-5deg) } to { transform: translate3d(0, 0, 0) }
}
@keyframes pulse { from { transform: scale3d(1, 1, 1) } 50% { transform: scale3d(1.05, 1.05, 1.05) } to { transform: scale3d(1, 1, 1) } }
@keyframes jello {
  from, 11.1%, to { transform: translate3d(0, 0, 0) }
  22.2% { transform: skewX(-12.5deg) skewY(-12.5deg) } 33.3% { transform: skewX(6.25deg) skewY(6.25deg) }
  44.4% { transform: skewX(-3.125deg) skewY(-3.125deg) } 55.5% { transform: skewX(1.5625deg) skewY(1.5625deg) }
  66.6% { transform: skewX(-.78125deg) skewY(-.78125deg) } 77.7% { transform: skewX(.390625deg) skewY(.390625deg) }
  88.8% { transform: skewX(-.1953125deg) skewY(-.1953125deg) }
}
@keyframes shake {
  from, to { transform: translate3d(0, 0, 0) }
  10%, 30%, 50%, 70%, 90% { transform: translate3d(-10px, 0, 0) }
  20%, 40%, 60%, 80% { transform: translate3d(10px, 0, 0) }
}

/* ---------- carrossel ---------- */
.carousel { position: relative; --pv: 1; --pv-md: 1; --pv-sm: 1; --gap: 20px; --cur-pv: var(--pv); }
@media (max-width: 1200px) { .carousel { --cur-pv: var(--pv-md); } }
@media (max-width: 767px) { .carousel { --cur-pv: var(--pv-sm); } }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: var(--gap); transition: transform .5s ease; will-change: transform; touch-action: pan-y; }
.carousel__slide { flex: 0 0 calc((100% - (var(--cur-pv) - 1) * var(--gap)) / var(--cur-pv)); min-width: 0; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%; padding: 9px;
  display: grid; place-items: center; cursor: pointer;
  background: var(--c-black); color: var(--c-white); transition: background .3s, transform .3s;
}
.carousel__btn:hover { background: var(--c-accent); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #ccc; cursor: pointer; }
.carousel__dots button[aria-selected="true"] { background: var(--c-accent); }

/* ---------- acordeao ---------- */
.accordion__item { position: relative; }
.accordion__title {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px; color: var(--c-black);
  font-size: 22px; font-weight: 600; text-transform: uppercase; line-height: 1.2;
  position: relative;
}
@media (max-width: 1200px) { .accordion__title { font-size: 20px; } }
@media (max-width: 880px) { .accordion__title { font-size: 16px; } }
.accordion__title::-webkit-details-marker { display: none; }
.accordion__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 88%; height: 1px; background: #00000080; }
.accordion__title span { max-width: 88%; }
.accordion__item:last-child .accordion__title span { max-width: 80%; }
.accordion__icon { flex: 0 0 20px; width: 20px; transition: transform .4s; color: var(--c-black); }
.accordion__item[open] .accordion__icon { transform: rotate(180deg); }
.accordion__body { padding: 10px; overflow: hidden; }
.accordion__body p { font-size: 22px; line-height: 1.2; color: var(--c-text); text-align: justify; margin: 0; max-width: 90%; }
@media (max-width: 880px) { .accordion__body p { font-size: 16px; } }
@media (max-width: 767px) { .accordion__title span { max-width: 100%; } }

/* ---------- formularios ---------- */
.form { display: flex; flex-wrap: wrap; gap: 20px; }
.form__field { flex: 1 1 100%; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--c-black);
  padding: 14px 16px; border: 1px solid #818a91; border-radius: 3px; background: #fff;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input::placeholder, .form textarea::placeholder { color: #7a7a7a; opacity: 1; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 0; border-color: var(--c-accent); }
.form [aria-invalid="true"] { border-color: #d93025; }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { flex: 1 1 100%; }
.form__submit {
  width: 100%; border: 0; cursor: pointer; padding: 14px 20px; border-radius: 3px;
  background: var(--c-accent); color: #fff; font-size: var(--fs-btn); font-weight: 700; text-transform: uppercase;
  transition: background-color .3s;
}
.form__submit:hover, .form__submit:focus-visible { background: var(--c-black); }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__privacy { flex: 1 1 100%; font-size: 12px; color: var(--c-text); margin: -8px 0 0; }
.form__status { flex: 1 1 100%; }
.form__status p { margin: 0; padding: 12px 14px; border-radius: 6px; font-size: 15px; }
.form__status .is-ok { background: #e7f4ec; color: #1e6b3a; }
.form__status .is-err { background: #fdecea; color: #b3261e; }

/* ---------- rodape ---------- */
.site-footer { background: var(--c-accent); color: #fff; padding: 64px 10px; }
@media (max-width: 1200px) { .site-footer { padding: 48px 10px; } }
@media (max-width: 880px) { .site-footer { padding: 32px 10px; } }
.site-footer__inner { max-width: var(--container); margin-inline: auto; display: flex; flex-direction: column; gap: 20px; }
.site-footer__logo { display: block; width: 334px; max-width: 100%; }
.site-footer__logo img { width: 100%; }
.site-footer__row { display: flex; gap: 20px; }
.site-footer__contact { width: 60%; display: flex; flex-wrap: wrap; align-items: flex-start; align-self: center; gap: 0 40px; }
.site-footer__contact li { width: 196px; font-family: "Roboto", sans-serif; font-size: 14px; line-height: 1.2; color: #ffffffbf; }
.site-footer__contact li:first-child { width: 100px; }
.site-footer__contact strong { color: #fff; font-family: "Poppins", sans-serif; font-weight: 600; }
.site-footer__contact a { color: #ffffffbf; text-decoration: underline; }
.site-footer__contact a:hover { color: #fff; }
.site-footer__nav { width: 40%; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer__contact { padding-left: 20px; }
.site-footer__contact a[href^="tel:"] { text-decoration: none; }
.site-footer__row { margin-top: 16px; }
@media (max-width: 767px) { .site-footer__contact { padding-left: 0; } .site-footer__row { margin-top: 0; } }
.site-footer__links { align-self: center; }
.site-footer__links + .site-footer__links { align-self: flex-start; }
.site-footer__links li { font-size: 14px; line-height: 1.2; }
.site-footer__links li + li { margin-top: 20px; }
.site-footer__links a { color: #fff; font-size: 14px; line-height: 1.2; text-transform: uppercase; }
.site-footer__links a:hover { color: #000; }
.site-footer__social { width: 200px; display: flex; flex-direction: column; gap: 10px; align-self: flex-start; font-size: 14px; text-transform: uppercase; line-height: 1.2; }
.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center; width: calc(16px + 1.6em); height: calc(16px + 1.6em);
  border: 1px solid #fff; border-radius: 50%; color: #fff; transition: background .3s, color .3s;
}
.social a:hover { background: #fff; color: var(--c-accent); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer__bottom { border-top: 1px solid #fff; padding: 20px 10px 10px; display: flex; justify-content: flex-end; }
.site-footer__bottom a { color: #fff; font-size: 14px; line-height: 1.2; text-transform: uppercase; }
.site-footer__bottom a:hover { color: #000; }
@media (max-width: 1200px) { .site-footer__contact { gap: 0 24px; } .social a { width: calc(12px + 1.6em); height: calc(12px + 1.6em); } .social { gap: 4px; } }
@media (max-width: 767px) {
  .site-footer__logo { margin-inline: auto; width: 60%; }
  .site-footer__row { flex-direction: column; gap: 0; }
  .site-footer__contact { width: 250px; align-self: center; flex-direction: column; align-items: center; }
  .site-footer__contact li, .site-footer__contact li:first-child { width: auto; text-align: center; margin: 4px 0; }
  .site-footer__nav { width: 100%; flex-direction: column; align-items: center; margin-top: 20px; }
  .site-footer__links { text-align: center; }
  .site-footer__social { width: auto; align-self: center; align-items: center; }
  .social svg { width: 14px; height: 14px; }
  .site-footer__bottom { justify-content: center; }
}

/* ---------- 404 ---------- */
.notfound { padding: 80px 10px 120px; }
.notfound .container { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* ---------- banner de cookies (LGPD) ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: var(--c-black); color: #fff; padding: 14px 20px;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  font-size: 14px; box-shadow: 0 -1px 10px rgba(0, 0, 0, .3);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; max-width: 820px; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; }
.cookie-bar__btn { border: 1px solid var(--c-accent); background: var(--c-accent); color: #fff; padding: 8px 18px; border-radius: 4px; cursor: pointer; font-weight: 600; }
.cookie-bar__btn--ghost { background: transparent; border-color: #fff; }
.cookie-again {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 9998;
  border: 0; background: #fff; color: #777; font-size: 11px; padding: 4px 10px; box-shadow: 0 -1px 6px rgba(0, 0, 0, .12);
  cursor: pointer; border-radius: 4px 4px 0 0;
}
.cookie-again[hidden] { display: none; }
