/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Suaviza a rolagem para âncoras do header */
html {
  scroll-behavior: smooth;
}

body {
  background-color: white;
  font-family: Arial, sans-serif;
  width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== TOPBAR / NAV ===== */
.topbar {
  background: #000B1E;
  color: #fff;
  border-bottom: 1px solid rgba(230,241,255,.12);
}
.topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand img { height: 90px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(49,226,180,.25)); }

.menu { list-style: none; display: flex; gap: 18px; align-items: center; }
.menu a { color: #E6F1FF; opacity: .9; text-decoration: none; padding: 8px 10px; border-radius: 999px; transition: color .25s ease, background .25s ease; }
.menu a:hover { color: #31E2B4; background: rgba(49,226,180,.10); }

/* ===== HERO (reutilizável) ===== */
.hero {
  text-align: center;
  padding: 48px 6vw 36px;
  color: #fff;
  background:
    radial-gradient(900px 420px at 60% -15%, rgba(49,226,180,.14), transparent 60%),
    #000B1E;
}


/* Faz as seções com .hero dentro de <article> “sangrarem” até a borda,
   compensando o padding do <article> (5vh 10vw) */
.hero-section {
  margin-left: -10vw;
  margin-right: -10vw;
}

h1 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 1rem; text-shadow: 0 2px 18px rgba(49,226,180,.18); }
#desc { font-size: clamp(1rem, 1.5vw, 1.4rem); margin: 0 auto 2rem; max-width: 880px; color: #cfe0ff; }

.btns { display: flex; flex-direction: column; gap: 1rem; align-items: center; }

/* Botões (links estilizados) */
#primeirobotao,
#segundobotao,
#terceirobotao,
#quartobotao {
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  max-width: 360px;
  width: 80%;
  display: inline-block;
  text-align: center;
}

#primeirobotao { background-color: #31E2B4; color: #001219; }
#primeirobotao:hover { background-color: #01A3B2; }

#segundobotao {
  background-color: transparent;
  color: #E6F1FF;
  border: 1px solid rgba(230,241,255,.25);
}
#segundobotao:hover { color: #31E2B4; border: 0px }

#terceirobotao {
  background-color: #31E2B4;
  color: #001219;
  margin: 3rem auto;
}
#terceirobotao:hover { background-color: #01A3B2; }

#quartobotao {
  background-color: #31E2B4;
  color: #001219;
  text-decoration: none;
}
#quartobotao:hover { background-color: #01A3B2; }

/* ===== TÍTULOS SECUNDÁRIOS ===== */
h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  margin: 3rem auto 2.5rem;
  max-width: 900px;
}


/* ===== Reveal on Scroll para títulos de seção ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Variações opcionais de atraso (para estagiar elementos, se quiser no futuro) */
[data-reveal-delay="100"] { transition-delay: .1s; }
[data-reveal-delay="200"] { transition-delay: .2s; }
[data-reveal-delay="300"] { transition-delay: .3s; }

/* Acessibilidade: usuários que preferem menos movimento veem tudo já visível */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

article { padding: 5vh 10vw; text-align: center; }

h3, h4, h5, h6 { margin: 3rem 0 1.5rem; font-size: clamp(1.2rem, 2vw, 2rem); }

/* ===== SEÇÃO PORQUE ECCOVALUE ===== */
.razoes {
  display: flex;
  justify-content: center;
  align-items: center;   
  gap: 2.75rem;                   
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 2.5rem 0;
  max-width: 1100px;             
  margin-left: auto;              
  margin-right: auto;
}

.razoes div:not(.razoes-media) {
  flex: 1 1 520px;
  max-width: 560px;
  text-align: left;
  font-size: clamp(1rem, 1.6vw, 1.25rem); 
  line-height: 2;              
  white-space: nowrap;         
}

section#porque {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
  padding-left: 6vw;              
  padding-right: 6vw;
}

.razoes div p {
  margin: 0 0 0.75rem 0;       /* espaço entre itens */
  position: relative;
  padding-left: 2rem;          /* espaço para o ícone */
}

/* Ícone SVG de check verde aplicado via pseudo-elemento */
.razoes div p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.2rem;
  height: 1.2rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%2331E2B4' viewBox='0 0 24 24'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center center;
  background-size: contain;
}

/* Moldura para a imagem da seção “Por que EccoValue” */
.razoes-media{
  width: 210px;
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;                          /* corta cantos para o raio valer */
  background:
    radial-gradient(560px 260px at 70% -20%, rgba(49,226,180,.08), transparent 60%),
    rgba(230,241,255,.02);                   /* fundo suave, como os cards */
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));  /* profundidade consistente */
}
.razoes-media img#imgrazao{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;                          /* enche a moldura (fica premium) */
}


/* Ajustes finos por breakpoint */
@media (min-width: 1400px) {
  .razoes-media{ width: 240px; }
}
@media (max-width: 900px){
  .razoes{
    gap: 1.75rem;
    max-width: 92vw;
  }
  .razoes-media{
    width: min(210px, 90%);
    margin: 1rem auto 0;        /* centraliza abaixo do texto no empilhamento */
  }
}

/* ===== GRIDS DE CARDS ===== */
.cards1,
.cards2,
.cards3 {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

/* Card genérico para aplicar neon-hover igualmente */
.card, .post { border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,0,0,.06); }
.cards1 img { max-width: 200px; width: 20vw; border-radius: 15px; }
.cards3 img { width: 200px; height: auto; border-radius: 15px; display: block; }
.cards1 p { margin-top: 0.5rem; font-size: 1rem; }

