/* ============ tokens — identidade Vértice ============ */
:root{
  --navy: #002F4C;
  --navy-light: #0a4064;
  --orange: #FE5001;
  --white: #FFFFFF;
  --offwhite: #F8F5EE;

  --bg: var(--navy);
  --surface: rgba(255,255,255,0.07);
  --surface-border: rgba(255,255,255,0.14);
  --text: var(--white);
  --text-muted: rgba(248,245,238,0.72);
  --text-faint: rgba(248,245,238,0.48);

  --l-surface: #FFFFFF;
  --l-surface-border: rgba(0,47,76,0.12);
  --l-text: var(--navy);
  --l-text-muted: rgba(0,47,76,0.68);
  --l-text-faint: rgba(0,47,76,0.46);

  --display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;
  --wrap: 640px;
  --radius: 14px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.01ms !important;transition-duration:0.01ms !important;}
}

img{max-width:100%;display:block;}
a{color:inherit;}
button{font:inherit;color:inherit;background:none;border:none;}

/* ============ drop cap (Great Vibes) ============ */
.dropcap,
.dropcap-line::first-letter{
  font-family:var(--script);
  color:var(--orange);
  font-weight:400;
}
.hero-title .dropcap{
  font-size:1.4em;
  line-height:1;
  padding-right:0.02em;
  display:inline-block;
  vertical-align:-0.08em;
}
.dropcap-line::first-letter{
  font-size:1.7em;
  line-height:0.6;
}

/* ============ custom cursor (fine pointer only) ============ */
.cursor-dot{
  position:fixed;
  top:0;left:0;
  width:22px;height:22px;
  border-radius:50%;
  border:1.5px solid var(--orange);
  pointer-events:none;
  z-index:200;
  transform:translate(-50%,-50%);
  transition:width .2s ease, height .2s ease, border-color .2s ease, background .2s ease;
  display:none;
  mix-blend-mode:difference;
}
.has-fine-pointer .cursor-dot{ display:block; }
.cursor-dot.hover{
  width:44px;height:44px;
  background:var(--orange);
  border-color:transparent;
}

/* ============ scroll progress ============ */
.scroll-progress{
  position:fixed;top:0;left:0;right:0;height:3px;z-index:100;
  background:transparent;
}
.scroll-progress span{
  display:block;height:100%;width:0%;
  background:var(--orange);
  transition:width .08s linear;
}

/* ============ animated mesh background ============ */
.mesh{ position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.blob{
  position:absolute;
  width:46vmax;height:46vmax;
  border-radius:50%;
  filter:blur(90px);
  opacity:0.16;
  will-change:transform;
}
.blob-orange{ background:var(--orange); top:-14vmax; left:-10vmax; animation:drift1 22s ease-in-out infinite; }
.blob-navy{ background:var(--navy-light); bottom:-18vmax; right:-12vmax; opacity:0.5; animation:drift2 26s ease-in-out infinite; }
.blob-2{ width:30vmax;height:30vmax; top:40%; right:-8vmax; opacity:0.1; animation:drift3 30s ease-in-out infinite; }
@keyframes drift1{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(4vmax,5vmax); } }
@keyframes drift2{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(-5vmax,-4vmax); } }
@keyframes drift3{ 0%,100%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(-3vmax,3vmax) scale(1.08); } }

.wrap{
  position:relative;
  z-index:1;
  max-width:960px;
  margin:0 auto;
  padding:0 24px;
}
.wrap-narrow{ max-width:var(--wrap); }

/* ============ section nav dots (desktop) ============ */
.dot-nav{
  position:fixed;
  right:22px;top:50%;
  transform:translateY(-50%);
  z-index:60;
  display:none;
  flex-direction:column;
  gap:14px;
}
.dot-nav .dot{
  width:8px;height:8px;
  border-radius:50%;
  background:rgba(255,255,255,0.3);
  cursor:pointer;
  transition:background .25s ease, transform .25s ease;
  padding:0;
}
.dot-nav .dot.active{ background:var(--orange); transform:scale(1.4); }

/* ============ masthead ============ */
.masthead{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 20px;
  background:rgba(0,47,76,0.82);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--surface-border);
}
.brand{display:flex;align-items:center;text-decoration:none;}
.brand-logo{ height:28px; width:auto; display:block; }
.header-cta{
  font-size:0.82rem;
  font-weight:600;
  text-decoration:none;
  color:var(--text);
  border:1px solid var(--surface-border);
  padding:8px 14px;
  border-radius:999px;
  white-space:nowrap;
  transition:border-color .2s ease, background .2s ease;
  display:inline-block;
}
.header-cta:hover{ border-color:var(--orange); background:rgba(254,80,1,0.12); }

