/* ============================================
   Soluções Integradas — Custom Styles
   Bootstrap 5.3 base
   ============================================ */

:root {
  --si-primary: #1a3a6b;
  --si-accent: #0ea5e9;
  --si-green: #10b981;
  --si-dark: #1f2937;
  --si-light: #f8fafc;
  --si-gray: #6b7280;
  --si-border: #e5e7eb;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--si-dark);
  background: #fff;
}

/* ---- Navbar ---- */
.navbar {
  background: var(--si-primary) !important;
  padding: 0.6rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff !important;
  letter-spacing: 0.3px;
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.1);
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Buttons ---- */
.btn-si-primary {
  background: var(--si-green);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.62rem 1.65rem;
  border-radius: 7px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-si-primary:hover {
  background: #0d9968;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.35);
}
.btn-si-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.65);
  font-weight: 600;
  padding: 0.6rem 1.65rem;
  border-radius: 7px;
  transition: all 0.2s;
}
.btn-si-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}
.btn-accent {
  background: var(--si-accent);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 7px;
  transition: background 0.2s, transform 0.15s;
}
.btn-accent:hover {
  background: #0284c7;
  color: #fff;
  transform: translateY(-1px);
}

/* ---- Hero ---- */
.hero-section {
  background:
    linear-gradient(rgba(13,71,161,0.82), rgba(13,71,161,0.82)),
    url('/assets/img/escritorio.png') center/cover no-repeat;
  padding: 5.5rem 0 4.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  display: none;
}
.hero-section::after {
  display: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-section h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}
.hero-section p.lead {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 580px;
  line-height: 1.75;
}

/* ---- Page Hero (internal pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--si-primary) 0%, #0f2855 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
}
.page-hero p {
  opacity: 0.85;
  max-width: 600px;
  margin: 0.5rem auto 0;
  font-size: 1.05rem;
}

/* ---- Sections ---- */
.section-light  { background: var(--si-light); padding: 5rem 0; }
.section-white  { background: #fff;            padding: 5rem 0; }
.section-dark   { background: var(--si-dark);  color: #fff; padding: 5rem 0; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--si-primary);
  margin-bottom: 0.6rem;
}
.section-title-white { color: #fff; }
.section-subtitle {
  color: var(--si-gray);
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 560px;
}
.section-divider {
  width: 50px;
  height: 4px;
  background: var(--si-green);
  border-radius: 2px;
  margin: 0.6rem 0 2.2rem;
}
.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Product Cards (home grid) ---- */
.product-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  border: 1px solid var(--si-border);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.product-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.icon-blue   { background: rgba(14,165,233,0.12);  color: var(--si-accent); }
.icon-green  { background: rgba(16,185,129,0.12);  color: var(--si-green);  }
.icon-purple { background: rgba(139,92,246,0.12);  color: #8b5cf6;          }
.icon-orange { background: rgba(249,115,22,0.12);  color: #f97316;          }

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--si-primary);
  margin-bottom: 0.5rem;
}
.product-card p {
  color: var(--si-gray);
  font-size: 0.92rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.2rem;
}
.card-link {
  color: var(--si-accent);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 8px; color: var(--si-accent); }

/* ---- Differentials ---- */
.diff-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  height: 100%;
}
.diff-icon {
  font-size: 2.4rem;
  margin-bottom: 0.9rem;
}
.diff-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--si-primary);
  margin-bottom: 0.5rem;
}
.diff-card p {
  color: var(--si-gray);
  font-size: 0.91rem;
  line-height: 1.65;
  margin: 0;
}

