/* ================================================
   PROTR - New Website Design System
   Cores: #73b84e (verde) | #575757 (cinza)
   Mobile First | Clean | Modern
   ================================================ */

/* --- Variables --- */
:root {
  --green:        #73b84e;
  --green-dark:   #4d8832;
  --green-light:  #eaf5e1;
  --gray-900:     #222222;
  --gray-700:     #3d3d3d;
  --gray-600:     #575757;
  --gray-400:     #888888;
  --gray-300:     #bbbbbb;
  --gray-100:     #f4f6f3;
  --border:       #e4e8e1;
  --white:        #ffffff;

  --font: 'Inter', sans-serif;

  --shadow-s:  0 2px 8px rgba(0,0,0,.06);
  --shadow-m:  0 4px 20px rgba(0,0,0,.09);
  --shadow-l:  0 12px 40px rgba(0,0,0,.12);

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;

  --t: all .22s ease;

  --sec: 88px 0;
  --cw: 1180px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--gray-600); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: var(--t); }
ul { list-style: none; }
button { font-family: var(--font); }

/* --- Typography --- */
h1,h2,h3,h4 { color: var(--gray-900); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); }
p  { line-height: 1.75; }

/* --- Layout --- */
.container { max-width: var(--cw); margin: 0 auto; padding: 0 20px; }

.section     { padding: var(--sec); }
.section-alt { background: var(--gray-100); }

.sec-header { text-align: center; margin-bottom: 56px; }
.sec-header h2 { margin-bottom: 12px; }
.sec-header p  { max-width: 580px; margin: 0 auto; color: var(--gray-400); font-size: 1.02rem; }

/* --- Badge --- */
.badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-s);
  font-size: .93rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  border: 2px solid transparent;
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(115,184,78,.3);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ================================================
   HEADER
   ================================================ */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}
#site-header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-s);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.nav-logo img { height: 50px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--gray-600);
  font-size: .88rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--r-s);
  transition: var(--t);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  background: var(--green-light);
}
.nav-support {
  background: var(--green) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 7px 18px !important;
  border-radius: var(--r-s) !important;
}
.nav-support:hover {
  background: var(--green-dark) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--gray-600);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-s);
  transition: var(--t);
}
.nav-toggle:hover { background: var(--gray-100); }

/* --- Mobile menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 850;
  padding: 20px;
  flex-direction: column;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--gray-600);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--r-s);
  transition: var(--t);
}
.mobile-menu a:hover { color: var(--green); background: var(--green-light); }
.mobile-menu .nav-support {
  margin-top: 12px;
  text-align: center;
  border-bottom: none !important;
}

/* ================================================
   HERO
   ================================================ */
#home {
  padding-top: 130px;
  padding-bottom: 80px;
  min-height: 100svh;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle, rgba(115,184,78,.22) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #c8e9a0 0%, #e4f5cc 18%, #f4fbea 36%, #ffffff 62%);
  background-size: 22px 22px, 100% 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "tagline visual" "text visual";
  column-gap: 60px;
  row-gap: 0;
}
.hero-tagline { grid-area: tagline; align-self: end; }
.hero-text    { grid-area: text; align-self: start; }
.hero-visual  { grid-area: visual; align-self: center; }
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.13;
  margin-bottom: 18px;
  color: var(--gray-900);
}
.hero-title span { color: var(--green); }
.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-400);
  margin-bottom: 12px;
  line-height: 1.8;
}
.hero-sub {
  font-size: .92rem;
  color: var(--gray-400);
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  color: var(--gray-600);
  font-size: .82rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 100px;
  transition: var(--t);
}
.chip i { color: var(--green); font-size: .75rem; }
.chip:hover { border-color: var(--green); background: var(--green-light); }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
/* Borda gradiente deslocada atrás da imagem */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 100%;
  max-width: 430px;
  height: 450px;
  border-radius: 22px;
  /* técnica de gradient border */
  padding: 3px;
  background: linear-gradient(135deg, var(--green) 0%, #aaa 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  rotate: -8deg;
  z-index: 0;
  opacity: .8;
}

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(115,184,78,.28), 0 8px 32px rgba(0,0,0,.14);
}
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(115,184,78,.10) 0%,
    transparent 40%,
    transparent 55%,
    rgba(0,0,0,.38) 100%
  );
  pointer-events: none;
}
#hero-photo {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ================================================
   HERO — FORMAS DECORATIVAS (ao redor da imagem)
   ================================================ */