/* ============ sections & rhythm ============ */
.section{ position:relative; padding:76px 0; }
.section-light{ background:var(--offwhite); color:var(--l-text); }
.section-light p{ color:var(--l-text-muted); }
.section-light .lead-line,
.section-light .emphasis{ color:var(--l-text); }

.kicker{
  font-family:var(--sans);
  font-weight:700;
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--orange);
  margin:0 0 18px;
}
.eyebrow{
  font-size:0.78rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--orange);
  font-weight:700;
  margin:0 0 22px;
}
.lead-line{
  font-family:var(--display);
  font-size:1.5rem;
  font-weight:600;
  line-height:1.4;
  margin:0 0 20px;
}
.emphasis{
  font-family:var(--display);
  font-size:1.2rem;
  font-weight:500;
  color:var(--text);
}
p{ margin:0 0 18px; color:var(--text-muted); font-weight:400; }
.section p:last-of-type{ margin-bottom:0; }
.lead-line{ color:var(--text); }

.underline-draw{ position:relative; display:inline-block; }
.underline-draw::after{
  content:"";
  position:absolute; left:0; bottom:-6px;
  width:100%; height:3px;
  background:var(--orange);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .8s cubic-bezier(.2,.8,.2,1);
}
.underline-draw.in::after{ transform:scaleX(1); }

/* ============ hero ============ */
.hero{
  min-height:92vh;
  display:flex;
  align-items:center;
  padding-top:40px;
  padding-bottom:60px;
}
.hero-title{
  font-family:var(--display);
  font-weight:700;
  font-size:2.3rem;
  line-height:1.2;
  letter-spacing:-0.01em;
  margin:0 0 22px;
  max-width:16ch;
}
.hero-title .line{ display:block; overflow:hidden; padding-top:0.3em; margin-top:-0.3em; }
.hero-title .word{
  display:inline-block;
  transform:translateY(110%);
  opacity:0;
  animation:wordIn .7s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-title .accent{ color:var(--orange); }
@keyframes wordIn{ to{ transform:translateY(0); opacity:1; } }
.hero .lede{
  font-size:1.08rem;
  color:var(--text-muted);
  max-width:34ch;
  margin:0 0 34px;
}
.scroll-cue{
  position:absolute;
  bottom:28px;left:50%;
  transform:translateX(-50%);
  width:1px;height:44px;
  background:linear-gradient(var(--orange), transparent);
  overflow:hidden;
}
.scroll-cue span{
  position:absolute;top:-44px;left:0;width:100%;height:100%;
  background:linear-gradient(rgba(255,255,255,0.6), transparent);
  animation:scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ top:-44px; }
  60%{ top:44px; }
  100%{ top:44px; }
}

.split-in{ opacity:0; transform:translateY(14px); animation:splitIn .7s cubic-bezier(.2,.8,.2,1) forwards; }
.split-in[data-delay="0"]{ animation-delay:.1s; }
.split-in[data-delay="2"]{ animation-delay:1.0s; }
.split-in[data-delay="3"]{ animation-delay:1.2s; }
@keyframes splitIn{ to{ opacity:1; transform:translateY(0); } }

/* ============ buttons ============ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--sans);
  font-weight:700;
  font-size:0.96rem;
  text-decoration:none;
  padding:15px 28px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary{
  background:var(--orange);
  color:var(--navy);
  box-shadow:0 8px 24px -8px rgba(254,80,1,0.55);
}
.btn-primary:hover{ box-shadow:0 12px 28px -8px rgba(254,80,1,0.65); }
.btn-block{ width:100%; }
.btn:disabled{ opacity:0.6; cursor:not-allowed; transform:none; }
.btn-magnetic{ will-change:transform; transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, background .18s ease; }

/* ============ método — cycle diagram ============ */
.method-wrap{
  display:flex;
  flex-direction:column;
  gap:32px;
  align-items:center;
  max-width:760px;
}
.method-diagram{ width:100%; max-width:300px; }
.method-diagram svg{ width:100%; height:auto; display:block; }
.cycle-arrow{
  fill:none;
  stroke:var(--orange);
  stroke-width:2.5;
  stroke-linecap:round;
  opacity:0.9;
  stroke-dasharray:6 7;
  animation:cycleFlow 1.8s linear infinite;
}
@keyframes cycleFlow{ to{ stroke-dashoffset:-26; } }
.arrow-head{ fill:var(--orange); }
.method-node circle{
  fill:var(--surface);
  stroke:var(--orange);
  stroke-width:2;
}
.method-node .node-num{
  font-family:var(--sans);
  font-size:22px;
  font-weight:700;
  fill:var(--orange);
  letter-spacing:0.02em;
}
.node-label{
  font-family:var(--sans);
  font-size:15px;
  font-weight:700;
  fill:var(--white);
}
.method-text{
  font-size:1.05rem;
  color:var(--text-muted);
  text-align:left;
  margin:0;
  max-width:62ch;
}
.method-text strong{ color:var(--orange); font-weight:700; }

