/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

a {
  color: #456294;
  text-decoration: none;
}

a:hover {
  color: #067ded;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #456294;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #0678e3;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #456294;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

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

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

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
}

@media (max-width: 991px) {
  #header {
    width: 300px;
    background: #fff;
    border-right: 1px solid #e6e9ec;
    left: -300px;
  }
}

@media (min-width: 991px) {
  #main {
    margin-left: 100px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.nav-menu {
  padding: 0;
  display: block;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #45505b;
  padding: 10px 18px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
  border-radius: 50px;
  background: #f2f3f5;
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 20px;
}

.nav-menu a span,
.nav-menu a:focus span {
  padding: 0 5px 0 7px;
  color: #45505b;
}

@media (min-width: 992px) {

  .nav-menu a,
  .nav-menu a:focus {
    width: 56px;
  }

  .nav-menu a span,
  .nav-menu a:focus span {
    display: none;
    color: #fff;
  }
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  color: #fff;
  background: #456294;
}

.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu .active:focus span,
.nav-menu li:hover>a span {
  color: #fff;
}

.nav-menu a:hover,
.nav-menu li:hover>a {
  width: 100%;
  color: #fff;
}

.nav-menu a:hover span,
.nav-menu li:hover>a span {
  display: block;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 28px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 0;
  cursor: pointer;
  border-radius: 50px;
  padding: 5px;
}

.mobile-nav-toggle i {
  color: #45505b;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #fff;
  background-color: #456294;
}

/*--------------------------------------------------------------
# Seção de Destaque (Hero)
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg.jpg") top center no-repeat;
  background-size: cover;
  position: relative;
}

@media (min-width: 992px) {
  #hero {
    padding-left: 160px;
  }
}

#hero:before {
  content: "";
  background: rgba(255, 255, 255, 0.72);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(69, 98, 148, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #456294;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #45505b;
}

#hero p {
  color: #45505b;
  margin: 15px 0 0 0;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#hero p span {
  color: #456294;
  letter-spacing: 1px;
}

#hero .hero-lead {
  max-width: 760px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.8;
  color: #5f6d7a;
  font-family: "Open Sans", sans-serif;
}

#hero .hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

#hero .hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#hero .hero-actions .hero-primary {
  background: #456294;
  color: #fff;
  box-shadow: 0 14px 34px rgba(69, 98, 148, 0.24);
}

#hero .hero-actions .hero-primary:hover {
  background: #334d77;
  color: #fff;
}

#hero .hero-actions .hero-secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(69, 98, 148, 0.24);
  color: #45505b;
}

#hero .hero-actions .hero-secondary:hover {
  border-color: #456294;
  color: #456294;
}

@media (max-width: 992px) {
  #hero {
    text-align: center;
  }

  #hero h1 {
    font-size: 32px;
    line-height: 36px;
  }

  #hero p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }

  #hero .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  #hero .hero-lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    line-height: 1.75;
  }

  #hero .hero-actions {
    justify-content: center;
  }

  #hero .hero-actions a {
    min-width: 0;
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #45505b;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #456294;
  bottom: 0;
  left: calc(50% - 20px);
}

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

/* Justifica texto do parágrafo na seção About */
#about .section-title p {
  text-align: justify;
  text-align-last: left;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .capabilities-grid {
  row-gap: 24px;
}

.skills .capability-card {
  width: 100%;
  height: 100%;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(69, 98, 148, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 252, 0.98) 100%);
  box-shadow: 0 14px 34px rgba(69, 80, 91, 0.08);
}

.skills .capability-card-accent {
  border-color: rgba(69, 98, 148, 0.22);
  box-shadow: 0 18px 40px rgba(69, 98, 148, 0.12);
}

.skills .capability-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(69, 98, 148, 0.08);
  color: #456294;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.skills .capability-card h3 {
  margin: 18px 0 12px 0;
  font-size: 24px;
  line-height: 1.3;
  color: #45505b;
}

.skills .capability-card p {
  margin: 0 0 18px 0;
  color: #5f6d7a;
  line-height: 1.75;
}

.skills .capability-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.skills .capability-card li {
  color: #45505b;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .skills .capability-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .skills .capability-card h3 {
    font-size: 22px;
  }
}

