:root{
  --ink:#131b2c;
  --blue:#0F488C;
  --blue-dark:#1C3759;
  --blue-light:#71ABF2;
  --blue-lighter:#B5D6FF;
  --blue-lightest:#E3F0FF;
  --gray-600:#5d6473;
  --gray-400:#8b91a0;
  --border:#dfe2e7;
  --section-bg:#eef1f6;
  --amber:#f5a300;
  --white:#ffffff;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:'Montserrat',system-ui,sans-serif;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

/* ---------- Header ---------- */
.topbar{
  border-bottom:1px solid var(--border);
}
.topbar__inner{
  max-width:1280px;
  margin:0 auto;
  padding:20px 40px;
  display:flex;
  align-items:center;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}
.logo__mark{
  width:32px;
  height:32px;
  border-radius:9px;
  background:var(--blue);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-style:italic;
  font-weight:700;
  font-size:15px;
}
.logo__name{
  font-weight:700;
  font-size:18px;
  color:var(--ink);
}

/* ---------- Hero (background video) ---------- */
.hero{
  position:relative;
  padding:120px 40px 140px;
  overflow:hidden;
  min-height:560px;
  display:flex;
  align-items:center;
}
.hero__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(15,72,140,.86) 0%, rgba(28,55,89,.72) 55%, rgba(28,55,89,.45) 100%);
  z-index:1;
}
.hero__inner{
  position:relative;
  z-index:2;
  max-width:1280px;
  margin:0 auto;
  width:100%;
}
.hero__text h1{
  font-size:52px;
  line-height:1.14;
  font-weight:800;
  margin:0 0 28px;
  letter-spacing:-0.5px;
  color:#fff;
}
.hero__text h1 em{
  color:var(--blue-light);
  font-style:italic;
  font-weight:800;
}
.hero__text h1 .accent{
  color:var(--blue-light);
}
.hero__sub{
  font-size:18px;
  color:var(--blue-lightest);
  font-weight:400;
  margin:0;
  max-width:480px;
}

/* ---------- Como funciona ---------- */
.how{
  background:var(--section-bg);
  padding:100px 40px;
}
.how__inner{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:64px;
  align-items:start;
}
.how__eyebrow{
  font-size:12px;
  letter-spacing:3px;
  color:var(--gray-400);
  font-weight:600;
  margin:0 0 18px;
  text-transform:uppercase;
}
.how__text h2{
  font-size:32px;
  font-weight:800;
  line-height:1.3;
  margin:0 0 18px;
}
.how__lede{
  font-size:16px;
  color:var(--gray-600);
  line-height:1.75;
  margin:0;
  max-width:420px;
  font-weight:400;
}

.timeline{
  list-style:none;
  margin:0;
  padding:0;
  position:relative;
}
.timeline__step{
  position:relative;
  padding:0 0 44px 40px;
  border-left:2px solid var(--border);
}
.timeline__step:last-child{
  padding-bottom:0;
}
.timeline__step::before{
  content:"";
  position:absolute;
  left:-7px;
  top:2px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--blue);
  border:3px solid var(--section-bg);
  box-shadow:0 0 0 2px var(--blue);
}
.timeline__step h3{
  font-size:18px;
  font-weight:700;
  margin:0 0 8px;
}
.timeline__step p{
  font-size:15px;
  color:var(--gray-600);
  line-height:1.65;
  margin:0;
  max-width:440px;
  font-weight:400;
}

/* ---------- Como funciona (alternating steps, contratos.html) ---------- */
.how__intro{
  max-width:760px;
  margin:0 auto 72px;
  text-align:center;
}
.how__intro h2{
  font-size:34px;
  font-weight:800;
  line-height:1.3;
  margin:0;
}
.how__steps{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:88px;
}
.how__step{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:64px;
  align-items:center;
}
.how__step--reverse .how__step-media{
  order:2;
}
.how__step--reverse .how__step-content{
  order:1;
}
.how__step-media{
  display:flex;
  justify-content:center;
}
.how__step-media svg{
  width:100%;
  max-width:230px;
  height:auto;
}
.how__step-content h3{
  font-size:23px;
  font-weight:800;
  line-height:1.3;
  margin:0 0 14px;
}
.how__step-content p{
  font-size:16px;
  color:var(--gray-600);
  line-height:1.75;
  margin:0;
  max-width:480px;
  font-weight:400;
}