.hs {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  z-index: 2; /* sempre na frente — nunca some atrás da foto */
}

/* 1 — Blob verde, acima à direita */
.hs-1 {
  width: 180px; height: 200px;
  background: var(--green);
  opacity: .18;
  border-radius: 71% 29% 46% 54% / 31% 68% 32% 69%;
  top: -100px; right: -30px;
  animation: hs-float 8s ease-in-out infinite;
}

/* 2 — Retângulo cinza, abaixo à esquerda */
.hs-2 {
  width: 160px; height: 130px;
  background: #bbb;
  opacity: .18;
  border-radius: 18px;
  bottom: -70px; left: -30px;
  rotate: -22deg;
  animation: hs-sink 10s ease-in-out infinite;
}

/* 3 — Blob verde, lado esquerdo, meio */
.hs-3 {
  width: 120px; height: 150px;
  background: var(--green);
  opacity: .15;
  border-radius: 40% 60% 70% 30% / 60% 30% 70% 40%;
  top: 50%; left: -110px;
  transform: translateY(-50%);
  animation: hs-float 11s ease-in-out infinite reverse;
}

/* 4 — Quadrado cinza, lado direito, meio-baixo */
.hs-4 {
  width: 110px; height: 110px;
  background: #888;
  opacity: .12;
  border-radius: 14px;
  bottom: 60px; right: -80px;
  rotate: 18deg;
  animation: hs-sink 7s ease-in-out infinite;
}

/* 5 — Blob verde pequeno, abaixo à direita */
.hs-5 {
  width: 80px; height: 90px;
  background: var(--green);
  opacity: .22;
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  bottom: -60px; right: -20px;
  animation: hs-float 9s ease-in-out infinite;
}

/* 6 — Retângulo cinza, lado esquerdo, um terço abaixo */
.hs-6 {
  width: 70px; height: 55px;
  background: #999;
  opacity: .16;
  border-radius: 10px;
  top: 30%; left: -90px;
  rotate: 25deg;
  animation: hs-sink 8s ease-in-out infinite reverse;
}

@keyframes hs-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes hs-sink {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

/* ================================================
   DESTAQUE PROTR/PRO
   ================================================ */

/* Blob sempre visível — background direto no span, sem z-index */
.protr-mark {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  background: rgba(115, 184, 78, .12);
  border-radius: 44% 56% 38% 62% / 60% 40% 60% 45%;
  padding: 1px 6px;
  vertical-align: baseline;
}

/* Prefixo PRO em palavras compostas — só cor, mantém o case do contexto */
.pro-prefix {
  color: var(--green);
  font-weight: 700;
}

/* Hero tagline image */
.hero-tagline {
  height: 70px;
  width: auto;
  margin-bottom: 18px;
  margin-left: -25px;
  display: block;
}

/* Footer: fundo escuro — tom mais suave para não contrastar demais */
.footer-bottom .protr-mark {
  background: rgba(115, 184, 78, .08);
}

/* CTA strip: fundo verde — blob em branco semitransparente */
.cta-strip .protr-mark {
  color: #fff;
  background: rgba(255, 255, 255, .18);
}

/* Legacy hero logo (kept as fallback) */
#hero-logo {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  filter: drop-shadow(0 20px 48px rgba(115,184,78,.18));
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ================================================
   PRO (DIFERENCIAIS)
   ================================================ */
#pro { background: var(--gray-100); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 30px 26px;
  transition: var(--t);
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: var(--green-light);
}
.feat-icon {
  width: 50px; height: 50px;
  background: var(--green-light);
  border-radius: var(--r-s);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.feat-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feat-card p  { font-size: .9rem; color: var(--gray-400); line-height: 1.65; }

/* ================================================
   SERVICES
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: start; /* evita que cards do mesmo row estiquem juntos */
}
.srv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: border-color .2s;
}
.srv-card:hover { border-color: var(--green); }
.srv-card.open  { border-color: var(--green); box-shadow: var(--shadow-s); }

