/* =========================================================
   CYANCODE — STYLE.CSS (versão minimalista / reta)
   ========================================================= */

/* ---------- Variáveis ---------- */
:root{
  --bg:#f6f8fb;
  --surface:#ffffff;

  --text:#0b1220;
  --muted:#5b6475;

  --line:#d9e2ec;
  --line-strong:#b8c4d6;

  --primary:#00bcd4;
  --primary-2:#2563eb;
  --accent:#67e8f9;

  --success:#16a34a;
  --radius: 10px;
  --container:1180px;
  --header-h:76px;
}

/* ---------- Reset ---------- */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

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

a{
  text-decoration:none;
  color:inherit;
}

button,
input,
textarea{
  font:inherit;
}

/* ---------- Utilidades ---------- */
.container{
  width:min(100% - 32px,var(--container));
  margin:0 auto;
}

.section{
  padding:112px 0;
}

.section-sm{
  padding:56px 0;
}

.eyebrow{
  display:inline-block;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--primary-2);
  margin-bottom:18px;
}

.section-head{
  max-width:760px;
  margin-bottom:56px;
}

.section-head h2{
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1.05;
  letter-spacing:-.04em;
  margin-bottom:14px;
}

.section-head p{
  color:var(--muted);
  font-size:1.05rem;
}

/* ---------- Botões ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:14px 24px;

  border:1px solid transparent;
  border-radius:var(--radius);

  background:transparent;

  font-weight:700;
  letter-spacing:.01em;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease;

  cursor:pointer;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:var(--primary-2);
  border-color:var(--primary-2);
  color:#fff;
}

.btn-primary:hover{
  background:#1d4ed8;
  border-color:#1d4ed8;
}

.btn-outline{
  border-color:var(--line-strong);
  color:var(--text);
}

.btn-outline:hover{
  border-color:var(--primary-2);
  color:var(--primary-2);
}

.btn-light{
  background:#fff;
  border-color:#fff;
  color:var(--primary-2);
}

.btn-lg{
  padding:16px 28px;
}

.btn-block{
  width:100%;
}

/* ---------- Header ---------- */
.header{
  position:fixed;
  inset:0 0 auto 0;
  height:var(--header-h);
  z-index:1000;

  background:rgba(246,248,251,.96);
  border-bottom:1px solid var(--line);

  transition:
    background .25s ease,
    border-color .25s ease,
    height .25s ease;
}

.header.scrolled{
  background:#fff;
  border-bottom-color:var(--line-strong);
  height:68px;
}

.nav{
  height:100%;
  display:flex;
  align-items:center;
  gap:28px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;

  font-weight:800;
  letter-spacing:.04em;
}

.logo-mark{
  width:26px;
  height:26px;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
}

.nav-desktop{
  display:flex;
  align-items:center;
  gap:26px;
  margin-left:auto;
}

.nav-link,
.dropdown-toggle{
  position:relative;
  padding:12px 0;

  background:none;
  border:none;

  font-weight:600;
  color:var(--text);

  cursor:pointer;
}

.nav-link::after,
.dropdown-toggle::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;

  width:100%;
  height:1px;

  background:var(--primary-2);

  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}

.nav-link:hover::after,
.nav-link.active::after,
.dropdown:hover .dropdown-toggle::after{
  transform:scaleX(1);
}

.dropdown{
  position:relative;
}

.dropdown-menu{
  position:absolute;
  top:calc(100% + 18px);
  left:50%;
  transform:translateX(-50%);

  width:360px;
  background:#fff;
  border:1px solid var(--line);

  opacity:0;
  visibility:hidden;

  transition:opacity .2s ease, visibility .2s ease;
}

.dropdown:hover .dropdown-menu{
  opacity:1;
  visibility:visible;
}

.dropdown-menu a{
  display:block;
  padding:16px 18px;
  border-top:1px solid var(--line);
}

.dropdown-menu a:first-child{
  border-top:none;
}

.dropdown-menu a:hover{
  background:#f8fbff;
}

.dropdown-menu span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:.9rem;
}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  background:none;
  border:none;
  margin-left:auto;
  cursor:pointer;
  position:relative;
}

.menu-toggle span{
  position:absolute;
  left:8px;
  right:8px;
  height:2px;
  background:var(--text);
  transition:all .25s ease;
}

.menu-toggle span:nth-child(1){top:14px;}
.menu-toggle span:nth-child(2){top:21px;}
.menu-toggle span:nth-child(3){top:28px;}