/*--------------------------------------------------------------
# Resume Cards (Expansíveis)
--------------------------------------------------------------*/
.resume-card-wrapper {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.resume-card-wrapper.expanded {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (min-width: 992px) {
  .resume-card-wrapper.expanded {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Garante que a row use flexbox para reorganização */
#resume .row {
  display: flex;
  flex-wrap: wrap;
}

.resume-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, min-height 0.3s ease;
  border: 1px solid #e8e9ea;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  height: 320px;
}

.resume-card.expanded {
  min-height: auto;
  height: auto;
}

.resume-card:hover {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.resume-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e8e9ea;
  flex-shrink: 0;
  min-height: 90px;
}

.resume-card .card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e8e9ea;
  flex-shrink: 0;
  min-height: 70px;
}

.resume-card .card-footer .expand-btn {
  margin: 0;
}

.resume-card .card-title-wrapper {
  flex: 1;
  padding-right: 15px;
}

.resume-card .card-title-wrapper h4 {
  line-height: 1.4;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #456294;
  margin-bottom: 8px;
}

.resume-card .card-title-wrapper h5 {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.resume-card .card-title-wrapper h5:nth-of-type(1) {
  font-weight: 600;
  color: #45505b;
  margin-bottom: 6px;
  font-size: 15px;
}

.resume-card .card-title-wrapper h5 em {
  font-style: normal;
  color: #45505b;
}

.resume-card .expand-btn {
  background: linear-gradient(135deg, #456294 0%, #0678e3 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
  position: relative;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 2px 8px rgba(69, 98, 148, 0.3);
}

.resume-card .expand-btn:hover {
  background: linear-gradient(135deg, #0678e3 0%, #456294 100%);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(69, 98, 148, 0.4);
}

.resume-card .expand-btn:active {
  transform: scale(0.95);
}

.resume-card .expand-btn:focus {
  outline: 2px solid #456294;
  outline-offset: 2px;
}

.resume-card .expand-btn i {
  font-size: 22px;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.resume-card.expanded .expand-btn i {
  transform: rotate(180deg);
}

.resume-card .card-summary {
  color: #45505b;
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1 1 auto;
  height: 140px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.resume-card.expanded .card-summary {
  height: auto;
  min-height: auto;
}

.resume-card .card-summary p {
  margin: 0;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
}

.resume-card.expanded .card-summary p {
  display: block;
  -webkit-line-clamp: none;
  overflow: visible;
}

.resume-card .card-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.4s ease, 
              padding-top 0.3s ease, 
              margin-top 0.3s ease;
  margin-top: 0;
  padding-top: 0;
}

.resume-card.expanded .card-content {
  max-height: 5000px !important;
  opacity: 1 !important;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e8e9ea;
}

.resume-card .card-content p {
  margin-bottom: 15px;
  text-align: justify;
}

.resume-card .card-content ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.resume-card .card-content ul li {
  padding-bottom: 8px;
  line-height: 1.6;
  color: #45505b;
}

.resume-card .card-content strong {
  color: #456294;
  font-weight: 600;
}

/* Responsividade para cards */
@media (max-width: 768px) {
  .resume-card {
    padding: 20px;
    min-height: 300px;
    height: 300px;
  }
  
  .resume-card .card-header {
    min-height: 80px;
  }
  
  .resume-card .card-summary {
    height: 120px;
  }
  
  .resume-card .card-summary p {
    -webkit-line-clamp: 4;
  }
  
  .resume-card .card-footer {
    min-height: 60px;
  }
  
  .resume-card .card-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .resume-card .card-title-wrapper {
    padding-right: 0;
  }
  
  .resume-card .expand-btn {
    align-self: flex-end;
  }
}


/*--------------------------------------------------------------
# Clientes
--------------------------------------------------------------*/
.clients {
  padding: 60px 0;
  overflow: hidden;
}

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

.testimonials .testimonial-item {
  text-align: center;
  background: #fff;
  border: 1px solid rgba(69, 98, 148, 0.12);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 14px 34px rgba(69, 80, 91, 0.08);
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item p {
  font-style: normal;
  line-height: 1.8;
  margin: 0 auto 15px auto;
}

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #456294;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #456294;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #456294;
  float: left;
  width: 44px;
  height: 44px;
  background: #eef7ff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #45505b;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #728394;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #456294;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=phone],
.contact .php-email-form input[type=email] {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #456294;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #0678e3;
}

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

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

/*--------------------------------------------------------------
# DARK EXECUTIVE THEME — Thiago Macêdo | COO-Ready
--------------------------------------------------------------*/
:root {
  --bg-base:          #07111f;
  --bg-surface:       #0c1824;
  --bg-elevated:      #101f30;
  --bg-glass:         rgba(7, 17, 31, 0.88);
  --border:           rgba(255, 255, 255, 0.07);
  --border-accent:    rgba(58, 128, 210, 0.28);
  --accent:           #2c6fca;
  --accent-bright:    #5b9df5;
  --accent-glow:      rgba(44, 111, 202, 0.22);
  --accent-subtle:    rgba(44, 111, 202, 0.09);
  --text-1:           #e8eef4;
  --text-2:           rgba(232, 238, 244, 0.62);
  --text-3:           rgba(232, 238, 244, 0.36);
  --shadow-dark:      0 20px 50px rgba(0, 0, 0, 0.38);
  --radius-sm:        14px;
  --radius-md:        22px;
  --radius-lg:        32px;
  --radius-pill:      999px;
  /* compat aliases */
  --executive-bg:           var(--bg-base);
  --executive-bg-soft:      var(--bg-surface);
  --executive-surface:      var(--bg-elevated);
  --executive-surface-alt:  var(--bg-elevated);
  --executive-ink:          var(--text-1);
  --executive-muted:        var(--text-2);
  --executive-accent:       var(--accent);
  --executive-accent-strong: var(--accent-bright);
  --executive-line:         var(--border);
  --executive-shadow:       var(--shadow-dark);
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text-1);
  background: var(--bg-base);
  padding-top: 84px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-bright);
}

a:hover {
  color: #8abbff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.03em;
  color: var(--text-1);
}

p {
  line-height: 1.85;
  color: var(--text-2);
}

section {
  padding: 96px 0;
}

.section-bg {
  background: var(--bg-surface);
}

#main {
  margin-left: 0 !important;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: auto;
  border-right: none;
  z-index: 9997;
  overflow: visible;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transform: translateY(0);
  will-change: transform;
  transition:
    transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.42s ease,
    backdrop-filter 0.42s ease,
    -webkit-backdrop-filter 0.42s ease,
    box-shadow 0.42s ease,
    border-color 0.42s ease,
    padding 0.42s ease;
}

#header.nav-scrolled {
  padding: 10px 0;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.28);
}

#header.nav-hidden {
  transform: translateY(-100%);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-1);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-brand:hover {
  color: #fff;
}

