/* ==========================================================
   L.A CRED — estilos (tema CLARO / institucional)
   Marca: verde + laranja como destaques sobre fundo claro.
   Neutros com leve vies de verde (escolhidos, nao "cinza padrao").
   ========================================================== */
:root {
  /* Marca */
  --green: #1ea83c;
  --green-deep: #12872f;   /* verde legivel como texto sobre branco */
  --green-dark: #0e6d26;
  --orange: #f7941d;
  --orange-deep: #e07d0e;  /* laranja mais legivel */
  --orange-dark: #c96a08;

  /* Neutros (vies levissimo de verde) */
  --bg: #f5f7f4;
  --bg-alt: #eaeee7;
  --surface: #ffffff;
  --surface-2: #fbfcfa;
  --ink: #16211b;          /* titulos: verde-quase-preto */
  --text: #33403a;         /* corpo */
  --text-dim: #5f6a63;     /* secundario */
  --border: #e2e7dd;
  --border-strong: #cdd5c8;

  --brand-grad: linear-gradient(120deg, var(--green-deep) 0%, var(--green) 42%, var(--orange-deep) 100%);
  --brand-grad-soft: linear-gradient(120deg, rgba(30,168,60,0.10), rgba(247,148,29,0.10));

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --max: 1180px;
  --shadow-sm: 0 1px 3px rgba(20,45,30,0.06), 0 1px 2px rgba(20,45,30,0.04);
  --shadow: 0 14px 34px rgba(20,55,35,0.10);
  --shadow-lg: 0 24px 54px rgba(20,55,35,0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(58rem 40rem at 6% -12%, rgba(30, 168, 60, 0.08), transparent 60%),
    radial-gradient(48rem 38rem at 102% 4%, rgba(247, 148, 29, 0.07), transparent 55%);
  background-repeat: no-repeat;
}

h1, h2, h3, h4 { font-family: "Montserrat", sans-serif; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.text-green { color: var(--green-deep); }
.text-orange { color: var(--orange-deep); }
.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Eyebrow / chip ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 0.72rem; font-weight: 700;
  color: var(--orange-deep);
  background: var(--brand-grad-soft);
  border: 1px solid var(--border);
  padding: 7px 14px; border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px rgba(30,168,60,0.6);
}

/* ---------- Botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-weight: 700; font-family: "Montserrat", sans-serif; font-size: 0.95rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-primary {
  background: var(--green-deep); color: #fff;
  box-shadow: 0 10px 22px rgba(18, 135, 47, 0.28);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 14px 30px rgba(18, 135, 47, 0.36); }
.btn-outline {
  border-color: var(--border-strong); color: var(--ink); background: var(--surface);
}
.btn-outline:hover { border-color: var(--green-deep); color: var(--green-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 244, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand-logo { height: 46px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; font-weight: 500; color: var(--text); font-size: 0.95rem; transition: color 0.2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; border-radius: 2px;
  background: var(--brand-grad); transition: width 0.25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 92px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
.hero-sub { margin: 22px 0 32px; color: var(--text-dim); font-size: 1.12rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--text-dim); font-size: 0.9rem; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 17px; height: 17px; color: var(--green-deep); flex: none; }

/* Arte do hero: logo transparente com halo suave + moedas flutuantes */
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px; }
.hero-halo {
  position: absolute; width: 104%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,168,60,0.16), rgba(247,148,29,0.10) 55%, transparent 70%);
  filter: blur(6px); animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:.85} 50%{transform:scale(1.05);opacity:1} }
.hero-logo {
  position: relative; width: 100%; max-width: 380px;
  filter: drop-shadow(0 16px 30px rgba(20, 60, 35, 0.14));
}
.coin {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.25rem;
  color: #1a0f00; background: linear-gradient(145deg, var(--orange), var(--orange-dark));
  box-shadow: 0 8px 18px rgba(247, 148, 29, 0.4), inset 0 2px 4px rgba(255,255,255,.45);
  animation: float 5s ease-in-out infinite;
}
.coin.green { background: linear-gradient(145deg, var(--green), var(--green-dark)); color: #03210d; box-shadow: 0 8px 18px rgba(30,168,60,.4), inset 0 2px 4px rgba(255,255,255,.4); }
.coin.c1 { top: 3%; left: 10%; animation-delay: 0s; }
.coin.c2 { top: 15%; right: 4%; animation-delay: .8s; width: 44px; height: 44px; font-size: 1.05rem; }
.coin.c3 { bottom: 13%; left: 0%; animation-delay: 1.6s; width: 46px; height: 46px; }
.coin.c4 { bottom: 5%; right: 12%; animation-delay: 2.4s; }
@keyframes float { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-16px) rotate(4deg)} }