/* ---- Segment Pills ---- */
.segment-pills { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.segment-pill {
  background: rgba(14,165,233,0.09);
  color: #0369a1;
  border: 1.5px solid rgba(14,165,233,0.25);
  border-radius: 20px;
  padding: 0.32rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---- Mission / Vision / Values ---- */
.mvv-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 2rem 2rem 2.2rem;
  border-left: 4px solid var(--si-green);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  height: 100%;
}
.mvv-card h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--si-accent);
  margin-bottom: 0.85rem;
}
.mvv-card p {
  color: var(--si-dark);
  font-size: 0.98rem;
  line-height: 1.75;
  font-style: italic;
  margin: 0;
}
.value-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--si-light);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.value-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--si-green);
  flex-shrink: 0;
  margin-top: 5px;
}
.value-card p {
  margin: 0;
  font-weight: 600;
  color: var(--si-dark);
  font-size: 0.95rem;
}

/* ---- Product Detail (produtos page) ---- */
.product-detail {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--si-border);
}
.product-detail:last-child { border-bottom: none; }

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.28rem 0.85rem;
  border-radius: 5px;
  margin-bottom: 0.9rem;
}
.tag-green  { background: rgba(16,185,129,0.12);  color: #059669; }
.tag-blue   { background: rgba(14,165,233,0.12);  color: #0369a1; }
.tag-purple { background: rgba(139,92,246,0.12);  color: #7c3aed; }
.tag-orange { background: rgba(249,115,22,0.12);  color: #c2410c; }

.product-detail h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--si-primary);
  margin-bottom: 0.65rem;
}
.product-tagline {
  font-size: 1.05rem;
  color: var(--si-gray);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
  font-size: 0.94rem;
  color: var(--si-dark);
  line-height: 1.5;
}
.feature-list li::before {
  content: '✓';
  color: var(--si-green);
  font-weight: 700;
  flex-shrink: 0;
}
.product-visual {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 18px;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  font-size: 5.5rem;
  text-align: center;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--si-primary) 0%, #1e40af 100%);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.cta-section p {
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ---- Contact ---- */
.contact-info-card {
  background: var(--si-light);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(14,165,233,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--si-accent);
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--si-gray);
  margin: 0 0 0.25rem;
}
.contact-info-card p,
.contact-info-card a {
  font-size: 0.95rem;
  color: var(--si-dark);
  text-decoration: none;
  font-weight: 500;
  margin: 0;
}
.contact-info-card a:hover { color: var(--si-accent); }

/* Form */
.form-control,
.form-select {
  border: 1.5px solid var(--si-border);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--si-accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--si-dark);
  margin-bottom: 0.4rem;
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ---- Footer ---- */
.footer {
  background: var(--si-dark);
  color: rgba(255,255,255,0.72);
  padding: 3.5rem 0 1.5rem;
}
.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-desc {
  font-size: 0.87rem;
  line-height: 1.65;
  max-width: 270px;
}
.footer-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}

/* ---- Product Logo in Cards ---- */
.product-logo-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  margin-bottom: 1.1rem;
}
.product-logo-img {
  max-height: 64px;
  max-width: 190px;
  object-fit: contain;
  width: auto;
}

/* ---- Lang Switcher ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-switcher a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lang-switcher a.active,
.lang-switcher a:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.lang-switcher span {
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

/* ---- Utilities ---- */
.text-primary-si { color: var(--si-primary) !important; }
.text-accent      { color: var(--si-accent)  !important; }
.text-green       { color: var(--si-green)   !important; }

/* ---- Fade-in animation ---- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Page Hero anchor buttons ---- */
.page-hero .btn-outline-secondary {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}
.page-hero .btn-outline-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

/* ---- Founder Cards ---- */
.founder-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  border: 1px solid var(--si-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--si-green);
  margin-bottom: 1.1rem;
}
.founder-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--si-primary);
  margin-bottom: 0.2rem;
}
.founder-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--si-accent);
  margin-bottom: 0.85rem;
}
.founder-credentials {
  font-size: 0.88rem;
  color: var(--si-gray);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* ---- Team Carousel ---- */
.team-carousel-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-section     { padding: 3.5rem 0 3rem; }
  .section-light,
  .section-white,
  .section-dark     { padding: 3.5rem 0; }
  .product-visual   { min-height: 200px; font-size: 3.5rem; }
  .cta-section      { padding: 3.5rem 0; }
}
