/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --nav-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #149ddd; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #a8a9b4;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #040b14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #040b14;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: hidden;
  z-index: 997;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer-admin {
  position: absolute;
  top: 15px;
  right: 15px;
  margin-top: 0;
}

.header {
  position: fixed;
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (min-width: 1200px) {

  .header~main,
  .header~#footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero img,
.hero .hero-rv-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero img {
  object-fit: cover;
}

.hero .hero-rv-bg {
  overflow: hidden;
  background: #040b14;
  pointer-events: auto;
}

.hero .hero-rv-bg iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
  pointer-events: auto;
}


.hero .hero-rv-bg iframe.hero-rv-frame {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero .hero-rv-bg iframe.hero-rv-frame.is-active {
  opacity: 1;
  visibility: visible;
}

/*
  No mobile e em dispositivos cuja entrada principal é o toque, a RV do hero
  continua visível e pode responder ao giroscópio, mas não captura o arrasto.
  Assim o usuário consegue deslizar a tela para acessar o restante do site.
  No desktop, a navegação manual dentro do tour continua ativa.
*/
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
  .hero {
    touch-action: pan-y;
  }

  .hero .hero-rv-bg,
  .hero .hero-rv-bg iframe {
    pointer-events: none;
  }
}

/*
  Fade escurecido sobre a RV sem bloquear a interação no desktop.
  No mobile, a regra acima desativa deliberadamente o toque no iframe.
*/
.hero:before {
  content: none !important;
  display: none !important;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(4, 11, 20, 0.46) 0%, rgba(4, 11, 20, 0.28) 42%, rgba(4, 11, 20, 0.12) 100%),
    rgba(4, 11, 20, 0.12);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.65);
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

.mobile-scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }

  .mobile-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 18vh;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.75);
    transform: translateX(-50%);
    pointer-events: auto !important;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    animation: none;
  }

  .mobile-scroll-arrow {
    display: block;
    width: 58px;
    height: 52px;
  }

  .mobile-scroll-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
  }


  .mobile-scroll-hint:hover,
  .mobile-scroll-hint:focus,
  .mobile-scroll-hint:active {
    color: #ffffff;
    text-decoration: none;
  }

  .mobile-scroll-arrow {
    animation: mobile-scroll-arrow-float 1.5s ease-in-out infinite;
  }

  .mobile-scroll-arrow polyline {
    fill: none;
    stroke: currentColor;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@keyframes mobile-scroll-hint-float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background-color: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

.header .logo .sitename {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin: 0;
}

.header .logo .sitename span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 3px;
}

/* Logo limpa e premium */
.profile-logo {
  width: 140px;
  height: auto;

  display: block;
  margin: 35px auto 20px;

  object-fit: contain;

  /* remove qualquer fundo */
  background: transparent;
  border: none;
  border-radius: 0;

  /* efeito elegante */
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));

  transition: all 0.4s ease;
}

.profile-logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.35));
}

/*--------------------------------------------------------------
# Premium Contact Section
--------------------------------------------------------------*/

.contact {
  position: relative;
}

.contact .section-title {
  max-width: 700px;
}

.contact .contact-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 18px;
}

.contact .section-title h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact .section-title p {
  font-size: 16px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* Left Side */

.contact-info-premium {
  background: #fff;
  border-radius: 28px;
  padding: 35px;
  height: 100%;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.04),
    0 2px 10px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 35px;
}

.contact-card:last-child {
  margin-bottom: 25px;
}

.contact-card .icon-box {
  min-width: 58px;
  height: 58px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent-color), white 88%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s ease;
}

.contact-card .icon-box i {
  font-size: 22px;
  color: var(--accent-color);
}

.contact-card:hover .icon-box {
  transform: translateY(-4px);
  background: var(--accent-color);
}

.contact-card:hover .icon-box i {
  color: #fff;
}

.contact-card span {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  margin-bottom: 8px;
}

.contact-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card p {
  margin: 0;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* Map */

.contact-map {
  overflow: hidden;
  border-radius: 22px;
  margin-top: 10px;
}

.contact-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(100%) contrast(1.05);
}

/* Form */

.contact-form-premium {
  background: #fff;
  padding: 45px;
  border-radius: 28px;
  height: 100%;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.04),
    0 2px 10px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
}

.form-header {
  margin-bottom: 35px;
}

.form-header span {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
}

.form-header h3 {
  font-size: 34px;
  margin-top: 12px;
  font-weight: 700;
}

/* Inputs */

.contact-form-premium label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.contact-form-premium .form-control {
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0 20px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fafafa;
}

.contact-form-premium textarea.form-control {
  height: auto;
  padding-top: 18px;
}

.contact-form-premium .form-control:focus {
  border-color: var(--accent-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20,157,221,0.08);
}

/* Button */

.contact-form-premium button {
  border: none;
  height: 58px;
  padding: 0 32px;
  border-radius: 18px;
  background: var(--heading-color);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: 0.4s ease;
}

