/* ============================================================
   ciumeretroativo.com.br — CSS principal
   Design: escuro / âmbar / Playfair Display + DM Sans
   ============================================================ */

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

:root {
  --preto:      #0e0f13;
  --azul-noite: #111520;
  --azul-medio: #1a2033;
  --ambar:      #c9883a;
  --ambar-clr:  #e8a84e;
  --texto:      #e8e4dc;
  --muted:      #8a8a9a;
  --borda:      rgba(255,255,255,0.08);
  --borda-hover:rgba(201,136,58,0.3);

  --font-titulo: 'Playfair Display', Georgia, serif;
  --font-corpo:  'DM Sans', system-ui, sans-serif;

  --max: 1100px;
  --pad-x: clamp(1.2rem, 5vw, 2.5rem);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-corpo);
  background: var(--preto);
  color: var(--texto);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* UTILITÁRIOS */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.section-label {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ambar); margin-bottom: 0.9rem; display: block;
}
.separador {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--borda), transparent);
}

/* TIPOGRAFIA */
h1, h2, h3 { font-family: var(--font-titulo); font-weight: 700; line-height: 1.15; color: var(--texto); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.15rem; }
em { font-style: italic; color: var(--ambar-clr); }
p  { font-size: 0.98rem; color: var(--muted); line-height: 1.85; font-weight: 300; }
p strong { color: var(--texto); font-weight: 500; }

/* BOTÕES */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem; border-radius: 4px;
  font-family: var(--font-corpo); font-size: 0.92rem; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--ambar); color: #0e0f13; }
.btn-primary:hover { background: var(--ambar-clr); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--muted);
  border-bottom: 1px solid rgba(138,138,154,0.3);
  border-radius: 0; padding: 0.2rem 0;
}
.btn-ghost:hover { color: var(--texto); }

.btn-whats {
  background: #163d22; color: #7ed8a0;
  border: 1px solid rgba(126,216,160,0.15);
}
.btn-whats:hover { background: #1c4f2c; transform: translateY(-2px); }

.btn-email {
  background: var(--azul-medio); color: var(--texto);
  border: 1px solid var(--borda);
}
.btn-email:hover { border-color: var(--borda-hover); transform: translateY(-2px); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.1rem var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(14,15,19,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--borda);
}
.nav-logo {
  font-family: var(--font-titulo); font-size: 1.05rem;
  color: var(--texto); text-decoration: none; white-space: nowrap;
}
.nav-logo span { color: var(--ambar); }

.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  font-size: 0.8rem; font-weight: 400; color: var(--muted);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--texto); }
.nav-links .nav-cta {
  background: var(--ambar); color: #0e0f13 !important;
  padding: 0.45rem 1.1rem; border-radius: 4px; font-weight: 500 !important;
}
.nav-links .nav-cta:hover { background: var(--ambar-clr); }

/* Hamburger — mobile */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--texto); margin: 5px 0; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.aberto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.aberto span:nth-child(2) { opacity: 0; }
.nav-toggle.aberto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  position: relative; padding: 8rem var(--pad-x) 5rem; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 90% at 60% 50%, rgba(26,32,51,0.97) 0%, var(--preto) 70%);
}


/* Layout duas colunas */
.hero-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 4rem; align-items: center;
  width: 100%; max-width: var(--max); margin: 0 auto;
}

.hero-content { max-width: 620px; }

/* Elemento abstrato do hero */
.hero-abstrato {
  position: relative;
  width: 100%; max-width: 420px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.hero-svg {
  width: 100%; height: auto;
  animation: girar-lento 60s linear infinite;
}
@keyframes girar-lento {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-palavra {
  position: absolute;
  font-family: var(--font-titulo);
  font-style: italic;
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  color: rgba(201,136,58,0.28);
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  animation: pulsar 4s ease-in-out infinite;
}
.hero-palavra:nth-child(2) { animation-delay: 0.5s; }
.hero-palavra:nth-child(3) { animation-delay: 1s; }
.hero-palavra:nth-child(4) { animation-delay: 1.5s; }
.hero-palavra:nth-child(5) { animation-delay: 2s; }
.hero-palavra:nth-child(6) { animation-delay: 2.5s; }
.hero-palavra:nth-child(7) { animation-delay: 3s; }
.hero-palavra:nth-child(8) { animation-delay: 3.5s; }
@keyframes pulsar {
  0%, 100% { opacity: 0.28; }
  50%       { opacity: 0.55; }
}

.hero-kicker {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ambar); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-kicker::before { content: ''; display: block; width: 28px; height: 1px; background: var(--ambar); }

.hero-frases {
  display: flex; flex-direction: column; gap: 0.3rem;
  margin: 1.5rem 0 2rem; padding-left: 1.2rem;
  border-left: 2px solid rgba(201,136,58,0.4);
}
.hero-frases p {
  font-family: var(--font-titulo); font-style: italic;
  font-size: 1rem; color: rgba(232,228,220,0.55); line-height: 1.5;
}

.hero-sub { font-size: 1rem; color: var(--muted); max-width: 500px; margin-bottom: 2.5rem; }

.hero-ctas { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--azul-medio);
  border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda);
  padding: 1.2rem var(--pad-x);
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em;
}
.trust-dot { width: 5px; height: 5px; background: var(--ambar); border-radius: 50%; flex-shrink: 0; }

/* ── IDENTIFICAÇÃO ── */
.secao { padding: 5rem var(--pad-x); }
.id-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--borda);
  border: 1px solid var(--borda); border-radius: 8px; overflow: hidden;
  margin-top: 2.5rem;
}
.id-card { background: var(--azul-noite); padding: 1.8rem; transition: background 0.25s; }
.id-card:hover { background: var(--azul-medio); }
.id-num {
  font-family: var(--font-titulo); font-size: 2rem; font-weight: 700;
  color: rgba(201,136,58,0.13); line-height: 1; margin-bottom: 0.8rem;
}
.id-card p { font-size: 0.9rem; }
.id-card p strong { display: block; color: var(--texto); font-weight: 500; margin-bottom: 0.3rem; font-size: 0.95rem; }

