/* ===== Paleta Sysmoza (tom do logo) ===== */
:root{
  --primary:#0A1F2C;     /* fundo azul escuro */
  --primary2:#103247;    /* azul profundo/rodapé */
  --accent:#00B4C8;      /* ciano do logo (principal) */
  --accent-2:#4FD7E3;    /* ciano claro para hover/foco */
  --text:#E8F0F8;        /* texto */
  --text-dim:#A9B6C6;    /* texto secundário */
  --sidebar:#0E121B;     /* menu lateral */
}
/* Botões e links no tom do logo */
.button,.actions .button{ background:var(--accent); color:#00282A!important; }
.button:hover{ filter:brightness(1.08); transform:translateY(-2px); }
a{ color:var(--accent); }
a:hover{ color:var(--accent-2); }

/* Secções uniformes (elimina qualquer roxo remanescente) */
.wrapper.style1,.wrapper.style2,.wrapper.style3{
  background:linear-gradient(180deg,var(--primary) 0%, var(--primary2) 100%);
  color:var(--text);
}
.wrapper.style1 strong,.wrapper.style2 strong,.wrapper.style3 strong{ color:var(--accent); }

/* Sidebar neutra (sem roxos) */
#sidebar{ background:var(--sidebar); color:var(--text-dim); }
#sidebar nav a:before{ background:#1A1F2B; }             /* linha base */
#sidebar nav a:after{ background:var(--accent); }        /* realce ativo */
#sidebar a{ color:var(--text-dim); }
#sidebar a:hover,#sidebar .active a{ color:var(--accent); }

/* Cards */
.features section{
  background:#0F2233; border:1px solid #14384F; border-radius:14px;
  box-shadow:0 4px 14px rgba(0,0,0,.25);
}
.features section:hover{ transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.4); }

/* Footer */
#footer{ background:var(--primary2); color:var(--text-dim); }
}

/* ===== Base e fontes ===== */
body {
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--text);
  background-color:var(--primary);
}

/* ===== Sidebar ===== */
#sidebar {
  background: var(--sidebar);
  color: var(--text-dim);
}
#sidebar a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}
#sidebar a:hover, #sidebar .active a {
  color: var(--accent);
}
#brand{ margin:0 0 1.5rem 0; }
#brand img{
  width: 2250px;           /* ajusta se quiseres maior/menor */
  height: auto;
  display: block;
  margin-left: auto;      /* alinha à direita como o menu */
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
  image-rendering: -webkit-optimize-contrast;
}

/* Em ecrãs pequenos (quando o sidebar some), mostra o logo no topo */
@media (max-width:1280px){
  #top-brand{
    position: fixed;
    left: 14px; top: 10px; z-index: 10001;
  }
  #top-brand img{ width: 120px; }
}

/* ===== Botões ===== */
.button, .actions .button {
  background: var(--accent);
  color: #002822 !important;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  padding: 0.9rem 1.6rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: all 0.2s ease;
}
.button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.button.button-alt {
  background:#ffffff;
  color: var(--primary2) !important;
}