.contact-form-premium button i {
  transition: 0.3s ease;
}

.contact-form-premium button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.contact-form-premium button:hover i {
  transform: translateX(4px);
}

/* Mobile */

@media (max-width: 768px) {

  .contact .section-title h2 {
    font-size: 32px;
  }

  .contact-form-premium,
  .contact-info-premium {
    padding: 28px;
  }

  .form-header h3 {
    font-size: 28px;
  }

}

/*--------------------------------------------------------------
# Premium Footer
--------------------------------------------------------------*/

.footer-premium {
  position: relative;
  background: #0f1720;
  padding: 90px 0 35px;
  overflow: hidden;
}

/* Glow decorativo */

.footer-premium::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(20, 157, 221, 0.05);
  border-radius: 50%;
  top: -250px;
  right: -150px;
  filter: blur(40px);
}

/* Layout */

.footer-content {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;

  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand */

.footer-brand {
  max-width: 420px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.footer-brand span {
  display: inline-block;
  color: var(--accent-color);
  font-size: 12px;
  letter-spacing: 4px;
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  font-size: 15px;
}

/* Contact */

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-item i {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: rgba(255,255,255,0.05);

  color: var(--accent-color);
  font-size: 18px;

  transition: 0.3s ease;
}

.footer-item span {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
}

.footer-item:hover i {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}

/* Social */

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background: rgba(255,255,255,0.05);

  color: #fff;
  font-size: 18px;

  transition: all 0.35s ease;
}

.footer-social a:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(20,157,221,0.25);
}

/* Bottom */

.footer-bottom {
  position: relative;
  z-index: 2;

  padding-top: 28px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.footer-bottom strong {
  color: #fff;
  font-weight: 600;
}

/* Mobile */

@media (max-width: 992px) {

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-social {
    margin-top: 10px;
  }

}

@media (max-width: 768px) {

  .footer-premium {
    padding: 70px 0 30px;
  }

  .footer-brand h3 {
    font-size: 28px;
  }

}

.header .logo {
  text-align: center;
}

.header .logo .sitename {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  line-height: 1.1;
  margin: 0;

  text-align: center;
}

.header .logo .sitename span {
  display: block;

  margin-top: 6px;

  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;

  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Premium About Section
--------------------------------------------------------------*/

.about {
  position: relative;
}

/* Title */

.about-title {
  max-width: 850px;
}

.about-title .mini-title {
  display: inline-block;

  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 600;

  color: var(--accent-color);

  margin-bottom: 20px;
}

.about-title h2 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;

  margin-bottom: 28px;

  max-width: 900px;
}

.about-title p {
  font-size: 17px;
  line-height: 1.9;

  color: color-mix(in srgb, var(--default-color), transparent 30%);

  max-width: 760px;
}

/* Layout */

.about-premium-wrapper {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 80px;
  align-items: center;
}

/* Image */

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;

  box-shadow:
    0 20px 50px rgba(0,0,0,0.08),
    0 8px 20px rgba(0,0,0,0.04);
}

/* Floating Badge */

.experience-badge {
  position: absolute;

  right: -30px;
  bottom: 40px;

  background: #fff;

  padding: 22px 26px;

  border-radius: 24px;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.08);

  min-width: 190px;
}

.experience-badge strong {
  display: block;

  font-size: 18px;
  line-height: 1;

  color: var(--accent-color);

  margin-bottom: 10px;
}

.experience-badge span {
  font-size: 14px;
  line-height: 1.6;

  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* Content */

.about-content .content-tag {
  display: inline-block;

  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;

  color: var(--accent-color);

  margin-bottom: 22px;
}

.about-content h3 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 24px;
}

.about-content .description {
  font-size: 16px;
  line-height: 1.9;

  color: color-mix(in srgb, var(--default-color), transparent 30%);

  margin-bottom: 40px;
}

/* Cards */

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.about-card {
  display: flex;
  gap: 18px;

  padding: 26px;

  border-radius: 24px;

  background: #fff;

  border: 1px solid rgba(0,0,0,0.04);

  transition: all 0.35s ease;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.03);
}

.about-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.08);
}

.about-card i {
  min-width: 56px;
  height: 56px;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    color-mix(in srgb, var(--accent-color), white 88%);

  color: var(--accent-color);

  font-size: 22px;
}

