@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #00688c;
  --primary-dark: #004d68;
  --primary-light: #e6f2f6;
  --accent: #ff7f00;
  --accent-dark: #e06f00;
  --text: #16252e;
  --text-muted: #5b6b74;
  --bg-alt: #f4f9fb;
  --border: #e3edf0;
  --radius: 14px;
  --shadow: 0 20px 40px -12px rgba(0, 77, 104, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 460px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.logo { height: 48px; display: block; }

.header nav { display: flex; align-items: center; gap: 32px; }
.header nav a:not(.btn) {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.header nav a:not(.btn):hover { color: var(--primary); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(255, 127, 0, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(255, 127, 0, 0.65); }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn--outline:hover { background: var(--primary-light); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ===== Badge / pill ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ===== Hero ===== */
.hero {
  padding: 96px 0 110px;
  background: radial-gradient(circle at 15% 20%, #eaf5fa 0%, #ffffff 55%);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__trust { font-size: 0.9rem; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.hero__trust svg { color: var(--accent); flex-shrink: 0; }

.hero__media { position: relative; display: flex; justify-content: center; }
.hero__media img {
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(22, 37, 46, 0.25);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}
.float-card--top { top: 6%; left: -6%; }
.float-card--bottom { bottom: 8%; right: -8%; }
.float-card .icon-circle { width: 34px; height: 34px; }

/* ===== Icon circle ===== */
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}
.icon-circle--accent { background: #fff1e3; color: var(--accent); }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section__head h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; }
.section__head p { color: var(--text-muted); font-size: 1.05rem; }

/* ===== Feature grid ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-circle { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; font-weight: 700; }
.card p { color: var(--text-muted); font-size: 0.96rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step { text-align: center; padding: 0 12px; }
.step__number {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.step h3 { margin-bottom: 10px; font-size: 1.1rem; font-weight: 700; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Perfis tabs-like cards ===== */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.profile-card {
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.profile-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.profile-card p { opacity: 0.92; font-size: 0.92rem; }
.profile-card--1 { background: linear-gradient(150deg, #00688c, #003d52); }
.profile-card--2 { background: linear-gradient(150deg, #ff7f00, #c45f00); }
.profile-card--3 { background: linear-gradient(150deg, #16252e, #2c3e46); }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #0089b8);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-banner p { opacity: 0.9; margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner .btn--primary { box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35); }

/* ===== Planos teaser ===== */
.plano-card {
  background: #fff;
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.plano-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.plano-card p { color: var(--text-muted); margin-bottom: 24px; }

.plano-card__valor { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.plano-card__valor span { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }

/* ===== Footer ===== */
.footer { background: #0d1b22; color: #b9c6cc; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer__brand .logo { height: 56px; margin-bottom: 16px; background: #fff; padding: 8px 14px; border-radius: 10px; }
.footer__brand p { font-size: 0.9rem; max-width: 280px; color: #8fa1a8; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #b9c6cc; text-decoration: none; font-size: 0.9rem; }
.footer a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 0.85rem;
  color: #6e8089;
  text-align: center;
}

/* ===== Cadastro (signup) page ===== */
.signup {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.signup__panel {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary) 70%, #0089b8);
  color: #fff;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.signup__panel .logo { height: 80px; margin-bottom: 48px; background: #fff; padding: 10px 16px; border-radius: 10px; }
.signup__panel h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; line-height: 1.25; }
.signup__panel p { opacity: 0.9; margin-bottom: 32px; }
.signup__benefits { display: flex; flex-direction: column; gap: 16px; }
.signup__benefits li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 0.95rem; }
.signup__benefits svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

.signup__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}
.signup__form-inner { max-width: 420px; width: 100%; margin: 0 auto; }
.signup__form-inner > a.logo-link { display: none; }
.signup__form h1 { font-size: 1.7rem; font-weight: 800; margin-bottom: 8px; }
.signup__form > .signup__form-inner > p.subtitle { color: var(--text-muted); margin-bottom: 32px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.form input {
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.mensagem { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 0.9rem; font-weight: 500; }
.mensagem--sucesso { background: #e6f4ea; color: #1e7e34; }
.mensagem--erro { background: #fdecea; color: #c0392b; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; margin-bottom: 24px; }
  .hero h1 { font-size: 2.2rem; }
  .steps, .profiles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .signup { grid-template-columns: 1fr; }
  .signup__panel { display: none; }
  .signup__form-inner > a.logo-link { display: block; margin-bottom: 32px; }
  .cta-banner { margin: 0; border-radius: 0; }
}

/* ===== Login (site) ===== */
.campo-senha { position: relative; display: flex; }
.campo-senha input { width: 100%; padding-right: 42px; }
.campo-senha__toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
}
.campo-senha__toggle:hover { background: var(--bg-alt); color: var(--primary); }

.login-rodape { margin-top: 20px; text-align: center; font-size: 0.92rem; color: var(--text-muted); }
.login-rodape a { color: var(--primary); font-weight: 600; text-decoration: none; }
.login-rodape a:hover { text-decoration: underline; }

/* ===== Minha Conta ===== */
.conta-nome { font-weight: 600; margin-right: 16px; color: var(--text-muted); }
.conta-status-linha { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.badge--trial { background: #fff4e5; color: var(--accent-dark); }
.badge--ativa { background: #e6f4ea; color: #1e7e34; }
.badge--bloqueada, .badge--cancelada { background: #fdecea; color: #c0392b; }

.conta-bloco { padding: 14px 18px; border-radius: 10px; background: var(--bg-alt); margin-bottom: 24px; }
.conta-bloco--alerta { background: #fdecea; color: #c0392b; }

.detalhe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 16px 0; }
.detalhe-grid > div { display: flex; flex-direction: column; gap: 4px; }
.detalhe-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
