/* EcoRenda: página inicial (protótipo emblema circular + recursos da home anterior).
   CSS externo, sem estilos inline — compatível com CSP. Menu mobile via checkbox (sem JS). */

:root {
  --g: #073f3b;
  --g2: #0d6257;
  --gold: #c79a4b;
  --gold2: #e6c27e;
  --ink: #172c2a;
  --muted: #667673;
  --cream: #f8f6ef;
  --white: #fffefa;
  --line: #e5e8df;
  --shadow: 0 18px 50px #073f3b12;
  --titulo: "Avenir Next", Avenir, "Century Gothic", "URW Gothic", Montserrat, "Segoe UI", system-ui, sans-serif;
  --corpo: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--corpo);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 3px solid var(--g2);
  outline-offset: 3px;
  border-radius: 4px;
}

.pular {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--g);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 20;
}
.pular:focus { left: 8px; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: var(--g);
  color: #e7f2ed;
  text-align: center;
  padding: 9px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f8f6eff0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #073f3b12;
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--titulo);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-name .eco { color: var(--g); }
.brand-name .renda { color: var(--gold); }

.navlinks {
  display: flex;
  gap: 24px;
  color: #50635f;
  font-size: 0.9rem;
}

.navlinks a:hover { color: var(--g); }

.nav-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.menu-btn {
  display: none;
  border: 0;
  background: none;
  color: var(--g);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.menu-btn::before { content: "☰"; }
.nav-toggle:checked ~ .menu-btn::before { content: "×"; }

.nav-cta { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 19px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.primary {
  background: var(--g);
  color: white;
  box-shadow: 0 8px 18px #073f3b20;
}
.primary:hover {
  background: #0b514a;
  transform: translateY(-1px);
}

.quiet {
  border-color: #d6ded7;
  color: var(--g);
}
.quiet:hover { background: #eef3ec; }

.hero {
  padding: 76px 0 65px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #d5b7782e, transparent 68%);
  right: -220px;
  top: -180px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--g2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--titulo);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
}

h1 {
  font-family: var(--titulo);
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
  margin: 20px 0;
}

h1 span { color: var(--g); }
h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-copy {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #5b6b67;
  max-width: 560px;
  margin: 0 0 27px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  margin-top: 30px;
  color: #667773;
  font-size: 0.83rem;
}

.trust b { color: var(--g2); }

.art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e7efe5, #f3ead7);
  box-shadow: inset 0 0 0 1px #073f3b0b;
}

.orbit {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #c79a4b70;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  top: 48px;
  right: 64px;
  box-shadow: 0 0 0 7px #c79a4b20;
}

.logo {
  width: 225px;
  height: 225px;
  position: relative;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 18px 15px #073f3b1f);
}

.float {
  position: absolute;
  z-index: 3;
  background: #fffefaef;
  border: 1px solid #073f3b12;
  box-shadow: var(--shadow);
  border-radius: 15px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.float strong {
  display: block;
  font-size: 0.86rem;
  color: var(--g);
}

.float small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.fi {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e6f0e8;
  color: var(--g);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex: none;
}

.f1 { left: 0; top: 70px; }
.f2 { right: 0; bottom: 55px; }

.section { padding: 78px 0; }
.white { background: var(--white); }

.head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.head .eyebrow::before { display: none; }

h2 {
  font-family: var(--titulo);
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.12;
  margin: 14px 0;
  color: var(--g);
  text-wrap: balance;
}

.head p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
  text-wrap: pretty;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  padding: 24px 21px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
}

.step-icon {
  height: 47px;
  width: 47px;
  border-radius: 15px;
  background: #eaf2e9;
  color: var(--g);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--titulo);
}

.num {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 800;
  margin-top: 16px;
}

.step h3 {
  font-size: 1.1rem;
  margin: 8px 0;
  color: var(--g);
  font-family: var(--titulo);
}

.step p,
.product p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

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

.product {
  --product-accent: #278b76;
  --product-soft: rgba(39, 139, 118, 0.12);
  --product-icon-bg: #e0f1e9;
  --product-ink: #176957;
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(7, 63, 59, 0.13);
  border-radius: 23px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 255px;
  box-shadow: 0 12px 32px rgba(7, 63, 59, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--product-accent);
}