.about-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.about-card p {
  margin: 0;

  font-size: 14px;
  line-height: 1.8;

  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

/* Responsive */

@media (max-width: 991px) {

  .about-premium-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .experience-badge {
    right: 20px;
    bottom: 20px;
  }

}

@media (max-width: 768px) {

  .about-title h2 {
    font-size: 34px;
  }

  .about-content h3 {
    font-size: 28px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  margin-bottom: 18px;
  padding: 24px 28px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #c7c7c7;
  transform: translateY(-2px);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0;
  padding-right: 40px;
  line-height: 1.5;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-content p {
  margin-top: 18px;
  color: #666;
  line-height: 1.8;
  font-size: 15px;
}

.faq-toggle {
  position: absolute;
  right: 25px;
  top: 28px;
  font-size: 18px;
  color: #555;
  transition: 0.3s;
}

/* Active */
.faq-item.faq-active {
  border-color: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-item.faq-active .faq-content {
  max-height: 300px;
}

.faq-item.faq-active .faq-toggle {
  transform: rotate(90deg);
}

/* Mobile */
@media (max-width: 768px) {

  .faq-item {
    padding: 20px;
  }

  .faq-item h3 {
    font-size: 16px;
    padding-right: 30px;
  }

}

/* FAQ */
.custom-faq-section {
  padding: 80px 0;
}

.custom-faq {
  max-width: 900px;
  margin: 0 auto;
}

.custom-faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: 0.3s;
  background: #fff;
}

.custom-faq-item.active {
  border-color: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.custom-faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 24px;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #222;
}

.custom-faq-question i {
  font-size: 18px;
  transition: 0.3s;
}

.custom-faq-item.active .custom-faq-question i {
  transform: rotate(45deg);
}

.custom-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.custom-faq-answer p {
  padding: 0 24px 24px;
  margin: 0;
  color: #666;
  line-height: 1.8;
  font-size: 15px;
}

.custom-faq-item.active .custom-faq-answer {
  max-height: 300px;
}

.custom-faq-item {
  background: #fcfcfc;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  margin-bottom: 22px;
}

.custom-faq-question {
  padding: 28px;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.custom-faq-answer p {
  padding: 0 28px 28px;
  line-height: 1.9;
  color: #777;
}

/* Diferenciais */
.diferenciais {
  padding: 100px 0;
}

.diferencial-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 35px;
  height: 100%;
  transition: 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.diferencial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.diferencial-card i {
  font-size: 38px;
  color: #111;
  margin-bottom: 25px;
  display: inline-block;
}

.diferencial-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #222;
}

.diferencial-card p {
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* =========================================
PORTFÓLIO PREMIUM
========================================= */

.portfolio-premium{
  background: #f4fafd;
  padding: 100px 0;
  overflow: hidden;
}

/* TITLE */

.portfolio-premium .section-title{
  padding-bottom: 60px;
  position: relative;
}

.portfolio-premium .section-title h2{
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;

  color: var(--heading-color);
  font-family: var(--heading-font);
}

.portfolio-premium .section-title h2:after{
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

.portfolio-premium .section-title p{
  margin-bottom: 0;
  color: var(--default-color);
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.8;
}

/* FILTROS */

.portfolio-filters{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
  margin:0 0 50px;
  padding:0;
  list-style:none;
}

.portfolio-filters li{
  padding:12px 24px;
  border-radius:100px;
  background:#fff;
  cursor:pointer;
  transition:0.4s;
  font-size:14px;
  font-weight:500;
  border:1px solid rgba(0,0,0,0.06);
}

.portfolio-filters li.active,
.portfolio-filters li:hover{
  background:#111;
  color:#fff;
}

/* CARD */

.portfolio-card{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  height:420px;
}

.portfolio-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.7s;
  filter: brightness(0.88);
}

.portfolio-card:hover img{
  transform:scale(1.08);
}

/* OVERLAY */

.portfolio-overlay{
  position:absolute;
  inset:0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92),
    rgba(0,0,0,0.25),
    transparent
  );

  display:flex;
  flex-direction:column;
  justify-content:flex-end;

  padding:32px;
  color:#fff;
}

.portfolio-overlay span{
  color:rgba(255,255,255,0.75);
  font-weight:500;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:10px;
}

.portfolio-overlay h3{
  color:#fff;
  font-size:28px;
  font-weight:600;
  margin-bottom:12px;

  text-shadow:0 2px 15px rgba(0,0,0,0.35);
}

.portfolio-overlay p{
  color:rgba(255,255,255,0.88);
  font-size:14px;
  line-height:1.7;
  max-width:90%;
}
.portfolio-project-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  margin-top:18px;
  padding:12px 24px;
  border-radius:50px;
  background:#ffffff;
  color:#111;
  font-size:12px;
  font-weight:600;
  letter-spacing:1.5px;
  text-transform:uppercase;
  transition:0.35s ease;
  box-shadow:0 12px 30px rgba(0,0,0,0.18);
}

.portfolio-project-btn:hover{
  background:var(--accent-color);
  color:#fff;
  transform:translateY(-3px);
}


/* SWIPER */

.swiper-pagination{
  margin-top:40px;
  position:relative;
}

.swiper-pagination-bullet{
  width:10px;
  height:10px;
  background:#cfcfcf;
  opacity:1;
}

.swiper-pagination-bullet-active{
  background:var(--accent-color);
}

/* RESPONSIVO */

@media(max-width:991px){

  .portfolio-card{
    height:360px;
  }

}

@media(max-width:768px){

  .portfolio-card{
    height:320px;
  }

  .portfolio-overlay{
    padding:24px;
  }

  .portfolio-overlay h3{
    font-size:22px;
  }

}

/* =========================================
BOTÕES DO CARROSSEL
========================================= */

.portfolio-slider{
  position: relative;
}

.portfolio-button-prev,
.portfolio-button-next{

  width:56px;
  height:56px;

  border-radius:50%;
  background:#ffffff;

  position:absolute;
  top:50%;
  transform:translateY(-50%);

  z-index:20;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;

  transition:0.3s ease;

  box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* ESQUERDA */

.portfolio-button-prev{
  left:15px;
}

/* DIREITA */

.portfolio-button-next{
  right:15px;
}

/* ÍCONE */

.portfolio-button-prev i,
.portfolio-button-next i{
  font-size:20px;
  color:#111;
}

/* HOVER */

.portfolio-button-prev:hover,
.portfolio-button-next:hover{
  background:var(--accent-color);
  transform:translateY(-50%) scale(1.05);
}

.portfolio-button-prev:hover i,
.portfolio-button-next:hover i{
  color:#fff;
}

/* RESPONSIVO */

@media(max-width:768px){

  .portfolio-button-prev,
  .portfolio-button-next{
    width:46px;
    height:46px;
  }

  .portfolio-button-prev{
    left:8px;
  }

  .portfolio-button-next{
    right:8px;
  }

}

/* =========================================
SECTION TITLE PADRÃO IPORTFOLIO
========================================= */

.portfolio-premium .section-title{
  padding-bottom: 50px;
  position: relative;

  text-align: left;
}

/* TÍTULO */

.portfolio-premium .section-title h2{

  font-size: 32px;
  font-weight: 700;

  margin-bottom: 20px;
  padding-bottom: 20px;

  position: relative;

  color: var(--heading-color);
  font-family: var(--heading-font);

  display: block;
}

/* LINHA */

.portfolio-premium .section-title h2::after{

  content: "";

  position: absolute;

  display: block;

  width: 50px;
  height: 3px;

  background: var(--accent-color);

  left: 0;
  bottom: 0;

  transform: none;
}

/* TEXTO */

.portfolio-premium .section-title{
  padding-bottom: 50px;
  position: relative;
  text-align: left;
}

.portfolio-premium .section-title h2{
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;

  color: var(--heading-color);
  font-family: var(--heading-font);
}

.portfolio-premium .section-title h2::after{
  content: "";
  position: absolute;

  width: 50px;
  height: 3px;

  background: var(--accent-color);

  left: 0;
  bottom: 0;
}

.portfolio-premium .section-title p{

  width: 100%;
  max-width: 900px;

  margin: 0;

  text-align: left;

  color: var(--default-color);

  line-height: 1.8;
  font-size: 16px;
}

/* MOBILE */

@media(max-width:768px){

  .portfolio-premium .section-title h2{
    font-size: 28px;
  }

  .portfolio-premium .section-title p{
    font-size: 15px;
    line-height: 1.7;
  }

}

/* ADMIN BUTTON */

.footer-admin {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}

.footer-admin a {
  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  font-size: 12px;

  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);

  background: transparent;

  opacity: 0.4;

  transition: all 0.25s ease;
}

.footer-admin a:hover {
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}


/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/*--------------------------------------------------------------
# Project Detail Page
# Conteúdo extra incorporado do adicionar.css sem duplicar as regras globais do main.css
--------------------------------------------------------------*/
.project-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  background: #040b14;
  overflow: hidden;
  padding: 120px 0 80px;
}

