/* ════════════════════════════════════════
   ERYN — Consultoria & Tecnologia
   style.css
════════════════════════════════════════ */


/* ── VARIÁVEIS ─────────────────────────── */
:root {
  --primary:  #0F3D2E;   /* Verde profundo   */
  --accent:   #1FAA59;   /* Verde esmeralda  */
  --dark:     #111111;   /* Grafite          */
  --light:    #F5F5F5;   /* Branco gelo      */
  --white:    #ffffff;
  --gray:     #6B7280;   /* Cinza neutro     */
  --gray-lt:  #E5E7EB;   /* Cinza claro      */
  --gray-bg:  #F8FAF9;   /* Fundo levíssimo  */
}


/* ── RESET ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
}

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

a {
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}


/* ── TIPOGRAFIA ────────────────────────── */
.clash {
  font-family: 'Clash Display', 'Inter', sans-serif;
}

/* Gradiente no texto (palavras de destaque) */
.gtxt {
  background: linear-gradient(95deg, #1FAA59 0%, #4ADE80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── CONTAINER ─────────────────────────── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 0 5%;
}


/* ════════════════════════════════════════
   NAVBAR — só a logo, fundo transparente
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 66px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  background: transparent; /* sem fundo */
}


/* ════════════════════════════════════════
   WHATSAPP — Botão flutuante fixo
════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: #ffffff;
  border-radius: 50px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.42);
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 600;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

/* Texto aparece só em telas maiores */
.wa-float .wa-txt {
  display: none;
}

@media (min-width: 480px) {
  .wa-float .wa-txt {
    display: inline;
  }
}


/* ════════════════════════════════════════
   BOTÕES
════════════════════════════════════════ */

/* Botão principal com gradiente animado */
.btn {
  background: linear-gradient(135deg, #1FAA59 0%, #22C55E 50%, #1FAA59 100%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(31, 170, 89, 0.32);
  transition: background-position 0.5s ease, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:hover {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(31, 170, 89, 0.45);
}

/* Botão secundário (contorno) */
.btn-ghost {
  background: transparent;
  color: var(--light);
  border: 1.5px solid rgba(245, 245, 245, 0.22);
  padding: 14px 24px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: rgba(245, 245, 245, 0.55);
  background: rgba(255, 255, 255, 0.07);
}


/* ════════════════════════════════════════
   SCROLL REVEAL
   Elementos partem invisíveis e sobem.
   JS adiciona .visible quando entram na tela.
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity   0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Atrasos escalonados para cards em sequência */
.reveal[data-delay="100"] { transition-delay: 0.10s; }
.reveal[data-delay="200"] { transition-delay: 0.20s; }
.reveal[data-delay="300"] { transition-delay: 0.30s; }


/* ════════════════════════════════════════
   ANIMAÇÕES DO HERO
   Disparam ao carregar a página (não no scroll).
════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hi  { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1)        both; }
.hi2 { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s  both; }
.hi3 { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.30s  both; }
.hi4 { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s  both; }
.hi5 { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.60s  both; }


/* ── Cards hover ──────────────────────── */
.card {
  transition: transform 0.24s, box-shadow 0.24s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.12);
}


/* ── Grid ─────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}


/* ── Labels e títulos de seção ─────────── */
.s-label {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.s-title {
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
}

.s-sub {
  text-align: center;
  color: var(--gray);
  font-size: 16px;
  max-width: 530px;
  margin: 0 auto 56px;
  line-height: 1.82;
}

.s-sub.light {
  color: rgba(245, 245, 245, 0.58);
}


/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 55% at 90% 15%, rgba(31, 170, 89, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at  5% 90%, rgba(15,  61, 46, 0.70) 0%, transparent 65%),
    linear-gradient(135deg, #0F3D2E 0%, #092218 50%, #111111 100%);
  display: flex;
  align-items: center;
  padding: 100px 5% 80px;
  position: relative;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(31, 170, 89, 0.16) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 170, 89, 0.12);
  border: 1px solid rgba(31, 170, 89, 0.28);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-badge span {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: 500;
}

#hero h1 {
  font-size: clamp(34px, 5.5vw, 70px);
  font-weight: 700;
  color: var(--light);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}

#hero p.lead {
  font-size: clamp(15px, 1.8vw, 19px);
  color: rgba(245, 245, 245, 0.68);
  line-height: 1.82;
  max-width: 580px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 48px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.58);
}


/* ════════════════════════════════════════
   SEÇÕES
════════════════════════════════════════ */
.sec-green { padding: 88px 5%; background: var(--primary); }
.sec-white { padding: 88px 5%; background: var(--white);   }
.sec-gray  { padding: 88px 5%; background: var(--gray-bg); }


/* ── Caixas Dor / Solução ───────────── */
.pain-box {
  background: var(--white);
  border-radius: 16px;
  padding: 34px;
  border: 1px solid var(--gray-lt);
}

.sol-box {
  background: var(--primary);
  border-radius: 16px;
  padding: 34px;
}

.box-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 22px;
}

.box-label.red { color: #EF4444; }
.box-label.grn { color: var(--accent); }

.box-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
}