.header-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav-menu {
  margin-left: auto;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a,
.nav-menu a:focus {
  width: auto;
  height: auto;
  margin-bottom: 0;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-menu a i,
.nav-menu a:focus i {
  display: none;
}

.nav-menu a span,
.nav-menu a:focus span {
  display: block;
  padding: 0;
  color: inherit;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover > a {
  width: auto;
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border);
}

.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu .active:focus span,
.nav-menu li:hover > a span {
  color: inherit;
}

.mobile-nav-toggle {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-1);
  box-shadow: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.mobile-nav-toggle:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.mobile-nav-active .mobile-nav-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Language toggle ──────────────────────────────────────────────────────── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-2);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  cursor: pointer;
  padding: 5px 7px;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-transform: uppercase;
}

.lang-btn:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.lang-btn.active {
  color: var(--accent-bright);
  border-color: var(--border-accent);
  background: var(--accent-subtle);
}

.lang-sep {
  color: var(--text-3);
  font-size: 11px;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .lang-toggle {
    margin-left: auto;
    margin-right: 4px;
  }
}

#hero {
  position: relative;
  min-height: calc(100vh - 84px);
  height: auto;
  padding: 56px 0 96px;
  background: var(--bg-base);
  overflow: hidden;
  padding-left: 0 !important;
}