/* ===== HERO com fundo original ===== */
.hero {
  background-image: url('../../images/hero.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero:before {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,30,45,.7), rgba(11,30,45,.9));
}
.hero .inner { position: relative; z-index: 1; }
.hero h1, .hero p { color: var(--text); }
.hero p { color: var(--text-dim); }

/* ===== Secções (uniformes com o hero) ===== */
.wrapper.style1,
.wrapper.style2,
.wrapper.style3 {
  background: linear-gradient(180deg, #0B1E2D 0%, #102F46 100%);
  color: var(--text);
}
.wrapper.style1 h2,
.wrapper.style2 h2,
.wrapper.style3 h2 {
  color: var(--text);
  font-weight: 700;
}
.wrapper.style1 strong,
.wrapper.style2 strong,
.wrapper.style3 strong {
  color: var(--accent);
}
.wrapper.style1 a,
.wrapper.style2 a,
.wrapper.style3 a {
  color: var(--accent);
}
.wrapper.style1 .button,
.wrapper.style2 .button,
.wrapper.style3 .button {
  background: var(--accent);
  color: #002822 !important;
}

/* ===== Cartões ===== */
.features section {
  background: #0F2233;
  border: 1px solid #14384F;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: all 0.25s ease;
}
.features section:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

/* ===== Links ===== */
a { color: var(--accent); transition: color .2s ease; }
a:hover { color: #00F4C8; }

/* ===== Footer ===== */
#footer {
  background: #0B1E2D;
  color: var(--text-dim);
  font-size: 0.9rem;
}
/* anula os fundos roxos herdados */
.wrapper.alt,
.wrapper.style1,
.wrapper.style1-alt,
.wrapper.style2,
.wrapper.style2-alt,
.wrapper.style3,
.wrapper.style3-alt {
  background: linear-gradient(180deg, #0B1E2D 0%, #102F46 100%) !important;
}




/* Remove logo duplicado do topo */
#top-brand {
  display: none !important;
}

/* 1) "Quem somos": remover os blocos roxos dos spotlights */
.spotlights > section > .image,
.spotlights > section > .image:before{
  background: transparent !important;
}
.spotlights > section > .image:before{ opacity: 0 !important; }
.spotlights > section > .image{ width: 0 !important; display: none !important; }

/* 2) Barra roxa no topo: o #header é do tema base, força transparência */
#header{
  background: transparent !important;
  box-shadow: none !important;
}

/* 3) Logo: mantém apenas o do sidebar e alinha direitinho */
#top-brand{ display: none !important; }        /* evita duplicação em desktop */
#brand{ margin: 0 0 1.5rem 0; }
#brand img{
  width: 250px;           /* aumenta/diminui aqui se quiseres */
  height: auto;
  display: block;
  margin-left: auto;      /* alinha à direita, como o menu */
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
/* ===== Ícones dos cards (corrigido e alinhado) ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
}

.features section {
  position: relative;
  background: #0F2233;
  border: 1px solid #14384F;
  border-radius: 14px;
  padding: 50px 20px 25px 20px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: all 0.25s ease;
}

.features section:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

/* bolinhas azuis e alinhadas */
.features section .icon {
  background: var(--accent);
  color: #00282A;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  position: absolute;
  top: -26px;
  left: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

/* Texto mais limpo e alinhado */
.features section h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
}
.features section p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 6px;
}

/* Ícones Font Awesome (substituem os antigos círculos roxos) */
.features section:nth-child(1) .icon::before { content: "\f5dc"; } /* fa-brain */
.features section:nth-child(2) .icon::before { content: "\f132"; } /* fa-shield-alt */
.features section:nth-child(3) .icon::before { content: "\f201"; } /* fa-chart-line */
.features section:nth-child(4) .icon::before { content: "\f6ff"; } /* fa-network-wired */
.features section:nth-child(5) .icon::before { content: "\f085"; } /* fa-cogs */
.features section:nth-child(6) .icon::before { content: "\f233"; } /* fa-server */
.features section:nth-child(7) .icon::before { content: "\f590"; } /* fa-headset */
.features section:nth-child(8) .icon::before { content: "\f542"; } /* fa-project-diagram */

/* ===== Corrigir ícones dos cards (O que fazemos) ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 25px;
}

.features section {
  background: #0F2233;
  border: 1px solid #14384F;
  border-radius: 14px;
  padding: 60px 25px 30px 25px;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: all 0.25s ease;
}

.features section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

/* Ícones: círculos azul Sysmoza */
.features .icon {
  position: absolute;
  top: -28px;
  left: 25px;
  background: var(--accent);
  color: #00282A;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

/* Remove o estilo roxo original do tema */
.icon.solid.major::before {
  background: none !important;
  box-shadow: none !important;
}

/* Títulos e textos */
.features section h3 {
  margin-top: 10px;
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 700;
}

.features section p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Responsividade */
@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
  }
  .features section {
    padding: 55px 20px 25px 20px;
  }
  .features .icon {
    left: 50%;
    transform: translateX(-50%);
  }
  .features section h3 {
    text-align: center;
  }
  .features section p {
    text-align: center;
  }
}
/* ===== Reset total do layout nativo das features ===== */
.wrapper .features{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 28px !important;

  /* remove o “quadro” e o fundo roxo antigo */
  background: transparent !important;
  border: 0 !important;
  margin: 20px 0 0 0 !important;
  padding: 0 !important;
}