.srv-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
}
.srv-icon {
  width: 46px; height: 46px;
  background: var(--green-light);
  border-radius: var(--r-s);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.srv-header-txt  { flex: 1; }
.srv-header-txt h3 { font-size: 1rem; margin-bottom: 1px; color: var(--gray-900); }
.srv-header-txt span { font-size: .78rem; color: var(--gray-400); }
.srv-toggle {
  color: var(--gray-300);
  font-size: .85rem;
  transition: transform .22s, color .22s;
}
.srv-card.open .srv-toggle { transform: rotate(180deg); color: var(--green); }

.srv-body {
  display: none;
  padding: 0 24px 24px;
  border-top: 1px solid var(--border);
  animation: fadeIn .2s ease;
}
.srv-card.open .srv-body { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.srv-body p   { font-size: .9rem; color: var(--gray-600); line-height: 1.72; padding-top: 18px; }
.srv-body p + p { margin-top: 10px; }

.check-list { margin-top: 14px; }
.check-list li {
  display: flex;
  gap: 10px;
  font-size: .87rem;
  color: var(--gray-600);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.check-list li:last-child { border-bottom: none; }
.check-list li i { color: var(--green); margin-top: 2px; flex-shrink: 0; font-size: .8rem; }

/* Sub-accordion */
.sub-acc { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.sub-item { border: 1px solid var(--border); border-radius: var(--r-s); overflow: hidden; }
.sub-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  cursor: pointer;
  font-size: .85rem; font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: var(--t);
  user-select: none;
}
.sub-head:hover        { background: var(--green-light); color: var(--green-dark); }
.sub-head i            { font-size: .72rem; transition: transform .2s; }
.sub-item.open .sub-head i { transform: rotate(180deg); }
.sub-body {
  display: none;
  padding: 12px 14px;
  font-size: .84rem;
  color: var(--gray-600);
  line-height: 1.65;
  background: var(--white);
}
.sub-item.open .sub-body { display: block; }

/* Card ocupa linha inteira quando aberto */
.srv-card.fw.open {
  grid-column: 1 / -1;
}
.srv-card.fw.open .srv-body-split {
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

/* Serviço com imagem ao lado */
.srv-body-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  padding-top: 18px;
}
.srv-body-split .srv-body-content { /* textos já têm padding-top no pai */ }
.srv-body-split .srv-body-content p:first-child { padding-top: 0; }
.srv-body-img img {
  width: 100%;
  border-radius: var(--r-m);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-m);
  display: block;
}

@media (max-width: 900px) {
  .srv-body-split { grid-template-columns: 1fr; }
}

.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag {
  font-size: .72rem;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 600;
}

/* ================================================
   SOLUTIONS
   ================================================ */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sol-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }

.sol-card-head {
  background: var(--green);
  padding: 28px 22px;
  text-align: center;
  color: var(--white);
}
.sol-card-head i  { font-size: 2rem; margin-bottom: 10px; display: block; opacity: .9; }
.sol-card-head h3 { color: var(--white); font-size: 1.1rem; }

.sol-card-body { padding: 22px; flex: 1; }
.sol-card-body > p { font-size: .88rem; color: var(--gray-400); line-height: 1.65; margin-bottom: 14px; }

.sol-sub-list { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.sol-sub-item { border: 1px solid var(--border); border-radius: var(--r-s); overflow: hidden; }
.sol-sub-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 13px;
  cursor: pointer;
  font-size: .82rem; font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: var(--t);
  user-select: none;
}
.sol-sub-head:hover          { background: var(--green-light); color: var(--green-dark); }
.sol-sub-head i              { font-size: .68rem; transition: transform .2s; }
.sol-sub-item.open .sol-sub-head i { transform: rotate(180deg); }
.sol-sub-body {
  display: none;
  padding: 10px 13px;
  font-size: .82rem; color: var(--gray-600); line-height: 1.6;
  background: var(--white);
}
.sol-sub-item.open .sol-sub-body { display: block; }

/* ================================================
   ABOUT
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: start;
}
.about-text h2 { margin-bottom: 18px; }
.about-text p  { color: var(--gray-400); font-size: .98rem; line-height: 1.8; }
.about-text p + p { margin-top: 14px; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.hl-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; font-weight: 500; color: var(--gray-600);
}
.hl-item i { color: var(--green); width: 16px; text-align: center; }

.founders { display: flex; gap: 12px; margin-top: 28px; }
.founder {
  flex: 1;
  display: flex; align-items: center; gap: 12px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 14px 16px;
}
.founder-av {
  width: 42px; height: 42px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .85rem;
  flex-shrink: 0;
}
.founder-av--photo {
  width: 100px; height: 100px;
  background: none;
  overflow: hidden;
  border: 2px solid var(--green);
}
.founder-av--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-info b  { display: block; font-size: .85rem; color: var(--gray-900); }
.founder-info small { font-size: .76rem; color: var(--gray-400); }

.about-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.about-visual::before {
  content: '';
  position: absolute;
  width: 70%; height: 70%;
  background: var(--green-light);
  border-radius: 50%;
  opacity: .5;
}
.about-visual img { position: relative; z-index: 1; }

/* ================================================
   TIMELINE — Nossa história
   ================================================ */
.tl-wrap {
  width: 100%;
  max-height: 900px;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 4px 10px 10px 4px;
}
.tl-wrap::-webkit-scrollbar { display: none; }
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green) 70%, rgba(115,184,78,.15));
}
.tl-item {
  position: relative;
  margin-bottom: 20px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -32px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .52rem;
  color: #fff;
  z-index: 1;
}
.tl-featured .tl-dot {
  width: 22px;
  height: 22px;
  left: -34px;
  top: 12px;
  font-size: .6rem;
  background: var(--green-dark);
  box-shadow: 0 0 0 2px var(--green-dark), 0 0 0 5px rgba(115,184,78,.18);
}
.tl-future .tl-dot {
  background: var(--white);
  border: 2px solid var(--green);
  box-shadow: 0 0 0 2px rgba(115,184,78,.25);
  color: var(--green);
  font-size: .55rem;
}
.tl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 12px 16px;
  box-shadow: var(--shadow-s);
  transition: box-shadow .2s, transform .15s;
}
.tl-card:hover {
  box-shadow: var(--shadow-m);
  transform: translateX(3px);
}
.tl-date {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 3px;
}
.tl-card h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
}
.tl-card p {
  font-size: .78rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin: 0;
}
.tl-card--group .tl-entry + .tl-entry { margin-top: 0; }
.tl-divider {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 10px 0;
}
.tl-featured .tl-card {
  border-color: rgba(115,184,78,.4);
  background: var(--green-light);
}
.tl-featured .tl-card h4 { color: var(--green-dark); }
.tl-future .tl-card {
  border-style: dashed;
  opacity: .65;
}
.tl-current .tl-dot {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green-dark), 0 0 0 5px rgba(115,184,78,.18);
}
.tl-current .tl-card {
  border-color: rgba(115,184,78,.3);
  background: var(--green-light);
}
.tl-current .tl-card h4 { color: var(--green-dark); }
.tl-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.tl-logo-label {
  font-size: .65rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tl-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 28px;
  border-radius: 4px;
  font-size: .6rem;
  color: var(--gray-400);
  border: 1px dashed var(--border);
  background: var(--gray-100);
}
.tl-logo-arrow {
  font-size: .8rem;
  color: var(--green);
}

