
:root {
  --blue: #2c12bd;
  --blue-dark: #1d0b75;
  --orange: #e96d07;
  --ink: #211d37;
  --muted: #716e80;
  --light: #f7f6fb;
  --line: #e8e5ef;
  --white: #fff;
  --radius: 18px;
}


/* 02. BASE — padrão da página, links, foco e largura do conteúdo */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  font-family: Arial,Helvetica,sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a,button,summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}

.container {
  width: min(1180px,calc(100% - 80px));
  margin: auto;
}


/* 03. CABEÇALHO E MARCA */
.header {
  height: 100px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--blue);
  position: relative;
  display: inline-block;
}

.brand>span {
  color: var(--orange);
}

.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 4.1px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  margin-top: 7px;
}

.nav nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}

.nav nav a:hover,.footer>a:last-child:hover {
  color: var(--blue);
}


/* 04. BOTÕES */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--orange);
  color: var(--ink);
  padding: 20px 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s,background .2s;
}

.button:hover {
  background: #ff963f;
  transform: translateY(-3px);
}

.button span {
  font-size: 22px;
  line-height: 1;
}

.button-small {
  background: var(--blue);
  color: #fff;
  padding: 15px 20px;
  font-size: 12px;
  gap: 22px;
}

.button-small:hover {
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
}


/* 05. INÍCIO — título, texto e espaçamento */
.hero {
  padding: 65px 0 70px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 55px;
  align-items: center;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  line-height: 1.7;
  margin: 0 0 23px;
  color: var(--blue);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: var(--orange);
  margin-right: 7px;
}

h1 {
  font-size: clamp(42px,4.6vw,64px);
  line-height: 1.06;
  letter-spacing: -3px;
  margin: 0;
  font-weight: 750;
}

h1>span {
  color: var(--blue);
}

.hero-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 405px;
  margin: 25px 0;
}

.hero-note {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}

.check {
  color: var(--blue);
  font-weight: bold;
}


/* 06. ILUSTRAÇÃO — cartão financeiro e elementos decorativos */
.hero-art {
  height: 498px;
  border-radius: 24px;
  background: var(--blue);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: linear-gradient(125deg,#371bd0,#220aa1);
}

.orb {
  position: absolute;
  width: 410px;
  height: 410px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  z-index: -1;
}

.orb-one {
  right: -185px;
  top: -205px;
  box-shadow: 0 0 0 40px #ffffff05,0 0 0 80px #ffffff03;
}

.orb-two {
  left: -280px;
  bottom: -130px;
  box-shadow: 0 0 0 35px #ffffff05,0 0 0 70px #ffffff03;
}

.art-label {
  position: absolute;
  top: 34px;
  left: 30px;
  font-size: 8px;
  color: #e3ddff;
  letter-spacing: 1.1px;
}

.finance-card {
  width: 77%;
  padding: 25px;
  background: #fff;
  border-radius: 15px;
  transform: rotate(-6deg);
  box-shadow: 0 25px 50px #11074250;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.mini-logo {
  font-size: 33px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -4px;
}

.mini-logo span {
  color: var(--orange);
}

.finance-card p {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -.5px;
  margin: 20px 0;
}

.finance-card strong {
  font-weight: 700;
}

.chart {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to top,transparent 0,transparent 38px,#f1eff7 39px,#f1eff7 40px);
}

.chart div {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: #e6e1fa;
  height: 22%;
}

.chart div:nth-child(2) {
  height: 34%;
}

.chart div:nth-child(3) {
  height: 30%;
}

.chart div:nth-child(4) {
  height: 48%;
  background: #b7a9ee;
}

.chart div:nth-child(5) {
  height: 60%;
  background: #a08ae9;
}

.chart div:nth-child(6) {
  height: 69%;
  background: #7a5fde;
}

.chart div:nth-child(7) {
  height: 83%;
  background: var(--blue);
}

.chart div:nth-child(8) {
  height: 100%;
  background: var(--orange);
}

.chart-caption {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
  margin-top: 12px;
}

.floating-card {
  position: absolute;
  bottom: 75px;
  right: 21px;
  display: flex;
  gap: 11px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px #12084a22;
  transform: rotate(3deg);
}

.status-icon {
  background: #efebff;
  border-radius: 50%;
  height: 31px;
  width: 31px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: bold;
}

.floating-card strong {
  font-size: 12px;
}

.floating-card small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}

.growth-badge {
  position: absolute;
  right: 27px;
  top: 76px;
  background: var(--orange);
  width: 77px;
  height: 77px;
  border-radius: 19px;
  transform: rotate(9deg);
  font-size: 64px;
  display: grid;
  place-items: center;
  line-height: 1;
  color: var(--blue-dark);
}

.art-bottom {
  position: absolute;
  bottom: 23px;
  left: 30px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #bbb0f0;
}

.art-bottom span {
  color: white;
}


/* 07. FAIXA DE PÚBLICO */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}

.trust-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
}

.trust-strip span:first-child {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.trust-strip i {
  font-style: normal;
  color: var(--orange);
  font-size: 19px;
}


/* 08. SEÇÕES — espaçamento e títulos compartilhados */
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 35px;
}

