/* =============================================
   STUDIO ELY 3D — Folha de Estilos Principal
   =============================================
   Índice:
   1. Variáveis & Reset
   2. Navbar
   3. Hero
   4. Strip de Números
   5. Seções (base)
   6. Sobre
   7. Portfólio
   8. Processo
   9. Contato & Formulário
   10. Footer
   11. Responsivo
============================================= */


/* ─────────────────────────────────────────
   1. VARIÁVEIS & RESET
───────────────────────────────────────── */
:root {
  --c:    #00CED1;   /* ciano principal */
  --o:    #FF8C00;   /* laranja principal */
  --t:    #007C80;   /* teal escuro */
  --w:    #ffffff;   /* branco */
  --g:    #F5F7F7;   /* cinza claro (fundo alternado) */
  --g2:   #E4ECEC;   /* cinza médio (bordas) */
  --dark: #111518;   /* texto principal / footer */
  --mid:  #5A6872;   /* texto secundário */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--w);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


/* ─────────────────────────────────────────
   2. NAVBAR
───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 206, 209, 0.15);
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 6%;
  justify-content: space-between;
}

.logo-text {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  color: var(--dark);
  text-decoration: none;
}
.logo-text .lc { color: var(--c); }
.logo-text .lo { color: var(--o); font-style: normal; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-menu a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--c); }

.nav-cta {
  background: var(--c);
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover {
  background: var(--t);
  transform: translateY(-1px);
}


/* ─────────────────────────────────────────
   3. HERO
───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  padding: 120px 6% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  background: var(--w);
  position: relative;
  overflow: hidden;
}

/* brilho de fundo suave */
#hero::after {
  content: '';
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 206, 209, 0.08) 0%,
    rgba(255, 140, 0, 0.04) 60%,
    transparent 80%
  );
  pointer-events: none;
}

.hero-eye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.hero-eye-line {
  width: 32px;
  height: 2px;
  background: var(--o);
  border-radius: 2px;
}
.hero-eye span {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--o);
}

.hero-title {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.hero-title .ac { color: var(--c); }

.hero-desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-acts {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* botão sólido */
.btn-main {
  background: var(--c);
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  display: inline-block;
}
.btn-main:hover {
  background: var(--t);
  transform: translateY(-2px);
}

/* botão fantasma com seta */
.btn-ghost {
  color: var(--dark);
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--c); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* card visual com tetraedro */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.h3d {
  background: var(--g);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.h3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 206, 209, 0.07) 0%, transparent 50%),
    linear-gradient(315deg, rgba(255, 140, 0, 0.05) 0%, transparent 50%);
}

/* grade geométrica de fundo */
.h3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 206, 209, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 206, 209, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
}

.tetra {
  position: relative;
  z-index: 1;
  animation: flt 4s ease-in-out infinite;
}

@keyframes flt {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(3deg); }
}


/* ─────────────────────────────────────────
   4. STRIP DE NÚMEROS
───────────────────────────────────────── */
.strip {
  background: var(--g);
  border-top: 1px solid var(--g2);
  border-bottom: 1px solid var(--g2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.st {
  padding: 32px 24px;
  border-right: 1px solid var(--g2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.st:last-child { border-right: none; }

.st-num {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.st-num em { color: var(--c); font-style: normal; }

.st-lbl {
  font-size: 0.82rem;
  color: var(--mid);
  letter-spacing: 0.04em;
}


/* ─────────────────────────────────────────
   5. SEÇÕES — BASE
───────────────────────────────────────── */
section { padding: 100px 6%; }

.inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* tag de seção (ex: "Quem sou eu") */
.lbl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2rem;
}
.lbl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--o);
  flex-shrink: 0;
}
.lbl span {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--o);
}

/* título de seção */
.stitle {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.stitle span { color: var(--c); }

/* linha decorativa sob o título */
.sline {
  width: 40px;
  height: 3px;
  margin: 20px 0 28px;
  background: linear-gradient(90deg, var(--c), var(--o));
  border-radius: 2px;
}


/* ─────────────────────────────────────────
   6. SOBRE
───────────────────────────────────────── */
#sobre { background: var(--w); }

.sg {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 5rem;
  align-items: center;
}

.slead {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--mid);
  margin-bottom: 1.4rem;
}
.slead strong { font-weight: 500; color: var(--dark); }

/* grid de serviços */
.srvg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--g2);
  border-radius: 16px;
  overflow: hidden;
}