.product::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -62px;
  top: -67px;
  background: var(--product-soft);
  pointer-events: none;
}

.product.finup {
  --product-accent: #c28a35;
  --product-soft: rgba(194, 138, 53, 0.14);
  --product-icon-bg: #f8ecd7;
  --product-ink: #8b5b1d;
}

.product.painel {
  --product-accent: #647fb4;
  --product-soft: rgba(100, 127, 180, 0.13);
  --product-icon-bg: #e8edf8;
  --product-ink: #405d91;
}

.product:hover {
  border-color: var(--product-accent);
  box-shadow: 0 16px 38px rgba(7, 63, 59, 0.11);
  transform: translateY(-5px);
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--product-icon-bg);
  color: var(--product-ink);
  display: grid;
  place-items: center;
}

.product-icon svg {
  width: 26px;
  height: 26px;
}

.pill {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
  color: var(--product-ink);
  background: var(--product-soft);
  padding: 6px 9px;
  border-radius: 99px;
}

.product h3 {
  font-family: var(--titulo);
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  margin: 16px 0 8px;
  color: var(--product-ink);
  position: relative;
  z-index: 1;
}

.product p {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.status {
  position: relative;
  z-index: 1;
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #f3f1e8;
  border-radius: 999px;
  padding: 5px 14px;
}

#solucoes {
  padding: 38px 0 52px;
  background: linear-gradient(180deg, #f8f6ef 0%, #fffefa 100%);
}

#solucoes .head {
  max-width: 760px;
  margin: 0 auto 24px;
}

#solucoes .head h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  margin: 8px 0 10px;
}