.cards2 img.logo {
  height: 32px;     /* metade do que você tinha antes */
  width: auto;      /* mantém proporção */
  object-fit: contain;
  border-radius: 8px;
}


/* ---------- INSIGHTS (cards clicáveis) ---------- */
/* Faz <a class="post"> virar um card clicável sem “azul sublinhado” */
.cards3 .post{
  display: block;
  width: 200px;              /* título não passa da largura da imagem */
  text-decoration: none;
  color: inherit;
}
.cards3 .post:link,
.cards3 .post:visited{ color: inherit; text-decoration: none; }
.cards3 .post h3{
  font-size: 16px;
  margin: 10px 0 0;
  line-height: 1.35;
  color: #E6F1FF;            /* melhor contraste sobre o fundo escuro da seção */
}
.cards3 .post:hover h3{ color: #31E2B4; }

/* cada slot de logo com mesma caixa */
.logo-box{
  width: 240px;   /* largura fixa do slot */
  height: 120px;  /* altura fixa do slot */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230,241,255,.02);
  border: 1px solid rgba(230,241,255,.06);
  border-radius: 12px;
}

/* imagem continua controlada por altura */
.logo-box .logo{
  height: 32px;
  width: auto;
  object-fit: contain;
}


/* ===== CTA ===== */
.callout {
  background-color: #000B1E;
  border: 4px solid #31E2B4;
  border-radius: 15px;
  padding: 2rem;
  margin: 5rem auto;
  max-width: 900px;
  color: white;
}
#callout-title { font-size: clamp(1.3rem, 2.2vw, 2rem); margin-bottom: 1rem; }

/* ===== PÁGINA DE ARTIGO ===== */
.article-wrap{
  max-width: 960px;
  margin: 0 auto;               /* centraliza o conteúdo */
  padding: 2rem 20px 3rem;
}
.article-wrap header{ text-align: center; margin-bottom: 1rem; }
.article-wrap h1{
  margin: 2rem 0 .5rem;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}
.article-wrap .muted{ color: #5b6b7a; margin-top: .5rem; }
.article-wrap h2{ margin-top: 2rem; }
/* Bullets e espaçamentos uniformes em todas as listas do artigo */
.article-wrap ul{ list-style: disc; padding-left: 1.25rem; margin: .75rem 0 1rem; }
.article-wrap li{ margin: .5rem 0; padding-left: .1rem; }
.article-wrap li::marker{ color: #31E2B4; }
.article-wrap p{ margin: .75rem 0; }
.cta-bottom{ margin: 2rem 0 3rem; }
.btn-primary{
  display:inline-flex; padding:12px 18px; border-radius:12px;
  background:#31E2B4; color:#001219; text-decoration:none; font-weight:600;
}

/* Rodapé estilizado para páginas internas (artigo) */
.site-footer{ background:#000B1E; color:#E6F1FF; }
footer-grid{
  max-width: 1200px; margin: 0 auto; padding: 24px 20px;
  display:grid; grid-template-columns: 1.5fr 1fr; gap:16px; align-items:flex-start;
}
.footer-links{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.footer-links a:link,
.footer-links a:visited{ color:#cfe0ff; text-decoration:none; }
.footer-links a:hover{ color:#31E2B4; }

/* ===== FOOTER ===== */
footer{
  background:#000;
  color:#fff;
  padding:2rem 10vw;
  display:grid;
  grid-template-columns: 1fr auto 1fr;  /* logo left | texto center | linkedin right */
  align-items:center;
  gap:1rem;
}
/* Esquerda: logo EccoValue */
footer .brand-footer{ justify-self:start; display:inline-flex; }
#logo{ height:70px; width:auto; }

/* Centro: copyright */
.footer-copy{
  font-size:.95rem;
  color:#ccc;
  text-align:center;
  margin:0;                 /* zera margens do <p> */
}

/* Direita: LinkedIn */
footer .social{ justify-self:end; }
#link{
  width:50px; height:50px; border-radius:50%;
  transition: filter .25s ease, transform .2s ease;
  /* estado padrão: cinza suave */
  filter: grayscale(1) brightness(1.1);
}
#link:hover{
  /* volta para a cor original (azul #0A66C2 da imagem) e dá um toque sutil */
  filter:none;
  transform: translateY(-1px);
}
#linkdesc { display:none; }

/* ===== HOVERS SUAVES (restaurados) ===== */
.item { transition: all 0.35s ease; }
.cards1:hover > :not(:hover),
.cards2:hover > :not(:hover),
.cards3:hover > :not(:hover) { opacity: .5; transform: scale(0.9); }

/* ===== EFEITO DE BORDA NEON (reutilizável) ===== */
/* inspirado no estilo neon dos arquivos enviados */
.neon-hover {
  position: relative;
  border: 1px solid rgba(230,241,255,.18);
  box-shadow: 0 0 0 rgba(49,226,180,0);
  transition: border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.neon-hover:hover {
  border-color: rgba(49,226,180,.55);
  box-shadow:
    0 0 6px rgba(49,226,180,.35),
    0 0 16px rgba(49,226,180,.25),
    0 8px 26px rgba(49,226,180,.18);
  transform: translateY(-2px);
}