/* ---------- Develop section ---------- */
.develop{
  max-width:1000px;
  margin:0 auto;
  padding:110px 40px 24px;
  text-align:center;
}
.develop h2{
  font-size:38px;
  font-weight:800;
  margin:0 0 26px;
}
.develop__lede{
  font-size:17px;
  color:var(--gray-600);
  line-height:1.75;
  margin:0 auto 56px;
  max-width:820px;
  font-weight:400;
}
.develop__lede .link{
  color:var(--blue);
  font-weight:700;
  font-style:normal;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  padding-bottom:90px;
}
.feature-card{
  border:1px solid var(--border);
  border-radius:12px;
  padding:44px 32px 40px;
  text-align:center;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.feature-card:hover{
  transform:translateY(-8px);
  border-color:var(--blue);
  background:#fbfcff;
  box-shadow:0 26px 50px -22px rgba(38,99,235,.38);
}
.feature-card__icon{
  color:var(--blue);
  margin:0 auto 20px;
  width:52px;
  height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  transition:background .25s ease, transform .25s ease, color .25s ease;
}
.feature-card:hover .feature-card__icon{
  background:rgba(38,99,235,.12);
  transform:scale(1.08) rotate(-6deg);
}
.feature-card h3{
  font-size:19px;
  font-weight:700;
  margin:0 0 14px;
  transition:color .25s ease;
}
.feature-card:hover h3{
  color:var(--blue);
}
.feature-card p{
  font-size:15px;
  color:var(--gray-600);
  margin:0;
  font-weight:400;
}

/* ---------- Cases ---------- */
.cases{
  background:var(--section-bg);
  padding:100px 40px 120px;
}
.cases h2{
  max-width:1280px;
  margin:0 auto 56px;
  text-align:center;
  font-size:34px;
  line-height:1.3;
  font-weight:800;
}
.cases-card{
  max-width:1280px;
  margin:0 auto;
}
.cases-card{
  display:block;
}
.cases > .cases-card{
  max-width:640px;
  width:100%;
  display:block;
  background:var(--white);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 24px 54px -28px rgba(20,30,60,.28);
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}
.cases > .cases-card:hover{
  transform:translateY(-6px);
  box-shadow:0 30px 60px -24px rgba(20,30,60,.35);
}
.cases-card__art{
  position:relative;
  height:290px;
  background:#ffffff;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}
.cases-card__img{
  position:relative;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.cases-card__body{
  padding:26px 24px 30px;
}
.cases-card__heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
}
.cases-card__heading h3{
  font-size:18px;
  font-weight:700;
  margin:0;
}
.cases-card__body p{
  font-size:14px;
  color:var(--gray-600);
  margin:0;
  line-height:1.7;
  font-weight:400;
}
.link-arrow{
  color:var(--blue);
  flex-shrink:0;
}

/* ---------- CTA ---------- */
.cta{
  background:var(--blue);
  padding:90px 40px;
  text-align:center;
}
.cta h2{
  color:#fff;
  font-size:32px;
  font-weight:800;
  margin:0 0 32px;
}
.contact-form{
  max-width:640px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  text-align:left;
}
.contact-form__row{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.contact-form__row--full{
  grid-column:1 / -1;
}
.contact-form label{
  font-size:13px;
  font-weight:600;
  color:var(--blue-lightest);
  letter-spacing:.2px;
}
.contact-form input,
.contact-form textarea{
  font-family:inherit;
  font-size:15px;
  color:var(--ink);
  background:#fff;
  border:none;
  border-radius:8px;
  padding:13px 16px;
  resize:vertical;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline:3px solid rgba(255,255,255,.55);
}
.contact-form__feedback{
  grid-column:1 / -1;
  font-size:14px;
  font-weight:600;
  color:#fff;
  min-height:20px;
}
.contact-form__submit{
  grid-column:1 / -1;
  justify-self:center;
  margin-top:6px;
}
.btn{
  padding:14px 32px;
  border-radius:8px;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  border:none;
  cursor:pointer;
  display:inline-block;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.btn--light{
  background:#fff;
  color:var(--blue);
}
.btn--light:hover{
  background:#eef1f6;
  transform:translateY(-2px);
}

/* ---------- Footer ---------- */
.footer{
  background:#101827;
  padding:26px 40px;
  position:relative;
}
.footer__inner{
  max-width:1280px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#c6cad4;
  font-size:14px;
}
.footer__inner a{
  color:#c6cad4;
  text-decoration:none;
  transition:color .2s ease;
}
.footer__inner a:hover{
  color:#fff;
}
.scrolltop{
  position:absolute;
  right:24px;
  bottom:24px;
  width:36px;
  height:36px;
  border-radius:8px;
  background:var(--blue);
  color:#fff;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease, transform .2s ease;
}
.scrolltop:hover{
  background:var(--blue-dark);
  transform:translateY(-2px);
}

.cards--two{
  grid-template-columns:repeat(2, 1fr);
}
.feature-card__more{
  display:inline-block;
  margin-top:18px;
  font-weight:700;
  color:var(--blue);
}
.cta__cross{
  color:#fff;
  font-size:15px;
  margin:-12px 0 28px;
}
.cta__cross a{
  color:#fff;
  font-weight:700;
}

/* ---------- Cards como abas (home) ---------- */
.how__inner[hidden]{ display:none; }
.feature-card--tab{
  font:inherit;
  color:inherit;
  background:var(--white);
  width:100%;
}
.feature-card--tab.is-active{
  border-color:var(--blue);
  background:#fbfcff;
  box-shadow:0 0 0 2px var(--blue) inset;
}
.feature-card--tab:focus-visible{
  outline:3px solid var(--blue-light);
  outline-offset:3px;
}
.how__more{
  display:inline-block;
  margin-top:18px;
  color:var(--blue);
  font-weight:700;
  text-decoration:none;
}
.how__more:hover{ text-decoration:underline; }

/* ---------- WhatsApp / automação ---------- */
.btn--whatsapp{
  background:#25D366;
  color:#131b2c;
}
.btn--whatsapp:hover{
  background:#1da851;
  transform:translateY(-2px);
}
.product-hero__art--icon{
  color:var(--blue-lighter);
  display:flex;
  justify-content:center;
}
.product-hero__art--icon svg{
  max-width:100%;
  height:auto;
}

.brands{
  max-width:1000px;
  margin:0 auto;
  padding:0 40px 90px;
  text-align:center;
}
.brands h2,
.diferencial h2{
  font-size:32px;
  font-weight:800;
  margin:0 0 28px;
}
.brands__list{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:22px;
}
.brand{
  position:relative;
  border:1px solid var(--border);
  border-radius:12px;
  padding:26px 40px;
  font-size:22px;
  font-weight:800;
  color:var(--blue-dark);
}
.badge-soon{
  position:absolute;
  top:-11px;
  right:-10px;
  background:var(--amber);
  color:#131b2c;
  font-size:10px;
  font-weight:700;
  letter-spacing:.3px;
  padding:4px 9px;
  border-radius:20px;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
}
.diferencial{
  max-width:820px;
  margin:0 auto;
  padding:100px 40px;
  text-align:center;
}
.diferencial p{
  font-size:17px;
  line-height:1.75;
  color:var(--gray-600);
  margin:0 0 24px;
}
.diferencial__link{
  color:var(--blue);
  font-weight:700;
  text-decoration:none;
}
.diferencial__link:hover{ text-decoration:underline; }

/* ---------- Product hero (contratos.html) ---------- */
.product-hero{
  background:linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding:96px 40px 110px;
}
.product-hero__inner{
  max-width:1280px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:56px;
  align-items:center;
}
.product-hero__eyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
  font-weight:700;
  color:var(--blue-lighter);
  background:rgba(255,255,255,.1);
  padding:7px 14px;
  border-radius:20px;
  margin:0 0 22px;
}
.product-hero__text h1{
  font-size:46px;
  line-height:1.16;
  font-weight:800;
  letter-spacing:-.5px;
  color:#fff;
  margin:0 0 22px;
}
.product-hero__sub{
  font-size:17px;
  line-height:1.75;
  color:var(--blue-lightest);
  font-weight:400;
  max-width:520px;
  margin:0 0 40px;
}
.product-hero__art{
  display:flex;
  justify-content:center;
}
.product-hero__art img{
  width:100%;
  max-width:420px;
  height:auto;
  filter:drop-shadow(0 30px 60px rgba(8,14,30,.4));
}

.store-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.store-btn{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 20px;
  border-radius:10px;
  border:1.5px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-family:inherit;
  cursor:not-allowed;
  opacity:.7;
}
.store-btn svg{ flex-shrink:0; }
.store-btn__text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.25;
  text-align:left;
}
.store-btn__text small{
  font-size:10.5px;
  color:var(--blue-lightest);
}
.store-btn__text strong{
  font-size:15px;
  font-weight:700;
}
.store-btn__badge{
  position:absolute;
  top:-11px;
  right:-10px;
  background:var(--amber);
  color:#131b2c;
  font-size:10px;
  font-weight:700;
  letter-spacing:.3px;
  padding:4px 9px;
  border-radius:20px;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
}

.product-hero--photo{
  position:relative;
  overflow:hidden;
  background:var(--blue-dark);
}
.product-hero--photo::before{
  content:"";
  position:absolute;
  inset:-12px;
  background:url("../images/automatizar.jpg") center / cover no-repeat;
  filter:blur(3px);
}
.product-hero--photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(15,72,140,.86) 0%, rgba(28,55,89,.72) 55%, rgba(28,55,89,.45) 100%);
}
.product-hero--photo .product-hero__inner{
  position:relative;
  z-index:1;
}