.aviso {
  margin: 28px auto 0;
  max-width: 70ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.ecosystem {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 55px;
}

.ecosystem > div > p { color: var(--muted); }

.elist {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.eitem {
  display: flex;
  gap: 12px;
}

.check {
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  background: #e3efe5;
  color: var(--g);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.eitem strong {
  display: block;
  color: var(--g);
}

.eitem span {
  font-size: 0.88rem;
  color: var(--muted);
}

.panel {
  background: linear-gradient(145deg, #073f3b, #0b5b50);
  border-radius: 27px;
  padding: 27px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid #e6c27e40;
  border-radius: 50%;
  right: -110px;
  top: -100px;
}

.paneltop {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.paneltop h3 {
  margin: 0;
  font-size: 1.08rem;
  font-family: var(--titulo);
}

.paneltop span {
  font-size: 0.73rem;
  color: #d7e5de;
}

.flow {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.flowitem {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #ffffff12;
  border: 1px solid #ffffff20;
  padding: 13px;
  border-radius: 14px;
}

.flowicon {
  height: 40px;
  width: 40px;
  border-radius: 12px;
  background: #e6c27e25;
  display: grid;
  place-items: center;
  color: #f0d49b;
  font-size: 0.95rem;
  font-weight: 800;
  flex: none;
}

.flowitem strong { display: block; font-size: 0.9rem; }

.flowitem small {
  display: block;
  color: #c4d9d1;
  font-size: 0.77rem;
}

.arrow {
  text-align: center;
  color: #e5c17c;
  line-height: 0.8;
}

.quote {
  padding: 65px 0;
  background: #f0eee5;
  text-align: center;
}

.quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.7;
  color: var(--gold);
}

blockquote {
  font-family: var(--titulo);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--g);
  margin: 18px 0;
}

.quote p {
  color: var(--muted);
  margin: 0;
}

.planos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px 72px;
  align-items: start;
}

.cabeca .intro {
  margin: 14px 0 24px;
  color: var(--muted);
  max-width: 56ch;
}

.cabeca .btn { margin-top: 4px; }

.opcoes { margin: 0; }

.opcoes div {
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.opcoes div:last-child { border-bottom: 1px solid var(--line); }

.opcoes dt {
  font-family: var(--titulo);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--g);
}

.opcoes dd {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 52ch;
}

.cta { padding: 72px 0; }

.ctacard {
  border-radius: 27px;
  padding: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: linear-gradient(110deg, #073f3b, #0b5b50);
  color: white;
  position: relative;
  overflow: hidden;
}

.ctacard h2 {
  color: white;
  margin: 0 0 12px;
}

.ctacard p {
  color: #d0e0d8;
  margin: 0;
  max-width: 640px;
}

.ctacard .btn {
  background: var(--gold2);
  color: #263a30;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.ctacopy { position: relative; z-index: 1; }

footer {
  background: #062f2c;
  color: #d4e3dc;
  padding: 40px 0 22px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  padding-bottom: 27px;
}

.footerbrand {
  font-family: var(--titulo);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #e7f2ed;
}

.footerbrand span { color: var(--gold2); }

footer p {
  color: #a8c1b8;
  font-size: 0.85rem;
  max-width: 360px;
}

.flinks {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.flinks a:hover { color: var(--gold2); }

.copyright {
  border-top: 1px solid #ffffff20;
  padding-top: 17px;
  color: #91afa5;
  font-size: 0.76rem;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .navlinks { gap: 14px; }
  .hero-grid { gap: 18px; }
  .halo { width: 300px; height: 300px; }
  .orbit { width: 350px; height: 350px; }
  .logo { width: 190px; height: 190px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ecosystem { gap: 28px; }
}

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

@media (max-width: 680px) {
  .container { width: calc(100% - 30px); }
  .topbar { font-size: 0.69rem; }
  .nav { height: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.28rem; }

  .menu-btn { display: block; }

  .navlinks {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 18px 24px 23px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }

  .nav-toggle:checked ~ .navlinks { display: flex; }

  .nav-actions { display: none; }
  .nav-cta {
    display: inline-flex;
    margin-top: 6px;
    font-weight: 700;
    color: var(--g);
  }

  .hero { padding: 48px 0 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .hero-copy { font-size: 1rem; }
  .art { min-height: 330px; }
  .halo { width: 265px; height: 265px; }
  .orbit { width: 315px; height: 315px; }
  .logo { width: 175px; height: 175px; }
  .float { padding: 10px; }
  .fi { width: 31px; height: 31px; }
  .float strong { font-size: 0.78rem; }
  .float small { font-size: 0.67rem; }
  .f1 { top: 24px; }
  .f2 { bottom: 18px; }
  .trust { gap: 12px; }
  .section { padding: 58px 0; }
  .head { margin-bottom: 28px; }
  .steps,
  .products { grid-template-columns: 1fr; }
  .step { padding: 21px; }
  .product { min-height: unset; }
  .ecosystem {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .panel { padding: 21px; }
  .ctacard {
    padding: 29px 23px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cta { padding: 52px 0; }
  .footer-main { flex-direction: column; }
  .copyright { flex-direction: column; }
  #solucoes { padding: 30px 0 42px; }
}

/* Páginas legais (/termos, /privacidade) */
.legal-page .nav { height: 72px; }

.legal {
  padding: 48px 0 72px;
  max-width: 720px;
}

.legal-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(199, 154, 75, 0.18);
  color: var(--g);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal h1 {
  margin: 0 0 8px;
  font-family: var(--titulo);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  line-height: 1.15;
  color: var(--g);
}

.legal-meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-notice {
  margin: 0 0 32px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: var(--white);
}

.legal-notice p { margin: 0; color: var(--ink); }

.legal h2 {
  margin: 32px 0 10px;
  font-family: var(--titulo);
  font-size: 1.15rem;
  color: var(--g);
}

.legal p,
.legal li {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.legal p { margin: 0 0 14px; }

.legal ul {
  margin: 0 0 14px;
  padding-left: 1.2rem;
}

.legal li { margin-bottom: 8px; }

.legal a {
  color: var(--g2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover { color: var(--g); }

@media (max-width: 720px) {
  .legal { padding: 32px 0 56px; }
  .legal-page .nav-actions { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .product { transition: none; }
  .primary:hover,
  .product:hover { transform: none; }
}