.menu-toggle.active span:nth-child(1){
  top:21px;
  transform:rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  top:21px;
  transform:rotate(-45deg);
}

.mobile-panel{
  position:fixed;
  top:var(--header-h);
  right:0;
  bottom:0;

  width:min(88vw,360px);

  background:#fff;
  border-left:1px solid var(--line);

  transform:translateX(100%);
  transition:transform .25s ease;

  z-index:999;
}

.mobile-panel.open{
  transform:translateX(0);
}

.mobile-nav{
  display:flex;
  flex-direction:column;
  padding:28px;
}

.mobile-link{
  padding:16px 0;
  border-top:1px solid var(--line);
  font-weight:600;
}

.mobile-link:first-child{
  border-top:none;
}

.mobile-cta{
  margin-top:18px;
}

/* ---------- Hero ---------- */
.hero{
  padding-top:calc(var(--header-h) + 64px);
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:64px;
  align-items:center;
}

.hero-content h1{
  font-size:clamp(3rem,7vw,6rem);
  line-height:.92;
  letter-spacing:-.06em;
  margin-bottom:22px;
}

.hero-content h1 span{
  color:var(--primary-2);
}

.hero-text{
  max-width:620px;
  color:var(--muted);
  font-size:1.08rem;
}

.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin:34px 0 18px;
}

.hero-note{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:.95rem;
}

.dot{
  width:8px;
  height:8px;
  background:var(--success);
}

/* ---------- Dashboard ---------- */
.hero-visual{
  perspective:1200px;
}

.floating-card{
  transition:
    opacity .25s ease,
    background-color .25s ease,
    border-color .25s ease;
}

/* quando passar o mouse na caixa */
.floating-card:hover{
  opacity:0.25;
  background:rgba(15,23,42,.22);
  border-color:rgba(148,163,184,.12);
}

/* mantém o conteúdo clicável e visível */
.floating-card *{
  transition:opacity .25s ease;
}

.floating-card:hover *{
  opacity:.85;
}

.dashboard{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
}

.dashboard-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}

.dashboard-top h3{
  font-size:1.3rem;
  margin-top:4px;
}

.muted{
  color:var(--muted);
  font-size:.92rem;
}

.status{
  color:var(--success);
  font-weight:700;
  font-size:.9rem;
}

.metric-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:24px 0;
}

.metric-card{
  position:relative;
  overflow:hidden;
}

.metric-card::after{
  content:'';
  position:absolute;
  inset:auto 0 0 0;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(103,232,249,.9),
    transparent
  );
  animation:metricLine 2.8s ease-in-out infinite;
}

@keyframes metricLine{
  0%,100%{
    opacity:.25;
    transform:translateX(-20%);
  }
  50%{
    opacity:1;
    transform:translateX(20%);
  }
}

.floating-card{
  position:absolute;
  min-width:220px;

  background:rgba(15,23,42,.78);
  border:1px solid rgba(148,163,184,.22);
  border-radius:5px;

  backdrop-filter:blur(10px);

  padding:16px 18px;

  transform-style:preserve-3d;
  will-change:transform;

  animation:floatCard 7s ease-in-out infinite;
}

/* cartão da esquerda */
.floating-left{
  left:-24px;
  bottom:72px;
  animation-delay:0s;
}

/* cartão da direita */
.floating-right{
  right:-18px;
  top:54px;
  animation-delay:-3.5s;
}

@keyframes floatCard{
  0%{
    transform:
      translate3d(0,0,0)
      rotate(0deg);
  }

  25%{
    transform:
      translate3d(6px,-10px,0)
      rotate(0.6deg);
  }

  50%{
    transform:
      translate3d(0,-16px,0)
      rotate(0deg);
  }

  75%{
    transform:
      translate3d(-6px,-8px,0)
      rotate(-0.6deg);
  }

  100%{
    transform:
      translate3d(0,0,0)
      rotate(0deg);
  }
}



.metric-card span{
  display:block;
  color:var(--muted);
  font-size:.9rem;
}

.metric-card strong{
  display:block;
  font-size:2rem;
  line-height:1;
  margin:10px 0 6px;
}

.metric-card small{
  color:var(--success);
  font-weight:700;
}