.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(4,11,20,0.92), rgba(4,11,20,0.48), rgba(4,11,20,0.16)),
    linear-gradient(to top, rgba(4,11,20,0.95), transparent 55%);
  z-index: 2;
}

.project-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  z-index: 1;
}

.project-hero .container {
  position: relative;
  z-index: 3;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}

.project-tag::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--accent-color);
  display: inline-block;
}

.project-hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 700;
  line-height: 1.02;
  max-width: 900px;
  margin-bottom: 22px;
  text-shadow: 0 12px 34px rgba(0,0,0,0.38);
}

.project-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  line-height: 1.8;
  max-width: 760px;
  margin: 0;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
  max-width: 760px;
}

.meta-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 14px 16px;
}

.meta-card span {
  display: block;
  color: rgba(255,255,255,0.58);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 6px;
}

.meta-card strong {
  color: #fff;
  font-size: 15px;
  font-family: var(--heading-font);
  font-weight: 700;
}

.project-gallery {
  background: #f4fafd;
  padding-bottom: 70px;
}

.gallery-slider {
  position: relative;
  overflow: visible;
}

.gallery-slide-card {
  position: relative;
  height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}

.gallery-slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.7s ease;
}

.gallery-slide-card:hover img {
  transform: scale(1.045);
}

.gallery-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(4,11,20,0.74);
  backdrop-filter: blur(16px);
  color: #fff;
}

