/* ============================================================
   EasyPTO – Design System (Bootstrap-inspired)
   ============================================================ */

:root {
  --pto-purple:       #7952b3;
  --pto-purple-dark:  #5a3d8a;
  --pto-purple-light: #e9e3f5;
  --pto-bg-dark:      #1a1523;
  --pto-bg-navbar:    #1e1030;
  --pto-footer-bg:    #16111f;
  --pto-text-muted:   rgba(255, 255, 255, 0.55);
}

/* ---- Base ---- */
html {
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #212529;
  background-color: #fff;
}

a {
  color: var(--pto-purple);
}

a:hover {
  color: var(--pto-purple-dark);
}

/* ---- Focus rings ---- */
.btn:focus, .btn:active:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(121, 82, 179, 0.35);
}

/* ---- Buttons ---- */
.btn-primary {
  background-color: var(--pto-purple);
  border-color: var(--pto-purple);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:active {
  background-color: var(--pto-purple-dark);
  border-color: var(--pto-purple-dark);
}

.btn-outline-primary {
  color: var(--pto-purple);
  border-color: var(--pto-purple);
}

.btn-outline-primary:hover {
  background-color: var(--pto-purple);
  border-color: var(--pto-purple);
}

/* ---- Navbar ---- */
.site-navbar {
  background-color: var(--pto-bg-navbar);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-navbar .navbar-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.site-navbar .navbar-brand:hover {
  color: rgba(255, 255, 255, 0.85);
}

.site-navbar .nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color 0.15s;
}

.site-navbar .nav-link:hover {
  color: #fff;
}

.site-navbar .btn-outline-light {
  font-size: 0.85rem;
  border-radius: 0.4rem;
  padding: 0.35rem 0.9rem;
}

/* ---- Internal pages shell ---- */
.internal-page-shell {
  background:
    radial-gradient(1200px 400px at 50% -220px, rgba(121, 82, 179, 0.16), rgba(121, 82, 179, 0) 70%),
    linear-gradient(180deg, #fcfbff 0%, #ffffff 100%);
}

.internal-page-content {
  min-height: 45vh;
}

/* ---- Hero section ---- */
.hero-section {
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(17, 12, 24, 0.12) 0%, rgba(17, 12, 24, 0.3) 100%);
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-content .lead {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.hero-content p {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.7;
}

.hero-badge {
  display: inline-block;
  background: rgba(121, 82, 179, 0.35);
  border: 1px solid rgba(121, 82, 179, 0.5);
  color: #d4bfff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50rem;
  margin-bottom: 1.25rem;
}

/* ---- Feature icons strip ---- */
.feature-strip {
  background-color: var(--pto-purple-light);
  border-top: 1px solid rgba(121, 82, 179, 0.12);
  border-bottom: 1px solid rgba(121, 82, 179, 0.12);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--pto-purple);
  color: #fff;
  border-radius: 0.6rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---- Form card ---- */
.form-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 2.25rem;
  box-shadow: 0 4px 24px rgba(121, 82, 179, 0.08);
}

.form-card .form-control {
  border-radius: 0.45rem;
  border-color: #dee2e6;
  padding: 0.55rem 0.85rem;
}

.form-card .form-control:focus {
  border-color: var(--pto-purple);
}

.form-card .form-label {
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control::placeholder {
  color: #98a1ac;
  opacity: 1;
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--pto-footer-bg);
  color: rgba(255, 255, 255, 0.65);
}

.site-footer h6 {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover {
  color: #fff;
  text-decoration: none;
}

.text-footer-muted {
  color: rgba(255, 255, 255, 0.45);
}

.border-footer {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ---- Nav pills ---- */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--pto-purple);
}

/* ---- WhatsApp button ---- */
#btnShareWhatsApp {
  color: #fff;
  background-color: #25D366;
  border-color: #25D366;
}

#btnShareWhatsApp:hover {
  background-color: #20ba5a;
  border-color: #20ba5a;
}

#btnShareWhatsApp:focus {
  background-color: #20ba5a;
  border-color: #20ba5a;
  box-shadow: 0 0 0 0.25rem rgba(37, 211, 102, 0.4);
}

#btnShareWhatsApp i {
  margin-right: 0.4rem;
}

/* ---- Misc ---- */
button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

a.navbar-brand {
  white-space: normal;
  word-break: break-all;
}