/* facilita.etc — custom.css */

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Muli:ital,wght@0,200;0,300;0,400;0,600;0,800;1,300;1,400&display=swap');

/* ─── VARIABLES ─── */
:root {
  --teal:        #12bbad;
  --teal-dark:   #0e8c82;
  --orange:      #ee5100;
  --orange-dark: #c84400;
  --yellow:      #ffc107;
  --dark:        #151515;
  --gray:        #6c757d;
  --light:       #f3f3f3;
  --white:       #ffffff;
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Muli', sans-serif;
  font-weight: 400;
  color: #333;
  background: #fff;
}

a { transition: color .2s; }

/* ─── NAVBAR ─── */
.navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s, opacity .3s;
  padding: .9rem 1.5rem;
}

.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

/* navbar-ontop.js adds this class when at top — make it transparent */
.navbar-ontop {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.navbar-brand img {
  height: 38px;
}

.navbar-nav .nav-link {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: #555 !important;
  padding: .5rem .9rem !important;
  transition: color .2s;
}

.navbar-nav .nav-link:hover {
  color: var(--teal) !important;
}

.navbar-nav .nav-cta {
  background: var(--teal);
  color: #fff !important;
  border-radius: 2px;
  margin-left: .5rem;
}

.navbar-nav .nav-cta:hover {
  background: var(--teal-dark);
  color: #fff !important;
}

.navbar-ontop .navbar-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
}

.navbar-ontop .navbar-toggler {
  border-color: rgba(255,255,255,.4);
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.hero-dots {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: .09;
  pointer-events: none;
}

.hero-dot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.hero-dot:nth-child(1) { background: #e84545; }
.hero-dot:nth-child(2) { background: #ffc107; margin-left: 50px; }
.hero-dot:nth-child(3) { background: #12bbad; margin-left: 15px; }

.hero-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero-title .a1 { color: var(--teal); }
.hero-title .a2 { color: var(--orange); }

.hero-sub {
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.85;
  color: #555;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--teal);
  padding: .7rem 2rem;
  font-weight: 600;
  border-radius: 2px;
  transition: all .2s;
}

.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 2px solid #ddd;
  padding: .7rem 2rem;
  font-weight: 600;
  border-radius: 2px;
  transition: all .2s;
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.stat-num span { color: var(--teal); }

.stat-label {
  font-size: .72rem;
  font-weight: 700;
  color: #bbb;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .3rem;
}

/* ─── SECTIONS ─── */
.section { padding: 6rem 0; }

.section-tag {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: #666;
  max-width: 560px;
}

/* ─── SOBRE ─── */
#sobre { background: var(--light); }

.sobre-text {
  font-size: .95rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 1rem;
}

.destaque {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--teal);
  background: #fff;
  font-size: .98rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.65;
}

.stack-box {
  background: #fff;
  border-radius: 4px;
  padding: 2rem;
  border: 1px solid #e8e8e8;
}

.stack-box-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .87rem;
  color: #444;
  padding: .4rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.stack-item:last-child { border-bottom: none; }

.sdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sdot.t { background: var(--teal); }
.sdot.o { background: var(--orange); }
.sdot.y { background: var(--yellow); }

/* ─── METODOLOGIA ─── */
#metodologia { background: #fff; }

.metod-card {
  padding: 2.5rem 2rem;
  background: #fff;
  border-top: 3px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  height: 100%;
}

.metod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.metod-card.c1 { border-top-color: var(--teal); }
.metod-card.c2 { border-top-color: var(--orange); }
.metod-card.c3 { border-top-color: var(--yellow); }

.metod-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--light);
  line-height: 1;
  margin-bottom: .5rem;
}

.metod-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.metod-icon.t { color: var(--teal); }
.metod-icon.o { color: var(--orange); }
.metod-icon.y { color: var(--yellow); }

.metod-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .75rem;
}

