/* ============================================================
   BIO Theme – Scoped color overrides
   Paleta: engenharia + biotecnologia + sustentabilidade
   Aplica-se apenas quando <body class="bio-theme">
   ============================================================ */

/* ── CSS Variables ── */
.bio-theme {
  --background-color: #F3EFE3;
  --default-color: #202622;
  --heading-color: #123D2B;
  --accent-color: #123D2B;
  --surface-color: #F3EFE3;
  --contrast-color: #F3EFE3;
  --bio-text-size: 19px;
}

/* Nav */
.bio-theme {
  --nav-color: #F3EFE3;
  --nav-hover-color: #D4B875;
  --nav-mobile-background-color: #F3EFE3;
  --nav-dropdown-background-color: #F3EFE3;
  --nav-dropdown-color: #202622;
  --nav-dropdown-hover-color: #D4B875;
}

/* ── Header ── */
.bio-theme .header {
  --background-color: #183F31;
  --heading-color: #F3EFE3;
}

.bio-theme .header .topbar {
  background-color: #0A2D21;
}

.bio-theme .header .branding {
  background-color: #183F31;
  border-bottom: 1px solid rgba(243, 239, 227, .08);
}

/* ── Nav active/hover accent ── */
.bio-theme .navmenu .active,
.bio-theme .navmenu .active:focus,
.bio-theme .navmenu li:hover > a,
.bio-theme .navmenu > ul > li > a:before {
  color: #D4B875;
}

.bio-theme .navmenu > ul > li > a:before {
  background-color: #D4B875;
}

.bio-theme .header .logo span {
  color: #D4B875;
}

/* ── Accent background (hero + footer) ── */
.bio-theme .accent-background {
  --background-color: #123D2B;
  --default-color: #F3EFE3;
  --heading-color: #F3EFE3;
  --accent-color: #F3EFE3;
  --surface-color: #1F6545;
  --contrast-color: #F3EFE3;
}

/* ── Dark background ── */
.bio-theme .dark-background {
  --background-color: #123D2B;
  --surface-color: #1F6545;
}

/* ── Links ── */
.bio-theme a {
  color: var(--accent-color);
}

.bio-theme a:hover {
  color: #1F6545;
}

/* ── Buttons ── */
.bio-theme .btn-success {
  background-color: #123D2B;
  border-color: #123D2B;
  color: #F3EFE3;
}

.bio-theme .btn-success:hover {
  background-color: #1F6545;
  border-color: #1F6545;
  color: #F3EFE3;
}

.bio-theme .btn-outline-success {
  border-color: #123D2B;
  color: #123D2B;
}

.bio-theme .btn-outline-success:hover {
  background-color: #123D2B;
  border-color: #123D2B;
  color: #F3EFE3;
}

.bio-theme .btn-primary {
  background-color: #123D2B;
  border-color: #123D2B;
  color: #F3EFE3;
}

.bio-theme .btn-primary:hover {
  background-color: #1F6545;
  border-color: #1F6545;
  color: #F3EFE3;
}

/* ── Bootstrap utilities ── */
.bio-theme .bg-success {
  background-color: #123D2B !important;
}

.bio-theme .text-success {
  color: #123D2B !important;
}

.bio-theme .bg-primary {
  background-color: #123D2B !important;
}

.bio-theme .text-primary {
  color: #123D2B !important;
}

.bio-theme .blog-author-initial {
  color: #D4B875 !important;
}

.bio-theme .border-success {
  border-color: #123D2B !important;
}

.bio-theme .border-primary {
  border-color: #123D2B !important;
}

/* ── Scroll top button ── */
.bio-theme .scroll-top {
  background-color: #123D2B;
}

.bio-theme .scroll-top:hover {
  background-color: #1F6545;
}

/* ── Contact section ── */
.bio-theme .contato .info-container {
  background-color: #123D2B;
}

.bio-theme .contato .info-container a {
  color: #F3EFE3;
}

.bio-theme .contato .info-container a:hover {
  color: #D4B875;
}

.bio-theme .contato .php-email-form button[type=submit] {
  background: #123D2B;
}