.box-item span { font-size: 14px; line-height: 1.6; }
.pain-txt { color: #374151; }
.sol-txt  { color: rgba(245, 245, 245, 0.82); }


/* ── Cards de Etapas ────────────────── */
.step-card {
  background: var(--gray-bg);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--gray-lt);
  height: 100%;
}

.step-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.step-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 170, 89, 0.14);
  color: var(--accent);
}

.step-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--accent);
  background: rgba(31, 170, 89, 0.12);
  padding: 3px 9px;
  border-radius: 100px;
}

.step-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(17, 17, 17, 0.3);
  margin-bottom: 6px;
}

.step-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}


/* ── Cards de Serviços ──────────────── */
.srv-card {
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  position: relative;
}

.srv-normal {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.srv-feat { background: var(--accent); }

.srv-pop {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.08em;
}

.srv-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.srv-tag   { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 6px; }
.srv-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; line-height: 1.25; }
.srv-desc  { font-size: 13px; line-height: 1.8; margin-bottom: 22px; }

.srv-pts {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.srv-feat .srv-pts { border-top-color: rgba(255, 255, 255, 0.18); }

.srv-pt  { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.srv-dot { width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0; }


/* ── Cards "Por que a Eryn" ─────────── */
.why-card {
  background: var(--gray-bg);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--gray-lt);
  display: flex;
  gap: 16px;
}

.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(31, 170, 89, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-title { font-size: 16px; font-weight: 600; margin-bottom: 7px; line-height: 1.35; }
.why-desc  { font-size: 13px; color: var(--gray); line-height: 1.78; }


/* ── Cards dos Fundadores ───────────── */
.founder-card {
  background: var(--primary);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: center;
}

/* Foto do Katriel — salve como katriel.jpg na pasta */
.founder-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid rgba(31, 170, 89, 0.4);
  flex-shrink: 0;
}

/* Avatar de iniciais (Matheus) */
.founder-av {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(31, 170, 89, 0.22);
  border: 2px solid rgba(31, 170, 89, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.founder-name  { font-size: 17px; font-weight: 700; color: var(--light); margin-bottom: 2px; }
.founder-role  { font-size: 11px; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 12px; }
.founder-links { display: flex; gap: 14px; flex-wrap: wrap; }
.founder-link  { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(245, 245, 245, 0.45); }


/* ── FAQ ──────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--gray-lt); }

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
}

.faq-q { font-size: 16px; font-weight: 600; color: var(--dark); line-height: 1.4; }

.faq-a {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.88;
  padding-bottom: 22px;
  padding-right: 28px;
  display: none;
}

.faq-a.open    { display: block; }
.faq-icon      { transition: transform 0.3s; flex-shrink: 0; color: var(--gray); }
.faq-icon.open { transform: rotate(180deg); }


/* ════════════════════════════════════════
   SEÇÃO CTA FINAL
════════════════════════════════════════ */
#contato {
  padding: 96px 5%;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(31, 170, 89, 0.14) 0%, transparent 70%),
    linear-gradient(135deg, #0F3D2E 0%, #111111 100%);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 170, 89, 0.13);
  border: 1px solid rgba(31, 170, 89, 0.28);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.cta-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--dark);
  padding: 56px 5% 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.82;
  margin-top: 16px;
  max-width: 260px;
}

.footer-contacts {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-contacts a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  transition: color 0.2s;
}

.footer-contacts a:hover { color: rgba(255, 255, 255, 0.65); }

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 18px;
}

.footer-list { display: flex; flex-direction: column; gap: 11px; }

.footer-list a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s;
}

.footer-list a:hover { color: rgba(255, 255, 255, 0.75); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 11px; color: rgba(255, 255, 255, 0.18); }


/* ════════════════════════════════════════
   SLIDER / CARROSSEL
   Desktop: flex-wrap → grid de 3 colunas
   Mobile:  scroll-snap horizontal
════════════════════════════════════════ */
.slider-wrap { position: relative; }

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  gap: 14px;
  cursor: grab;
  user-select: none;
}

.slider-track::-webkit-scrollbar { display: none; }
.slider-track.dragging { cursor: grabbing; }

.slide { scroll-snap-align: start; flex-shrink: 0; }

.slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--gray-lt);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.dot.active { width: 22px; background: var(--accent); }

/* Desktop: slider vira grid de 3 colunas */
@media (min-width: 768px) {
  .slider-track {
    flex-wrap: wrap;
    overflow: visible;
    cursor: default;
    gap: 18px;
  }
  .slider-track .slide {
    width: calc((100% - 36px) / 3) !important;
    min-width: 0 !important;
  }
  .slider-dots {
    display: none !important;
  }
}


/* ════════════════════════════════════════
   RESPONSIVO — Mobile
════════════════════════════════════════ */
@media (max-width: 768px) {
  .grid-2       { grid-template-columns: 1fr; }
  .hero-btns    { flex-direction: column; align-items: stretch; }
  .hero-trust   { display: none; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sec-green,
  .sec-white,
  .sec-gray     { padding: 64px 5%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}