.metod-text {
  font-size: .88rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.2rem;
}

.metod-item {
  font-size: .82rem;
  color: #888;
  padding: .3rem 0 .3rem 1rem;
  border-bottom: 1px solid #f3f3f3;
  position: relative;
}

.metod-item:last-child { border-bottom: none; }

.metod-item::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 600;
  font-size: .8rem;
}

/* ─── SERVIÇOS ─── */
#servicos { background: var(--dark); }

#servicos .section-tag { color: var(--teal); }
#servicos .section-title { color: #fff; }
#servicos .section-lead { color: rgba(255,255,255,.45); }

.scard {
  padding: 2.5rem 2rem;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.07);
  position: relative;
  transition: background .25s;
  height: 100%;
}

.scard:hover { background: #1d1d1d; }

.scard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  transition: width .35s ease;
}

.scard:hover::after { width: 100%; }

.scard.c1::after { background: var(--teal); }
.scard.c2::after { background: var(--orange); }
.scard.c3::after { background: var(--yellow); }
.scard.c4::after { background: var(--teal); }
.scard.c5::after { background: var(--orange); }
.scard.c6::after { background: var(--yellow); }

.sicon { font-size: 1.5rem; margin-bottom: 1.2rem; }
.sicon.t { color: var(--teal); }
.sicon.o { color: var(--orange); }
.sicon.y { color: var(--yellow); }

.scard-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}

.scard-text {
  font-size: .85rem;
  line-height: 1.8;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.2rem;
}

.stags { display: flex; flex-wrap: wrap; gap: .4rem; }

.stag-pill {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.35);
}

/* ─── DIRETRIZES ─── */
#diretrizes { background: var(--light); }

.dir-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 4px;
  border-top: 3px solid var(--teal);
  transition: box-shadow .25s, transform .25s;
  height: 100%;
}

.dir-card:nth-child(2) { border-top-color: var(--orange); }
.dir-card:nth-child(3) { border-top-color: var(--yellow); }

.dir-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transform: translateY(-3px);
}

.dir-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: .75rem;
}

.dir-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.dir-text {
  font-size: .9rem;
  line-height: 1.85;
  color: #666;
}

.vlist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.vlist li {
  font-size: .88rem;
  color: #666;
  line-height: 1.55;
  padding-left: 1rem;
  position: relative;
}

.vlist li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
}

/* ─── CONTATO ─── */
#contato { background: #fff; }

.cont-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 2rem 2.5rem;
  border: 1px solid #eee;
  border-radius: 4px;
  transition: all .25s;
  color: #333;
  text-decoration: none;
}

.cont-card:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(18,187,173,.12);
  text-decoration: none;
}

.cont-icon { font-size: 1.6rem; color: var(--teal); }
.cont-label { font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #bbb; }
.cont-value { font-size: .92rem; font-weight: 600; }

.tagline {
  font-size: 1.3rem;
  font-weight: 200;
  font-style: italic;
  color: #ccc;
  margin-top: 1rem;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  padding: 1.75rem 1rem;
}

footer p { font-size: .78rem; color: rgba(255,255,255,.2); margin: 0; }
footer a { color: rgba(18,187,173,.5); }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-anim-1 { opacity: 0; animation: fadeUp .7s ease .1s forwards; }
.hero-anim-2 { opacity: 0; animation: fadeUp .7s ease .25s forwards; }
.hero-anim-3 { opacity: 0; animation: fadeUp .7s ease .4s forwards; }
.hero-anim-4 { opacity: 0; animation: fadeUp .7s ease .55s forwards; }
.hero-anim-5 { opacity: 0; animation: fadeUp .7s ease .7s forwards; }

/* ─── MOBILE ─── */
@media (max-width: 991px) {
  .hero-dots { display: none; }
  .section { padding: 4rem 0; }
  #hero { padding-top: 90px; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2.6rem; }
  .hero-stats { gap: 2rem; }
}