.gallery-caption span {
  display: block;
  color: rgba(255,255,255,0.62);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 4px;
}

.gallery-caption h3 {
  color: #fff;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.project-button-prev,
.project-button-next,
.sheets-button-prev,
.sheets-button-next {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.project-button-prev,
.sheets-button-prev {
  left: 18px;
}

.project-button-next,
.sheets-button-next {
  right: 18px;
}

.project-button-prev i,
.project-button-next i,
.sheets-button-prev i,
.sheets-button-next i {
  font-size: 20px;
  color: #111;
}

.project-button-prev:hover,
.project-button-next:hover,
.sheets-button-prev:hover,
.sheets-button-next:hover {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.05);
}

.project-button-prev:hover i,
.project-button-next:hover i,
.sheets-button-prev:hover i,
.sheets-button-next:hover i {
  color: #fff;
}

.project-gallery .swiper-pagination,
.project-sheets .swiper-pagination {
  margin-top: 36px;
  position: relative;
}

.project-gallery .swiper-pagination-bullet,
.project-sheets .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cfcfcf;
  opacity: 1;
}

.project-gallery .swiper-pagination-bullet-active,
.project-sheets .swiper-pagination-bullet-active {
  background: var(--accent-color);
}

.project-sheets {
  background: #ffffff;
  padding-top: 80px;
  overflow: hidden;
}

.sheets-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.sheets-intro .section-title {
  padding-bottom: 0;
  max-width: 760px;
}

.sheets-note {
  color: color-mix(in srgb, var(--default-color), transparent 42%);
  font-size: 14px;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 8px;
}

.sheets-slider-wrap {
  position: relative;
  background: #f4fafd;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 22px 0 34px;
  overflow: hidden;
}

.sheets-slider {
  padding: 8px 0 24px;
  overflow: visible;
}

.sheets-slider .swiper-wrapper {
  align-items: center;
}

.sheet-slide {
  width: min(86vw, 980px);
  height: auto;
}

.sheet-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.414 / 1;
  background: transparent;
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
  transition: 0.35s ease;
}

.sheet-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 64px rgba(0,0,0,0.16);
}

.sheet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  background: transparent;
}

.sheet-card::after {
  display: none !important;
  content: none !important;
}

.sheet-label {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 3;
  background: rgba(4,11,20,0.76);
  color: #fff;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.sheets-button-prev,
.sheets-button-next {
  top: calc(50% + 8px);
}

.project-cta {
  background: #0f1720;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.project-cta::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  background: rgba(20,157,221,0.06);
  border-radius: 50%;
  top: -220px;
  right: -120px;
  filter: blur(40px);
}

.cta-box {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 44px;
}

.cta-box h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-box p {
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin: 0;
  max-width: 680px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 210px;
  height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  background: var(--accent-color);
  color: #fff;
  font-weight: 600;
  transition: 0.35s ease;
  white-space: nowrap;
}

.cta-button:hover {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(20,157,221,0.22);
}

@media (max-width: 991px) {
  .project-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-slide-card {
    height: 430px;
  }

  .sheets-intro,
  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .project-hero {
    min-height: 86vh;
    padding: 110px 0 60px;
  }

  .project-meta-grid {
    grid-template-columns: 1fr;
  }

  .gallery-slide-card {
    height: 360px;
    border-radius: 24px;
  }

  .gallery-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 11px 13px;
    border-radius: 14px;
  }

  .gallery-caption h3 {
    font-size: 15px;
  }

  .project-button-prev,
  .project-button-next,
  .sheets-button-prev,
  .sheets-button-next {
    width: 46px;
    height: 46px;
  }

  .project-button-prev,
  .sheets-button-prev {
    left: 8px;
  }

  .project-button-next,
  .sheets-button-next {
    right: 8px;
  }

  .sheet-slide {
    width: 92vw;
  }

  .sheets-slider-wrap {
    padding: 16px 0 30px;
  }

  .sheet-label {
    left: 14px;
    bottom: 14px;
    font-size: 10px;
    padding: 8px 12px;
  }

  .cta-box h2 {
    font-size: 30px;
  }
}

/* Ajustes finais - página de detalhe do projeto */
.project-hero {
  min-height: 100vh;
  align-items: flex-end;
  padding: 0 0 80px;
  margin-top: 0;
}

.project-hero img {
  top: 0;
}

.gallery-slider,
.sheets-slider {
  overflow: hidden;
}

.sheets-slider .swiper-wrapper {
  transition-timing-function: ease !important;
}

.gallery-slider .swiper-slide,
.sheets-slider .swiper-slide {
  height: auto;
}

@media (max-width: 768px) {
  .project-hero {
    min-height: 100vh;
    padding: 0 0 60px;
  }
}

/* Correção do botão Ver projeto no celular real */
.portfolio-project-btn{
  max-width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  align-self: flex-start;
  white-space: nowrap;
}

