/*
 * MARCA EFT BRASIL — Sistema de Design
 * ======================================
 * Variáveis, reset, tipografia, utilitários e animações compartilhados
 * por todas as páginas do site.
 *
 * Para alterar cores ou fontes do site inteiro: edite este arquivo.
 * Estilos específicos de cada página ficam inline na própria página.
 */

/* ============================================================
   VARIÁVEIS DA MARCA
   ============================================================ */
:root {
  /* Cores */
  --navy:    #212D54;   /* Azul escuro — fundo principal, textos */
  --green:   #00826E;   /* Verde — cor de ação, CTAs primários */
  --teal:    #68C6B8;   /* Teal — destaques e ícones */
  --beige:   #EFF0E3;   /* Bege — fundo claro */
  --lavender:#AEA8F4;   /* Lavanda — badge Elite */
  --salmon:  #F2BF9B;   /* Salmão — seção terapias */
  --lime:    #E8FF83;   /* Lima — destaques em fundo escuro */

  /* Tipografia */
  --f-body:  'Figtree', system-ui, sans-serif;
  --f-serif: 'Aleo', Georgia, serif;

  /* Layout */
  --w: 1160px;          /* Largura máxima do conteúdo */
}

/* ============================================================
   RESET BÁSICO
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   BASE DO BODY
   ============================================================ */
body {
  font-family: var(--f-body);
  background: var(--beige);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   UTILITÁRIOS DE LAYOUT
   ============================================================ */
.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  padding: 16px 30px;
  cursor: pointer;
  transition: all .22s;
  border: none;
}

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover {
  background: #006558;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,130,110,.4);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.82);
  border: 1.5px solid rgba(255,255,255,.22);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.07);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: #1a2444;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--green);
  font-weight: 800;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.btn svg {
  flex-shrink: 0;
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 5px;
  margin-bottom: 18px;
}

.tag-green   { color: var(--green);   background: rgba(0,130,110,.09); }
.tag-teal    { color: #068c7c;        background: rgba(104,198,184,.18); }
.tag-lime    { color: #6a8a00;        background: rgba(232,255,131,.2); }
.tag-navy    { color: var(--navy);    background: rgba(33,45,84,.1); }
.tag-white   { color: rgba(255,255,255,.75); background: rgba(255,255,255,.1); }

/* ============================================================
   TIPOGRAFIA DE SEÇÃO
   ============================================================ */
h2.sh {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.3px;
  margin-bottom: 18px;
}
h2.sh em {
  font-family: var(--f-serif);
  font-style: italic;
}

.body-text {
  font-size: 18px;
  color: rgba(33,45,84,.72);
  line-height: 1.78;
  margin-bottom: 14px;
}

.body-text-white {
  font-size: 18px;
  color: rgba(255,255,255,.68);
  line-height: 1.78;
  margin-bottom: 14px;
}

/* ============================================================
   ANIMAÇÕES DE SCROLL (reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
  will-change: opacity, transform;
}
.reveal.on {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* ============================================================
   ANIMAÇÕES DE ENTRADA (hero)
   ============================================================ */
@keyframes up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

/* ============================================================
   NAV FORÇADA ESCURA (para páginas sem hero photo)
   ============================================================ */
body.nav-dark .nav {
  background: var(--navy);
}

/* ============================================================
   VÍDEO RESPONSIVO (artigos com embed YouTube)
   ============================================================ */
.article-video-wrap { max-width: 760px; margin: -40px auto 0; padding: 0 40px; position: relative; z-index: 2; }
.article-video-responsive { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 48px rgba(33,45,84,.25); }
.article-video-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.article-featured-img { max-width: 760px; margin: -40px auto 0; padding: 0 40px; position: relative; z-index: 2; }
.article-featured-img img { width: 100%; border-radius: 16px; box-shadow: 0 12px 48px rgba(33,45,84,.25); }
@media(max-width:600px) {
  .article-video-wrap, .article-featured-img { padding: 0 20px; margin-top: -24px; }
}
