/* ============================================================
   Funcionário Digital — folha de estilos
   ============================================================ */

:root {
  --petroleo: #174B46;
  --petroleo-deep: #0F332F;
  --coral: #E76F51;
  --coral-deep: #C1573C;
  --cream: #FBF7EE;
  --cream-deep: #F3ECDD;
  --ink: #1B2B27;
  --muted: #6E6357;
  --line: #E3DDCF;
  --white: #FFFFFF;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--petroleo-deep);
}

p { margin: 0 0 1em; color: var(--ink); }
a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--petroleo);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.brand-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--petroleo-deep);
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav.main-nav a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--ink);
}
nav.main-nav a:hover { color: var(--coral-deep); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-actions .link-entrar {
  font-size: 14.5px;
  text-decoration: none;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: .88; }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-outline { background: transparent; color: var(--petroleo-deep); border-color: var(--petroleo-deep); }
.btn-outline:hover { background: var(--petroleo-deep); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--petroleo-deep); }

@media (max-width: 860px) {
  nav.main-nav { display: none; }
}

/* -------- hero -------- */
.hero {
  padding: 64px 0 72px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--coral-deep);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  max-width: 15ch;
}
.hero .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-size: 13.5px; color: var(--muted); }

/* phone / chat mockup */
.phone {
  background: var(--white);
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(23, 75, 70, 0.35);
  padding: 18px;
  max-width: 340px;
  margin-left: auto;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.phone-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--petroleo); color: var(--cream);
  display: grid; place-items: center; font-family: var(--serif); font-size: 14px;
}
.phone-name { font-size: 14px; font-weight: 600; }
.phone-status { font-size: 12px; color: var(--muted); }
.bubble {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.bubble.in { background: var(--cream-deep); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--petroleo); color: var(--cream); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.chip {
  display: inline-block;
  margin-left: auto;
  background: var(--coral);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 500;
}

/* -------- section shells -------- */
section { padding: 60px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.section-head p { color: var(--muted); font-size: 16.5px; }

.band-deep {
  background: var(--petroleo-deep);
  color: var(--cream);
}
.band-deep h2, .band-deep h3 { color: var(--cream); }
.band-deep p { color: #CFE0DB; }

/* -------- dores -------- */
.dores-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.dor {
  background: var(--white);
  padding: 30px 26px;
}
.dor .num {
  font-family: var(--serif);
  color: var(--coral);
  font-size: 15px;
  margin-bottom: 10px;
  display: block;
}
.dor h3 { font-size: 18px; margin-bottom: 8px; }
.dor p { color: var(--muted); font-size: 15px; margin: 0; }

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

/* -------- como funciona -------- */
.steps {
  display: flex;
  flex-direction: column;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.step .stat {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--coral);
  font-weight: 500;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .idx {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--coral);
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; max-width: 60ch; }

/* -------- beneficios -------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: var(--line);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.benefit {
  background: var(--cream);
  padding: 28px 24px;
}
.benefit h3 { font-size: 17px; margin-bottom: 8px; color: var(--petroleo-deep); }
.benefit p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* -------- planos -------- */
.planos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.plano-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  background: var(--white);
}
.plano-card h3 { font-size: 20px; margin-bottom: 6px; }
.plano-card .preco { font-family: var(--serif); font-size: 15px; color: var(--coral-deep); margin-bottom: 16px; }
.plano-card ul { padding-left: 18px; margin: 0 0 22px; color: var(--muted); font-size: 14.5px; }
.plano-card li { margin-bottom: 6px; }

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

/* -------- prova social -------- */
.social-proof {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
}

/* -------- cta final -------- */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 24ch; margin: 0 auto 14px; }
.cta-final p { color: #CFE0DB; max-width: 46ch; margin: 0 auto 30px; }
.cta-final .hero-ctas { justify-content: center; }

/* -------- footer -------- */
footer {
  background: var(--petroleo-deep);
  color: #CFE0DB;
  padding: 56px 0 32px;
}
footer .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}
footer .brand-word { color: var(--cream); }
footer .foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
footer .foot-links a { font-size: 14px; text-decoration: none; color: #CFE0DB; }
footer .foot-links a:hover { color: var(--cream); }
footer .foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #9FB8B1;
}

/* -------- legal pages -------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 120px;
}
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal .placeholder-box {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 32px;
  color: var(--muted);
  background: var(--white);
}
.back-link { font-size: 14.5px; color: var(--petroleo-deep); text-decoration: none; }

@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
}