#hero::before {
  display: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 65vw;
  max-width: 820px;
  height: 65vw;
  max-height: 820px;
  background: radial-gradient(circle, rgba(44, 111, 202, 0.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 55vw;
  max-width: 620px;
  height: 55vw;
  max-height: 620px;
  background: radial-gradient(circle, rgba(91, 157, 245, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: stretch;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  max-width: 860px;
  min-width: 0;
}

#hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  margin-bottom: 28px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  background: var(--accent-subtle);
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#hero .hero-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

#hero h1 {
  margin: 0 0 22px;
  font-size: clamp(3rem, 6.8vw, 5.2rem);
  font-weight: 800;
  line-height: 0.95;
  color: #fff;
  letter-spacing: -0.04em;
}

#hero h1 .accent-text {
  background: linear-gradient(135deg, var(--accent-bright) 0%, #a3c4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-logo {
  height: clamp(56px, 9vw, 96px);
  width: auto;
  display: block;
  margin-bottom: 12px;
}

#hero .hero-headline {
  margin: 0;
  max-width: 760px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(232, 238, 244, 0.85);
  letter-spacing: -0.02em;
}

#hero .hero-lead {
  max-width: 740px;
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-2);
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-credentials span {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.hero-credentials span:hover {
  border-color: var(--border-accent);
  color: var(--text-1);
  background: var(--accent-subtle);
}

#hero .hero-actions {
  margin-top: 30px;
  gap: 14px;
}

#hero .hero-actions a {
  min-width: 0;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
}

#hero .hero-actions .hero-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 32px var(--accent-glow);
}

#hero .hero-actions .hero-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--accent-glow);
}

#hero .hero-actions .hero-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
}

#hero .hero-actions .hero-secondary:hover {
  border-color: var(--border-accent);
  background: var(--accent-subtle);
  color: var(--text-1);
  transform: translateY(-1px);
}

.hero-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.hero-channel:hover {
  border-color: var(--border-accent);
  color: var(--accent-bright);
  background: var(--accent-subtle);
}

.hero-channel-muted {
  color: var(--text-3);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}

.hero-portrait {
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.hero-panel-content {
  display: grid;
  gap: 18px;
}

.hero-panel-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hero-scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.hero-scope-list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.hero-scope-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.hero-scope-list strong {
  color: var(--text-1);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-scope-list span {
  color: var(--text-2);
  font-size: 0.84rem;
  line-height: 1.6;
}

.section-title {
  max-width: 940px;
  margin-bottom: 42px;
  padding-bottom: 0;
  text-align: left;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 20px;
  border-radius: var(--radius-pill);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  flex-shrink: 0;
}

.section-title h2 {
  margin-bottom: 18px;
  padding-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.12;
  text-transform: none;
  color: var(--text-1);
}

.section-title h2::before,
.section-title h2::after {
  display: none;
}

.section-title p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.03rem;
  color: var(--text-2);
}

#about .section-title p {
  text-align: left;
  text-align-last: auto;
}

.executive-summary-card,
.activity-card,
.proof-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  transition: all 0.3s ease;
}

.executive-summary-card:hover,
.activity-card:hover,
.proof-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.executive-summary-card {
  height: 100%;
  padding: 34px;
}

.executive-summary-card p {
  margin: 0 0 18px;
  color: var(--text-2);
  line-height: 1.85;
}

.executive-summary-card p:last-child {
  margin-bottom: 0;
}

.executive-facts-card {
  height: 100%;
  padding: 34px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #0d1e31 0%, #071524 100%);
  border: 1px solid var(--border-accent);
  position: relative;
  overflow: hidden;
}

.executive-facts-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), transparent);
}

.facts-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--text-3);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.executive-facts-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.executive-facts-card li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-2);
}

.executive-facts-card li:first-child {
  border-top: none;
  padding-top: 0;
}

.activity-highlight {
  margin-bottom: 28px;
  padding: 26px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-accent);
  border-left: 3px solid var(--accent);
  background: var(--bg-elevated);
}

.activity-highlight p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-1);
  line-height: 1.85;
}

.activity-card {
  width: 100%;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.activity-card:hover::before {
  opacity: 1;
}

.activity-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.activity-card h3,
.proof-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  color: var(--text-1);
}

.activity-card p,
.proof-card p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.8;
}

.proof-card {
  width: 100%;
  padding: 28px;
  box-shadow: none;
}

.resume-card {
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: none;
  min-height: 360px;
  height: 360px;
  transition: all 0.3s ease;
}

.resume-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-dark);
}

.resume-card .card-header {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  min-height: auto;
  gap: 14px;
}

.resume-card .card-title-wrapper {
  padding-right: 0;
}

.resume-card .card-title-wrapper h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: none;
  color: var(--text-1);
  line-height: 1.35;
}

.resume-card .card-title-wrapper h5 {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 500;
  background: none;
  padding: 0;
  display: block;
}