/* Faixa de confianca */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px; padding: 22px 0; text-align: center; }
.trust-item { display: flex; flex-direction: column; }
.trust-num { font-family: "Montserrat"; font-weight: 800; font-size: 1.7rem; }
.trust-label { color: var(--text-dim); font-size: 0.82rem; letter-spacing: .3px; }

/* ---------- Secoes ---------- */
.section { padding: 84px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-lead { color: var(--text-dim); margin-top: 12px; font-size: 1.05rem; }

/* ---------- Cards de servico ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--brand-grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-grad-soft); border: 1px solid var(--border); color: var(--green-deep);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.card p { color: var(--text-dim); font-size: 0.96rem; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step-num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
  font-family: "Montserrat"; font-weight: 800; font-size: 1.15rem; color: #fff;
  background: var(--brand-grad); box-shadow: 0 8px 18px rgba(18,135,47,0.28);
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 1.12rem; margin-bottom: 7px; }
.step p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- Sobre ---------- */
.about-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.about-text p { color: var(--text-dim); margin-top: 14px; }
.about-list { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.about-list li { padding-left: 32px; position: relative; color: var(--text-dim); }
.about-list li strong { color: var(--ink); }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/72% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/72% no-repeat;
}
.about-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-stats .stat { text-align: center; padding: 16px 8px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); }
.about-stats .stat:first-child { grid-column: 1 / -1; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; font-family: "Montserrat"; }
.stat-label { color: var(--text-dim); font-size: 0.82rem; }

/* ---------- Formulario ---------- */
.sim-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.sim-aside .eyebrow { margin-bottom: 20px; }
.sim-aside h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.sim-aside p { color: var(--text-dim); margin-top: 14px; }
.sim-aside .about-list { margin-top: 22px; }
.sim-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.sim-form label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.sim-form input, .sim-form select {
  width: 100%; margin-top: 8px; padding: 13px 15px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); color: var(--ink); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sim-form input::placeholder { color: #9aa39c; }
.sim-form input:focus, .sim-form select:focus {
  outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(18, 135, 47, 0.14);
}
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.85rem; color: var(--text-dim); margin: 8px 0 22px; }
.consent input { width: auto; margin-top: 4px; accent-color: var(--green-deep); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.form-status { margin-top: 18px; font-weight: 600; min-height: 1.2em; font-size: 0.95rem; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #c0392b; }
.form-note { margin-top: 18px; font-size: 0.82rem; color: var(--text-dim); display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 16px; height: 16px; color: var(--green-deep); flex: none; margin-top: 2px; }

/* ---------- Localizacao ---------- */
.loc-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; }
.loc-address { margin-top: 18px; font-size: 1.12rem; color: var(--ink); }
.loc-hours { color: var(--text-dim); margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.loc-hours svg, .loc-address svg { width: 18px; height: 18px; color: var(--orange-deep); vertical-align: -3px; margin-right: 6px; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.loc-map { position: relative; }
.loc-map::after {
  content: ""; position: absolute; inset: -1px; border-radius: calc(var(--radius) + 1px);
  padding: 1px; background: var(--brand-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .55;
}
.loc-map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 72px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--brand-grad-soft); }
.cta-band > .container { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.cta-band p { color: var(--text-dim); margin: 12px auto 28px; max-width: 520px; }

/* ---------- Footer (claro) ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; padding-bottom: 38px; }
.footer-logo { height: 50px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 320px; }
.footer-col h4 { margin-bottom: 14px; font-size: 0.95rem; color: var(--ink); }
.footer-col p { margin-bottom: 9px; }
.footer-col a { color: var(--text-dim); transition: color 0.2s; font-size: 0.92rem; }
.footer-col a:hover { color: var(--orange-deep); }
.footer-legal { border-top: 1px solid var(--border); padding-top: 22px; padding-bottom: 32px; color: var(--text-dim); font-size: 0.8rem; }
.legal-note { margin-top: 8px; opacity: 0.85; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4); z-index: 60; transition: transform 0.2s var(--ease);
}
.whatsapp-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.45)} 70%,100%{box-shadow:0 0 0 18px rgba(37,211,102,0)} }
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Reveal ao rolar ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 300px; }
  .hero-logo { max-width: 250px; }
  .about-inner, .loc-inner, .sim-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 60px 0; }
  .sim-form { padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .coin { transform: scale(.85); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}