.srv {
  background: var(--g);
  padding: 28px 22px;
  transition: background 0.2s;
}
.srv:hover { background: #EBF7F7; }

.si {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--c);
}
.srv:nth-child(even) .si { color: var(--o); }

.srv h4 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.srv p { font-size: 0.82rem; color: var(--mid); line-height: 1.55; }


/* ─────────────────────────────────────────
   7. PORTFÓLIO
───────────────────────────────────────── */
#portfolio { background: var(--g); }

.ph {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.plink {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.plink:hover { gap: 10px; }

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pc {
  background: var(--w);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--g2);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pc:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 124, 128, 0.12);
}

.pth {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #E3F8F8, #FFF3E0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* quando tiver foto real: */
.pth img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pb { padding: 20px 22px 24px; }

.ptag {
  display: inline-block;
  background: rgba(0, 206, 209, 0.1);
  color: var(--t);
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.pc:nth-child(2) .ptag { background: rgba(255, 140, 0, 0.1); color: #C06000; }

.pb h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.pb p { font-size: 0.84rem; color: var(--mid); line-height: 1.55; }


/* ─────────────────────────────────────────
   8. PROCESSO
───────────────────────────────────────── */
#processo { background: var(--w); }

.pgd {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--g2);
  border-radius: 16px;
  overflow: hidden;
}

.ps {
  padding: 36px 26px;
  border-right: 1px solid var(--g2);
  position: relative;
  transition: background 0.2s;
}
.ps:last-child { border-right: none; }
.ps:hover { background: var(--g); }

.pn {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(0, 206, 209, 0.18);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.ps h4 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.ps p { font-size: 0.83rem; color: var(--mid); line-height: 1.65; }

.parr {
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  background: var(--w);
  border: 1px solid var(--g2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.ps:last-child .parr { display: none; }


/* ─────────────────────────────────────────
   9. CONTATO & FORMULÁRIO
───────────────────────────────────────── */
#contato { background: var(--g); }

.cg {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
  align-items: start;
}

.ci p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.chs { display: flex; flex-direction: column; gap: 12px; }

.ch {
  background: var(--w);
  border-radius: 12px;
  border: 1px solid var(--g2);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--dark);
  transition: border-color 0.2s, transform 0.2s;
}
.ch:hover { border-color: var(--c); transform: translateX(4px); }

.chi {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 206, 209, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c);
}
.ch:nth-child(2) .chi { background: rgba(255, 140, 0, 0.1); color: var(--o); }
.ch:nth-child(3) .chi { background: rgba(0, 124, 128, 0.1); color: var(--t); }

.cht strong {
  display: block;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.cht span { font-size: 0.82rem; color: var(--mid); }

/* card do formulário */
.fcard {
  background: var(--w);
  border-radius: 20px;
  border: 1px solid var(--g2);
  padding: 36px 32px;
}
.fcard h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 24px;
}

.fr  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.fr1 { grid-template-columns: 1fr; }

.fg { display: flex; flex-direction: column; gap: 6px; }

.fg label {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mid);
  text-transform: uppercase;
}

.fg input,
.fg textarea,
.fg select {
  border: 1.5px solid var(--g2);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--g);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.fg input:focus,
.fg textarea:focus,
.fg select:focus { border-color: var(--c); background: var(--w); }

.fg textarea { resize: vertical; min-height: 108px; }

.fsub {
  width: 100%;
  margin-top: 8px;
  background: var(--c);
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
}
.fsub:hover { background: var(--t); transform: translateY(-2px); }


/* ─────────────────────────────────────────
   10. FOOTER
───────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 44px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.flog {
  font-family: 'Rubik', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
}
.flog .lc { color: var(--c); }
.flog .lo { color: var(--o); }

footer p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); }

footer a { color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--c); }


/* ─────────────────────────────────────────
   11. RESPONSIVO
───────────────────────────────────────── */
@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }
  .hero-visual { display: none; }
  .strip       { grid-template-columns: repeat(2, 1fr); }
  .sg, .cg     { grid-template-columns: 1fr; }

  .pgd { grid-template-columns: 1fr 1fr; }
  .ps:nth-child(2) { border-right: none; }

  .pgrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-menu { display: none; }
  .strip    { grid-template-columns: 1fr 1fr; }
  .pgrid    { grid-template-columns: 1fr; }
  .fr       { grid-template-columns: 1fr; }

  .pgd { grid-template-columns: 1fr; }
  .ps  { border-right: none; border-bottom: 1px solid var(--g2); }

  footer { flex-direction: column; text-align: center; }
}