.resume-card .card-title-wrapper h5:nth-of-type(1) {
  margin-bottom: 5px;
  color: var(--accent-bright);
  font-size: 0.96rem;
  font-weight: 700;
}

.card-stage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.resume-card .card-summary {
  height: 140px;
  color: var(--text-2);
}

.resume-card .card-summary p {
  text-align: left;
  line-height: 1.8;
  color: var(--text-2);
}

.resume-card .card-content {
  margin-top: 0;
  padding-top: 0;
}

.resume-card.expanded .card-content {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.resume-card .card-content p {
  margin-bottom: 14px;
  text-align: left;
  color: var(--text-2);
  line-height: 1.8;
}

.resume-card .card-content strong {
  color: var(--text-1);
  font-weight: 700;
}

.resume-card .card-footer {
  min-height: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.resume-card .expand-btn {
  width: auto;
  height: auto;
  padding: 10px 16px;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--accent-bright);
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.resume-card .expand-btn:hover {
  background: var(--accent-subtle);
  border-color: var(--border-accent);
  transform: none;
  box-shadow: none;
}

.resume-card .expand-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.resume-card.expanded .expand-btn i {
  transform: rotate(180deg);
}

.expand-text {
  font-size: 0.88rem;
  font-weight: 700;
}

.skills .capability-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: none;
  transition: all 0.3s ease;
}

.skills .capability-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.skills .capability-card-accent {
  background: linear-gradient(160deg, #0d1e31 0%, #071524 100%);
  border-color: var(--border-accent);
}

.skills .capability-kicker {
  background: var(--accent-subtle);
  color: var(--accent-bright);
  border: 1px solid var(--border-accent);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.skills .capability-card h3 {
  color: var(--text-1);
}

.skills .capability-card p,
.skills .capability-card li {
  color: var(--text-2);
}

.clients .section-title {
  max-width: 980px;
}

.clients .clients-slider .swiper-slide {
  justify-content: center;
  gap: 28px;
}

.clients-slider,
.testimonials-slider {
  overflow: hidden !important;
}

.clients .clients-slider .client-logo img {
  height: 48px;
  width: auto;
  margin: 0;
  filter: grayscale(1) brightness(2) opacity(0.45);
  transition: filter 0.3s ease;
}

.clients .clients-slider .client-logo img:hover {
  filter: grayscale(0) brightness(1) opacity(1);
}

.testimonials .testimonials-slider {
  overflow: hidden;
}

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

.testimonials .testimonial-item {
  height: 100%;
  text-align: left;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  background: var(--bg-surface);
  box-shadow: none;
  transition: all 0.3s ease;
}

.testimonials .testimonial-item:hover {
  border-top-color: var(--accent-bright);
  transform: translateY(-3px);
  box-shadow: var(--shadow-dark);
}

.testimonials .testimonial-item .testimonial-img {
  width: 64px;
  margin: 0 0 16px;
  border: 2px solid var(--border-accent);
  border-radius: 50%;
}

.testimonials .testimonial-item h3 {
  margin: 0 0 4px;
  color: var(--text-1);
  font-size: 1rem;
}

.testimonials .testimonial-item h4,
.testimonials .testimonial-item p {
  color: var(--text-2);
}

.testimonials .testimonial-item h4 {
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0 0 16px;
}

.testimonials .testimonial-item p {
  width: 100%;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact .info,
.contact .php-email-form {
  padding: 34px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.contact .info {
  height: 100%;
}

.contact .info h4 {
  color: var(--text-1);
}

.contact .info p,
.contact .info a {
  color: var(--text-2);
}

.contact .info a:hover {
  color: var(--accent-bright);
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-1);
  font-size: 14.5px;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: var(--text-3);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent);
  background: var(--bg-elevated);
  color: var(--text-1);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email] {
  height: auto;
}

.contact .php-email-form button[type=submit] {
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 28px var(--accent-glow);
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px var(--accent-glow);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-3);
  font-size: 13.5px;
}

.consent-row input {
  margin-top: 5px;
  accent-color: var(--accent);
}

#turnstile-container {
  min-height: 64px;
}

.contact-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-note p {
  padding: 0 !important;
  font-size: 0.9rem;
  color: var(--text-3);
}

#footer {
  background: #050d18;
  color: var(--text-2);
  padding: 56px 0 32px;
  text-align: left;
  border-top: 1px solid var(--border);
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 0 8px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-title {
  margin: 0 0 8px;
  color: var(--text-1);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-copy {
  margin: 0;
  max-width: 580px;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.75;
  font-style: normal !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-links a {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-1);
}

#footer .copyright {
  width: 100%;
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.back-to-top {
  right: 22px;
  bottom: 22px;
  background: var(--accent);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.back-to-top:hover {
  background: var(--accent-bright);
  box-shadow: 0 12px 32px var(--accent-glow);
}

@media (max-width: 1199px) {
  body {
    padding-top: 76px;
  }

  #header {
    padding: 14px 0;
  }

  .header-shell {
    gap: 14px;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    margin-left: 0;
    margin-top: 8px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(10, 20, 36, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 1;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-menu a,
  .nav-menu a:focus {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    background: transparent;
    border-radius: var(--radius-sm);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-panel {
    max-width: 520px;
  }
}

@media (max-width: 991px) {
  section {
    padding: 76px 0;
  }

  #hero {
    min-height: auto;
    padding: 36px 0 72px;
    text-align: left;
  }

  #hero .hero-actions {
    justify-content: flex-start;
  }

  #hero .hero-actions a {
    width: auto;
  }

  .resume-card-wrapper.expanded {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 72px;
  }

  section {
    padding: 64px 0;
  }

  #hero {
    padding: 28px 0 60px;
  }

  #hero h1 {
    font-size: clamp(2.6rem, 9vw, 3.8rem);
  }

  #hero .hero-headline {
    font-size: 1.15rem;
  }

  #hero .hero-lead {
    font-size: 0.96rem;
  }

  .executive-summary-card,
  .executive-facts-card,
  .activity-highlight,
  .activity-card,
  .proof-card,
  .resume-card,
  .contact .info,
  .contact .php-email-form,
  .skills .capability-card,
  .testimonials .testimonial-item,
  .hero-panel {
    padding: 22px 18px;
    border-radius: var(--radius-sm);
  }

  .resume-card {
    min-height: auto;
    height: auto;
  }

  .resume-card .card-summary {
    height: auto;
  }

  .resume-card .card-summary p {
    -webkit-line-clamp: 4;
  }

  .resume-card .card-header {
    flex-direction: column;
  }

  .card-stage {
    align-self: flex-start;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  #hero .hero-actions {
    flex-direction: column;
  }

  #hero .hero-actions a {
    width: 100%;
    justify-content: center;
  }
}