/* anula regras antigas de largura/bordas do tema */
.wrapper .features section{
  width: auto !important;
  border: 1px solid #14384F !important;
  background: #0F2233 !important;
  border-radius: 14px !important;
  padding: 60px 24px 24px 24px !important; /* espaço para o ícone */
  position: relative !important;

  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wrapper .features section:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

/* remove as bordas herdadas por nth-child do tema */
.wrapper .features section:nth-child(-n + 2),
.wrapper .features section:nth-child(2n){
  border-left: 1px solid #14384F !important;       /* nossa borda, não a do tema */
}

/* ===== Ícones (Font Awesome) uniformes ===== */
.wrapper .features .icon{
  position: absolute !important;
  top: -28px !important;
  left: 24px !important;

  background: var(--accent) !important;
  color: #00282A !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;

  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

/* limpa o disco roxo original */
.icon.solid.major::before{
  background: none !important;
  box-shadow: none !important;
}

/* Títulos e texto dentro dos cards */
.wrapper .features section h3{
  margin-top: 6px !important;
  font-size: 1.15rem !important;
  color: var(--text) !important;
  font-weight: 700 !important;
}
.wrapper .features section p{
  color: var(--text-dim) !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}

/* Responsivo */
@media (max-width: 768px){
  .wrapper .features{
    grid-template-columns: 1fr !important;
  }
  .wrapper .features .icon{
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .wrapper .features section h3,
  .wrapper .features section p{
    text-align: center !important;
  }
}
/* Contacto simples */
.contact-simple h2{ text-align:center; }
.contact-simple .divider{
  width:72px;height:3px;margin:.5rem auto 1.25rem;
  background:var(--accent); border-radius:6px;
}
.contact-simple .lead{
  text-align:center; color:var(--text-dim); max-width:960px; margin:0 auto 1.75rem;
}

.contact-grid{
  display:grid; gap:1.25rem; place-items:center;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  max-width:820px; margin:0 auto;
}
@media (max-width:700px){
  .contact-grid{ grid-template-columns:1fr; }
}

.contact-card{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:#0F2233; border:1px solid #14384F; border-radius:14px;
  padding:22px 18px; width:100%; text-align:center;
  box-shadow:0 4px 14px rgba(0,0,0,.25); transition:transform .18s ease, box-shadow .18s ease;
  color:var(--text); text-decoration:none; border-bottom:0;
}
.contact-card:hover{ transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.4); }

.contact-card .icon{
  font-size:2rem; line-height:1; display:inline-block;
  width:64px;height:64px;border-radius:50%;
  background:var(--accent); color:#00282A;
  display:grid; place-items:center; margin-bottom:.6rem;
}
.contact-card .label{ font-size:.9rem; color:var(--text-dim); }
.contact-card .value{ font-weight:700; margin-top:.15rem; color:var(--text); }

/* Correção alinhamento de texto nos botões */
.button,
.actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
  padding: 0.85rem 1.6rem; /* ligeiro ajuste vertical */
  letter-spacing: 0.03em;   /* menos espaçamento */
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 40px;
  border: none;
  background: var(--accent);
  color: #002822 !important;
  transition: all 0.2s ease;
}

.button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
/* Secção de clientes / parceiros */

/* Secção de Clientes / Parceiros */
#clients {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, #041824 0%, #021018 100%);
  width: 100%;
}

#clients .inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

#clients h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  position: relative;
}

#clients h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #00c8e0;
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.client-logos img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(0.95);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-logos img:hover {
  opacity: 1;
  transform: scale(1.08);
}

@media (max-width: 768px) {
  #clients {
    padding: 4rem 0;
  }

  .client-logos {
    gap: 2rem;
  }

  .client-logos img {
    max-height: 45px;
  }
}
#one h3 {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
/* ==== Footer fix ==== */
#footer {
  background: linear-gradient(180deg, #0b1f2e 0%, #081926 100%);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

#footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

#footer .menu li {
  display: inline-block;
  margin: 0 0.4em;
}

#footer .menu a {
  color: #00d1d1;
  text-decoration: none;
  transition: 0.3s;
}

#footer .menu a:hover {
  color: #00ffff;
}

body.is-preload #footer {
  opacity: 1 !important;
}

/* evita corte do footer */
#wrapper {
  overflow: visible !important;
}