/* ============ cases ============ */
.case-grid{
  display:grid;
  gap:16px;
  grid-template-columns:1fr;
}
.case-card{
  border-radius:var(--radius);
  padding:28px 24px;
  background:var(--navy);
  border:1px solid rgba(255,255,255,0.1);
}
.case-logo{
  display:flex;
  align-items:center;
  height:40px;
  margin-bottom:18px;
}
.case-logo img{ height:100%; width:auto; max-width:170px; object-fit:contain; display:block; }
.case-name{
  font-family:var(--display);
  font-weight:700;
  font-size:1.1rem;
  margin:0 0 10px;
  color:var(--white);
}
.case-card .case-text{ margin:0; font-size:0.9rem; color:rgba(248,245,238,0.75); }

/* ============ equipe ============ */
.team-grid{
  display:grid;
  gap:24px;
  grid-template-columns:1fr;
  max-width:860px;
}
.team-card{ display:flex; flex-direction:column; }
.team-photo{
  width:100%;
  aspect-ratio:3/4;
  border-radius:var(--radius);
  overflow:hidden;
  margin-bottom:18px;
  border:1px solid rgba(255,255,255,0.12);
}
.team-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 18%; display:block; }
.team-name{
  font-family:var(--display);
  font-weight:700;
  font-size:1.25rem;
  margin:0 0 4px;
  color:var(--white);
}
.team-role{
  font-size:0.82rem;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--orange);
  margin:0 0 12px;
}
.team-bio{ margin:0; font-size:0.92rem; }

/* ============ depoimentos (rail) ============ */
.testimonial-rail{ position:relative; }
.testimonial-track{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding-bottom:4px;
  margin:0 -24px;
  padding-left:24px;
  padding-right:24px;
}
.testimonial-track::-webkit-scrollbar{ display:none; }
.testimonial-card{
  background:var(--surface);
  border:1px solid var(--surface-border);
  border-radius:var(--radius);
  padding:16px;
  scroll-snap-align:center;
  flex:0 0 100%;
  max-width:420px;
}
.ig-embed-wrap{
  border-radius:10px;
  overflow:hidden;
  min-height:340px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#01253d;
}
.ig-embed-wrap iframe{ width:100% !important; }
.ig-embed-wrap .instagram-media{ margin:0 !important; width:100% !important; }
.ig-fallback-link{
  display:inline-block;
  margin-top:14px;
  font-size:0.88rem;
  font-weight:600;
  color:var(--orange);
  text-decoration:none;
}
.ig-fallback-link:hover{ text-decoration:underline; }
.testimonial-name{
  margin:10px 0 0;
  font-size:0.85rem;
  font-weight:600;
  color:var(--text-muted);
}
.testimonial-dots{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:18px;
}
.t-dot{
  width:7px;height:7px;
  border-radius:50%;
  background:rgba(255,255,255,0.25);
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}
.t-dot.active{ background:var(--orange); transform:scale(1.3); }