/* -------------------------------------------------------
   Operational Context Cards
------------------------------------------------------- */
.op-context-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg-base);
  transition: all 0.3s ease;
  height: 100%;
}

.op-context-card:hover {
  border-color: var(--border-accent);
  border-left-color: var(--accent-bright);
  transform: translateY(-3px);
}

.op-context-sector {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.op-context-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.38;
  margin: 0;
}

.op-context-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.op-context-body p {
  font-size: 0.91rem;
  line-height: 1.8;
  color: var(--text-2);
  margin: 0;
}

.op-context-shift {
  padding-top: 16px;
  border-top: 1px solid var(--border-accent);
}

.op-context-shift-label {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 7px;
}

.op-context-shift p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

/* -------------------------------------------------------
   Sector / Ecosystem Grid  (replaces logo slider)
------------------------------------------------------- */
.sector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.sector-tag {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.sector-tag:hover {
  border-color: var(--border-accent);
  color: var(--text-1);
  background: var(--accent-subtle);
}

.sector-tag-strong {
  color: var(--text-1);
  border-color: rgba(255, 255, 255, 0.12);
}

/* -------------------------------------------------------
   Situation Block — "O que costuma assumir"
------------------------------------------------------- */
.situation-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.scenario-block,
.operating-playbook {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.situation-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.situation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.situation-tags span {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: default;
}

.situation-tags span:hover {
  border-color: var(--border-accent);
  color: var(--text-1);
  background: var(--accent-subtle);
}

.scenario-card,
.operating-step {
  width: 100%;
  height: 100%;
  padding: 24px;
}

.scenario-card p,
.operating-step p {
  margin: 0;
}

.operating-step {
  position: relative;
  padding-top: 68px;
}

.operating-step-number {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-accent);
  background: var(--accent-subtle);
  color: var(--accent-bright);
  font-size: 0.82rem;
  font-weight: 800;
}

.operating-step h3 {
  margin-bottom: 12px;
}