.bio-theme .contato .php-email-form button[type=submit]:hover {
  background: #1F6545;
}

/* ── FAQ ── */
.bio-theme .faq .faq-container .faq-active h3 {
  color: #123D2B;
}

.bio-theme .faq .faq-container .faq-item h3:hover {
  color: #123D2B;
}

.bio-theme .faq .faq-container .faq-item .faq-toggle:hover {
  color: #123D2B;
}

.bio-theme .faq .faq-container .faq-active .faq-toggle {
  color: #123D2B;
}

/* ── Compact FAQ ── */
.bio-theme .faq .content h3 {
  line-height: 1.2;
}

.bio-theme .faq .content p,
.bio-theme .faq .faq-container .faq-item .faq-content p {
  font-size: var(--bio-text-size);
  line-height: 24px;
}

.bio-theme .faq .faq-container .faq-item {
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
  margin-bottom: 16px;
  padding: 18px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bio-theme .faq .faq-container .faq-item:not(.faq-active):hover {
  background-color: rgba(255, 255, 255, 0.42);
  border-color: rgba(18, 61, 43, 0.12);
}

.bio-theme .faq .faq-container .faq-item h3 {
  color: #123D2B;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.bio-theme .faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
}

.bio-theme .faq .faq-container .faq-item .faq-toggle {
  color: #D4B875;
  right: 18px;
  top: 20px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bio-theme .faq .faq-container .faq-active .faq-toggle {
  color: #D4B875;
  transform: rotate(180deg);
}

/* ── Product pages ── */
.bio-theme .product-page {
  background: #F3EFE3;
}

.bio-theme .product-page .card,
.bio-theme .product-detail-page .bg-white {
  background-color: #F3EFE3 !important;
  border: 1px solid rgba(18, 61, 43, 0.12) !important;
  box-shadow: 0 8px 24px rgba(18, 61, 43, 0.1) !important;
}

.bio-theme .product-page .card-img-top {
  background-color: #E8E3D5;
  object-fit: contain !important;
}

.bio-theme .product-page .text-dark,
.bio-theme .product-page .text-green {
  color: #123D2B !important;
}

.bio-theme .product-page .text-secondary,
.bio-theme .product-page .text-muted {
  color: #202622 !important;
}

.bio-theme .product-detail-page .bg-light {
  background-color: #E8E3D5 !important;
  border-left-color: #D4B875 !important;
}

.bio-theme .product-detail-page .carousel-inner {
  background-color: #E8E3D5;
  border: 1px solid rgba(18, 61, 43, 0.12);
}

.bio-theme .product-detail-page .carousel-item img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
}

.bio-theme .product-detail-page .badge.bg-primary {
  background-color: #D4B875 !important;
  color: #123D2B !important;
}

.bio-theme .product-detail-page .btn-outline-primary {
  border-color: #123D2B;
  color: #123D2B;
}

.bio-theme .product-detail-page .btn-outline-primary:hover {
  background-color: #123D2B;
  border-color: #123D2B;
  color: #F3EFE3;
}

.bio-theme .product-detail-page .product-carousel {
  max-width: 860px;
  margin-inline: auto;
}

.bio-theme .product-detail-page .product-info-panel {
  font-size: 18px;
}

.bio-theme .product-detail-page .product-info-panel h5 {
  font-size: 22px;
}

.bio-theme .product-detail-page .product-info-panel ul {
  font-size: 18px;
}

.bio-theme .product-catalog-page .product-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #123D2B;
  font-weight: 600;
  text-decoration: none;
}

.bio-theme .product-catalog-page .product-catalog-link:hover {
  color: #D4B875;
}

/* ── BIO solution pages ── */
.bio-theme .solution-page .bg-light {
  background-color: #E8E3D5 !important;
}

.bio-theme .solution-page h2,
.bio-theme .solution-page h3,
.bio-theme .solution-page h4 {
  color: #123D2B;
}

.bio-theme .solution-page p,
.bio-theme .solution-page li {
  color: #202622;
}

.bio-theme .solution-page .bi {
  color: #D4B875;
}