.chart{
  height:190px;
  display:flex;
  align-items:flex-end;
  gap:12px;

  padding:18px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.chart span{
  flex:1;
  height:0;
  border-radius:5px 5px 0 0;

  background:linear-gradient(
    180deg,
    #67e8f9 0%,
    #22d3ee 35%,
    #2563eb 100%
  );

  box-shadow:
    0 0 14px rgba(34,211,238,.28),
    0 0 28px rgba(37,99,235,.18);

  animation:
    barGrow 1.2s ease-out forwards,
    barPulse 3.6s ease-in-out infinite;

  animation-delay:var(--delay, 0s);
}

.chart span:nth-child(1){ --delay:.05s; }
.chart span:nth-child(2){ --delay:.12s; }
.chart span:nth-child(3){ --delay:.20s; }
.chart span:nth-child(4){ --delay:.28s; }
.chart span:nth-child(5){ --delay:.36s; }
.chart span:nth-child(6){ --delay:.44s; }

@keyframes barGrow{
  from{
    height:0;
    opacity:0;
  }
  to{
    height:var(--h);
    opacity:1;
  }
}

@keyframes barPulse{
  0%,100%{
    filter:brightness(.95);
  }
  50%{
    filter:brightness(1.18);
  }
}

.activity-card{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid var(--line);
}

.activity-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}

.badge{
  font-size:.78rem;
  font-weight:800;
  color:var(--primary-2);
}

.activity-card ul{
  list-style:none;
  display:grid;
  gap:10px;
}

.activity-card li{
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.floating-card{
  position:absolute;
  min-width:220px;

  background:#fff;
  border:1px solid var(--line);

  padding:16px 18px;
}

.floating-card span{
  display:block;
  color:var(--muted);
  font-size:.84rem;
}

.floating-card strong{
  display:block;
  font-size:1.7rem;
  margin:6px 0;
}

.floating-card small{
  color:var(--muted);
}

.floating-left{
  left:-24px;
  bottom:72px;
}

.floating-right{
  right:-18px;
  top:54px;
}

/* ---------- Métricas ---------- */
.metrics{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.metrics-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}

.metric-inline{
  padding:28px 24px;
  border-left:1px solid var(--line);
}

.metric-inline:first-child{
  border-left:none;
  padding-left:0;
}

.metric-inline strong{
  display:block;
  font-size:2rem;
  line-height:1;
  margin-bottom:8px;
}

.metric-inline span{
  color:var(--muted);
}

/* ---------- Serviços ---------- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:48px 36px;
}

.service-card{
  padding-top:28px;
  border-top:1px solid var(--line);
}

.service-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;

  border:1px solid var(--line);
  color:var(--primary-2);

  margin-bottom:18px;
}

.service-icon svg{
  width:26px;
  height:26px;
}

.service-card h3{
  font-size:1.3rem;
  margin-bottom:10px;
}

.service-card p{
  color:var(--muted);
  margin-bottom:16px;
}

.service-card a{
  color:var(--primary-2);
  font-weight:700;
}

/* ---------- Processo ---------- */
.timeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}

.step{
  padding-top:26px;
  border-top:2px solid var(--line-strong);
}

.step-number{
  display:inline-block;
  font-size:2rem;
  font-weight:800;
  color:var(--primary-2);
  margin-bottom:14px;
}

.step h3{
  margin-bottom:8px;
}

.step p{
  color:var(--muted);
}

/* ---------- Diferenciais ---------- */
.why-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px 32px;
}

.why-card{
  padding-top:24px;
  border-top:1px solid var(--line);
}

.why-card h3{
  margin-bottom:10px;
}

.why-card p{
  color:var(--muted);
}

/* ---------- Depoimentos ---------- */
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.testimonial{
  padding-top:24px;
  border-top:1px solid var(--line);
}

.testimonial p{
  margin-bottom:18px;
  color:#1f2937;
}

.author strong{
  display:block;
}

.author span{
  color:var(--muted);
  font-size:.92rem;
}

/* ---------- CTA ---------- */
.cta-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;

  padding:42px 0;

  border-top:2px solid var(--line-strong);
  border-bottom:1px solid var(--line);
}

.cta-box h2{
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.05;
  letter-spacing:-.04em;
  margin:10px 0 12px;
}

.cta-box p{
  color:var(--muted);
  max-width:640px;
}

/* ---------- FAQ ---------- */
.faq-list{
  display:grid;
}

.faq-item{
  border-top:1px solid var(--line);
}

.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  padding:22px 0;

  background:none;
  border:none;

  font-weight:700;
  text-align:left;

  cursor:pointer;
}

.faq-question span{
  font-size:1.2rem;
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
}

.faq-answer p{
  padding-bottom:22px;
  color:var(--muted);
}

.faq-item.active .faq-answer{
  max-height:220px;
}