/* ================================================
   LIGHTBOX
   ================================================ */
.overlay--dark { background: rgba(0,0,0,.88); }
.lightbox-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 90vh;
}
.lightbox-box img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 72px rgba(0,0,0,.6);
  display: block;
}
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.img-sw-panels .img-sw-panel.active { cursor: zoom-in; }

/* ================================================
   CTA BANNER
   ================================================ */
.cta-strip { background: var(--green); padding: 64px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.cta-inner h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-inner p  { color: rgba(255,255,255,.82); margin-top: 6px; font-size: .95rem; }

/* ================================================
   CONTACT
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 18px; }
.c-item { display: flex; gap: 14px; align-items: flex-start; }
.c-icon {
  width: 44px; height: 44px;
  background: var(--green-light);
  border-radius: var(--r-s);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 1.05rem;
  flex-shrink: 0;
}
.c-text b { display: block; font-size: .83rem; font-weight: 700; color: var(--gray-900); margin-bottom: 3px; }
.c-text a, .c-text p { font-size: .9rem; color: var(--gray-400); line-height: 1.5; }
.c-text a:hover { color: var(--green); }

.socials { display: flex; gap: 9px; margin-top: 24px; }
.soc-link {
  width: 40px; height: 40px;
  background: var(--green-light);
  border-radius: var(--r-s);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 1rem;
  transition: var(--t);
}
.soc-link:hover { background: var(--green); color: var(--white); }

.map-wrap {
  border-radius: var(--r-m);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-s);
}
.map-wrap iframe { width: 100%; height: 380px; border: none; display: block; }

/* ================================================
   FOOTER
   ================================================ */
#site-footer {
  background: #1e1e1e;
  color: #888;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 28px;
}
.footer-brand img { height: 100px; width: auto; }
.footer-brand p  { font-size: .85rem; color: #666; line-height: 1.7; margin-top: 14px; max-width: 300px; }
.footer-dponet { margin-top: 50px; padding-left: 15px; }
.footer-dponet a { display: inline-block; }
.footer-dponet img { height: 52px; width: auto; opacity: .75; transition: opacity .2s; }
.footer-dponet img:hover { opacity: 1; }

.footer-col h4 {
  color: #ccc;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { color: #666; font-size: .86rem; transition: var(--t); }
.footer-col ul a:hover { color: var(--green); }

.footer-bottom { text-align: center; font-size: .8rem; color: #444; }

/* ================================================
   SUPPORT MODAL
   ================================================ */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.overlay.open { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--r-l);
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-l);
  overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 1.05rem; }
.modal-close-btn {
  background: none; border: none;
  font-size: 1.2rem;
  color: var(--gray-300);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--r-s);
  transition: var(--t);
}
.modal-close-btn:hover { background: var(--gray-100); color: var(--gray-600); }