/* ── O QUE É ── */
.oq-wrapper {
  background: var(--azul-noite);
  border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda);
  padding: 5rem var(--pad-x);
}
.oq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; max-width: var(--max); margin: 0 auto; }
.oq-texto p { margin-bottom: 1rem; }

.oq-lista { display: flex; flex-direction: column; gap: 0.8rem; }
.oq-item {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1.1rem; border: 1px solid var(--borda); border-radius: 6px;
  background: rgba(14,15,19,0.5);
}
.oq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(201,136,58,0.08); border: 1px solid rgba(201,136,58,0.18);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--ambar);
}
.oq-item-text { font-size: 0.87rem; color: var(--muted); line-height: 1.65; }
.oq-item-text strong { display: block; color: var(--texto); font-size: 0.92rem; margin-bottom: 0.2rem; }

/* ── COMO FUNCIONA ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.step { padding-top: 1rem; }
.step::before {
  content: ''; display: block; width: 100%; height: 1px;
  background: linear-gradient(to right, var(--ambar), transparent);
  margin-bottom: 1.4rem;
}
.step-num { font-family: var(--font-titulo); font-size: 2.8rem; color: rgba(201,136,58,0.1); line-height: 1; margin-bottom: 0.4rem; }
.step-title { font-size: 1rem; font-weight: 500; color: var(--texto); margin-bottom: 0.5rem; }
.step p { font-size: 0.87rem; }

/* ── SOBRE ── */
.sobre-wrapper { background: var(--azul-noite); border-top: 1px solid var(--borda); padding: 5rem var(--pad-x); }
.sobre-grid { display: grid; grid-template-columns: 320px 1fr; gap: 4.5rem; max-width: var(--max); margin: 0 auto; align-items: start; }

.sobre-foto {
  width: 100%; aspect-ratio: 3/4; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--borda); position: relative; background: var(--azul-medio);
}
.sobre-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(15%); }
.sobre-foto-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(14,15,19,0.88) 0%, transparent 55%);
  padding: 1.4rem 1.2rem;
}
.sobre-foto-nome { font-family: var(--font-titulo); font-size: 1rem; font-weight: 700; color: var(--texto); }
.sobre-foto-cargo { font-size: 0.75rem; color: var(--ambar); letter-spacing: 0.09em; text-transform: uppercase; margin-top: 0.2rem; }

.sobre-texto p { margin-bottom: 1rem; }
.cred-lista { display: flex; flex-direction: column; gap: 0.45rem; margin: 1.5rem 0; }
.cred-item { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.cred-dot { width: 4px; height: 4px; background: var(--ambar); border-radius: 50%; flex-shrink: 0; margin-top: 0.55rem; }

/* ── FORMULÁRIO ── */
.contato-wrapper { padding: 5rem var(--pad-x); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; max-width: var(--max); margin: 0 auto; align-items: start; }
.contato-intro h2 { margin-bottom: 1rem; }
.contato-intro p { margin-bottom: 1.5rem; }

.contato-btns-rapidos { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 2rem; }
.contato-btns-rapidos .btn { justify-content: flex-start; }

form { display: flex; flex-direction: column; gap: 1rem; }

.campo { display: flex; flex-direction: column; gap: 0.35rem; }
.campo label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.campo input,
.campo textarea {
  background: var(--azul-noite); border: 1px solid var(--borda);
  border-radius: 4px; padding: 0.75rem 1rem;
  color: var(--texto); font-family: var(--font-corpo); font-size: 0.95rem;
  width: 100%; transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.campo input:focus,
.campo textarea:focus {
  outline: none; border-color: rgba(201,136,58,0.5);
  box-shadow: 0 0 0 3px rgba(201,136,58,0.08);
}
.campo textarea { resize: vertical; min-height: 130px; }

/* Honeypot — invisível ao usuário, visível ao bot */
.campo-honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; tab-index: -1; }

.form-feedback {
  padding: 0.85rem 1rem; border-radius: 4px; font-size: 0.9rem;
  display: none; margin-top: 0.5rem;
}
.form-feedback.sucesso { background: rgba(22,93,47,0.3); color: #7ed8a0; border: 1px solid rgba(126,216,160,0.2); }
.form-feedback.erro    { background: rgba(162,45,45,0.3); color: #f09595; border: 1px solid rgba(240,149,149,0.2); }

.btn-enviar { align-self: flex-start; margin-top: 0.5rem; }
.btn-enviar.carregando { opacity: 0.7; pointer-events: none; }

/* ── WHATSAPP FLUTUANTE ── */
.wpp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 300;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
}
.wpp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.45); }
.wpp-float svg { width: 28px; height: 28px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--borda);
  padding: 2rem var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--muted); flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: var(--font-titulo); font-size: 0.9rem; color: var(--texto); }
.footer-logo span { color: var(--ambar); }

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.aberto {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(14,15,19,0.98); border-bottom: 1px solid var(--borda);
    padding: 1.5rem var(--pad-x); gap: 1.2rem;
  }
  .nav-toggle { display: block; }

  .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-abstrato { max-width: 280px; }

  .id-grid { grid-template-columns: 1fr 1fr; }
  .oq-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sobre-foto { max-width: 260px; aspect-ratio: 1; }
  .contato-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  .id-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-foto-wrap { display: none; }
  .hero-abstrato { display: none; }
  .trust-bar { gap: 1rem; }
  footer { flex-direction: column; text-align: center; }
}