h2 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin: 0;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading>p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}


/* 09. SERVIÇOS — grade e cartões */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px 22px;
  position: relative;
  transition: transform .2s,border-color .2s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #b1a3eb;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #f0ecff;
  border-radius: 10px;
  font-size: 27px;
  color: var(--blue);
}

.service-number {
  position: absolute;
  right: 22px;
  top: 33px;
  font-size: 10px;
  color: #a5a0b5;
}

.service-card h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.5px;
  margin: 25px 0 12px;
}

.service-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.85;
  min-height: 90px;
  margin: 0 0 24px;
}

.service-card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  gap: 10px;
}

.service-card a span {
  font-size: 19px;
}


/* 10. SOBRE A REYNOVA */
.about {
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.about-visual {
  padding: 42px;
  background: #ebe7f8;
  min-height: 390px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.about-visual:after {
  content: '✳';
  position: absolute;
  right: -27px;
  bottom: 27px;
  font-size: 185px;
  color: var(--orange);
  transform: rotate(15deg);
}

.about-visual>.eyebrow {
  font-size: 9px;
}

.about-visual>p {
  font-size: 45px;
  line-height: 1.16;
  letter-spacing: -2px;
  font-weight: 700;
  color: var(--blue);
  position: relative;
  z-index: 1;
}

.about-visual em {
  font-family: Georgia,serif;
  font-weight: 400;
}

.about-signature {
  font-size: 10px;
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: center;
}

.about-signature span {
  font-size: 25px;
}

.about-copy>p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
}

.benefits {
  padding: 0;
  list-style: none;
  font-size: 12px;
  display: grid;
  gap: 16px;
  margin: 25px 0 0;
}

.benefits span {
  color: var(--blue);
  margin-right: 10px;
}


/* 11. COMO FUNCIONA — link e etapas */
.text-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.text-link span {
  margin-left: 25px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 60px;
  margin-top: 45px;
}

.steps article {
  border-top: 1px solid var(--line);
  padding-top: 23px;
}

.steps article>span {
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
}

.steps h3 {
  font-size: 19px;
  margin: 20px 0 12px;
}

.steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}


/* 12. DÚVIDAS FREQUENTES */
.faq-section {
  background: var(--light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 85px;
}

.faq-grid>div>p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 25px;
}

.faq-grid p a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-list details {
  border-bottom: 1px solid #dedbe9;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  padding: 23px 30px 23px 0;
  position: relative;
  line-height: 1.5;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 20px;
  font-size: 22px;
  color: var(--blue);
  font-weight: 400;
}

.faq-list details[open] summary:after {
  content: '−';
}

.faq-list details p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 25px 23px 0;
}


/* 13. CONTATO — painel do WhatsApp */
.contact-section {
  padding-top: 75px;
  padding-bottom: 70px;
}

.contact-panel {
  background: var(--blue);
  color: white;
  border-radius: 18px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.contact-panel>div,.contact-panel>a {
  z-index: 1;
}

.contact-panel .eyebrow {
  color: #d0c6ff;
  font-size: 9px;
}

.contact-panel h2 {
  font-size: 43px;
}

.contact-panel h2 span {
  color: var(--orange);
}

.contact-panel p:not(.eyebrow) {
  font-size: 12px;
  color: #ded8fb;
  margin-top: 20px;
}

.contact-decoration {
  position: absolute;
  font-size: 310px;
  right: -30px;
  top: -60px;
  color: #2315e608;
}


/* 14. RODAPÉ */
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-top: 30px;
  padding-bottom: 35px;
}

.footer .brand {
  font-size: 23px;
}

.footer .brand small {
  font-size: 7px;
  letter-spacing: 3.4px;
}

.footer p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}

.footer>a:last-child {
  font-size: 11px;
}


/* 15. ACESSIBILIDADE — link para pular a navegação */
.skip-link {
  position: fixed;
  top: -60px;
  left: 10px;
  z-index: 20;
  padding: 15px;
  background: white;
  color: var(--blue);
}

.skip-link:focus {
  top: 10px;
}


/* 16. ENTRADA DOS TÍTULOS — equivalente ao SlideUpText por palavras */
.slide-up-word-mask {
  display: inline-flex;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.slide-up-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(115%);
  transition:
    transform 720ms cubic-bezier(.16,1,.3,1),
    opacity 420ms ease;
  transition-delay: calc(var(--slide-index) * 55ms);
  will-change: transform, opacity;
}

.slide-up-text.is-visible .slide-up-word {
  opacity: 1;
  transform: translateY(0);
}


/* 16. RESPONSIVO — telas grandes (a partir de 1450px) */
@media(min-width:1450px) {
  .hero {
    padding: 80px 0;
  }

  .hero-art {
    height: 535px;
  }

}


