/* ═══════════════════════════════════════════════════════════════
   D_Solutions — Landing Page Styles (public / unauthenticated)
   ═══════════════════════════════════════════════════════════════ */

/* ── Section defaults ── */
.landing-section {
  padding: var(--ds-section-py, 5rem) 0;
}
.sec-overline {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ds-blue-light);
  margin-bottom: .5rem;
}
.sec-title {
  font-size: var(--ds-heading-lg);
  font-weight: 800;
  color: var(--ds-text);
  margin-bottom: .75rem;
}
.sec-subtitle {
  font-size: var(--ds-font-lg);
  color: var(--ds-text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════════════ */
.landing-hero {
  background: linear-gradient(135deg, var(--ds-navy-deep) 0%, #000a1e 50%, #001a3a 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  text-align: center;
}
.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(96,165,250,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(167,139,250,.06) 0%, transparent 40%);
  pointer-events: none;
}
.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  color: var(--ds-blue-ice);
  font-size: .78rem;
  font-weight: 600;
  padding: .4rem 1.2rem;
  border-radius: 50px;
  letter-spacing: .03em;
}
.landing-hero h1 {
  font-size: var(--ds-heading-xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 1.5rem auto 1.25rem;
  max-width: 780px;
  position: relative;
}
.landing-hero h1 span {
  color: var(--ds-blue-ice);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-ctas .btn {
  padding: .7rem 2rem;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--ds-radius-sm);
}
.hero-ctas .btn-outline-light {
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
}
.hero-ctas .btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* ── Hero floating stats ── */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  position: relative;
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════════════════════
   2. CREDIBILITY STRIP
   ═══════════════════════════════════════════════════════════════ */
.landing-credibility {
  background: var(--ds-card);
  border-bottom: 1px solid var(--ds-border);
  padding: 2.5rem 0;
}
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .5rem 0;
}
.cred-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.cred-title {
  font-weight: 700;
  font-size: .85rem;
  color: var(--ds-text);
  margin-bottom: .15rem;
}
.cred-desc {
  font-size: .78rem;
  color: var(--ds-text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   3. MODULES / CAPABILITIES
   ═══════════════════════════════════════════════════════════════ */
.landing-modules {
  padding: var(--ds-section-py) 0;
  background: var(--ds-bg);
}
.lmod-card {
  background: var(--ds-card);
  border-radius: var(--ds-radius-md);
  padding: 1.75rem 1.5rem;
  height: 100%;
  border: 1px solid var(--ds-border);
  border-top: 3px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.lmod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-md);
}
.lmod-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.lmod-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--ds-text);
}
.lmod-desc {
  font-size: .84rem;
  color: var(--ds-text-muted);
  line-height: 1.55;
  margin-bottom: .75rem;
  flex-grow: 1;
}
.lmod-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lmod-features li {
  font-size: .78rem;
  color: var(--ds-text-muted);
  padding: .2rem 0;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.lmod-features li i {
  font-size: .65rem;
  opacity: .6;
}

/* ═══════════════════════════════════════════════════════════════
   4. BENEFITS — "Why choose D_Solutions"
   ═══════════════════════════════════════════════════════════════ */
.landing-benefits {
  padding: var(--ds-section-py) 0;
  background: var(--ds-card);
}
.benefit-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--ds-radius-sm);
  transition: background .15s;
}
.benefit-item:hover {
  background: var(--ds-bg);
}
.benefit-icon {
  color: var(--ds-green);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.benefit-title {
  font-weight: 700;
  font-size: .92rem;
  color: var(--ds-text);
  margin-bottom: .2rem;
}
.benefit-desc {
  font-size: .82rem;
  color: var(--ds-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   5. INSTITUTIONAL
   ═══════════════════════════════════════════════════════════════ */
.landing-institutional {
  padding: var(--ds-section-py) 0;
  background: var(--ds-bg);
}
.inst-text {
  font-size: .92rem;
  color: var(--ds-text-muted);
  line-height: 1.7;
}
.inst-text p {
  margin-bottom: 1rem;
}
.inst-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.inst-fact {
  background: var(--ds-card);
  border-radius: var(--ds-radius-sm);
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--ds-border);
  text-align: center;
}
.inst-fact i {
  font-size: 1.5rem;
  margin-bottom: .4rem;
  display: block;
}
.inst-fact-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ds-text);
}
.inst-fact-sub {
  font-size: .72rem;
  color: var(--ds-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   6. CTA FINAL
   ═══════════════════════════════════════════════════════════════ */
.landing-cta-final {
  background: linear-gradient(135deg, var(--ds-navy-deep) 0%, var(--ds-navy-mid) 100%);
  padding: var(--ds-section-py-sm) 0;
  text-align: center;
}
.landing-cta-final h2 {
  font-size: var(--ds-heading-lg);
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}
.landing-cta-final p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}
.landing-cta-final .btn {
  padding: .75rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--ds-radius-sm);
}

/* ═══════════════════════════════════════════════════════════════
   7. ENHANCED FOOTER
   ═══════════════════════════════════════════════════════════════ */
.landing-footer {
  background: var(--ds-navy);
  color: rgba(255,255,255,.7);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}
.landing-footer .footer-heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: .75rem;
}
.landing-footer a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .82rem;
  transition: color .15s;
}
.landing-footer a:hover {
  color: var(--ds-blue-light);
}
.landing-footer .footer-brand-text {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.landing-footer hr {
  border-color: rgba(255,255,255,.1);
}
.landing-footer .footer-legal {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

/* ═══════════════════════════════════════════════════════════════
   8. SOBRE & CONTATO PAGE SPECIFICS
   ═══════════════════════════════════════════════════════════════ */
.page-hero-sm {
  background: linear-gradient(135deg, var(--ds-navy-deep) 0%, var(--ds-navy-mid) 100%);
  padding: 3rem 0;
  text-align: center;
}
.page-hero-sm h1 {
  font-size: var(--ds-heading-lg);
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}
.page-hero-sm p {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  margin: 0;
}
.contact-card {
  background: var(--ds-card);
  border-radius: var(--ds-radius-md);
  padding: 2.5rem;
  box-shadow: var(--ds-shadow-md);
  border: 1px solid var(--ds-border);
}

/* ═══════════════════════════════════════════════════════════════
   9. RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .landing-hero { padding: 4rem 0 3.5rem; }
  .landing-section { padding: var(--ds-section-py-sm) 0; }
  .landing-modules { padding: var(--ds-section-py-sm) 0; }
  .landing-benefits { padding: var(--ds-section-py-sm) 0; }
  .landing-institutional { padding: var(--ds-section-py-sm) 0; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat-value { font-size: 1.3rem; }
  .inst-facts { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .contact-card { padding: 1.5rem; }
}
@media (max-width: 575.98px) {
  .landing-hero h1 { font-size: 1.5rem; }
  .hero-sub { font-size: .95rem; }
  .cred-item { text-align: left; }
}