.modal-body { padding: 26px; }

.sup-options { display: flex; flex-direction: column; gap: 10px; }
.sup-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-m);
  cursor: pointer;
  color: var(--gray-600);
  transition: var(--t);
}
.sup-opt:hover { border-color: var(--green); background: var(--green-light); color: var(--gray-600); }
.sup-opt img  { height: 32px; width: auto; object-fit: contain; flex-shrink: 0; }
.sup-opt-txt span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 1px; }
.sup-opt-txt small { color: var(--gray-400); font-size: .78rem; }
.sup-opt-arr { margin-left: auto; color: var(--gray-300); font-size: .85rem; }

/* RustDesk form */
.rd-form { display: none; }
.rd-form.active { display: block; }
.back-btn {
  background: none; border: none;
  font-size: .83rem; color: var(--gray-400);
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  padding: 0; margin-bottom: 18px;
  transition: var(--t);
}
.back-btn:hover { color: var(--gray-600); }

.form-lbl { display: block; font-size: .82rem; font-weight: 600; color: var(--gray-900); margin-bottom: 5px; }
.form-inp {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-s);
  font-size: .9rem; font-family: var(--font);
  color: var(--gray-600);
  outline: none; transition: var(--t);
  margin-bottom: 12px;
}
.form-inp:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(115,184,78,.15); }