/* ── Testimonials ── */
.bio-theme .testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #123D2B;
}

/* ── Portfolio ── */
.bio-theme .portfolio .portfolio-filters li:hover,
.bio-theme .portfolio .portfolio-filters li.filter-active {
  color: #123D2B;
}

/* ── Preloader ── */
.bio-theme #preloader:before {
  border-color: #123D2B transparent #123D2B transparent;
}

/* ── Section title underline ── */
.bio-theme .section-title h2:after {
  background: #123D2B;
}

/* ── Pricing ── */
.bio-theme .pricing ul i {
  color: #1F6545;
}

.bio-theme .pricing .icon {
  background: #123D2B;
}

.bio-theme .pricing h4 {
  color: #123D2B;
}

/* ── Blog pagination ── */
.bio-theme .blog-pagination li a.active,
.bio-theme .blog-pagination li a:hover {
  background: #123D2B;
}

/* ── Services ── */
.bio-theme .servicos .servico-item:hover .icon:before {
  background: color-mix(in srgb, #123D2B, transparent 50%);
}

.bio-theme .servicos .servico-item:hover h3 {
  border-color: color-mix(in srgb, #123D2B, transparent 10%);
}

.bio-theme .servicos .servico-item:hover .readmore {
  color: #123D2B;
}

/* ── Recent posts ── */
.bio-theme .recent-posts .title a:hover {
  color: #123D2B;
}

/* ── Tags widget ── */
.bio-theme .tags-widget ul a:hover {
  background: #123D2B;
  border-color: #123D2B;
}

/* ── Search widget ── */
.bio-theme .search-widget form button {
  background: #123D2B;
}

.bio-theme .search-widget form button:hover {
  background: #1F6545;
}

/* ── Categories widget ── */
.bio-theme .categories-widget ul a:hover {
  color: #123D2B;
}

/* ── Comment form ── */
.bio-theme .comment-form form .btn-primary {
  background-color: #123D2B;
  color: #F3EFE3;
}

.bio-theme .comment-form form .btn-primary:hover {
  background-color: #1F6545;
}

/* ── Page title ── */
.bio-theme .page-title {
  --background-color: #123D2B;
}

/* ── About section icons ── */
.bio-theme .sobre .content ul i {
  color: #123D2B;
}

/* ── Stats icons ── */
.bio-theme .stats .stats-item i {
  color: #123D2B;
}

/* ── Service details ── */
.bio-theme .servico-details .servicos-list a.active {
  border-color: #123D2B;
}

.bio-theme .servico-details ul i {
  color: #123D2B;
}

/* ── Portfolio details ── */
.bio-theme .portfolio-details .portfolio-info h3:after {
  background: #123D2B;
}

.bio-theme .portfolio-details .portfolio-info .btn-visit {
  background: #123D2B;
}

.bio-theme .portfolio-details .portfolio-info .btn-visit:hover {
  background: #1F6545;
}

.bio-theme .portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #123D2B;
}

/* ── Blog details ── */
.bio-theme .blog-details .content blockquote:after {
  background-color: #123D2B;
}

.bio-theme .blog-details .meta-bottom a:hover {
  color: #123D2B;
}

/* ── Home icon-box cards ── */
.bio-theme .home .icon-box {
  background-color: #3d614a;
}

.bio-theme .home .icon-box .title a,
.bio-theme .home .icon-box .icon {
  color: #F3EFE3;
}

.bio-theme .home .icon-box:hover {
  background-color: #4d715a;
}

.bio-theme .home .icon-box:hover .title a,
.bio-theme .home .icon-box:hover .icon {
  color: #ffffff;
}

/* ── BIO Hero Section ── */
.bio-theme .bio-hero-title {
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 18px;
}

.bio-theme .bio-hero-line1 {
  display: block;
  color: #F3EFE3;
}

.bio-theme .bio-hero-line2 {
  display: block;
  color: #D4B875;
}

.bio-theme .bio-hero-line3 {
  display: block;
  color: #F3EFE3;
}

.bio-theme .bio-hero-divider {
  width: 40px;
  height: 2px;
  background: #D4B875;
  margin-bottom: 20px;
}

.bio-theme .bio-hero-accent {
  color: #D4B875;
}

.bio-theme .bio-hero-text {
  color: rgba(243, 239, 227, 0.88);
  max-width: 550px;
  margin-bottom: 24px;
}

.bio-theme .bio-hero-btn {
  display: inline-block;
  align-self: flex-start;
  background: #D4B875;
  color: #123D2B;
  border: 1px solid #D4B875;
  font-weight: 600;
  font-size: var(--bio-text-size);
  padding: 10px 18px;
  border-radius: 6px;
  transition: all .2s ease;
  text-decoration: none;
}

.bio-theme .bio-hero-btn:hover {
  background: #E0C88B;
  border-color: #E0C88B;
  color: #123D2B;
}

/* ── BIO Cards ── */
.bio-theme .home .icon-box.bio-card {
  background: #3D614A;
  padding: 28px 24px;
  text-align: center;
  min-height: 245px;
}

.bio-theme .home .icon-box .icon.bio-card-icon {
  margin-bottom: 16px;
  color: #D4B875;
  font-size: 48px;
}

.bio-theme .home .icon-box .icon.bio-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: invert(63%) sepia(34%) saturate(471%) hue-rotate(9deg) brightness(93%) contrast(89%);
}