/* ---------- Security section (contratos.html) ---------- */
.security{
  max-width:1080px;
  margin:0 auto;
  padding:110px 40px 24px;
  text-align:center;
}
.security h2{
  font-size:36px;
  font-weight:800;
  margin:0 0 22px;
}
.security__lede{
  font-size:17px;
  color:var(--gray-600);
  line-height:1.75;
  margin:0 auto 56px;
  max-width:760px;
  font-weight:400;
}
.security__grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:22px;
  padding-bottom:100px;
  text-align:left;
}
.security__grid .feature-card{
  text-align:left;
  cursor:default;
}
.security__grid .feature-card__icon{
  margin:0 0 20px;
}
.security__grid .feature-card:hover{
  transform:none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero__text h1{ font-size:38px; }
  .how__inner{ grid-template-columns:1fr; gap:36px; }
  .cards{ grid-template-columns:1fr; }
  .cards--two{ grid-template-columns:1fr; }
  .contact-form{ grid-template-columns:1fr; }
  .product-hero__inner{ grid-template-columns:1fr; text-align:center; }
  .product-hero__art{ order:-1; }
  .store-buttons{ justify-content:center; }
  .security__grid{ grid-template-columns:1fr; }
  .how__step,
  .how__step--reverse{
    grid-template-columns:1fr;
    text-align:center;
    gap:32px;
  }
  .how__step--reverse .how__step-media,
  .how__step--reverse .how__step-content{
    order:initial;
  }
  .how__step-content p{
    margin-left:auto;
    margin-right:auto;
  }
}
@media (max-width: 480px){
  .topbar__inner{ padding:16px 20px; }
  .hero{ padding:40px 20px 64px; }
  .hero__text h1{ font-size:30px; }
  .develop{ padding:70px 20px 24px; }
  .brands{ padding:0 20px 64px; }
  .diferencial{ padding:64px 20px; }
  .brands h2, .diferencial h2{ font-size:26px; }
  .how{ padding:56px 20px; }
  .cases{ padding:64px 20px 80px; }
  .cases h2{ font-size:26px; margin-bottom:40px; }
  .cases > .cases-card{ max-width:100%; }
  .cta{ padding:64px 20px; }
  .cta h2{ font-size:26px; }
  .footer{ padding:20px 20px 60px; }
  .footer__inner{ flex-direction:column; align-items:flex-start; gap:8px; }
  .scrolltop{ right:16px; bottom:16px; }
  .product-hero{ padding:56px 20px 64px; }
  .product-hero__text h1{ font-size:32px; }
  .security{ padding:70px 20px 24px; }
  .security h2{ font-size:28px; }
  .how__intro h2{ font-size:26px; }
  .how__steps{ gap:56px; }
}