/* 17. RESPONSIVO — tablets e telas médias (até 1050px) */
@media(max-width:1050px) {
  .container {
    width: calc(100% - 48px);
  }

  .nav nav {
    gap: 18px;
  }

  .hero-grid {
    gap: 30px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-art {
    height: 470px;
  }

  .services-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .service-card p {
    min-height: auto;
  }

  .about-grid {
    gap: 40px;
  }

  .about-visual {
    padding: 30px;
  }

  .about-visual>p {
    font-size: 39px;
  }

  .faq-grid {
    gap: 40px;
  }

  .contact-panel {
    padding: 38px;
  }

  .contact-panel h2 {
    font-size: 36px;
  }

  .trust-strip .container {
    gap: 12px;
    font-size: 11px;
  }

  .trust-strip span:first-child {
    max-width: 120px;
  }

}


/* 18. RESPONSIVO — celulares e menu móvel (até 760px) */
@media(max-width:760px) {
  .container {
    width: calc(100% - 40px);
  }

  .header {
    height: 78px;
  }

  .brand {
    font-size: 25px;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 7px;
    width: 42px;
    height: 40px;
    justify-content: center;
    align-items: center;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--blue);
  }

  .nav nav {
    display: none;
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    background: white;
    padding: 22px;
    box-shadow: 0 15px 20px #211d3710;
    flex-direction: column;
    gap: 0;
  }

  .nav nav.is-open {
    display: flex;
  }

  .nav nav a {
    padding: 15px;
  }

  .hero {
    padding: 42px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  h1 {
    font-size: clamp(42px,9vw,62px);
    letter-spacing: -2px;
  }

  .hero-description {
    max-width: 480px;
    font-size: 14px;
  }

  .hero-art {
    height: 440px;
    max-width: 520px;
    width: 100%;
    margin: auto;
  }

  .finance-card {
    max-width: 360px;
  }

  .hero-note {
    font-size: 10px;
  }

  .trust-strip .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .trust-strip span:first-child {
    flex-basis: 100%;
    max-width: none;
    text-align: center;
  }

  .trust-strip i {
    display: none;
  }

  .trust-strip {
    padding: 20px 0;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-heading {
    display: block;
    margin-bottom: 27px;
  }

  h2 {
    font-size: 32px;
  }

  .section-heading>p,.section-heading>.text-link {
    display: block;
    margin-top: 20px;
  }

  .services-grid {
    gap: 12px;
  }

  .service-card {
    padding: 20px 16px;
  }

  .service-card h3 {
    font-size: 17px;
  }

  .service-card a {
    font-size: 10px;
  }

  .service-number {
    right: 16px;
  }

  .about-grid,.faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-visual {
    min-height: 360px;
  }

  .about-visual>p {
    font-size: 43px;
  }

  .about-copy h2 br:first-child {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 30px;
  }

  .steps article {
    position: relative;
    padding-left: 45px;
  }

  .steps article>span {
    position: absolute;
    left: 0;
    top: 26px;
  }

  .steps h3 {
    margin-top: 0;
  }

  .contact-section {
    padding-top: 45px;
    padding-bottom: 40px;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 25px;
    gap: 20px;
  }

  .contact-panel h2 {
    font-size: 34px;
  }

  .contact-panel .button {
    font-size: 12px;
    padding: 18px 20px;
  }

  .footer {
    flex-wrap: wrap;
  }

  .footer p {
    margin: 0;
  }

  .footer>a:last-child {
    width: 100%;
  }

}


/* 19. RESPONSIVO — celulares pequenos (até 380px) */
@media(max-width:380px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    height: 390px;
  }

  .finance-card {
    padding: 19px;
  }

  .floating-card {
    right: 10px;
    bottom: 50px;
  }

  .growth-badge {
    width: 60px;
    height: 60px;
    font-size: 48px;
    top: 65px;
  }

  .art-label {
    font-size: 7px;
    left: 20px;
  }

  .hero-note {
    font-size: 9px;
  }

  .button {
    gap: 15px;
    font-size: 12px;
  }

}


@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*:before,*:after {
    transition: none!important;
  }

  .slide-up-word {
    opacity: 1;
    transform: none;
  }

}


.footer .footer-cnpj {
  margin: 15px 0 0;
  font-size: 12px;
  letter-spacing: .2px;
  color: var(--muted);
}
/* 22. ANIMAÇÃO DO CONTATO E RODAPÉ
 * Adaptação do exemplo motion-footer para JavaScript puro.
 * Duração da entrada: script.js. Intensidade do brilho: gradiente abaixo.
 * Nenhuma regra altera as dimensões ou o posicionamento das seções.
 */
.contact-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, #ffffff18, #ff831c0a 35%, transparent 65%);
  opacity: 0.5;
  transform: scale(0.9);
}

.contact-panel.is-animated::before {
  animation: contact-breathe 7s ease-in-out 2 alternate;
}

@keyframes contact-breathe {
  from {
    opacity: 0.5;
    transform: translate(-4%, 2%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(4%, -2%) scale(1.1);
  }
}

/* O efeito magnético só é habilitado com mouse e movimento permitido. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .contact-panel .button.is-magnetic {
    transform: perspective(600px) translate(var(--magnet-x, 0px), var(--magnet-y, 0px))
      rotateX(var(--magnet-tilt-x, 0deg)) rotateY(var(--magnet-tilt-y, 0deg));
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), background 200ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-panel.is-animated::before {
    animation: none;
  }
}