.faq-item.active .faq-question span{
  transform:rotate(45deg);
}

/* ---------- Contato ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:48px;
}

.contact-copy h2{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.05;
  margin:12px 0 14px;
}

.contact-copy p{
  color:var(--muted);
}

.contact-points{
  display:grid;
  gap:18px;
  margin-top:28px;
}

.contact-points strong{
  display:block;
  margin-bottom:2px;
}

.contact-points span{
  color:var(--muted);
}

.contact-form{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px;
}

.field{
  display:grid;
  gap:8px;
  margin-bottom:18px;
}

.field label{
  font-weight:700;
}

.field input,
.field textarea{
  width:100%;
  padding:14px 16px;

  border:1px solid var(--line);
  border-radius:var(--radius);

  background:#fff;
  color:var(--text);

  transition:border-color .2s ease;
}   

.field input:focus,
.field textarea:focus{
  outline:none;
  border-color:var(--primary-2);
}

.error{
  min-height:18px;
  color:#dc2626;
  font-size:.9rem;
}

.form-feedback{
  margin-top:14px;
  font-weight:700;
}

.form-feedback.success{color:var(--success);}
.form-feedback.error{color:#dc2626;}

/* ---------- Footer ---------- */
.footer{
  background:#0b1220;
  color:#e5eefc;
  padding:72px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.3fr .8fr .8fr 1fr;
  gap:32px;
}

.footer-text{
  color:#b7c3d9;
  max-width:360px;
  margin-top:14px;
}

.footer h4{
  margin-bottom:14px;
  color:#fff;
}

.footer ul{
  list-style:none;
  display:grid;
  gap:10px;
}

.footer a{
  color:#d7e2f5;
}

.footer a:hover{
  color:#fff;
}

.social-links{
  display:flex;
  gap:12px;
  margin-top:20px;
}

.social-links a{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;

  border:1px solid rgba(255,255,255,.14);
}

.social-links svg{
  width:18px;
  height:18px;
}

.newsletter{
  display:grid;
  gap:12px;
}

.newsletter input{
  padding:14px 16px;

  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#fff;
}

.footer-bottom{
  margin-top:32px;
  padding-top:18px;

  border-top:1px solid rgba(255,255,255,.12);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  color:#b7c3d9;
}

.back-to-top{
  font-weight:700;
}

/* ---------- WhatsApp ---------- */
.whatsapp{
  position:fixed;
  right:18px;
  bottom:18px;

  width:56px;
  height:56px;

  display:grid;
  place-items:center;

  background:#25d366;
  color:#fff;

  z-index:1200;
}

.whatsapp svg{
  width:28px;
  height:28px;
}

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s ease, transform .6s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

.delay-1{transition-delay:.08s;}
.delay-2{transition-delay:.16s;}
.delay-3{transition-delay:.24s;}

/* ---------- Responsividade ---------- */
@media (max-width:1100px){

  .hero-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .services-grid,
  .timeline,
  .testimonials-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .footer-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .floating-right{
    display:none;
  }
}

@media (max-width:860px){

  .nav-desktop,
  .nav-cta{
    display:none;
  }

  .menu-toggle{
    display:block;
  }

  .metrics-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .metric-inline{
    border-left:none;
    border-top:1px solid var(--line);
    padding-left:0;
  }

  .why-grid{
    grid-template-columns:1fr;
  }

  .cta-box{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:640px){

  :root{
    --header-h:72px;
  }

  .section{
    padding:88px 0;
  }

  .hero{
    padding-top:calc(var(--header-h) + 28px);
  }

  .hero-content h1{
    font-size:clamp(2.5rem,12vw,4.2rem);
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .metric-row,
  .services-grid,
  .timeline,
  .metrics-grid,
  .testimonials-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

.dashboard{
  position:relative;
  overflow:hidden;
}

.dashboard::before{
  content:'';
  position:absolute;
  inset:-2px auto -2px -35%;
  width:28%;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(103,232,249,.08) 40%,
    rgba(255,255,255,.28) 50%,
    rgba(103,232,249,.08) 60%,
    transparent 100%
  );
  transform:skewX(-18deg);
  animation:dashboardScan 7s linear infinite;
}

@keyframes dashboardScan{
  0%{
    transform:translateX(0) skewX(-18deg);
  }
  100%{
    transform:translateX(520%) skewX(-18deg);
  }
}

  .floating-left{
    position:relative;
    left:auto;
    bottom:auto;
    margin-top:16px;
  }

  .social-links{
    flex-wrap:wrap;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}