.bio-theme .home .icon-box .title.bio-card-title {
  color: #F3EFE3;
  font-weight: 700;
  text-align: center;
  font-size: 18px;
  margin-bottom: 0;
  line-height: 1.15;
}

.bio-theme .bio-card-divider {
  width: 24px;
  height: 2px;
  background: #D4B875;
  margin: 12px auto 14px;
}

.bio-theme .bio-card-desc {
  color: rgba(243, 239, 227, 0.88);
  text-align: center;
  font-size: var(--bio-text-size);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ── BIO Navbar link readability ── */
.bio-theme .navmenu a,
.bio-theme .navmenu a:focus {
  color: rgba(243, 239, 227, 0.78);
}

/* ── BIO body / paragraph base size ── */
.bio-theme p {
  font-size: var(--bio-text-size);
}

/* ============================================================
   BIO About – "Quem Somos" redesign
   3-column layout: title | text | image
   ============================================================ */

.bio-about {
  padding: 100px 0;
  background-color: #F3EFE3;
}

.bio-about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr .95fr;
  gap: 64px;
  align-items: stretch;
}

/* ── Eyebrow label ── */
.bio-about__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.bio-about__eyebrow-label {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #D4B875;
  white-space: nowrap;
}

.bio-about__eyebrow-line {
  display: block;
  width: 48px;
  height: 2px;
  background: #D4B875;
  flex-shrink: 0;
}

/* ── Title ── */
.bio-about__title {
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 800;
  color: #123D2B;
  line-height: 1.15;
  margin-bottom: 0;
}

/* ── Content text ── */
.bio-about__col-content {
  padding-top: 40px;
}

.bio-about__text {
  font-size: var(--bio-text-size);
  color: #202622;
  line-height: 1.7;
  margin-bottom: 16px;
}

.bio-about__text:last-child {
  margin-bottom: 0;
}

/* ── Image ── */
.bio-about__col-image {
  display: flex;
  align-self: stretch;
}

.bio-about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ── Responsive: Tablet ── */
@media (max-width: 992px) {
  .bio-about {
    padding: 72px 0;
  }

  .bio-about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .bio-about__col-image {
    grid-column: 1 / -1;
    align-self: auto;
  }

  .bio-about__image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .bio-about__title {
    font-size: clamp(28px, 3vw, 38px);
  }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
  .bio-about {
    padding: 56px 0;
  }

  .bio-about__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .bio-about__col-content {
    padding-top: 0;
  }

  .bio-about__col-image {
    align-self: auto;
  }

  .bio-about__image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .bio-about__title {
    font-size: clamp(26px, 6vw, 34px);
  }

  .bio-about__eyebrow-line {
    width: 32px;
  }

  .bio-about__image {
    border-radius: 10px;
  }
}