@media(max-width: 575px){
  .portfolio-slider{
    overflow: hidden;
  }

  .portfolio-card{
    height: 390px;
    border-radius: 22px;
  }

  .portfolio-overlay{
    padding: 20px;
  }

  .portfolio-overlay span{
    font-size: 10px;
    margin-bottom: 7px;
  }

  .portfolio-overlay h3{
    font-size: 20px;
    line-height: 1.18;
    margin-bottom: 8px;
  }

  .portfolio-overlay p{
    max-width: 100%;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 0;
  }

  .portfolio-project-btn{
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 12px;
    padding: 10px 16px;
    font-size: 10px;
    letter-spacing: 1px;
    position: relative;
    z-index: 5;
  }
}

/* Zoom interno por pinça nos carrosséis do projeto
   Mantém a rolagem vertical da página liberada sobre os carrosséis.
   O bloqueio do gesto só acontece durante a pinça ou quando a imagem está ampliada. */
.gallery-slider,
.sheets-slider,
.gallery-slide-card,
.sheet-card,
.project-pinch-zoom-wrap {
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}

.project-pinch-zoom-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  background: transparent;
}

.gallery-slide-card.is-zoomed .project-pinch-zoom-wrap,
.sheet-card.is-zoomed .project-pinch-zoom-wrap {
  touch-action: none;
}

.project-pinch-zoom-img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  will-change: transform;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* Remove a transição herdada da galeria durante o zoom interno.
   Assim a pinça e o arraste respondem na mesma hora, como nas folhas técnicas. */
.gallery-slide-card .project-pinch-zoom-img,
.sheet-card .project-pinch-zoom-img {
  transition: none;
}


.gallery-slide-card .project-pinch-zoom-img {
  object-fit: cover;
  object-position: center center;
}

.gallery-slide-card.is-zoomed {
  background: transparent;
}

.gallery-slide-card.is-zoomed .project-pinch-zoom-img,
.sheet-card.is-zoomed .project-pinch-zoom-img {
  cursor: grab;
}

.gallery-slide-card.is-zoomed .gallery-caption,
.sheet-card.is-zoomed .sheet-label {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) {
  .gallery-slide-card:hover .project-pinch-zoom-img {
    transform: translate3d(0, 0, 0) scale(1.045);
  }

  .gallery-slide-card.is-zoomed:hover .project-pinch-zoom-img {
    transform: inherit;
  }
}


/* FAQ pública */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
  justify-content: center;
}

.faq-filter {
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 65%);
  background: #fff;
  color: var(--accent-color);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}

.faq-filter:hover,
.faq-filter.active {
  background: var(--accent-color);
  color: #fff;
}

.custom-faq-item {
  display: block;
}

.custom-faq-item.hide {
  display: none;
}

/* FAQ filtrável - correção de clique e abertura */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
  justify-content: center;
}

.faq-filter {
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 65%);
  background: #fff;
  color: var(--accent-color);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
  cursor: pointer;
}

.faq-filter:hover,
.faq-filter.active {
  background: var(--accent-color);
  color: #fff;
}

.custom-faq-item {
  display: block;
}

.custom-faq-item.hide {
  display: none !important;
}

.custom-faq-question {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.custom-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.custom-faq-item.active .custom-faq-answer {
  max-height: 600px;
}

/* =========================================
RENDERS + REALIDADE VIRTUAL INCORPORADOS
========================================= */
#portfolio #renders.process,
#portfolio #ra.process{
  padding: 100px 0;
  background: transparent;
}

#portfolio #renders .section-title,
#portfolio #ra .section-title{
  text-align: left;
  padding-bottom: 50px;
  margin-bottom: 0;
}

#portfolio #renders .section-title h2,
#portfolio #ra .section-title h2{
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

#portfolio #renders .section-title h2:after,
#portfolio #ra .section-title h2:after{
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  transform: none;
  bottom: 0;
}

#portfolio #renders .section-title p,
#portfolio #ra .section-title p{
  max-width: 760px;
  margin: 0;
  color: var(--default-color);
  line-height: 1.8;
}

#portfolio #renders .gallery{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: 4px;
  padding: 0 2% 40px;
}

#portfolio #renders .item{
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  transition: all .8s cubic-bezier(.16,1,.3,1);
  border-radius: 18px;
}

#portfolio #renders .item.show{
  opacity: 1;
  transform: translateY(0);
}

#portfolio #renders .item img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) contrast(1.05);
  transition: transform .8s ease, filter .8s ease;
}

#portfolio #renders .item:hover img{
  transform: scale(1.02);
  filter: grayscale(0%);
}

#portfolio #renders .caption{
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  opacity: .8;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

#portfolio #renders .item:nth-child(1){grid-column:1/span 4;grid-row:span 4;}
#portfolio #renders .item:nth-child(2){grid-column:5/span 4;grid-row:span 4;}
#portfolio #renders .item:nth-child(3){grid-column:9/span 4;grid-row:span 4;}
#portfolio #renders .item:nth-child(4){grid-column:1/span 3;grid-row:span 3;}
#portfolio #renders .item:nth-child(5){grid-column:4/span 3;grid-row:span 3;}
#portfolio #renders .item:nth-child(6){grid-column:7/span 3;grid-row:span 3;}
#portfolio #renders .item:nth-child(7){grid-column:10/span 3;grid-row:span 3;}
#portfolio #renders .item:nth-child(8){grid-column:1/span 12;grid-row:span 3;}