/* ============ form ============ */
.form{ margin-top:8px; }
.form-progress{
  height:3px;
  background:var(--surface-border);
  border-radius:999px;
  margin-bottom:28px;
  overflow:hidden;
}
.form-progress-fill{
  display:block; height:100%; width:0%;
  background:var(--orange);
  transition:width .3s cubic-bezier(.2,.8,.2,1);
}
.field{ margin-bottom:20px; position:relative; }
.field.floating input{
  width:100%;
  font-family:var(--sans);
  font-size:1rem;
  color:var(--text);
  background:var(--surface);
  border:1px solid var(--surface-border);
  border-radius:10px;
  padding:20px 16px 8px;
  outline:none;
  transition:border-color .18s ease, background .18s ease;
}
.field.floating label{
  position:absolute;
  left:16px; top:16px;
  font-size:1rem;
  color:var(--text-faint);
  pointer-events:none;
  transition:top .18s ease, font-size .18s ease, color .18s ease;
}
.field.floating input:focus{ border-color:var(--orange); background:rgba(255,255,255,0.1); }
.field.floating input:focus + label,
.field.floating input:not(:placeholder-shown) + label{
  top:7px;
  font-size:0.72rem;
  color:var(--orange);
  font-weight:600;
}
.field.has-error input{ border-color:#ff6b4a; }
.field.has-error label{ color:#ff6b4a; }
.error-msg{
  display:none;
  font-size:0.8rem;
  color:#ff6b4a;
  margin-top:6px;
}
.field.has-error .error-msg{ display:block; }

.form-status{
  margin:18px 0 0;
  font-size:0.92rem;
  min-height:1.4em;
}
.form-status.success{ color:var(--orange); font-weight:600; }
.form-status.error{ color:#ff6b4a; font-weight:600; }

/* ============ faq (JS animated accordion) ============ */
.faq-list{ display:flex; flex-direction:column; gap:10px; }
.faq-item{
  background:var(--l-surface);
  border:1px solid var(--l-surface-border);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 2px 10px -6px rgba(0,47,76,0.15);
}
.faq-trigger{
  width:100%;
  cursor:pointer;
  padding:18px 20px;
  font-weight:600;
  font-size:0.98rem;
  color:var(--l-text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  text-align:left;
}
.faq-icon{
  position:relative;
  width:16px;height:16px;
  flex-shrink:0;
}
.faq-icon::before,.faq-icon::after{
  content:"";
  position:absolute;
  background:var(--orange);
  top:50%;left:50%;
  transform:translate(-50%,-50%);
}
.faq-icon::before{ width:16px;height:2px; }
.faq-icon::after{ width:2px;height:16px; transition:transform .25s ease; }
.faq-trigger[aria-expanded="true"] .faq-icon::after{ transform:translate(-50%,-50%) rotate(90deg) scaleX(0); }
.faq-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s cubic-bezier(.2,.8,.2,1);
  padding:0 20px;
}
.faq-panel p{ margin:0 0 18px; color:var(--l-text-muted); }

/* ============ closing ============ */
.closing-line{
  font-family:var(--display);
  font-size:1.6rem;
  font-weight:700;
  line-height:1.35;
  color:var(--text);
  margin-bottom:20px;
}

/* ============ footer ============ */
.footer{
  padding:40px 24px 120px;
  border-top:1px solid var(--surface-border);
  position:relative;
  z-index:1;
}
.footer-logo{ height:34px; }

/* ============ sticky mobile CTA ============ */
.sticky-cta{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:60;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(to top, rgba(0,47,76,0.97) 60%, rgba(0,47,76,0));
  transform:translateY(100%);
  transition:transform .3s ease;
}
.sticky-cta.visible{ transform:translateY(0); }
.sticky-cta a{
  display:block;
  text-align:center;
  background:var(--orange);
  color:var(--navy);
  font-weight:700;
  font-size:0.95rem;
  padding:15px;
  border-radius:999px;
  text-decoration:none;
  box-shadow:0 10px 30px -8px rgba(254,80,1,0.6);
}

/* ============ reveal-on-scroll ============ */
.reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.in{ opacity:1; transform:translateY(0); }

/* ============ tablet / desktop ============ */
@media (min-width:700px){
  .wrap{ padding:0 40px; }
  .hero-title{ font-size:3rem; max-width:18ch; }
  .hero .lede{ font-size:1.18rem; }
  .case-grid{ grid-template-columns:repeat(2,1fr); }
  .team-grid{ grid-template-columns:repeat(2,1fr); }
  .lead-line{ font-size:1.7rem; }
  .closing-line{ font-size:1.9rem; }
  .section{ padding:100px 0; }
  .testimonial-card{ flex:0 0 calc(50% - 10px); }
  .method-wrap{ flex-direction:row; align-items:center; gap:56px; }
  .method-diagram{ flex:0 0 300px; }
  .method-text{ flex:1; font-size:1.12rem; }
}

@media (min-width:1024px){
  .hero-title{ font-size:3.5rem; }
  .sticky-cta{ display:none; }
  .dot-nav{ display:flex; }
  .case-grid{ grid-template-columns:repeat(3,1fr); }
}

@media (hover:hover) and (pointer:fine){
  .has-fine-pointer{ cursor:none; }
  .has-fine-pointer a,
  .has-fine-pointer button{ cursor:none; }
}