.form-msg {
  font-size: .82rem;
  padding: 9px 13px;
  border-radius: var(--r-s);
  display: none; margin-bottom: 12px;
}
.form-msg.ok       { display: block; background: var(--green-light); color: var(--green-dark); }
.form-msg.ok  a    { color: var(--green-dark); font-weight: 700; text-decoration: underline; }
.form-msg.ok  a:hover { color: var(--gray-900); }
.form-msg.err      { display: block; background: #ffeaea; color: #c0000a; }
.form-msg.err span { color: #c0000a; }

/* ================================================
   RESPONSIVE
   ================================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root { --sec: 68px 0; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid .sol-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 11px);
    margin: 0 auto;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .about-grid { gap: 44px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --sec: 52px 0; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }


  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "tagline" "visual" "text";
    gap: 28px;
    text-align: center;
  }
  .hero-tagline { justify-self: center; margin-left: 0; }
  .hero-chips, .hero-btns { justify-content: center; }
  #hero-photo { height: 260px; }
  .hero-visual::before { height: 260px; }

  .features-grid   { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: 1fr; }
  .sol-grid        { grid-template-columns: 1fr; }
  .sol-grid .sol-card:last-child { grid-column: auto; max-width: 100%; }

  .about-grid  { grid-template-columns: 1fr; gap: 32px; }
  .about-highlights { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .tl-wrap { display: block; max-height: none; overflow-y: visible; }
  .srv-body-split,
  .srv-card.fw.open .srv-body-split { grid-template-columns: 1fr !important; }
  .srv-body-img { order: 2; }

  .cta-inner { flex-direction: column; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .founders { flex-direction: column; }
  .nav-inner { height: 64px; }
  .mobile-menu { top: 64px; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 10px; }


/* ================================================
   TRBACKUP — "Conheça o TRBackup" button
   ================================================ */
.btn-trbackup-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 8px 18px;
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  font-family: var(--font);
}
.btn-trbackup-more:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

/* Wide modal variant */
.modal-box--wide {
  max-width: 900px;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}
.modal-box--wide::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* ================================================
   TRBACKUP MODAL — Carousel
   ================================================ */
.trb-carousel {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e4e4e4;
  margin-bottom: 20px;
  background: #f7f7f7;
}
.trb-slides { position: relative; }
.trb-slide { display: none; }
.trb-slide.active { display: block; }
.trb-slide-label {
  display: block;
  font-size: .72rem;
  color: #bbb;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 14px 6px;
}
.trb-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.trb-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px;
  background: rgba(0,0,0,.03);
}
.trb-nav-btn {
  background: var(--green);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  transition: background .2s;
  flex-shrink: 0;
}
.trb-nav-btn:hover { background: var(--green-dark); }
.trb-dots { display: flex; gap: 8px; }
.trb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background .2s;
}
.trb-dot.active { background: var(--green); }

/* ================================================
   TRBACKUP MODAL — Feature highlights
   ================================================ */
.trb-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.trb-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .83rem;
  color: var(--gray-600);
  background: var(--green-light);
  border-radius: 8px;
  padding: 10px 14px;
  line-height: 1.3;
}
.trb-feat i {
  color: var(--green);
  font-size: .95rem;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .trb-features { grid-template-columns: 1fr; }
  .modal-box--wide { max-width: 100%; }
}

/* ================================================
   IMAGE SWITCHER — Gerenciamento PROATIVO
   ================================================ */
.img-switcher {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.img-sw-tabs {
  display: flex;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}
.img-sw-tab {
  flex: 1;
  padding: 8px 10px;
  border: none;
  background: transparent;
  font-size: .76rem;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
  font-family: var(--font);
  border-bottom: 2px solid transparent;
}
.img-sw-tab:hover { color: var(--green-dark); }
.img-sw-tab.active {
  color: var(--green-dark);
  background: #fff;
  border-bottom-color: var(--green);
}
/* TRBackup modal — contact line */
.trb-contact {
  margin-top: 18px;
  font-size: .83rem;
  color: var(--gray-400);
  text-align: center;
}
.trb-contact a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}
.trb-contact a:hover { text-decoration: underline; }

.img-sw-panels { background: #f9f9f9; }
.img-sw-panels .img-sw-panel { width: 100%; display: none; }
.img-sw-panels .img-sw-panel.active { display: block; }