#portfolio #ra .ra-carousel{
  position: relative;
  width: min(100%, 800px);
  margin: 10px auto 0;
}

#portfolio #ra .ra-grid{
  width: 100%;
  height: 450px;
  display: grid;
  grid-template-columns: 1fr;
}

#portfolio #ra .ra-item{
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
  display: none;
}

#portfolio #ra .ra-item.active{
  display: block;
}

#portfolio #ra .ra-item iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

#portfolio #ra .ra-button-prev,
#portfolio #ra .ra-button-next{
  top: 50%;
}

#portfolio #ra .ra-button-prev.is-disabled,
#portfolio #ra .ra-button-next.is-disabled{
  opacity: .45;
  cursor: default;
  pointer-events: none;
}

#portfolio #ra .ra-label{
  position: absolute;
  left: 15px;
  bottom: 15px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
}


/*--------------------------------------------------------------
# Plataforma Imersiva B2B Section
--------------------------------------------------------------*/
#portfolio #plataforma-b2b.b2b-platform{
  padding: 90px 0;
  background:
    radial-gradient(circle at top right, rgba(20,157,221,.14), transparent 34%),
    linear-gradient(135deg, #f7fbfd 0%, #ffffff 54%, #eef7fa 100%);
}

#portfolio #plataforma-b2b .b2b-platform-card{
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 24px 70px rgba(5,13,24,.08);
}

#portfolio #plataforma-b2b .b2b-platform-card::before{
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 82%);
}

#portfolio #plataforma-b2b .b2b-platform-tag{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

#portfolio #plataforma-b2b h2{
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--heading-color);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

#portfolio #plataforma-b2b p{
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 0 30px;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  font-size: 18px;
  line-height: 1.8;
}

#portfolio #plataforma-b2b .b2b-platform-examples-title{
  margin: 0 0 16px;
  color: var(--heading-color);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
}

#portfolio #plataforma-b2b .b2b-platform-buttons{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

#portfolio #plataforma-b2b .b2b-platform-btn{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 210px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  text-align: center;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent-color), transparent 70%);
}

#portfolio #plataforma-b2b .b2b-platform-btn:hover{
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent-color), #050d18 14%);
  color: var(--contrast-color);
}

@media (max-width: 600px){
  #portfolio #plataforma-b2b.b2b-platform{
    padding: 70px 0;
  }

  #portfolio #plataforma-b2b .b2b-platform-card{
    border-radius: 24px;
  }

  #portfolio #plataforma-b2b p{
    font-size: 16px;
  }

  #portfolio #plataforma-b2b .b2b-platform-buttons{
    flex-direction: column;
    align-items: stretch;
  }

  #portfolio #plataforma-b2b .b2b-platform-btn{
    width: 100%;
    min-width: 0;
  }
}

#portfolio .lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.93);
  opacity: 0;
  pointer-events: none;
  transition: .35s ease;
}

#portfolio .lightbox.active{
  opacity: 1;
  pointer-events: all;
}

#portfolio .lightbox img{
  display: block;
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
}

#portfolio .lightbox-info{
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.5px;
  opacity: .85;
}

#portfolio .next-btn{
  margin-top: 14px;
  cursor: pointer;
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
  opacity: .7;
  transition: .35s ease;
}

#portfolio .next-btn:hover{
  opacity: 1;
}

body.lightbox-open{
  overflow: hidden;
}

#portfolio .reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .45s ease, transform .45s ease;
  will-change: transform, opacity;
}

#portfolio .reveal.active{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px){
  #portfolio #renders.process,
  #portfolio #ra.process{
    padding: 80px 0;
  }

  #portfolio #renders .gallery{
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  #portfolio #renders .item:nth-child(n){
    grid-column: auto !important;
    grid-row: auto !important;
  }

  #portfolio #ra .ra-grid,
  #portfolio #ra .ra-item{
    height: 360px;
  }
}

@media (max-width: 600px){
  #portfolio #renders .section-title,
  #portfolio #ra .section-title{
    padding-bottom: 40px;
  }

  #portfolio #renders .gallery{
    gap: 3px;
    padding-inline: 0;
  }

  #portfolio #ra .ra-grid,
  #portfolio #ra .ra-item{
    height: 300px;
  }
}


/*--------------------------------------------------------------
# Padronização de textos justificados
--------------------------------------------------------------*/
.about-title p,
.about-content h3,
.about-content .description,
#services .section-title p,
#portfolio > .container.section-title p,
#portfolio #renders .section-title p,
#portfolio #ra .section-title p,
#portfolio #plataforma-b2b p,
#diferencial .section-title p,
#diferencial .service-item .description,
#etapas-projeto .section-title p,
#etapas-projeto .service-item .description {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

