/* ============================================================
   SELFIA — INTERNAL UI (Landing Page Grade)
   PREMIUM v2.2 — CORRIGIDO, CONSISTENTE E ELEGANTE
============================================================ */

:root{
  --bg: #f1f4f8; 
  --card: #ffffff;
  --fg: #0b1120;
  --muted: #4b5563;

  --primary: #003366;
  --primary-hover: #00509e;

  --accent: #1e2f56;

  --radius: 16px;
  --radius-sm: 12px;

  --shadow: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-soft: 0 6px 20px rgba(0,0,0,0.05);

  --border: #d7dde7;
}

/* ===========================
   BASE
=========================== */

body{
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, sans-serif;
  margin: 0;
  padding: 0 0 80px;
  line-height: 1.55;
}

/* ===========================
   HEADER
=========================== */

.header-title{
  text-align: center;
  padding: 40px 0 10px;
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.small{
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 36px;
}

/* ===========================
   LAYOUT
=========================== */

.container{
  width: 100%;
  max-width: 930px;
  margin: 0 auto;
  padding: 0 24px;
}

.stack > .card{
  margin-bottom: 30px;
}

/* ===========================
   CARDS
=========================== */

.card{
  background: var(--card);
  padding: 32px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .25s ease, transform .15s ease;
}

.card:hover{
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

/* ===========================
   HEADINGS
=========================== */

h2{
  font-size: 26px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
}

h3{
  font-size: 20px;
  color: var(--accent);
  font-weight: 600;
  margin: 26px 0 14px;
}

/* ===========================
   TEXT
=========================== */

p{
  font-size: 16px;
  color: var(--fg);
}

.muted{
  color: var(--muted);
}

/* ===========================
   DETAILS / FAQ / JOURNEY
=========================== */

details{
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 24px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  transition: .25s;
}

details summary{
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  padding: 6px 0;
  outline: none;
}

details summary::-webkit-details-marker{
  display: none;
}

details[open]{
  box-shadow: var(--shadow);
}

details[open] > summary{
  margin-bottom: 14px;
}

details p{
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* sub-details */
details details{
  margin: 14px 0;
}

/* ===========================
   INPUTS
=========================== */

input,
textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 15px;
  margin: 12px 0 20px;
  box-shadow: var(--shadow-soft);
  transition: .25s ease;
}

input:focus,
textarea:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,51,102,0.12);
  outline: none;
}

/* ===========================
   BUTTONS
=========================== */

.btn{
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: #e4e9f1;
  color: #1b2e50;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: var(--shadow-soft);
}

.btn:hover{
  background: #d7deeb;
  box-shadow: var(--shadow);
}

.btn.primary{
  background: var(--primary);
  color: white;
}

.btn.primary:hover{
  background: var(--primary-hover);
}

/* ===========================
   MODULE HOST
=========================== */

.module-host{
  background: #ffffff;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  min-height: 150px;
  font-size: 15px;
  line-height: 1.6;
}

/* ===========================
   RESULT SECTIONS
=========================== */

.result-row{
  background: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

.result-row:hover{
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.result-label{
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.result-desc{
  font-size: 14px;
  color: #44516b;
  margin-bottom: 12px;
}

.result-bar{
  width: 100%;
  height: 8px;
  background: #e5ebf4;
  border-radius: 6px;
}

/* radio premium */
input[type="radio"]{
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}