#diferencial .service-item .description,
#etapas-projeto .service-item .description {
  line-height: 1.75;
}

/*--------------------------------------------------------------
# Ajuste fino: padronização do texto no Portfólio
--------------------------------------------------------------*/
#portfolio .section-title p,
#portfolio #renders .section-title p,
#portfolio #ra .section-title p,
#portfolio #plataforma-b2b p {
  width: 100%;
  max-width: none;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.75;
}

/* Mantém textos curtos do carrossel/galeria sem justificação forçada */
#portfolio .portfolio-overlay,
#portfolio .portfolio-overlay h3,
#portfolio .portfolio-overlay p,
#portfolio .portfolio-overlay span,
#portfolio .caption,
#portfolio .portfolio-filters,
#portfolio .portfolio-filters li,
#portfolio .ra-label,
#portfolio .b2b-platform-actions,
#portfolio .b2b-platform-btn {
  text-align: left;
  text-align-last: auto;
  text-justify: auto;
  hyphens: none;
}

#portfolio .portfolio-overlay p,
#portfolio .caption,
#portfolio .ra-label {
  line-height: 1.45;
}

/*--------------------------------------------------------------
# Botões de WhatsApp alinhados aos títulos das seções
--------------------------------------------------------------*/
.section-title-action-row,
.b2b-platform-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.section-title-action-row h2,
.b2b-platform-title-row h2 {
  flex: 1 1 auto;
  margin-right: 0;
}

.section-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent-color), transparent 78%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.section-whatsapp-btn i {
  font-size: 16px;
  line-height: 1;
}

.section-whatsapp-btn:hover,
.section-whatsapp-btn:focus {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color) 86%, #000 14%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.b2b-platform-whatsapp-btn {
  margin-top: 4px;
}

@media (max-width: 991px) {
  .section-title-action-row,
  .b2b-platform-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .section-whatsapp-btn {
    white-space: normal;
  }
}

@media (max-width: 575px) {
  .section-whatsapp-btn {
    width: 100%;
    padding: 13px 16px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Paginação da galeria de renders
--------------------------------------------------------------*/
#portfolio #renders .item.render-page-hidden{
  display: none !important;
}

#portfolio #renders .item.render-frame-1{grid-column:1/span 4;grid-row:span 4;}
#portfolio #renders .item.render-frame-2{grid-column:5/span 4;grid-row:span 4;}
#portfolio #renders .item.render-frame-3{grid-column:9/span 4;grid-row:span 4;}
#portfolio #renders .item.render-frame-4{grid-column:1/span 3;grid-row:span 3;}
#portfolio #renders .item.render-frame-5{grid-column:4/span 3;grid-row:span 3;}
#portfolio #renders .item.render-frame-6{grid-column:7/span 3;grid-row:span 3;}
#portfolio #renders .item.render-frame-7{grid-column:10/span 3;grid-row:span 3;}

#portfolio #renders .render-gallery-controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: -12px auto 0;
  padding-bottom: 12px;
}

#portfolio #renders .render-gallery-controls.is-hidden{
  display: none;
}

#portfolio #renders .render-gallery-btn{
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, opacity .25s ease;
}

#portfolio #renders .render-gallery-btn:hover:not(:disabled){
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent-color), #050d18 14%);
}

#portfolio #renders .render-gallery-btn:disabled{
  opacity: .38;
  cursor: not-allowed;
}

#portfolio #renders .render-gallery-status{
  min-width: 54px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

@media (max-width: 900px){
  #portfolio #renders .item.render-frame-1,
  #portfolio #renders .item.render-frame-2,
  #portfolio #renders .item.render-frame-3,
  #portfolio #renders .item.render-frame-4,
  #portfolio #renders .item.render-frame-5,
  #portfolio #renders .item.render-frame-6,
  #portfolio #renders .item.render-frame-7{
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 600px){
  #portfolio #renders .render-gallery-controls{
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
  }

  #portfolio #renders .render-gallery-btn{
    min-width: 0;
    width: calc(50% - 5px);
    padding: 12px 14px;
    font-size: 11px;
  }

  #portfolio #renders .render-gallery-status{
    order: 3;
    width: 100%;
  }
}


/* Otimização mobile */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}


@keyframes mobile-scroll-arrow-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}


/*--------------------------------------------------------------
# Botão flutuante WhatsApp
--------------------------------------------------------------*/
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.floating-whatsapp i {
  font-size: 22px;
  line-height: 1;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
  color: #ffffff;
  background: #1fb956;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .27);
}

@media (max-width: 767px) {
  .floating-whatsapp {
    right: 15px;
    bottom: 75px;
    width: 54px;
    height: 54px;
    padding: 0;
  }

  .floating-whatsapp i {
    font-size: 27px;
  }

  .floating-whatsapp span {
    display: none;
  }
}
